AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Code to Crash the Server (https://forums.alliedmods.net/showthread.php?t=240962)

DavidJr 05-25-2014 07:09

Code to Crash the Server
 
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)

hornet 05-25-2014 10:04

Re: Code to Crash the Server
 
There's an inifinite list of ways that will make a server crash.

simanovich 05-25-2014 11:52

Re: Code to Crash the Server
 
inf loop

DavidJr 05-25-2014 21:46

Re: Code to Crash the Server
 
Quote:

Originally Posted by hornet (Post 2142313)
There's an inifinite list of ways that will make a server crash.

Yes I know, I just want to know common issue.

claudiuhks 05-25-2014 22:02

Re: Code to Crash the Server
 
Quote:

Originally Posted by DavidJr (Post 2142474)
Yes I know, I just want to know common issue.

Better to post your code, we're not clairvoyants.

hornet 05-25-2014 22:34

Re: Code to Crash the Server
 
Quote:

Originally Posted by DavidJr (Post 2142474)
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.

DavidJr 05-25-2014 22:37

Re: Code to Crash the Server
 
Quote:

Originally Posted by hornet (Post 2142483)
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.

hornet 05-25-2014 22:42

Re: Code to Crash the Server
 
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.

DavidJr 05-25-2014 22:57

Re: Code to Crash the Server
 
Nothing is printed in the console. The code just works fine but I doubt I use a wrong method.

hornet 05-25-2014 23:19

Re: Code to Crash the Server
 
Quote:

Originally Posted by DavidJr (Post 2142489)
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. :nono:


All times are GMT -4. The time now is 09:44.

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