Raised This Month: $32 Target: $400
 8% 

Another way instead of "Public function"?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
iBrazilian
Senior Member
Join Date: May 2011
Old 05-02-2012 , 22:05   Another way instead of "Public function"?
Reply With Quote #1

I'm not sure if I'm posting in the correct forum, either way this revolves around help. I've got a PokeMod server, It has about 500+ Public functions just on skills itself and that's way too much for a server at least seems that way, It seems to be crashing my server as it's too many things calling specially when my server hits 15-20+ players, is there anyway that I can use these skills without being with Public functions.
__________________
Pokemod Season 5 [ |||||||||| Complete]
iBrazilian is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-03-2012 , 05:12   Re: Another way instead of "Public function"?
Reply With Quote #2

Don't assume randomly something when you have no idea what you're talking about. A crash is way too vague. Star t to check if you can get more informations. Start to test one-by-one plugins you have to see what happens.
__________________
Arkshine is offline
iBrazilian
Senior Member
Join Date: May 2011
Old 05-03-2012 , 15:55   Re: Another way instead of "Public function"?
Reply With Quote #3

I've spent weeks on this, testing and debugging, looking over countless logs and code. Wiped server clean, updated AMXX. I run at 3 plugins overall including PokeMod which is the largest one overall the others are very small plugins.

I've talked to Emp`, Liinuus, Hib who codes for PokeMod. Reason for it appear that for example, if there are too many skills being spammed even with a cooldown, It puts a stress on the server, that's lets say [1] person using a skill with sound, model. Now multiply that by 10 or even 15 players, that's pretty big. I've deleted I'd say 90% of the sounds and barely running any models now, yet It continues to crash. The only things that appears on log at the moment is spamming of IP:Reconnect and SZ_GetSpace: overflow on.

A question that I've got is "SZ_GetSpace: overflow on" is that from message_begin line? As in most skills there are at least 1 message_begin meaning there are over 500 of it.

Just trying to understand more. Thank you for replying.
__________________
Pokemod Season 5 [ |||||||||| Complete]
iBrazilian is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-04-2012 , 03:43   Re: Another way instead of "Public function"?
Reply With Quote #4

Quote:
Originally Posted by iBrazilian View Post
I've spent weeks on this, testing and debugging, looking over countless logs and code. Wiped server clean, updated AMXX. I run at 3 plugins overall including PokeMod which is the largest one overall the others are very small plugins.

I've talked to Emp`, Liinuus, Hib who codes for PokeMod. Reason for it appear that for example, if there are too many skills being spammed even with a cooldown, It puts a stress on the server, that's lets say [1] person using a skill with sound, model. Now multiply that by 10 or even 15 players, that's pretty big. I've deleted I'd say 90% of the sounds and barely running any models now, yet It continues to crash. The only things that appears on log at the moment is spamming of IP:Reconnect and SZ_GetSpace: overflow on.

A question that I've got is "SZ_GetSpace: overflow on" is that from message_begin line? As in most skills there are at least 1 message_begin meaning there are over 500 of it.

Just trying to understand more. Thank you for replying.
See, you don't really know what you are talking about. Don't assume it is because of too many "public functions," it just makes you sound ignorant when you say stuff like that.
__________________
fysiks is offline
iBrazilian
Senior Member
Join Date: May 2011
Old 05-04-2012 , 04:19   Re: Another way instead of "Public function"?
Reply With Quote #5

I'm not assuming, I've just been testing and debugging for 3+ months and It gets a bit frustrating when things doesn't work out that's why I've been asking for help now.

Forget everything I just said..
Could you please provide me with a couple of information on how I'd go about finding out deeper what may be causing the crashes?
__________________
Pokemod Season 5 [ |||||||||| Complete]
iBrazilian is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-04-2012 , 04:21   Re: Another way instead of "Public function"?
Reply With Quote #6

Just because you say you debugged it doesn't mean there are "too many public functions."

It's not exactly an easy thing to debug (you seem to have found out). Has it ever worked well or has it always been like this?
__________________

Last edited by fysiks; 05-04-2012 at 04:21.
fysiks is offline
iBrazilian
Senior Member
Join Date: May 2011
Old 05-04-2012 , 04:23   Re: Another way instead of "Public function"?
Reply With Quote #7

Lately after deleting many sounds it seems to have lowered, usually 3-6 crashes daily. Now 1-2, so pretty much always been this way.
__________________
Pokemod Season 5 [ |||||||||| Complete]

Last edited by iBrazilian; 05-04-2012 at 04:23.
iBrazilian is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-04-2012 , 04:28   Re: Another way instead of "Public function"?
Reply With Quote #8

Quote:
Originally Posted by iBrazilian View Post
pretty much always been this way.
Is it a custom version of the plugin? Did you try disabling everything but the plugin in question and the default AMX Mod X plugins? What happens?
__________________
fysiks is offline
iBrazilian
Senior Member
Join Date: May 2011
Old 05-04-2012 , 04:40   Re: Another way instead of "Public function"?
Reply With Quote #9

Only one file is custom which are some skills other then that everything is original release version. I've disabled pretty much everything. Recently I updated to AMXX to 1.8.2 from 1.8.1 and that seemed to lowered the crash. This here is my plugins.ini http://pastebin.com/b1LC60Lp . I get a few occasional errors sometimes from a couple of plugins such as xredirect, multilang which is ramdom and shouldn't, but not sure.
__________________
Pokemod Season 5 [ |||||||||| Complete]
iBrazilian is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-04-2012 , 09:46   Re: Another way instead of "Public function"?
Reply With Quote #10

Quote:
Originally Posted by iBrazilian View Post
I've disabled pretty much everything.
What does that mean?
__________________
fysiks 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 02:27.


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