Guangcong Luo
09fa73f719
Remove serverid from NTBBLadder constructor
...
NTBBLadder no longer supports alternate servers, making it unnecessary.
2015-12-31 00:34:54 -05:00
Guangcong Luo
dd4e9ae51c
Support ladder resets
...
A lot of this stuff involves the website itself, but this part is
the part contained in the client.
2015-12-31 00:33:47 -05:00
Guangcong Luo
fe38cc3ead
More consistent CORS support
2015-11-26 03:53:56 -05:00
Guangcong Luo
bc8daf62e4
Ladder refactor
2015-11-25 17:36:28 -05:00
Guangcong Luo
3f8ffa684f
Support new challstr protocol
...
See Zarel/Pokemon-Showdown@d5c622b493
New system is backwards-compatible with old one. This also slightly
refactors some other stuff, for an overall simpler system.
2015-06-28 00:50:17 -04:00
Guangcong Luo
4c35e2041a
Change rating period advance time
...
Instead of advancing rating periods at midnight GMT, they're now
advanced at 9:00 GMT, which corresponds to 1am-4am in the US.
2014-09-25 16:43:10 -05:00
Guangcong Luo
f525c08b49
Fix support for autodetecting server for ladders
2014-04-11 02:51:44 -05:00
Guangcong Luo
4f3f526c61
Fix crash in IP reporter
2014-04-02 22:58:13 -05:00
Guangcong Luo
6f14a44b55
Report IPs from unregistered servers
...
Right now, unregistered servers often get unclear error messages
about why laddering and replay saving doesn't work. This commit
attempts to clarify those error messages.
In addition, servers that make requests from different IPs from
their registered IP didn't have an easy way to fix. Reporting
IPs should make it clearer which IP they need to register.
2014-04-02 00:39:16 -05:00
Guangcong Luo
da74983e9c
Ladder: Tweak decay
...
Decay how happens half as fast on days where players have played at
least one game.
2014-03-01 16:19:42 -06:00
Guangcong Luo
e04eb7d113
Rating decay and other ladder tweaks
...
We now have a rating decay of -1/day at 1400, -2/day at 1450, -3/day
at 1500, etc. This roughly translates to a fall from the top of OU to
the bottom over a month of full inactivity, which is somewhat harsh
considering it's done regardless of inactivity. I might tweak this to
be less harsh later.
There's no rating decay below 1400. People can stay there as long as
they want.
The only other tweak is that K is now 40 at >1300 instead of >1400.
Very very slight tweak so that ratings in the 1300-1500 range are
very very slightly more precise.
2014-02-27 19:32:18 -06:00
Guangcong Luo
585e82c26d
Ladder: Dynamic K-factor
...
We are now attempting to enforce a center at 1100 (tentative, may move
to 1200 later) by increasing points gained for winning and decreasing
points lost for losing below that. This will make a user with equal
wins/losses higher than a user who consistently loses.
The other change is to scale K down at higher ratings. >1400 now uses
K=40, and >1600 uses K=32. This is a really conservative scale, and
we might make it less conservative later.
STAY TUNED!
COMING UP NEXT: rating decay
2014-02-12 13:00:09 -06:00
Guangcong Luo
eb102e5474
Add COIL/ARMS to ladders
2014-01-23 12:18:22 -06:00
Guangcong Luo
3aa5c6825e
Replace Glicko-2 with Glicko-1
2014-01-16 00:23:37 -06:00
Guangcong Luo
726709c2fb
Fix Glicko updating with provisional rating
2014-01-15 12:37:08 -06:00
Guangcong Luo
096047ffd5
Glicko2 rating period now 1 day
2014-01-15 12:37:08 -06:00
Guangcong Luo
2be6563318
Elo ladder
2014-01-15 12:37:08 -06:00
Guangcong Luo
ae12fbbd09
Fix error in ladder rating calculation
2013-11-30 00:54:42 -06:00
Guangcong Luo
77e8d12190
New replay uploading system
2013-11-30 00:54:42 -06:00
Quinella
7e9149887d
Friendlist: serverside client code (so that friends can be added etc.)
2013-11-12 23:13:57 +01:00
Guangcong Luo
b566aa91b0
Wordfilter for replay uploads
2013-09-14 18:43:19 -05:00
Guangcong Luo
0b33ed2dc9
Merge pull request #40 from kotarou3/whitespace
...
Whitespace
2013-08-19 10:01:47 -07:00
Guangcong Luo
0a0a64990f
Yet another change to the MMR formula
...
It's now (2*rpr+r)/3
2013-08-18 16:17:39 -05:00
小太
cf699c0494
Obliterate trailing whitespace
2013-08-18 22:48:11 +10:00
Guangcong Luo
6918000c34
Ladder: Rating period length reduced to 2 days
...
(Reduced from 3 days)
2013-08-14 21:48:42 -05:00
Guangcong Luo
4b65f40779
MMR is now projected rating
2013-08-14 00:47:34 -05:00
Guangcong Luo
4d5b1f89e4
Ladder: Function to lear a ladder
2013-07-12 15:36:30 -05:00
Guangcong Luo
420c702e54
Ladders now show top 500
2013-07-07 16:18:27 -05:00
Cathy J. Fitzpatrick
63791dabd2
Correct check for all-numeric name
2013-06-20 22:34:19 -05:00
Cathy J. Fitzpatrick
5fe36c3090
Fix SQL injection vulnerability in ntbb-ladder.lib.php
2013-06-20 12:10:55 -06:00
Cathy J. Fitzpatrick
0dbd829ec6
Rename some globals to avoid namespace collisions
2013-06-03 15:24:50 -06:00
Cathy J. Fitzpatrick
f0e7eabac0
Support using the login database as the ladder database
2013-06-02 21:49:05 -05:00
Cathy J. Fitzpatrick
983c94d1df
Implement change password dialogue
2013-06-01 01:16:26 -05:00
Cathy J. Fitzpatrick
0a0e5f011b
Usernames must contain at least one letter
2013-05-28 23:32:20 -05:00
Cathy J. Fitzpatrick
685910046d
New method for invalidating custom CSS
2013-05-25 04:38:42 -05:00
Cathy J. Fitzpatrick
ecc09d4f6f
Revert recent ACRE changes
...
This reverts commit the part of 18faee531a
that made changes to lib/ntbb-ladder.lib.php.
2013-05-21 02:06:47 -06:00
Cathy J. Fitzpatrick
70102adff5
Merge branch 'client-overhaul'
2013-05-20 22:56:05 -06:00
Guangcong Luo
18faee531a
Option to hide PMs from lobby chat log
2013-05-20 19:22:36 -05:00
Cathy J. Fitzpatrick
a38be39eb0
Use mb_strlen rather than strlen
2013-05-01 17:27:20 -07:00
Cathy J. Fitzpatrick
e2b7a3a46a
ipidentification is now always enabled
2013-04-26 06:55:13 -07:00
Cathy J. Fitzpatrick
e19f727226
ipidentification is now always enabled
2013-04-26 07:49:15 -06:00
Cathy J. Fitzpatrick
a9f7f3356c
Remove unused sessiontoken
2013-04-25 03:29:12 -06:00
Cathy J. Fitzpatrick
e52a0339ad
Safer approach to updating the stats
2013-04-22 19:53:01 -07:00
Cathy J. Fitzpatrick
bf740992fb
Fix include path
2013-04-22 17:56:13 -07:00
Cathy J. Fitzpatrick
17b8917d0b
Update PO userstats whenever the main server reports userstats
2013-04-22 18:35:28 -06:00
Cathy J. Fitzpatrick
4e35bab1c5
Drop deprecated ladderformatgetmmr action
2013-04-20 05:08:00 -06:00
Cathy J. Fitzpatrick
bf4763dd1d
Specify charset for ladder database
2013-04-19 19:57:27 -06:00
Cathy J. Fitzpatrick
6b9d5e4cf2
Drop the action name from JSON output in action.php
2013-04-17 16:33:12 -06:00
Cathy J. Fitzpatrick
b701edc906
Send correct Content-Type header in action.php
2013-04-17 16:30:22 -06:00
Cathy J. Fitzpatrick
3021e2aca5
More thorough replay upload validation
2013-04-15 17:48:22 -06:00