The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#2
|
||||
|
||||
Tournaments are playable in IE, yes
The sorting in each line depends on the UserID, this means your 2nd round with 4 players left is sorted by UserID from left to right. That's why "jessicajoanne" moved leftmost, seems this user has the lowest UserID. This User also should move up to the Final, that's right... Hmmmm, I will check this again. Please test 2- and 4-player-Tournaments, they should work well ? |
#3
|
|||
|
|||
2 Player tournament worked fine. I'll check on the 4 Player tourney.
Here's the thing. You said the users are moved according to UserID? Well, by UserID, they are lined up jessicajoanne (11), cyberhypnotic (1), moxdevil (13), and nsewerin (14). Same with the 1st round. As you can see, moxdevil is 13 and nsewerin is 14, but 69Charger is 50 and between them. :ermm: This is just a guess, but this is my thoughts on it: What if - moxdevil(13) moves up before jessicajoanne(11), therefore being organized according to UserID before jessicajoanne(11) is able to move up. Know what I mean? (13) took the place of (11), therefore leaving nowhere for (11) to go, so (11) sits in 2nd round waiting. Another thing. Nothing big and major, just a typo. Some people might want to know how to fix it later on though: In arcade.php (root folder), if you look for one time: Code:
{$playerinfo[3]['timesplayed']}{$ibforums->lang['tourneytxt1']} Code:
{$playerinfo[3]['timesplayed']}{$ibforums->lang['tourneytxt2']} |
#4
|
||||
|
||||
Hmmm, did you upgrade to v2.5.4+ and have the actual arcade.php ?
|
#5
|
|||
|
|||
Yes, I had version 2.5.3 installed from a fresh install originally. Then when you released 2.5.4, I followed instructions exactly as given.
I've had this problem, even in version 2.5.3. I'm actually surprised nobody else complained about it, which kinda makes me think it's something with my copy only. Do you suggest an uninstall and then a fresh install? Should I delete everything from my server, including games? Making it like it never existed? Then do a brand new fresh install? Or are you still looking into the code? Is there any possible way to stop the code from ordering by member ID? That way, the winner of each round just moves up to their respective next round in the ladder? |
#6
|
|||
|
|||
MR.Zeropage
Im getting this error: Code:
There is a SQL error. You can contact the board administrator by clicking here Error Returned mySQL query error: SELECT userid, username FROM user WHERE userid IN() ORDER BY userid mySQL error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY userid' at line 1 mySQL error code: Date: Sunday 22nd of January 2006 03:11:51 PM We apologise for any inconvenience |
#7
|
||||
|
||||
@cyberhypnotic:
I can confirm that there sometimes is a problem with 8-player-tournaments, but I am not sure how to reproduce it. This now is on the "Bug-List" and I will look for a fix. The sorting is another thing I'd like to change, and as there are many planned improvements for the Tournament-System I guess this will come along with that. @Reece B: Create the Tournament in AdminCP instead of ModCP and the Error won't show up Will fix the ModCP in v2.5.5+ |
#8
|
|||
|
|||
MrZeropage, could you tell me which part of the code deals with sorting? Maybe I can take a look at it and if it looks doable for me, I can alter it to disable the sorting.
I can just comment out the sorting portion of the script. |
#9
|
|||
|
|||
Okay cheers mr.zeropage!
|
#10
|
||||
|
||||
@cyberhopnotic:
Here is the Code that generates the Tournament-View: Code:
for($i=1; $i<=$numrungs; $i++) { $DB->query("SELECT m.name, t.timesplayed, t.rungscore, t.mid, t.rung, t.faceoff FROM ibf_tournament_players as t, ibf_members as m WHERE t.tid=".$tid." AND t.rung=".$i." AND m.id=t.mid ORDER BY t.faceoff ASC"); $ctr=0; $refctr = 0; while($refctr <= 7) { $playerinfo[$refctr]['name'] = ""; $playerinfo[$refctr]['timesplayed'] = 0; $playerinfo[$refctr]['rungscore'] = 0; $playerinfo[$refctr]['playlink'] = ""; $refctr++; } while($row = $DB->fetch_row()) { if(($ctr == 0 || $ctr == 1) && $row['faceoff'] == 2) { $ctr = 2; } $playerinfo[$ctr]['name'] = $row['name']; $playerinfo[$ctr]['timesplayed'] = $row['timesplayed']; $playerinfo[$ctr]['rungscore'] = $row['rungscore']; if($row['timesplayed'] < 3 && $ibforums->member['id'] == $row['mid']) { $playerinfo[$ctr]['playlink'] = "<a href='".$ibforums->base_url."act=Arcade&do=playtourney&gameid=".$tinfo['gid']."&tid=$tid&rung=".$row['rung']."'>".$ibforums->lang['play']."</a>"; } else { $playerinfo[$ctr]['playlink'] = ""; } $ctr++; } $this->output .= $this->define_ladder($i, $playerinfo); } As you see the concept seems to be the problem, as it is sorted by "faceoff" (Match1, Match2 ...) which is ok but is not looking up in which faceoff/Match this player was in the last round ("rung"). I guess this can only be solved by one additional query ... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|