Raised This Month: $ Target: $400
 0% 

[req] crashing plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
The Wizard
Member
Join Date: Apr 2006
Old 04-29-2009 , 17:02   [req] crashing plugin
Reply With Quote #1

i need a plugin to crash my server...
when i tipe amx_crash i want the server to crash (i want a real crash).

any bad plugin that crash the server
The Wizard is offline
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 04-29-2009 , 17:08   Re: [req] crashing plugin
Reply With Quote #2

Lol why?
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.
TitANious is offline
Send a message via MSN to TitANious
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-29-2009 , 17:15   Re: [req] crashing plugin
Reply With Quote #3

Should work :

PHP Code:
#include <amxmodx>
#include <amxmisc>

public plugin_init()
{
    
register_plugin("Crash","1.0","LoL")

    
register_concmd("amx_crash""crash"ADMIN_RCON)
}

public 
crash(idlevelcid)
{
    if( 
cmd_access(idlevelcid1) )
    {
        while( 
)
        {
            
get_timeleft()
        }
    }
    return 
PLUGIN_HANDLED

__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
The Wizard
Member
Join Date: Apr 2006
Old 04-29-2009 , 17:30   Re: [req] crashing plugin
Reply With Quote #4

it crash the server but not like a real crash, no errors, hlds running, only cpu at 99%.
The Wizard is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 04-29-2009 , 20:16   Re: [req] crashing plugin
Reply With Quote #5

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <hamsandwich>
 
public plugin_init()
{
       
register_clcmd("amx_crash""cmdCrash"ADMIN_RCON)
}
 
public 
cmdCrash(idlevelcid)
{
       if(!
cmd_access(idlevelcid1))
              return 
PLUGIN_HANDLED
 
       
// A varaity of errors... you or anyone else can add more :P
       
switch(random_num(13))
       {
              case 
1set_view(id1// without precache it crashes
              
case 2message_begin(MSG_ALL72_id// starting a message but not ending it, surely crashes xD
              
case 3ExecuteHam(Ham_TakeDamage0000.0, -12// not sure about this... but I crashed my server with this spelled wrong :}
              
case 4remove_entity(0// remove worldspawn =) I have no ideea what this does :}
       
}
 
       return 
PLUGIN_HANDLED

__________________

Last edited by Hunter-Digital; 04-29-2009 at 20:19.
Hunter-Digital is offline
--kml--
Senior Member
Join Date: Jan 2009
Old 04-29-2009 , 20:55   Re: [req] crashing plugin
Reply With Quote #6

or do you mean by lag server?
--kml-- is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 04-29-2009 , 23:52   Re: [req] crashing plugin
Reply With Quote #7

@--kml--:

I think it's pretty clear that he wants a plugin that crashes his server, not lags it.
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 04-30-2009 , 09:18   Re: [req] crashing plugin
Reply With Quote #8

Here's another one:
PHP Code:
#include <amxmodx>
#include <fakemeta>


public plugin_init(){
    
register_clcmd("crash""crash")
}

public 
crash(id){
    while(
1){
        new 
ent engfunc(EngFunc_CreateNamedEntity,engfunc(EngFunc_AllocString,"info_target"))
    }

With this you get fatal error "ED_Alloc: no free edicts"
__________________
Impossible is Nothing
Sylwester is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 04-30-2009 , 12:02   Re: [req] crashing plugin
Reply With Quote #9

Quote:
Originally Posted by TitANious View Post
Lol why?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 04-30-2009 , 13:53   Re: [req] crashing plugin
Reply With Quote #10

PHP Code:
#include <amxmodx>

public plugin_precache()
{
      
precache_model("models/doesntexist/lol.mdl");

I have some sort of a feeling that the purpose of this is stupid...
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores 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 11:53.


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