Plese some more people start playing in the ladder! :)

For the 1on1 Ladder on PlanetNexuiz

Moderators: Nexuiz Moderators, Moderators, Ladder Moderators

Plese some more people start playing in the ladder! :)

Postby tChr » Fri Mar 17, 2006 2:09 am

The last two days I've played a lot of ladder games.. but please someone else than the ones I've been playing also start joining in.. I get my ass kicked here... The last two days I've played:

esteel 59 : 8
Luna 81 : 7
morfar 108 : 14
Xant 55 : 6
Stryku 48 : 25
k0jak 81 : -1

Needless to say I'm not that good ranked any more :D, so if please, someone with more human skills could join up to :) Or at least start playing :)

Remember to check infrom time to time to see if you are challenged!
the spice extend life!
the spice expand conciousness!
the spice is vital to space travel!
sooooo.. tell me what you want, waht you really-really want
I will proceed directly to the intravenous injection of hard drugs, please.
tChr
Forum addon
 
Posts: 1501
Joined: Tue Feb 28, 2006 9:11 pm
Location: Trondheim, Norway

Postby GreEn`mArine » Fri Mar 17, 2006 5:02 am

why don't you just contact other people in the ladder, via PM (or just challenge them) ?
IRC quote:
[kojn] I've been coming a bit more recently
[kojn] she took it the dirty way
GreEn`mArine
Forum addon
 
Posts: 1509
Joined: Tue Feb 28, 2006 9:33 pm
Location: Germany

Postby cyan » Fri Mar 17, 2006 6:20 am

im always ready for a match :twisted:
irc://irc.quakenet.org/#careland

- cYan & Lunas IRC channel :P
cyan
Alien
 
Posts: 159
Joined: Tue Feb 28, 2006 9:57 pm
Location: Aabybro, Denmark

Postby esteel » Fri Mar 17, 2006 9:24 am

GreEn`mArine wrote:why don't you just contact other people in the ladder, via PM (or just challenge them) ?

He has.. ideed he has enough open challanges to be fighting till the next millenium :)
That reminds me to find some time to ladder matches myself.

cyan ;) you are evil..
Last edited by esteel on Thu Aug 31, 2006 2:59 pm, edited 1 time in total.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Urmel » Fri Mar 17, 2006 9:30 am

Well, now that my hardware's workin well, I'll need another few days to practice the standard DM (hard! I'd need two more hands to battle my minstagib mates and play DM at the same time :D) and then You'll get one with human skills.

But it takes some more days, sry!
Urmel
Forum addon
 
Posts: 1744
Joined: Fri Mar 03, 2006 10:06 am
Location: Offline

Postby tChr » Fri Mar 17, 2006 11:40 am

cyan wrote:im always ready for a match :twisted:

Hehe.. If i lose onther 9 point I wont be able to challenge anyone, including new players, so I have to be a lil more careful :)
Edit: Cyan I'v challenged everyone on this side of the atlantic now, so I guss you can just challenge me, since my challenges are open anyways :) If you wish. Might as just get it over with :D
the spice extend life!
the spice expand conciousness!
the spice is vital to space travel!
sooooo.. tell me what you want, waht you really-really want
I will proceed directly to the intravenous injection of hard drugs, please.
tChr
Forum addon
 
Posts: 1501
Joined: Tue Feb 28, 2006 9:11 pm
Location: Trondheim, Norway

Postby GreEn`mArine » Fri Mar 17, 2006 4:17 pm

tChr wrote:
cyan wrote:im always ready for a match :twisted:

Hehe.. If i lose onther 9 point I wont be able to challenge anyone, including new players, so I have to be a lil more careful :)
Edit: Cyan I'v challenged everyone on this side of the atlantic now, so I guss you can just challenge me, since my challenges are open anyways :) If you wish. Might as just get it over with :D


well, okay. I'll modify the "allow challenge" function that you will always be able to challenge people who have 1000 points and 0 matches

this is rather easy, because everything I have to do is to modify the code in the table that shows the new players .. instead of having the function decide whether to display the challenge link or not I'll simply always display it (if there are no open challenges of course and if you're logged in)
I can do this because the code that creates the table with the enw players is separated from the code creating the table with the players already having matches

...arg, this won't work, because even if the link is available you'd be blocked by the function then .. I'll incorperate this into the function, that's it

"please wait" :)
Last edited by GreEn`mArine on Fri Mar 17, 2006 4:21 pm, edited 1 time in total.
IRC quote:
[kojn] I've been coming a bit more recently
[kojn] she took it the dirty way
GreEn`mArine
Forum addon
 
Posts: 1509
Joined: Tue Feb 28, 2006 9:33 pm
Location: Germany

Postby tChr » Fri Mar 17, 2006 4:21 pm

