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

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


Post New Thread Reply   
 
Thread Tools Display Modes
karaulov
Senior Member
Join Date: Jul 2018
Old 03-29-2021 , 11:13   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #631

Quote:
Originally Posted by OciXCrom View Post
All the natives required to do that already exist.
Need option 'DEFAULT_USER_SCORE' for set it to 1000 ))))
karaulov is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-29-2021 , 14:23   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #632

Quote:
Originally Posted by karaulov View Post
Need option 'DEFAULT_USER_SCORE' for set it to 1000 ))))
I will try to implement this.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
talibana
Member
Join Date: Oct 2008
Location: United Kingdom
Old 04-07-2021 , 17:49   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #633

Quote:
Originally Posted by OciXCrom View Post

  • The entire SQL code has been reworked and highly optimized. The entire procedure is now asynchronous which means that the server won't stall/lag with slower SQL servers, as well as when the connection fails on mapchange.
  • The SQL connection is now made only once when the map starts and closes when the map ends instead of opening/closing each time a player joins/leaves.
randomly sometimes most players lose their points when logging in to the server, what could be the reason? The server does not crash, the connection is lost between the hlds server and the mysql server.
talibana is online now
SHIFT0
Senior Member
Join Date: Apr 2021
Location: Palestine
Old 04-07-2021 , 18:49   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #634

Hey OciXCrom
I want only this
https://raw.githubusercontent.com/Oc...ix_in_chat.png
Just The Level Tag For Players Level Number
!n[!gLevel !gNumber!n] [Owner] Null:
!n[!gLevel !g10] [Owner] Null:
SHIFT0 is offline
nG_getwreck
Senior Member
Join Date: Oct 2020
Location: Philippines from South K
Old 04-08-2021 , 03:58   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #635

Quote:
Originally Posted by SHIFT0 View Post
Hey OciXCrom
I want only this
https://raw.githubusercontent.com/Oc...ix_in_chat.png
Just The Level Tag For Players Level Number
!n[!gLevel !gNumber!n] [Owner] Null:
!n[!gLevel !g10] [Owner] Null:
Use this, and open up the sma file then find this line:
https://forums.alliedmods.net/showthread.php?t=297952

PHP Code:
/* define this */
//#define ARG_LEVEL                 "$level$" 
-->>

PHP Code:
#define ARG_LEVEL                 "$level$" 
2nd go to ChatManager.ini then find this section:
PHP Code:
[Format Definitions]
# In this section you can define chat formats that you can assign to different users in the [User Formats] section.
# You should create a different format for the say and say_team chat, if you don't wan't them to look the same.
# You can use the following placeholders: $admin_prefix$, $dead_prefix$, $team$, $name$, $custom_name$, $ip$, $steam$, $userid$, $chat_color$, $message$, $time$
# You can also use these, but they need to be enabled in the .sma file first: $health$, $armor$, $frags$, $deaths$, $city$, $country$, $country_code$, $continent$, $continent_code$
# Using OciXCrom's Rank System gives you access to even more placeholders: $rank$, $current_xp$, $next_xp$, $level$, $next_level$, $next_rank$. Only the first one is enabled by default.
# To enable an additional placeholder, simply locate the #define ARG_ line in the beginning of the .sma file and uncomment it (remove //), then recompile the plugin.
# Syntax: format name = format style

format_admin $dead_prefix$ &x04$admin_prefix$ &x03$custom_name$ &x01$chat_color$$message$
format_admin_team $dead_prefix$ ($team$) &x04$admin_prefix$ &x03$custom_name$ &x01$chat_color$$message$
format_player $dead_prefix$ &x04 &x03$custom_name$ &x01$chat_color$$message$
format_player_team $dead_prefix$ ($team$) &x04 &x03$custom_name$ &x01$chat_color$$message$

log_say = [ $ip$ | $steam$ ] $dead_prefix$name$: $message$
log_team = [ $ip$ | $steam$ ] ($team$) $dead_prefix$name$: $message
-->>

