AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:S] RankMe (Version 2.8.3 - 19 Jul 12) (https://forums.alliedmods.net/showthread.php?t=155621)

away000 10-07-2011 23:36

Re: [CS:S] RankMe (Version 2.5.7 - 07 Oct 11)
 
Quote:

Originally Posted by DoPe^ (Post 1570358)
i got 1 problem :)

when i type rank, it show's up 2 times. is there any way to fix this?

there is a screenshot here so you can see what i mean
http://img708.**************/img708/9...luster0000.jpg

Are u using the latest version?

hasjduden 10-08-2011 07:51

Re: [CS:S] RankMe (Version 2.5.7 - 07 Oct 11)
 
Quote:

Originally Posted by lokizito (Post 1570312)
Good to know. Is pretty good. I just think you could add a white border around the table. But that is on design. Will add it to examples of webinterface ok?

Hm. I think about it. :) Ye, just go ahead and add it :wink:

Edit: Just around it or inside it aswell?

DoPe^ 10-08-2011 08:11

Re: [CS:S] RankMe (Version 2.5.7 - 07 Oct 11)
 
Quote:

Originally Posted by away000 (Post 1570365)
Are u using the latest version?

yup :) i am

lokizito 10-08-2011 10:24

Re: [CS:S] RankMe (Version 2.5.7 - 07 Oct 11)
 
Quote:

Originally Posted by DoPe^ (Post 1570547)
yup :) i am

Please post your plugins list (sm plugins list) and exts list (sm exts list).
Also, put the version from this post (http://forums.alliedmods.net/showpos...&postcount=494).
What it does is write to file "rankme.debug.log" at your cstrike when the rank chat hook, the sm_rank command/CMD_Rank and the Rank SQL callback are called. I want to see where the problem is happening. When you load it, first use !rank at the chat, then just rank. After that you can unload it and post me the content of "rankme.debug.log".
I've posted the source code so everyone can see that the difference between this version and the official are just the messages. And as it won't compile at the forum, the smx is attached.
After testing, i suggest you to put back the one from the first post so it don't keep generating log.

Quote:

Originally Posted by hasjduden (Post 1570532)
Hm. I think about it. :) Ye, just go ahead and add it :wink:

Edit: Just around it or inside it aswell?

I guess that around and inside. Because that cyan inside is a little weird and delimitating the table will be pretty good.
What i think would be cool, is, when you click in details, show the details in a BlockUI (jQuery), like the webinterface that i posted does, because then, people don't have to go back every time, just click outside the box and choose other player to look if he wants to.

@All
The topic just lost the header. Anyone know why?
Anyways, added it again.

hasjduden 10-09-2011 10:29

Re: [CS:S] RankMe (Version 2.5.7 - 07 Oct 11)
 
How often does my MYSQL-DB updates when I have rankme_mysql "1"?

And, is there a way to change it? :)

lokizito 10-09-2011 11:23

Re: [CS:S] RankMe (Version 2.5.7 - 07 Oct 11)
 
Quote:

Originally Posted by hasjduden (Post 1571478)
How often does my MYSQL-DB updates when I have rankme_mysql "1"?

And, is there a way to change it? :)

It updates every time a player gain or lose points.
There is no way to change it.
On the website you should paginate the complete list because isn't really good to look for someone in a 5k+ players list

lokizito 10-09-2011 12:06

Re: [CS:S] RankMe (Version 2.5.8 - 09 Oct 11)
 
New version posted. (Fixes and Features)
Changelog:
Code:

= V.2.5.8 (10/09/11):
    => Features:
          = Added Forward OnPlayerLoaded.
          = Added Forward OnPlayerSaved.
          = Added Native RankMe_GetPoints.
    => Fix:
          = Now RankMe_GetRank don't force to pass something for any:data.
          = Prevented an error that would occur if RankMe_GetRank was called when client disconnected.
          = Saving player is optimized. Now only uses one query.

Also, i've added to the first post a plugin that uses RankMe for announce when a player connect/disconnect as siangc asked.

war100ck 10-09-2011 12:55

Re: [CS:S] RankMe (Version 2.5.8 - 09 Oct 11)
 
File does not appear rank.sql, the logs soursemod error:
Quote:

L 10/09/2011 - 19:46:31: Console detour tried to unhook command "sm_dump_handles" but it wasn't found
L 10/09/2011 - 19:46:31: Console detour tried to unhook command "sm" but it wasn't found
L 10/09/2011 - 19:46:31: Console detour tried to unhook command "sm_dump_admcache" but it wasn't found
How to fix the error?

lokizito 10-09-2011 13:02

Re: [CS:S] RankMe (Version 2.5.8 - 09 Oct 11)
 
Quote:

Originally Posted by war100ck (Post 1571603)
File does not appear rank.sql, the logs soursemod error:


How to fix the error?

Read the first topic.
Code:

For using it if running into SQLite, set the cvar rankme_dump_db to 1.
Also, this error has nothing to do with the plugin.

war100ck 10-09-2011 13:11

Re: [CS:S] RankMe (Version 2.5.8 - 09 Oct 11)
 
Quote:

Originally Posted by lokizito (Post 1571609)
Read the first topic.
Code:

For using it if running into SQLite, set the cvar rankme_dump_db to 1.
Also, this error has nothing to do with the plugin.

All worth it, here is the config:

Quote:

// This file was auto-generated by SourceMod (v1.3.2)
// ConVars for plugin "rankme.smx"


// Auto-Purge inactive players? X = Days 0 = Off
// -
// Default: "0"
// Minimum: "0.000000"
rankme_autopurge "0"

