Help fixing this one !
fixed
|
Re: Help fixing this one !
new g_level[32], g_exp[32], g_exp2[32]
These vars need to have size 33 not 32 |
Re: Help fixing this one !
The plugin is very poorly coded, you shouldn't be using that at all. If you want an optimized and properly coded rank system, use the one that I recently made - https://forums.alliedmods.net/showthread.php?t=308540 - this one does the same thing, but it's 10x times better coded and has a lot of options to customize.
|
Re: Help fixing this one !
Quote:
|
Re: Help fixing this one !
I can make a plugin that will transfer the data from your plugin to mine.
|
Re: Help fixing this one !
Quote:
thanks |
Re: Help fixing this one !
I see that your plugin has a maximum of 20 XP for each level, while mine has a different amount for each one, starting from 100 XP for the first level up to 20.000 XP for the last one. Am I right about the first one?
If I'm correct, the amount of XP that will be transfered should be equal to "20 * (level - 1) + current XP". According to this, if for example a player has 15 XP and he is on level 7, he should receive 135 XP in my plugin (20 * (7 - 1) + 15). I assume you haven't changed the cvars in the plugin and they are using the values set in the .sma file. If you did change them, please give me your values. // Nevermind, I can retreive the cvar value in the plugin itself. Just tell me if everything I said is right and I will make the transfer plugin for you. |
Re: Help fixing this one !
Quote:
|
Re: Help fixing this one !
Quote:
and no need for the data transfer i will gave them the level by the give_level cmd on your plugin ! |
Re: Help fixing this one !
You can customize the ranks and levels yourself in the plugin's configuration file, there's no need for me to do anything. My plugin uses XP and each level requires a certain amount of it. The only difference is that the XP doesn't reset to 0 on levelup, but it's keep going. Look at the configuration file and give it a try, you'll proably figure it out.
|
| All times are GMT -4. The time now is 12:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.