OciXCrom's Rank System [XP|Levels|Ranks]
https://raw.githubusercontent.com/Oc...er/version.png OciXCrom's Rank System https://raw.githubusercontent.com/Oc...s/hud_info.png https://raw.githubusercontent.com/Oc...xp_command.png https://raw.githubusercontent.com/Oc...ched_level.png https://raw.githubusercontent.com/Oc...lost_level.png https://raw.githubusercontent.com/Oc...ix_in_chat.png https://raw.githubusercontent.com/Oc...ges/xplist.png ☄ Description
☄ Information
☄ Commands
☄ Settings
☄ Configuring the ranks
☄ Configuring the XP rewards
☄ Showing the ranks in chat
☄ Credits
☄ Additional information and download link https://raw.githubusercontent.com/Oc...using_this.png https://raw.githubusercontent.com/Oc...plugin_lab.png https://raw.githubusercontent.com/Oc...ad_default.png |
Re: OciXCrom's Rank System
Looks pretty good
|
Re: OciXCrom's Rank System
looks great!
that picture of rank system XP list, shouldn't it be in order, biggest xp in first and so on? |
Re: OciXCrom's Rank System
A ranking system with many configurable options and that too by OciXCrom, looks great
|
Re: OciXCrom's Rank System
Thanks for the nice comments.
Quote:
I'll probably edit it later (after I actually find out how to use the sorting functions after all this time). |
Re: OciXCrom's Rank System
Brazillian Portuguese [bp]
RankSystem.txt PHP Code:
PHP Code:
|
Re: OciXCrom's Rank System
As always, OciXCrom makes the best plugins :D
Code:
[ro] -- DevilBoy.eXe |
Re: OciXCrom's Rank System
Awesome I have tested :)
|
Re: OciXCrom's Rank System
The translations have been added. Thanks.
|
Re: OciXCrom's Rank System
GJ, I Like it =]
EDIT: I think it is unnecessary to add a Tag Rank 3: 0 EXP - Test Player? - Recommended for server - surf? public? |
Re: OciXCrom's Rank System
Quote:
Quote:
|
Re: OciXCrom's Rank System
https://img.shields.io/badge/update-...2018-green.svg
|
Re: OciXCrom's Rank System
Turkish [tr]
RankSystem.txt Code:
[tr] -- Czarintax Code:
[tr] -- Czarintax |
Re: OciXCrom's Rank System
I cant won exp for some reason... kills give 0, bomb 0, every sort of death give 0 exp...
|
Re: OciXCrom's Rank System
@Lyklor - added, thanks.
@xeloxded - that's strange. Maybe you deleted the last lines in the .ini file by accident, since that is where the rewards are set? Any error logs? What AMXX version are you using? |
Re: OciXCrom's Rank System [XP|Levels|Ranks]
1.8.3
I didnt edited anything, gonna test it again, will update soon edit: Got it working, its fine now. I got a suggestion, I think you should add more customization in your plugin, like, instead of showing XP earned/loss via dhud/hud you could also show their earned exp via print_chat You earned 3 experience by killing an enemy by headshot You earned 3 experience by killing an enemy with an M4A1 You earned 3 experience by killing an enemy You earned 5 experience for defusing the bomb another suggestion is that you shouldnt display your HUD showing your Experience or rank if I am not on a team already, if you want your plugin to work with another type of system like a Register system you can see other people information without being logged, and I think its not logical showing a HUD when you are not on a team. It makes your plugin more complete than what it is already. |
Re: OciXCrom's Rank System [XP|Levels|Ranks]
Bonjour,
Have you made sure that switching to all 3 save type platforms, it won't create sort of old backup that what was saved on last platform? |
Re: OciXCrom's Rank System [XP|Levels|Ranks]
Quote:
I was thinking about showing that information in chat, but when you think about it, you will have to have a separate translation for every single one of those, which I find very inconvenient, especially since the plugin has an option for users to create their custom XP rewards for various events. Maybe something like You earned 3 experience for the event "kill" would be more acceptable from coding perspective, but it would still be messy when a player receives multiple rewards at the same time (e.g. kill + headshot + knife). About the other suggestion - I'll see what I can do. The plugin is designed to work for all games, not only CS, so I'll have to find a better way to check if a player is not in a team. For now you can activate the option that makes the HUD invisible for dead players. Quote:
|
Re: OciXCrom's Rank System [XP|Levels|Ranks]
Code:
[de] |
Re: OciXCrom's Rank System [XP|Levels|Ranks]
Quote:
|
Re: OciXCrom's Rank System [XP|Levels|Ranks]
For some reason sometimes it wont save my exp correctly, it will reset to 0, yesterday i gave myself 1000 exp but then (next day) it was on 0 again
SAVE_TYPE = 0 Using same nick EDIT: On change map it will save but if I turn off server it will reset |
Re: OciXCrom's Rank System [XP|Levels|Ranks]
How are you turning off your server exactly? If you're not doing it properly, the plugin won't be able to save the data.
|
Re: OciXCrom's Rank System [XP|Levels|Ranks]
Well, just closing it, but what do you mean "correctly" I mean, what if ""for some reason"" server gets shutdown (power went off, DDOS), it will loss data, not sure but I dont think thats right.
or when do you need to restart your server for whatever reason (Installing a new module or maintenance, for example) |
Re: OciXCrom's Rank System [XP|Levels|Ranks]
"Just closing it" by pressing the X button is not considered a proper shutdown. This won't call any of the plugin's functions which need to detect when the map ends and the players disconnect to save the data. Not only this plugin, but none of your plugins that save stuff in the end will save them. Use the "exit" command to shut it down and "restart" to restart it.
|
Re: OciXCrom's Rank System [XP|Levels|Ranks]
Thats what I did, but still, for some reason EXP will go to 0 regardless.
I was testing with SteamID but it will save correctly Also it makes no sense, because i am playing x map, got 10 exp and then change map it will save then close or rr server and it will go to 0 again |
Re: OciXCrom's Rank System [XP|Levels|Ranks]
Not sure why that is happening. I added some logs in the code that will print what's going in the logs/crxranks.log file. Leave it running for a while and upload the log file when you experience this again.
I'll upload the code in pastebin, since alliedmods has a weird bug at the moment - https://pastebin.com/9r9jEeTG |
Re: OciXCrom's Rank System [XP|Levels|Ranks]
Quote:
I just did the following, choose a map, give 100 exp, change to the same map while being connected, 100 exp still, then restart sv, 0 EXP. |
Re: OciXCrom's Rank System [XP|Levels|Ranks]
Let's add some colors to those logs so we can easily find what we need.
Quote:
|
Re: OciXCrom's Rank System [XP|Levels|Ranks]
I have nothing else more than Deathrun Manager, your custom chat, Ranks and Knife there (and Joropito multimod) so yeah, not sure what is going on
Its strange too because even if the data wasnt saved later, first map I testeed was where I gave me EXP and then it saved correctly |
Re: OciXCrom's Rank System [XP|Levels|Ranks]
The Deathrun Manager itself can be causing the problem - if I recall correctly, its code isn't very good. I suggest you disable any other plugins and enable them 1 by 1 to see which one is causing the problem. You can use the error logs generated from my plugin to help you in the process.
|
Re: OciXCrom's Rank System [XP|Levels|Ranks]
Still cant found a fix :/
|
Re: OciXCrom's Rank System [XP|Levels|Ranks]
I can't do anything about that. The problem is from your server, not the plugin.
|
Re: OciXCrom's Rank System [XP|Levels|Ranks]
Yeah, but I think I know what is causing problems, will try to fix it, going to edit soon
|
Re: OciXCrom's Rank System [XP|Levels|Ranks]
Dutch translation
Well done btw. Code:
[nl] -- NapoleoN# |
Re: OciXCrom's Rank System [XP|Levels|Ranks]
A small thing about LEVELUP_MESSAGE_TYPE in ini file - shouldn't it have only option 0 (disabled) and 2 (visible for everybody). I mean, I think that option 2 should be occupying option 1's position (because it makes no sense for only the player who gains a level see the message saying that he just did it, having into account that he will see the "You did it" message [in 2nd person]). Don't know if it makes sense or if I explained myself clearly, if not, please say it and I'll try my best to do so. It seems really good, for now (did not test it, gonna test it soon).
FORGET THIS MESSAGE (I did not see that there was no message in 2nd person, so everything makes sense now). Having second thoughts, DO NOT FORGET THIS MESSAGE: it is ok, but maybe instead of option 1 (still this option) saying that "player x has reached y level", wouldn't it be better having the message in 2nd person (since it's only for the player who reached a new level). Instead of that, it should be "You have reached y level" (if the option was set to 1). It's not a big deal, to be honest, I was just wondering... |
Re: OciXCrom's Rank System [XP|Levels|Ranks]
Quote:
Quote:
|
Re: OciXCrom's Rank System [XP|Levels|Ranks]
I understand. Anyways, if you feel like doing it in the future, here it is how it should be in portuguese (translated by tarsisd2) and english (translated by you).
[bp] CRXRANKS_LEVEL_REACHED = &x03%s &x01subiu para o&x04Level %i &x01[&x03%s&x01] current CRXRANKS_LEVEL_REACHED = &x03Voce &x01subiu para o&x04Level %i &x01[&x03%s&x01] replace for this (it is the same thing, just change "%s" to "Voce" which means you). [en] CRXRANKS_LEVEL_REACHED = &x03%s &x01has reached &x04Level %i &x01[&x03%s&x01] current CRXRANKS_LEVEL_REACHED = &x03You &x01have reached &x04Level %i &x01[&x03%s&x01] replace for this (it is the same thing, just change "%s" to "You" and "has" to "have"). |
Re: OciXCrom's Rank System [XP|Levels|Ranks]
I think its a nVault problem, for some reason it wont load on console when I type "modules"
Quote:
AMXX 1.8.3 last version (I tested other plugins with MySQL, Sqlite and adv_vault, all working without losing anything) I would try to switch to MySQL |
Re: OciXCrom's Rank System [XP|Levels|Ranks]
I managed to try another plugin that saves things, It lose data aswell, sometimes changing map or RR server it will go to 0, I dont know whats happening ;/
|
Re: OciXCrom's Rank System [XP|Levels|Ranks]
That's what I'm trying to tell you, every plugin that saves data on map end will fail to work sometimes. nVault should appear in your modules - it does in my server at least. Try removing all plugins leaving only the rank system and see if the problem persists. If it does, reinstall the entire server and AMXX.
Also, If i'm correct, you won't have this problem only with nVault, but with every plugin that saves data on map end or player disconnect. The only difference is that nVault works in a way that if not handled properly it can reset the data, while some other methods will lose only the data gained on that current map. So, using another method is not a solution either, because you will still use data. |
All times are GMT -4. The time now is 08:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.