mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
Add crashtest command back in for crash log testing
This commit is contained in:
parent
d1572790b1
commit
bc4aa08adf
@ -426,6 +426,7 @@ int command_init(void) {
|
|||||||
command_add("merchant_close_shop", "Closes a merchant shop", 100, command_merchantcloseshop) ||
|
command_add("merchant_close_shop", "Closes a merchant shop", 100, command_merchantcloseshop) ||
|
||||||
command_add("close_shop", nullptr, 100, command_merchantcloseshop) ||
|
command_add("close_shop", nullptr, 100, command_merchantcloseshop) ||
|
||||||
command_add("shownumhits", "Shows buffs numhits for yourself.", 0, command_shownumhits) ||
|
command_add("shownumhits", "Shows buffs numhits for yourself.", 0, command_shownumhits) ||
|
||||||
|
command_add("crashtest", "- Crash the zoneserver", 255, command_crashtest) ||
|
||||||
command_add("logtest", "Performs log performance testing.", 250, command_logtest)
|
command_add("logtest", "Performs log performance testing.", 250, command_logtest)
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
@ -10398,3 +10399,10 @@ void command_logtest(Client *c, const Seperator *sep){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void command_crashtest(Client *c, const Seperator *sep)
|
||||||
|
{
|
||||||
|
c->Message(0, "Alright, now we get an GPF ;) ");
|
||||||
|
char* gpf = 0;
|
||||||
|
memcpy(gpf, "Ready to crash", 30);
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user