There are GM commands from e9.
NOTE: I'm saying 2nd time: There are GM commands, not developer ones and/or lua functions. These ones was made by GalaLab for testers.
| Command | First argument | Second argument | Using | Description |
|---|---|---|---|---|
| item | id (int) | count (int) | //item 540068 1 | Inserts an item with (count) as a count |
| set_r | width (int) | height (int) | //set_r 1920 1080 | Sets a specific resolution of game window (You can use even 640x480) |
| set_w | boolean | none | //set_w 1 | Switch between fullscreen and windowed mode ( 1 or 0 ) |
| web_open | IP/Address (String) | none | //web_open 127.0.0.1 | Opens URL in e5 guild window |
| web_close | none | none | //web_close | Close the opened e5 guild window |
| sendtown | layer (int) | city (int) | //sendtown 1 1 | Warps to a city. Cities codes below here |
| target_record | none | none | //target_record | Creates a new file in game client. If you have someone targeted, target nickname will appear in the new file |
| rebirth | none | none | //rebirth | Immediatelly restores all MP&HP. Basically runs rebirth() lua script |
| levelup | level (int) | none | //levelup 134 | Sets character exactly level to the one which you want ( //levelup 134 == /lv 134 == //leveldown 134 ) |
| set_auto_user | nickname (string) | none | //set_auto_user Sandro | Sets auto_user to 1 for specific character |
| unset_auto_user | nickname (string) | none | //unset_auto_user Sandro | Sets auto_user to 0 for specific character |
| check_auto_user | nickname (string) | none | //check_auto_user Sandro | Check and returns boolean value in game chat if specific character is auto user |
| warp | x (int) | y (int) | //warp 7363 7101 | Warp yourself to X,Y coordinates |
| notice | text (string) | none | //notice Hello epvp! Testing message! | Fastest way of /run notice("Hello epvp! Testing message!") |
| announce | text (string) | none | //announce Hello epvp! Testing message! | Fastest way of /run announce("Hello epvp! Testing message!") |
| clarify | boolean | none | //clarify 1 | Same as /invisible 1/2 |
| show_player | boolean | none | //show_player 1 | Turns on or off rendering another players |
| rupi | count (int) | optional (int) | //rupi 254000 | If you run this with 1 argument, it gonna add argument value to your current gold count. If 2 arguments, then it gonna set your gold value to one from first argument. Second argument is not using here, it's only for check what do you want |
| debug | none | none | //debug | Turns on/off debug mode, but completely useless without debug sframe |
| camera | none | none | //camera | Turns on/off free camera (WASD and mouse scroll camera movement while character is able to move via mouse LMB) |
| exp | count (int) | optional (int) | //exp 13600 | Add or set experience to character. Arguments and function works same way as //rupi |
| level | count (int) | optional (int) | //level 120 | Add or set level to character. Arguments and function works same way as //rupi |
| jp | count (int) | optional (int) | //jp 13600 | Add or set JP to character. Arguments and function works same way as //rupi |
| jlv | count (int) | optional (int) | //jlv 13600 | Add or set Job Level to character. Arguments and function works same way as //rupi |
| protect_chat | nickname (string) | optional (int) | //protect_chat Sandro 700 | Shows how much time left for chat block for nickname character (if 1 argument). Second argument may be chat block time if you want to block the chat for specific player |
| regenerate | mob_id (int) | count (int) | //regenerate 20801 4 | Spawns a monster on character x,y,layer. Monster count is optional, default is 1 |
| rate_rupi | ratio (int) | none | //rate_rupi 35 | changes game.gold_drop_rate env |
| rate_item | ratio (int) | none | //rate_item 50 | changes game.item_drop_rate env |
| rate_exp | ratio (int) | none | //rate_exp 20 | changes game.exp_rate env |
| party_exp | ratio (int) | none | //party_exp 100 | changes game.party_exp_rate env |
| warf | x (int) | y (int) | //warf 117974 59119 | Same as warp |
| move | nickname (string) | none | //move Sandro | Warps you to player's x,y (nickname) |
| send | x (int) + y (int) | nickname (string) | //send 152465 76951 Sandro | Instantly warps nickname player to x,y coordinates (3 arguments) |
| user_count | none | none | //user_count | Prints game.user_count env in chat ( Current players online count ) |
| player_out | nickname (string) | none | //player_out Sandro | Kicks a player |
| where | nickname (string) | none | //where Sandro | Outputs X and Y coordinates of nickname player in system chat |
| npcrot | axis (int) | none | //npcrot 213 | Changes rotation of NPC which you've talked last time |
| npcrotoff | none | none | //npcrotoff | Discards all NPC rotations (Which are following character while movement) |
| autotooltip | none | none | //autotooltip | Turns auto tooltips of items ON or OFF |
And there are some gm commands which I still can't understand:
1) UI
Code:
std::string SGameSystem::OnGMCMDUI( const char * pChat, std::vector < std::string >& vToken )
{
if ( vToken.size() > 2)
{
int nValue1 = atoi(vToken[1].c_str());
int nValue2 = atoi(vToken[2].c_str());
m_pGame->ProcMsgAtStatic( &SIMSG_SHOW_UIWINDOW( (SIMSG_TOGGLE_UIWINDOW::_UIWINDOW_TYPE)nValue1, nValue2!=0) ); // C4800
}
return "";
}
Code:
std::string SGameSystem::OnGMCMDQuest( const char * pChat, std::vector < std::string >& vToken )
{
if ( vToken.size() > 2)
{
int nValue1 = atoi(vToken[1].c_str());
int nValue2 = atoi(vToken[2].c_str());
SMSG_NPC_DIALOG msg;
msg.nDialogType = TS_SC_DIALOG::TYPE_QUEST_INFO_AND_START;
msg.nQuestCode= nValue1;
msg.nQuestTextID = nValue2;
msg.strTitle = "TEST QUEST";
m_pGame->ProcMsgAtStatic(&msg);
}
return "";
}
Code:
std::string SGameSystem::OnGMCMDQuestAdd( const char * pChat, std::vector < std::string >& vToken )
{
if ( vToken.size() > 2)
{
int nValue1 = atoi(vToken[1].c_str());
int nValue2 = atoi(vToken[2].c_str());
int nRand[6] = {0, };
int nStat[3] = {0, };
int nTimeLimit = 0;
SQuestMgr::GetInstance().InsertQuest( nValue1, nStat, nRand, nValue2, nTimeLimit, 0 );
}
return "";
}
Code wasn't found
5) 자동이동
Code:
std::string SGameSystem::OnGMCMDAutoMove( const char * pChat, std::vector < std::string >& vToken )
{
if( !GetLocalPlayer()->IsMount() )
{
if( GetLocalPlayer()->IsMountMode() )
{
int nWayPointID = atoi( vToken[1].c_str() );
K3DVector* pWayPointList = m_pGame->GetWayPoint( nWayPointID );
if( pWayPointList )
GetLocalPlayer()->SetWayPointList( pWayPointList, nWayPointID );
else
m_pGame->AddChatMessage( S(393) );
}
}
return "";
}
Additional info:
Sendtown city codes:
1 - Trainee Island
2 - Laksy
3 - Horizon
4 - Katan
You can add new or edit/remove current ones via editing sendtown_list.txt file in your game client
I will glad to see your exploring if you can find some interesting stuff more. Good luck in your exploring