// Show points changes on chat? 1 = true 0 = false
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
rankme_changes_chat "1"

// Dump the Database to SQL file? (required to be 1 if using the web interface and SQLite, case MySQL, it won't be dumped) 1 = true 0 = false
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
rankme_dump_db "1"

// Is RankMe enabled? 1 = true 0 = false
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
rankme_enabled "1"

// FFA mode? 1 = true 0 = false
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
rankme_ffa "0"

// Minimal kills for entering the rank
// -
// Default: "0"
// Minimum: "0.000000"
rankme_minimal_kills "0"

// Minimum players to start giving points
// -
// Default: "2"
// Minimum: "0.000000"
rankme_minimumplayers "2"

// Using MySQL? 1 = true 0 = false (SQLite)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
rankme_mysql "0"

// Multiplier of losing points. (WARNING: MAKE SURE TO INPUT IT AS FLOAT) 1.0 equals lose same amount as won by the killer, 0.0 equals no lose
// -
// Default: "1.0"
// Minimum: "0.000000"
rankme_percent_points_lose "1.0"

// How many points the CT who defused got additional?
// -
// Default: "2"
// Minimum: "0.000000"
rankme_points_bomb_defused_player "2"

// How many points CTs got for defusing the C4?
// -
// Default: "2"
// Minimum: "0.000000"
rankme_points_bomb_defused_team "2"

// How many points the TR who planted got additional?
// -
// Default: "2"
// Minimum: "0.000000"
rankme_points_bomb_exploded_player "2"

// How many points TRs got for exploding the C4?
// -
// Default: "2"
// Minimum: "0.000000"
rankme_points_bomb_exploded_team "2"

// How many points the TR who planted got additional?
// -
// Default: "2"
// Minimum: "0.000000"
rankme_points_bomb_planted_player "2"

// How many points TRs got for planting the C4?
// -
// Default: "2"
// Minimum: "0.000000"
rankme_points_bomb_planted_team "2"

// How many points an alive CT got for winning the round?
// -
// Default: "0"
// Minimum: "0.000000"
rankme_points_ct_round_win "0"

// How many points the CT who rescued got additional?
// -
// Default: "2"
// Minimum: "0.000000"
rankme_points_hostage_rescued_player "2"

// How many points CTs got for rescuing the hostage?
// -
// Default: "2"
// Minimum: "0.000000"
rankme_points_hostage_rescued_team "2"

// How many additional points a player got for a HeadShot?
// -
// Default: "1"
// Minimum: "0.000000"
rankme_points_hs "1"

// How many points a CT got for killing additional by the diffrence of points?
// -
// Default: "1"
// Minimum: "0.000000"
rankme_points_kill_bonus_ct "1"

// How many points of diffrence is needed for a CT to got the bonus?
// -
// Default: "100"
// Minimum: "0.000000"
rankme_points_kill_bonus_dif_ct "100"

// How many points of diffrence is needed for a TR to got the bonus?
// -
// Default: "100"
// Minimum: "0.000000"
rankme_points_kill_bonus_dif_tr "100"

// How many points a TR got for killing additional by the diffrence of points?
// -
// Default: "1"
// Minimum: "0.000000"
rankme_points_kill_bonus_tr "1"

// How many points a CT got for killing?
// -
// Default: "2"
// Minimum: "0.000000"
rankme_points_kill_ct "2"

// How many points a TR got for killing?
// -
// Default: "2"
// Minimum: "0.000000"
rankme_points_kill_tr "2"

// Multiplier of points by knife
// -
// Default: "2.0"
// Minimum: "0.000000"
rankme_points_knife_multiplier "2.0"

// If the points is f1oat, round it to next the highest or lowest? 1 = highest 0 = lowest
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
rankme_points_lose_round_ceil "1"

// How many points a player lose for Suiciding?
// -
// Default: "0"
// Minimum: "0.000000"
rankme_points_lose_suicide "0"

// How many points a player lose for Team Killing?
// -
// Default: "0"
// Minimum: "0.000000"
rankme_points_lose_tk "0"

// Starting points
// -
// Default: "1000"
// Minimum: "0.000000"
rankme_points_start "1000"

// How many points an alive TR got for winning the round?
// -
// Default: "0"
// Minimum: "0.000000"
rankme_points_tr_round_win "0"

// How many points the VIP got for escaping?
// -
// Default: "2"
// Minimum: "0.000000"
rankme_points_vip_escaped_player "2"

// How many points CTs got helping the VIP to escaping?
// -
// Default: "2"
// Minimum: "0.000000"
rankme_points_vip_escaped_team "2"

// How many points the TR who killed the VIP got additional?
// -
// Default: "2"
// Minimum: "0.000000"
rankme_points_vip_killed_player "2"

// How many points TRs got for killing the VIP?
// -
// Default: "2"
// Minimum: "0.000000"
rankme_points_vip_killed_team "2"

// Rank players by name? 1 = true 0 = false
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
rankme_rank_by_name "0"

// Rank bots? 1 = true 0 = false
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
rankme_rankbots "0"

// Allow player to reset his own rank? 1 = true 0 = false
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
rankme_resetownrank "0"

// Show bots on rank/top/etc? 1 = true 0 = false
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
rankme_show_bots_on_rank "0"

// When rank command is used, show for all the rank of the player? 1 = true 0 = false
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
rankme_show_rank_all "0"

// Show AS_ maps statiscs (VIP mod) on statsme and session?
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
rankme_vip_enabled "0"
The error does not disappear and the file rank.sql not. (
Unload the plug-in, no error.


All times are GMT -4. The time now is 22:17.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.