Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > ibProArcade Archive

Reply
 
Thread Tools
[BUG] Tournament ladder Details »»
[BUG] Tournament ladder
Version: , by cyberhypnotic cyberhypnotic is offline
Developer Last Online: Sep 2006 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-22-2006 Last Update: Never Installs: 0
 
No support by the author.

Seems as though my members are not moving up to the next round sometimes.

Before I had players not moving from 1st round up to 2nd round. Now They seem to be not moving from 2nd round to 3rd round (finals).

Aslo, if member1 beats member2, member1 goes above member3 and member4 in the next round.

Here's what it looks like (click to enlarge, of course):


As you can see in the 1st round, jessicajoanne moved above cyberhypnotic's 1st match when she won and I moved above hers when I won. Then moxdevil won the 2nd round and moved above jessicajoanne and cyberhypnotic's 2nd match.

Also, jessicajoanne won the 2nd round, but it won't move her up.

Any suggestions?

One last thing, is the tournament fixed to be playable on IE?

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-23-2006, 08:39 PM
cyberhypnotic cyberhypnotic is offline
 
Join Date: Nov 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What about this line at the bottom:

Code:
$this->output .= $this->define_ladder($i, $playerinfo);
Is it possible to define the ladder not just by rung and playerinfo, but also by moving the player with the highest score from the first round (rung) up to the next respective round (rung) keeping them separated within the separate tables?

I see that it's mainly tables, so is it possible to separate the tables by doing this:

8 player tournament:

Table 1 with 3 tables within (not counting the tables to make up the lines that connect each round):
first set of 2 players move up to connected table (next round)

Table 2 with 3 tables within:
second set of 2 players move up to connected table (next round)

Table 3 with 3 tables within:
third set of 2 players move up to connected table (next round)

Table 4 with 3 tables within:
fourth set of 2 players move up to connected table (next round)

That way in the 2nd round (rung) it doesn't mix up playerinfo[0] and playerinfo[1] and it doesn't mix up playerinfo[2] and playerinfo[3] with any other tables with the ordering because it can only go to the next table up, which is only one choice, not 4 total.

OR

Simply put:

8 player tourney:

playerinfo[0] OR playerinfo[1] = playerinfo[0] in next rung (round 2)
playerinfo[2] OR playerinfo[3] = playerinfo[1] in next rung (round 2)
playerinfo[4] OR playerinfo[5] = playerinfo[2] in next rung (round 2)
playerinfo[6] OR playerinfo[7] = playerinfo[3] in next rung (round 2)

THEN

playerinfo[0] OR playerinfo[1] = playerinfo[0] in next rung (final match)
playerinfo[2] OR playerinfo[3] = playerinfo[1] in next rung (final match)

THEN

playerinfo[0] OR playerinfo[1] = playerinfo[0] in next rung (tourney champ)

Something like would work? Of course with all of the if conditions and such. Remember, I'm not a great piece of work with code, but I would like to learn more and I've learned enough to make out some things and possibly switch up some things. For example, I took the Post Award Hack, which only allowed to post one award and altered the xml a little into another plug in (Post Award Hack#2) and Imported Product as a separate product so I could have 2 awards to post. Yes, it took a little more coding to make it work, but it worked is all that matters.

This stuff makes me tick, basically. I love messing around with coding and scripts. More of a hobby I guess though. But that's off topic... back on topic. So would any of these things above work out in a coded PHP environment?
Reply With Quote
  #13  
Old 01-24-2006, 04:52 AM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm, I will think about that idea to query the last round/rung and then check who advanced
Reply With Quote
  #14  
Old 01-25-2006, 06:45 AM
cyberhypnotic cyberhypnotic is offline
 
Join Date: Nov 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK. I'll be around.

If I knew more about PHP and databases, I'd try to help figure it out more. Sorry that I can only lend my minimal help.
Reply With Quote
  #15  
Old 01-26-2006, 07:05 PM
cyberhypnotic cyberhypnotic is offline
 
Join Date: Nov 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any word on the progress of this?

Appreciate the help so far.
Reply With Quote
  #16  
Old 01-28-2006, 06:12 PM
cyberhypnotic cyberhypnotic is offline
 
Join Date: Nov 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any word on how this is going?
Reply With Quote
  #17  
Old 01-31-2006, 07:06 PM
cyberhypnotic cyberhypnotic is offline
 
Join Date: Nov 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MrZeropage, any news on this issue? My members are getting restless, lol.
Reply With Quote
  #18  
Old 01-31-2006, 09:15 PM
tuanluu tuanluu is offline
 
Join Date: Aug 2005
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I work okay, as long as every one summit there score and do not have a zero then it will work fine. If it cotain zero score then the user will never advance
Reply With Quote
  #19  
Old 02-01-2006, 02:23 PM
cyberhypnotic cyberhypnotic is offline
 
Join Date: Nov 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Obviously if someone has 0 points they will never advance.

This isn't about that. If you read back, you'll see exactly what the problem is.

Basically, if player 8 wins first, they get placed ABOVE players 1 & 2, therefore blocking 1 or 2 from moving up. Got me?

I've been posting this issue since BEFORE the release of 2.3.4 and it's STILL an issue.

Apparently I'm never going to get a damn solution from the author of the code though.
Reply With Quote
  #20  
Old 02-01-2006, 03:54 PM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't been able to organise a tournament since the upgrade to 2.5.4 .. emails are sent to members and when they click on the link to start the tournament all they see is a blank page with a single crown on it !?
Reply With Quote
  #21  
Old 02-08-2006, 10:42 PM
cyberhypnotic cyberhypnotic is offline
 
Join Date: Nov 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MrZeropage, it's been awhile since we last discussed this. Is it possible that you could respond in regards to the questions in this thread?

Also, I've been thinking about the tournament ladder order. Isn't there a way you could work with the cases and make them if statements?

Like, if playerinfo[0] is greater than playerinfo[1] then playerinfo[0] is the result for the next rung, else if playerinfo[1] > playerinfo[0] then playerinfo[1] is the result for the next rung?

I'm STILL having problems with the ordering of the members in an 8 player tournament. Am I doing something wrong? When I assign them to matches, during the creation of the tournament, am I supposed to keep them in a specific order?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:36 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06470 seconds
  • Memory Usage 2,297KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete