Raised This Month: $ Target: $400
 0% 

OciXCrom's Rank System [XP|Levels|Ranks]


Post New Thread Reply   
 
Thread Tools Display Modes
karaulov
Senior Member
Join Date: Jul 2018
Old 12-06-2020 , 09:33   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #541

I got first error by long time...


Code:
L 12/04/2020 - 18:17:36: Start of error session.
L 12/04/2020 - 18:17:36: Info (map "de_westwood") (file "addons/amxmodx/logs/error_20201204.log")
L 12/04/2020 - 18:17:36: [MySQL] Invalid handle: 0
L 12/04/2020 - 18:17:36: [AMXX] Run time error 10 (plugin "crx_ranksystem.amxx") (native "SQL_FreeHandle") - debug not enabled!
L 12/04/2020 - 18:17:36: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
What it ?
karaulov is offline
karaulov
Senior Member
Join Date: Jul 2018
Old 12-06-2020 , 09:46   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #542

Quote:
Originally Posted by OciXCrom View Post
Error
Config (edited)
https://pastebin.com/yQALaBwu

Why players not be loss XP with death or loss?
karaulov is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-06-2020 , 10:02   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #543

Quote:
Originally Posted by karaulov View Post
I got first error by long time...


Code:
L 12/04/2020 - 18:17:36: Start of error session.
L 12/04/2020 - 18:17:36: Info (map "de_westwood") (file "addons/amxmodx/logs/error_20201204.log")
L 12/04/2020 - 18:17:36: [MySQL] Invalid handle: 0
L 12/04/2020 - 18:17:36: [AMXX] Run time error 10 (plugin "crx_ranksystem.amxx") (native "SQL_FreeHandle") - debug not enabled!
L 12/04/2020 - 18:17:36: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
What it ?
Activate debug mode and show the full error.

Quote:
Originally Posted by karaulov View Post
Config (edited)
https://pastebin.com/yQALaBwu

Why players not be loss XP with death or loss?
Becuase you did not set the plugin to do that.

Code:
[XP Rewards] death = xp for dying team_lose = xp for losing the round

Check this.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
karaulov
Senior Member
Join Date: Jul 2018
Old 12-06-2020 , 10:29   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #544

[XP Rewards]
death = xp for dying
team_lose = xp for losing the round

xp loss or get ?

death = 10
or
death = -10

Last edited by karaulov; 12-06-2020 at 10:29.
karaulov is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-06-2020 , 13:35   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #545

-10
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
karaulov
Senior Member
Join Date: Jul 2018
Old 12-09-2020 , 01:50   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #546

No addon to balance the experience?

(Rank System | Balance addon)


1. If a player with a low level kills a player with a high level, he gets more experience.
2. If a player with a high level kills a player with a low level, he gets less experience.
3. For death from a player with a high level, remove less experience.
4. For death from a player with a low level, take away more experience.
5.Give less experience with each next level (optional)
6. With each next level, remove more experience for death (optional)
karaulov is offline
karaulov
Senior Member
Join Date: Jul 2018
Old 12-11-2020 , 00:32   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #547

Quote:
Originally Posted by OciXCrom View Post

Code:
- Add tiers
- Top15, stats, rank
- Add XP messages when planting, defusing, exploding the bomb
- NOTIFY_ON_KILL global messages
- Prune after X days
- Save name in SQL
- XP notifier for spectating players
How to increase update speed?)) Pull request at github can increase updating speed?




No command to clear all stats(wipe)??

Last edited by karaulov; 12-11-2020 at 01:05.
karaulov is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-11-2020 , 07:30   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #548

Simply change the nVault filename or SQL table where they're saved from the .ini file. This way you will restart them, plus you'll have a backup if you want to restore them.
Having a command is too risky in my opinion, but I might add it in the future.
__________________

Last edited by OciXCrom; 12-11-2020 at 07:31.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
karaulov
Senior Member
Join Date: Jul 2018
Old 12-11-2020 , 07:57   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #549

This is not simple, need go to host panel, phpmyadmin, and do something) but not all server admins can work with mysql. This is not simple))

Possible better add wipe menu for rcon admins, with needed two step confirm to wipe.

Last edited by karaulov; 12-11-2020 at 07:59.
karaulov is offline
karaulov
Senior Member
Join Date: Jul 2018
Old 12-11-2020 , 15:14   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #550

Quote:
Originally Posted by OciXCrom View Post
- Save name in SQL
For optimizing db size need remove any unused rows, example:

And just duplicate config in web script if needed (level name, next level, and etc)
Attached Files
File Type: zip crx_ranksystem_added_name.zip (9.8 KB, 70 views)
karaulov is offline
Reply



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 -4. The time now is 12:42.


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