PHP Code:
[Format Definitions]
# In this section you can define chat formats that you can assign to different users in the [User Formats] section.
# You should create a different format for the say and say_team chat, if you don't wan't them to look the same.
# You can use the following placeholders: $admin_prefix$, $dead_prefix$, $team$, $name$, $custom_name$, $ip$, $steam$, $userid$, $chat_color$, $message$, $time$
# You can also use these, but they need to be enabled in the .sma file first: $health$, $armor$, $frags$, $deaths$, $city$, $country$, $country_code$, $continent$, $continent_code$
# Using OciXCrom's Rank System gives you access to even more placeholders: $rank$, $current_xp$, $next_xp$, $level$, $next_level$, $next_rank$. Only the first one is enabled by default.
# To enable an additional placeholder, simply locate the #define ARG_ line in the beginning of the .sma file and uncomment it (remove //), then recompile the plugin.
# Syntax: format name = format style

format_admin $dead_prefix$ &x04$admin_prefix$ [LVL $level$] &x03$custom_name$ &x01$chat_color$$message$
format_admin_team $dead_prefix$ ($team$) &x04$admin_prefix$ [LVL $level$] &x03$custom_name$ &x01$chat_color$$message$
format_player $dead_prefix$ &x04 [LVL $level$] &x03$custom_name$ &x01$chat_color$$message$
format_player_team $dead_prefix$ ($team$) &x04 [LVL $level$] &x03$custom_name$ &x01$chat_color$$message$

log_say = [ $ip$ | $steam$ ] $dead_prefix$name$: $message$
log_team = [ $ip$ | $steam$ ] ($team$) $dead_prefix$name$: $message
PS: Next time, ask in request section or Chat Manager thread (if you are using OciXCrom Chat Manager plugin).
__________________

Last edited by nG_getwreck; 04-08-2021 at 13:32. Reason: Chat manager not ADMIN chat lol
nG_getwreck is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-08-2021 , 07:05   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #636

Quote:
PS: Next time, ask in request section or Admin Chat thread (if you are using OciXCrom Admin Chat plugin).
Chat Manager*
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
nG_getwreck
Senior Member
Join Date: Oct 2020
Location: Philippines from South K
Old 04-10-2021 , 12:28   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #637

DHUD Params? Can you give the DHUD params used in gain XP notifier? "set_dhudmessage" thanks
__________________

Last edited by nG_getwreck; 04-10-2021 at 12:28.
nG_getwreck is offline
rumble
Junior Member
Join Date: Oct 2020
Old 04-11-2021 , 15:40   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #638

Hi OciXCrom's, I have a question, could you add "reset" to your system?
In other words, all the players who reach the maximum level will reset their level, and they will be awarded a "reset" point.
this points can be a requirement to acquire or unlock things.
like for example you plugin of knife "Knife Models [XP System & Skills Support]".
that is to say that apart from having a level requirement also in some you can place reset points to unlock.
for example :

[Default]
V_MODEL = models/v_knife.mdl

[KNIFE 2 [LVL 5 - RESET 0]]
V_MODEL = models/v_knife.mdl
LEVEL = 5
RESET = 0

[KNIFE3 [LVL 10 - RESET 1]]
V_MODEL = models/v_knife.mdl
LEVEL = 10
RESET = 1
rumble is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-11-2021 , 18:02   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #639

This is already a part of my next update and they will be called "tiers".
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
karaulov
Senior Member
Join Date: Jul 2018
Old 04-17-2021 , 09:44   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #640

Quote:
L 04/14/2021 - 22:49:04: Start of error session.
L 04/14/2021 - 22:49:04: Info (map "de_mirage") (file "addons/amxmodx/logs/error_20210414.log")
L 04/14/2021 - 22:49:04: Invalid array handle provided (0)
L 04/14/2021 - 22:49:04: [AMXX] Run time error 10 (plugin "statsrank.amxx") (native "ArrayGetCell") - debug not enabled!
L 04/14/2021 - 22:49:04: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
karaulov is offline
Reply


Thread Tools
Display Modes

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 18:21.


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