Raised This Month: $ Target: $400
 0% 

Code to Crash the Server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DavidJr
Senior Member
Join Date: Apr 2012
Old 05-25-2014 , 07:09   Code to Crash the Server
Reply With Quote #1

Hi! I'd like to know what code makes the server crash.

What I know are:

engfunc(EngFunc_RemoveEntity, iEnt) - crashed when there's no entity to removed
engfunc(EngFunc_CreateFakeClient) - crashed if put in plugin_init.

If you have some experiences either accidentally or not, please post it here. It'll help me a lot to find the part of my code that makes my server crashed. Thank you.

P.S: Don't tell me to post my code, nobody wants to read even help it. (4537 lines)
__________________
What are you looking for here?
DavidJr is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 05-25-2014 , 10:04   Re: Code to Crash the Server
Reply With Quote #2

There's an inifinite list of ways that will make a server crash.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 05-25-2014 , 11:52   Re: Code to Crash the Server
Reply With Quote #3

inf loop
__________________
simanovich is offline
DavidJr
Senior Member
Join Date: Apr 2012
Old 05-25-2014 , 21:46   Re: Code to Crash the Server
Reply With Quote #4

Quote:
Originally Posted by hornet View Post
There's an inifinite list of ways that will make a server crash.
Yes I know, I just want to know common issue.
__________________
What are you looking for here?
DavidJr is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 05-25-2014 , 22:02   Re: Code to Crash the Server
Reply With Quote #5

Quote:
Originally Posted by DavidJr View Post
Yes I know, I just want to know common issue.
Better to post your code, we're not clairvoyants.
__________________
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 05-25-2014 , 22:34   Re: Code to Crash the Server
Reply With Quote #6

Quote:
Originally Posted by DavidJr View Post
Yes I know, I just want to know common issue.
Use a bit of common sense. Do some debugging. Figure out when and where the problem occurs.
If your not going to post any code with the issue then this thread may be better off in the trash.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.

Last edited by hornet; 05-25-2014 at 22:39. Reason: Post completely changed after misread part of first post
hornet is offline
DavidJr
Senior Member
Join Date: Apr 2012
Old 05-25-2014 , 22:37   Re: Code to Crash the Server
Reply With Quote #7

Quote:
Originally Posted by hornet View Post
The question is, why?

Do you have an issue?
Are you trying to make some ill-concealed plugin protection?

...
My server crashed, and I can't to find which part that makes it crashed.

9 plugins, connected with native each other.
__________________
What are you looking for here?
DavidJr is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 05-25-2014 , 22:42   Re: Code to Crash the Server
Reply With Quote #8

I changed my post before you posted because I misread something.

That information does not help. Post the code. Nothing is private if you want to receive help.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
DavidJr
Senior Member
Join Date: Apr 2012
Old 05-25-2014 , 22:57   Re: Code to Crash the Server
Reply With Quote #9

Nothing is printed in the console. The code just works fine but I doubt I use a wrong method.
__________________
What are you looking for here?
DavidJr is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 05-25-2014 , 23:19   Re: Code to Crash the Server
Reply With Quote #10

Quote:
Originally Posted by DavidJr View Post
Nothing is printed in the console. The code just works fine but I doubt I use a wrong method.
So the code works fine and you say your not using a wrong method, but the server is crashing. Get the Developers in here quick - we have a winner right here, Amxx and Steamcmd have been proven wrong by this coding god. /troll

Your not going to get any further help if your going to ask people to guess your problem. As I said above, your thread would be better off in the trash if it's going to be the case.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
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 18:45.


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