GreEn`mArine wrote:
tChr wrote:
cyan wrote:im always ready for a match :twisted:

Hehe.. If i lose onther 9 point I wont be able to challenge anyone, including new players, so I have to be a lil more careful :)
Edit: Cyan I'v challenged everyone on this side of the atlantic now, so I guss you can just challenge me, since my challenges are open anyways :) If you wish. Might as just get it over with :D


well, okay. I'll modify the "allow challenge" function that you will always be able to challenge people who have 1000 points and 0 matches

this is rather easy, because everything I have to do is to modify the code in the table that shows the new players .. instead of having the function decide whether to display the challenge link or not I'll simply always display it (if there are no open challenges of course and if you're logged in)
I can do this because the code that creates the table with the enw players is separated from the code creating the table with the players already having matches

From a programming point of view i think this sounds scary, isnt there a test later in the system so see if you are allowwed to challenge too? It fhe only test is in the list, its easy to bypass.
the spice extend life!
the spice expand conciousness!
the spice is vital to space travel!
sooooo.. tell me what you want, waht you really-really want
I will proceed directly to the intravenous injection of hard drugs, please.
tChr
Forum addon
 
Posts: 1501
Joined: Tue Feb 28, 2006 9:11 pm
Location: Trondheim, Norway

Postby GreEn`mArine » Fri Mar 17, 2006 4:28 pm

okay, it's in now (I edited the post above).
old function:
Code: Select all
function pointRangeOk ($session_id, $enemy_id)
{
   //get to know whether the user who you want to challenge hasn't more than $pointrange points than you have
   //function will return true if the range is okay
   global $prefix;
   global $conn;
   global $pointrange;
   $own_points = get_playerpoints($session_id);
   $enemy_points = get_playerpoints($enemy_id);
   $point_difference = $enemy_points-$own_points;
   if ($point_difference <= $pointrange)
   {
      return true;
   }
   else {
      return false;
   }
}


new function:
Code: Select all
function pointRangeOk ($session_id, $enemy_id)
{
   //get to know whether the user who you want to challenge hasn't more than $pointrange points than you have
   //function will return true if the range is okay
   global $prefix;
   global $conn;
   global $pointrange;
   $own_points = get_playerpoints($session_id);
   $enemy_points = get_playerpoints($enemy_id);
   $point_difference = $enemy_points-$own_points;
   //allow also a bigger pointrange than $pointrange if the challenged players is new (0 matches, 1000 points)
   $numbsql = "SELECT * FROM `".$prefix."matches` WHERE (challenger_userid='".$enemy_id."' OR challenged_userid='".$enemy_id."') AND match_report_accepted!=0 AND deleted='0'";
   $numbquery = mysql_query($numbsql) or die(mysql_error());
   $matchnumber = mysql_num_rows($numbquery);
   if ($point_difference <= $pointrange || ($enemy_points == 1000 && $matchnumber == 0))
   {
      return true;
   }
   else {
      return false;
   }
}
IRC quote:
[kojn] I've been coming a bit more recently
[kojn] she took it the dirty way
GreEn`mArine
Forum addon
 
Posts: 1509
Joined: Tue Feb 28, 2006 9:33 pm
Location: Germany

Postby tChr » Fri Mar 17, 2006 5:59 pm

GreEn`mArine wrote:okay, it's in now (I edited the post above).
old function:
Code: Select all
function pointRangeOk ($session_id, $enemy_id)
{
   //get to know whether the user who you want to challenge hasn't more than $pointrange points than you have
   //function will return true if the range is okay
   global $prefix;
   global $conn;
   global $pointrange;
   $own_points = get_playerpoints($session_id);
   $enemy_points = get_playerpoints($enemy_id);
   $point_difference = $enemy_points-$own_points;
   if ($point_difference <= $pointrange)
   {
      return true;
   }
   else {
      return false;
   }
}


Man you write orderly.. I'd do:
Code: Select all
function pointRangeOk ($session_id, $enemy_id) {
   global £prefix, $conn, $pointrange;
   if ((get_playerpoints($enemy_id) - get_playerpoints($session_id)) <= $pointrange)  return true;
   return false;
}


:D but your way is better
edit: is $prefix and $conn needed?
edit2: it is in the new functino NM :)
the spice extend life!
the spice expand conciousness!
the spice is vital to space travel!
sooooo.. tell me what you want, waht you really-really want
I will proceed directly to the intravenous injection of hard drugs, please.
tChr
Forum addon
 
Posts: 1501
Joined: Tue Feb 28, 2006 9:11 pm
Location: Trondheim, Norway

Next

Return to Nexuiz Ladders - 1on1

Who is online

Users browsing this forum: No registered users and 1 guest

cron