Raised This Month: $51 Target: $400
 12% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 12-17-2021 , 11:52   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #731

Quote:
Originally Posted by romeo72 View Post
Hello OciXcrom,

First of all thanks for your answer !
what do you mean exactly ?

must this line:


can be changed as follows:


Unfortunately, I do not have the necessary knowledge to understand what you mean. would be nice if you could explain this to me briefly.

best regards
You don't need to do anything. Just install the plugin.
__________________
HamletEagle is offline
romeo72
Member
Join Date: Oct 2021
Old 12-17-2021 , 16:01   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #732

Hello HamletEagle,

Thank you for your prompt reply !!

Which file name do I compile the plugin with does not matter?
Can you tell me what the command is to reset the xp?
because crxranks_reset_xp doesn't work:

Quote:
You have no access to that command
I'm a normal player on the server


best regards
__________________

Last edited by romeo72; 12-17-2021 at 16:41.
romeo72 is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 12-17-2021 , 18:08   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #733

Quote:
Originally Posted by romeo72 View Post
Hello HamletEagle,

Thank you for your prompt reply !!

Which file name do I compile the plugin with does not matter?
Can you tell me what the command is to reset the xp?
because crxranks_reset_xp doesn't work:



I'm a normal player on the server


best regards
Give yourself the appropriate admin permissions
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
romeo72
Member
Join Date: Oct 2021
Old 12-18-2021 , 03:48   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #734

Hi DruGzOG

the idea was that every player could reset their own xp.

and the admin can delete all. for example, if 1 year has passed.

I hope you understand what I mean !

best regards
__________________
romeo72 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-18-2021 , 05:47   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #735

The command is set for all players. I see no reason why you don't have access. Try to see if it works when you have access.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
romeo72
Member
Join Date: Oct 2021
Old 12-19-2021 , 07:01   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #736

Hello OciXCrom,

I have registered myself again as admin on the server.
when I write the command in the console:
Quote:
crxranks_reset_xp
I get the following message:
Quote:
crxranks_reset_xp
Usage: crxranks_reset_xp <nick|#userid>
I only get this feedback as an admin. not as a normal player (visitor).

to rule out a mistake. I don't have to replace the code (plugin) from your post above with the crx_ranksystem.amxx (file)?
i had your code compiled and used a different name for it, for example:
Quote:
crx_rank_reset.amxx
best regards
__________________

Last edited by romeo72; 12-19-2021 at 07:02.
romeo72 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-19-2021 , 09:25   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #737

You need to enter a player name as well.

Open configs/cmdaccess.ini and check the flag set for the command.

The location of the plugin in plugins.ini or its name does not matter.
This is a sub-plugin, not an entire replacement for the rank system. I think it's pretty obvious given its ~3000x times smaller size.
__________________

Last edited by OciXCrom; 12-19-2021 at 09:28.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
romeo72
Member
Join Date: Oct 2021
Old 12-19-2021 , 09:57   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #738

I have these four entries in cmdaccess.ini:
Quote:
"amx_givelvl" "q" ; RankSystem.amxx
"amx_givexp" "q" ; RankSystem.amxx
"crxranks_give_xp" "l" ; crx_ranksystem.amxx
"crxranks_reset_xp" "l" ; crx_ranksystem.amxx
must this be changed to ?:
Quote:
"crxranks_reset_xp" "d" ; crx_ranksystem.amxx
best regards
__________________

Last edited by romeo72; 12-19-2021 at 10:15.
romeo72 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-19-2021 , 10:48   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #739

How did flag "l" even get there in the first place?
You should leave it blank so all players can use it regardless of access flags.

crxranks_reset_xp ""
__________________

Last edited by OciXCrom; 12-19-2021 at 10:49.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-19-2021 , 10:51   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #740

Wait, I'm stupid and totally forgot that this command already exists in the default plugin.

So yes, the sub-plugin needs to be added before crx_ranksystem in plugins.ini. This way it will override the other command.
__________________

Last edited by OciXCrom; 12-19-2021 at 10:51.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 17:27.


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