Initial commit 2
This commit is contained in:
37
Srcs-Server/game/src/cmd_gm.cpp
Normal file
37
Srcs-Server/game/src/cmd_gm.cpp
Normal file
@ -0,0 +1,37 @@
|
||||
/// 1.) Search at the begin of the file
|
||||
|
||||
#include "unique_item.h"
|
||||
#include "DragonSoul.h"
|
||||
|
||||
// and add under, this:
|
||||
|
||||
#ifdef ENABLE_START_ITEMS
|
||||
#include "start_item.h"
|
||||
#endif
|
||||
|
||||
/// 2.) Search in void CHARACTER::MountVnum(DWORD vnum):
|
||||
|
||||
//RELOAD_ADMIN
|
||||
case 'a':
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, "Reloading Admin infomation.");
|
||||
db_clientdesc->DBPacket(HEADER_GD_RELOAD_ADMIN, 0, NULL, 0);
|
||||
sys_log(0, "Reloading admin infomation.");
|
||||
break;
|
||||
//END_RELOAD_ADMIN
|
||||
case 'c': // cube
|
||||
// ·ÎÄà ÇÁ·Î¼¼½º¸¸ °»»êÇÑ´Ù.
|
||||
Cube_init ();
|
||||
break;
|
||||
|
||||
default:
|
||||
{
|
||||
|
||||
// and add under, this:
|
||||
|
||||
#ifdef ENABLE_START_ITEMS
|
||||
if (strstr(arg1, "give_basic_weapon"))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, "Reloading: give_basic_weapon");
|
||||
LoadStarterItemsFromJSON();
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user