vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Tournaments, Ladders & Leagues Manager v4.x (https://vborg.vbsupport.ru/showthread.php?t=238945)

ThatEbayGuy 10-10-2010 02:10 AM

Is there any way you could help me tweak the Elo rating? I have a guy who is 4-1 on the bottom of the ladder and that makes no sense to me.

The_Rascal 10-10-2010 01:01 PM

I get this error when clicking on the competitions navbar button
Quote:

Internal Server Error

Mismatch between target GID (100) and GID (527) of file "/***/*****/***********/public_html/forums/competitions.php"
Is this something to do with my host?

We are running 4.07

bananalive 10-10-2010 01:20 PM

Quote:

Originally Posted by owning_y0u (Post 2108258)
getting a DB error

Code:

atabase error in vBulletin 4.0.7:

Invalid SQL:

                        SELECT *
                        FROM NCe_tmnt_teams
                        WHERE teamid IN ();

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 ')' at line 3
Error Number  : 1064
Request Date  : Friday, October 8th 2010 @ 11:54:50 PM
Error Date    : Friday, October 8th 2010 @ 11:54:50 PM
Script        : http://next-century.eu/competitions.php?do=freeagent&id=17
Referrer      : http://next-century.eu/competitions.php?do=freeagents
IP Address    : xx.xx.xx.xx
Username      : Owning
Classname    : vB_Database
MySQL Version : 5.0.90


Have you uploaded the latest competitions.php allowing over-write?

bananalive 10-10-2010 01:24 PM

Quote:

Originally Posted by ThatEbayGuy (Post 2108580)
Is there any way you could help me tweak the Elo rating? I have a guy who is 4-1 on the bottom of the ladder and that makes no sense to me.

You would need to change one of these equations in ladders.php...
PHP Code:

$p_f 1/(10^($dr*sqrt($k)/2000)+1); 

PHP Code:

$newrank_u $rank_u 4*sqrt($k)*(1-$p_f

If you've got any improvements i'll happily add them.

bananalive 10-10-2010 01:25 PM

For those who have edited tmnt_bracket template to include extra user details in tournament brackets (and are finding bracket lines to be incomplete) this is now fixed for next version.

SB Staff 10-11-2010 02:41 PM

Quote:

Originally Posted by bananalive (Post 2108711)
You would need to change one of these equations in ladders.php...
PHP Code:

$p_f 1/(10^($dr*sqrt($k)/2000)+1); 

PHP Code:

$newrank_u $rank_u 4*sqrt($k)*(1-$p_f

If you've got any improvements i'll happily add them.

I have seen 2 basic methods for scoring.

1) SIMPLE METHOD - So much for Win and so much for Loss. We use this. 100 XP pts for Win and -33 for Loss. Regardless of team rank it is the same.

2) COMPELX METHOD - where the scoring is effected by rank. A higher rank team losses more XP points to a loss to a lower rank team and a Higher rank team wins fewer points for a win over a lower ranked team. The theory is to keep the higher ranked teams playing more higher ranked teams and not the lower ranked teams just to stay on the top of the ladder. However, the down side is the higher ranked team will not want to play a lower ranked team due to more points lost if they lose. I believe this system or something similiar is used by ladder sites.

In either method developed, would be wonderful if in the admin section each team can choose which system they want to use or can change the point values themselves. We used to set the point values on the table format (method 2) so no matter what method the result was still 100 pts for Win and -33 for loss. Just to keep it simple.

Just in case you are interested - here is some more info. on the #2 complex system:

SUMMARY:

If you play a team that has the same "Level" number as you, the winner increases XP by 100 points and the loser decreases XP by 100 points.

If the level of difference is 1, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 90 and loser loses 90 but if the losers xp points is greater then the winner xp points. The winner gets 120 and the loser losses 110.

If the level of difference is 2, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 80 and loser loses 80 but if the losers xp points is greater then the winner xp points. The winner gets 140 and the loser losses 120.

If the level of difference is 3, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 70 and loser loses 70 but if the losers xp points is greater then the winner xp points. The winner gets 160 and the loser losses 130.

If the level of difference is 4, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 60 and loser loses 60 but if the losers xp points is greater then the winner xp points. The winner gets 175 and the loser losses 140.

If the level of difference is 5, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 50 and loser loses 50 but if the losers xp points is greater then the winner xp points. The winner gets 190 and the loser losses 150.

If the level of difference is 6, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 40 and loser loses 40 but if the losers xp points is greater then the winner xp points. The winner gets 205 and the loser losses 160.

If the level of difference is 7, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 30 and loser loses 30 but if the losers xp points is greater then the winner xp points. The winner gets 215 and the loser losses 170.

If the level of difference is 8, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 20 and loser loses 20 but if the losers xp points is greater then the winner xp points. The winner gets 215 and the loser losses 170.

If the level of difference is 9, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 10 and loser loses 10 but if the losers xp points is greater then the winner xp points. The winner gets 215 and the loser losses 170.

If the level of difference is 10, there is a check for who has more points. If the winners points is greater then the losers, the winner gets 5 and loser loses 5 but if the losers xp points is greater then the winner xp points. The winner gets 215 and the loser losses 170.


Bananalive - I will send you a PM with some more info. that may be useful on system 2 just in case you are interested in it.

champendk 10-11-2010 09:20 PM

Nice one SB...

oooh em geee 10-12-2010 02:58 AM

I can't seem to find the dispute button for a challenge, and I get a database error when I create a Ladder for Players.

vBulletin 4.0.6
Tournament Plugin 4.2.4

InfoAddict 10-12-2010 10:46 AM

I can't change a players points back to 0? Any idea why?

oooh em geee 10-13-2010 03:59 AM

Quote:

Originally Posted by oooh em geee (Post 2109330)
I can't seem to find the dispute button for a challenge, and I get a database error when I create a Ladder for Players.

vBulletin 4.0.6
Tournament Plugin 4.2.4

I figured out why I got a database error. It shows the database error after turning the: "Join User Tables to User Profile Tables" on.

- Also I can only dispute matches in a Ladder with players. In the team Ladder there is no dispute option.

- The submit a lose button is also only available in a tournament with players. Its not there in a tournament with teams.

- The screenshot of proof field is only available in player Ladders, and not in team Ladders for some reason.


All times are GMT. The time now is 10:53 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03075 seconds
  • Memory Usage 1,769KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete