AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [ANY] Server Crasher (https://forums.alliedmods.net/showthread.php?t=151726)

Samantha 02-27-2011 02:17

[ANY] Server Crasher
 
This plugin crashes your sever, so if you want your server to be down, put this in your plugin, overwise REMOVE IT or your server WILL crash.

Future
- Find better more creative ways to crash your server!

Video:
http://www.youtube.com/watch?v=VwkooNIPopw

Although a great great script, i've decided we need better ways therefore, this has turned into a contest!

Quote:

I say everyone post \their\ way of crashing a server and we can rank them and see which way is the most creative. I will also be submitting an entry.

Rules:
1. The best snippet is ranked by popular vote after all snippets are submitted.
2. It has to crash the server.
3. Must be submitted by Saturday March 5th.
4. No multiple entries.
5. No copying peoples ways, who ever posts it first came up with the idea.
6. No extension dependency.
7. Crashes must be internally from a plugin.
8. No time limit on how long it needs to crash, but keep in mind if it's too long people might not like it.

Winners
- Top 3 places get to be placed in the main Server Crasher plugin.
- Other entries will be placed in a separate library of crash scripts as an inc file.

Why
Cause it's fun!

How
I'm sure we can get a vote going once all entries are submitted.

JackieChan 02-27-2011 02:20

Re: [ANY] Server Crasher
 
What's wrong with just typing "_restart" in console?

namine 02-27-2011 02:22

Re: [ANY] Server Crasher
 
Ok, it works, but I'm trying to keep SRCDS down. Can you make this plugin load on a map load?

Samantha 02-27-2011 02:24

Re: [ANY] Server Crasher
 
well, i can, but usually SM reloads plugin on mapstart which is why this will work unless you changed its settings, i will update this tomorrow though and as i said add more fun features to crash the server.

namine 02-27-2011 02:44

Re: [ANY] Server Crasher
 
Here is a test, to prove that it does indeed work!
http://www.youtube.com/watch?v=VwkooNIPopw

Leonardo 02-27-2011 06:21

Re: [ANY] Server Crasher
 
I was just thinking about this last week

FaTony 02-27-2011 07:12

Re: [ANY] Server Crasher
 
There's a better way. RemoveEdict(0); This one adds a feature to wait for timeout.

Leonardo 02-27-2011 07:52

Re: [ANY] Server Crasher
 
Code:

public OnGameFrame()
{
    static iLastEntity = GetMaxEntities();
    for(new iEntity = iLastEntity; iEntity>=0; --iEntity)
        if(IsValidEdict(iEntity) && iEntity > MaxClients || iEntity == 0)
        {
            iLastEntity = iEntity;
            break;
        }
    RemoveEdict(iLastEntity);
}


FaTony 02-27-2011 07:56

Re: [ANY] Server Crasher
 
No, no, no, 1 entity each frame!

Leonardo 02-27-2011 08:11

Re: [ANY] Server Crasher
 
fixed.


All times are GMT -4. The time now is 14:29.

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