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

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


Post New Thread Reply   
 
Thread Tools Display Modes
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 03-17-2019 , 04:42   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #211

Quote:
Originally Posted by totopizza View Post
Try this, reduce the number of times a connection is created, now only create once:

Test it (I did not try it, but it should work):
Nothing changes. When player disconnects >100 times, error happens.
LithuanianJack is offline
game.pwd
Junior Member
Join Date: Mar 2019
Old 03-20-2019 , 17:21   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #212

Nice work , i'll use this on my server

Can you help me how can i add a flag for many ranks ?
game.pwd is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-21-2019 , 15:20   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #213

Quote:
Originally Posted by game.pwd View Post
Can you help me how can i add a flag for many ranks ?
What do you mean?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 04-03-2019 , 11:15   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #214

Quote:
Originally Posted by LithuanianJack View Post
Nothing changes. When player disconnects >100 times, error happens.
I can pay for person who will fix this bug, because I want to use this plugin but plugin’s author do not know how to fix their own code fault.
LithuanianJack is offline
Koneuka
Junior Member
Join Date: Nov 2017
Old 04-05-2019 , 06:07   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #215

Quote:
Originally Posted by LithuanianJack View Post
I can pay for person who will fix this bug, because I want to use this plugin but plugin’s author do not know how to fix their own code fault.
If we can't close connection using AMXX, what is actually sad, we can force mysql to close connections automatically after some seconds/minutes past.

In server configuration file (the one that runs MYSQL) these globals need to be changed:

HTML Code:
global wait_timeout=28800;
global interactive_timeout=28800;
Set in seconds.

So why do we actually need 8 hours of connection?

As I understand it will make MYSQL create new connections instead of using already existing, but can solve your problem.

Last edited by Koneuka; 04-05-2019 at 06:16.
Koneuka is offline
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 04-19-2019 , 03:49   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #216

Quote:
Originally Posted by Koneuka View Post
If we can't close connection using AMXX, what is actually sad, we can force mysql to close connections automatically after some seconds/minutes past.

In server configuration file (the one that runs MYSQL) these globals need to be changed:

HTML Code:
global wait_timeout=28800;
global interactive_timeout=28800;
Set in seconds.

So why do we actually need 8 hours of connection?

As I understand it will make MYSQL create new connections instead of using already existing, but can solve your problem.
So what values would you recommend to use?
LithuanianJack is offline
Koneuka
Junior Member
Join Date: Nov 2017
Old 04-20-2019 , 15:21   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #217

Quote:
Originally Posted by LithuanianJack View Post
So what values would you recommend to use?
60 is totally ok for both Connection never needed longer than for a minute and should be harmless to your webserver.

Last edited by Koneuka; 04-20-2019 at 15:22.
Koneuka is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 04-25-2019 , 09:24   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #218

remember when you tried to add player city to the hud on you plugin?

https://forums.alliedmods.net/showpo...8&postcount=61

we couldn't get it to work, but i have seen on some servers and it's really cool, sometimes you discover some players that lives close to you, any chance we can get that to work?
tarsisd2 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-25-2019 , 09:33   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #219

Quote:
Originally Posted by tarsisd2 View Post
remember when you tried to add player city to the hud on you plugin?

https://forums.alliedmods.net/showpo...8&postcount=61

we couldn't get it to work, but i have seen on some servers and it's really cool, sometimes you discover some players that lives close to you, any chance we can get that to work?
It was a problem with AMXX's GeoIP files. Download the latest 1.9 dev-build where this is fixed.
__________________

Last edited by OciXCrom; 04-25-2019 at 09:33.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 04-25-2019 , 16:01   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #220

Quote:
Originally Posted by OciXCrom View Post
It was a problem with AMXX's GeoIP files. Download the latest 1.9 dev-build where this is fixed.
ok, i will do that, but you updated your plugin quite a bit since then, if i use that code i might have problems with the current one, or it will be ok?
tarsisd2 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 14:03.


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