Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » Ranks Plugin Questions
icon5.gif  Ranks Plugin Questions [message #326835] Sat, 19 April 2008 13:30 Go to next message
Creed3020 is currently offline  Creed3020
Messages: 1438
Registered: February 2003
Location: Toronto, Canada
Karma: 0
General (1 Star)
This is mainly directed a danpaul:
  • I recently contacted you about changing the update message for the ranks plugin which works well, as a result of this we have noticed that ranks plugin updates the ladder after every map. Is there a way to control this update frequency?
  • Currently the minimum score cutoff for the ladder doesn't seem to be working. For example, our web ladder is showing everyone. The code currently looks like this below.
<!--Minimum score players must have before they are
    ranked. Players with less than this will be ignored. -->
    <cvar name="rankingMinScore" value="1000"/>


Any help is appreciated!
Re: Ranks Plugin Questions [message #326836 is a reply to message #326835] Sat, 19 April 2008 13:38 Go to previous messageGo to next message
Goztow is currently offline  Goztow
Messages: 9738
Registered: March 2005
Location: Belgium
Karma: 13
General (5 Stars)
Goztoe
Is that the old html output or a php based output page?

Edit: nvm, just saw u used hex's php output code. U'll have to talk with him Smile.


You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord

[Updated on: Sat, 19 April 2008 13:43]

Report message to a moderator

Re: Ranks Plugin Questions [message #326841 is a reply to message #326836] Sat, 19 April 2008 15:04 Go to previous messageGo to next message
Creed3020 is currently offline  Creed3020
Messages: 1438
Registered: February 2003
Location: Toronto, Canada
Karma: 0
General (1 Star)
Goztow wrote on Sat, 19 April 2008 16:38

Is that the old html output or a php based output page?

Edit: nvm, just saw u used hex's php output code. U'll have to talk with him Smile.


You are correct on the output type. We use a .txt file which gets updated to a SQL database. I haven't played with the new sql dump feature yet though. Sticking to what works for now.

I am curious if the minimum score clause is more to do with the plugin rather than the web output.
Re: Ranks Plugin Questions [message #326857 is a reply to message #326835] Sat, 19 April 2008 16:45 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
The minimum score is the minimum score you have to achieve INGAME to receive any ranking points for that game, it was designed to prevent players losing points on the avg score / kills / deaths per game when they only joined just as the game ended, which would give them +1 game with no or little score.

By setting it to 1000 you are preventing any player scoring less than 1000 in a single game from receiving any rank points for that game. Perhaps the comment is a bit ambiguous though, as it does not explain that very clearly.




As for updating after every game... it's only an FTP upload of a txt file, it hardly takes a lot of bandwidth, but you could modify the code to include a counter that counts up to x before uploading and then resets to 0, being incremented after every map ends.


http://steamsignature.com/card/1/76561197975867233.png
Re: Ranks Plugin Questions [message #326888 is a reply to message #326835] Sun, 20 April 2008 01:06 Go to previous message
Goztow is currently offline  Goztow
Messages: 9738
Registered: March 2005
Location: Belgium
Karma: 13
General (5 Stars)
Goztoe
If it's just a mysql query, then that shouldn't be too hard to change it to suit your needs.

You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
Previous Topic: Need help with BRenBot Plugin
Next Topic: Help With BRenBot
Goto Forum:
  


Current Time: Sat Nov 23 22:54:55 MST 2024

Total time taken to generate the page: 0.01851 seconds