RYL1 gm commands server side
this is list of starting addresses of GM commands in RYL1 gameserver.exe (use ollydbg to load gameserver.exe)
first line is starting address of command.
im not telling here how to modify them..just show that where each command code starts.
for my personal use i have modified commands so its possible to do.
if you want disable certain command use your brain its very simple thing to do.
Code:
/Zone?
00487A38 > 33D2 XOR EDX,EDX
00487A60 . E8 EBA4FEFF CALL game.CCharacter::MoveZone
/goto?
00487AD7 > 8B0F MOV ECX,DWORD PTR DS:[EDI]
00487AFF . E8 9CA3FEFF CALL game.CCharacter::MovePos
/respawn?
00487B75 > 6A 01 PUSH 1
00487B91 . E8 9A60F9FF CALL game.CCharacter::Respawn
/kill?
00487BB6 > 8B8C24 6805000>MOV ECX,DWORD PTR SS:[ESP+568]
00487BBE . E8 FDA4FEFF CALL game.CCharacter::Kill
/duelinit?
00487BE3 > 8B8C24 6805000>MOV ECX,DWORD PTR SS:[ESP+568]
00487BEC . E8 CFA6FEFF CALL game.CCharacter::DuelInit
/dropitem
00487C11 8BBC24 6805000>MOV EDI,DWORD PTR SS:[ESP+568]
00487C22 . E8 09A2FEFF CALL game.CCharacter::DropItem
/createmob
00487C75 > 66:83BD 940100>CMP WORD PTR SS:[EBP+194],0
00487CA4 . E8 47C8FAFF CALL game.CCellManager::AdminSummonMonster
/cz
00487D22 > 8B4424 14 MOV EAX,DWORD PTR SS:[ESP+14]
00487D2E . E8 FDA3FEFF CALL game.CCharacter::NotifyInfo
/giveexp or /levelup
00487D53 8B8C24 6805000>MOV ECX,DWORD PTR SS:[ESP+568]
00487D5B . E8 1076F9FF CALL game.CCharacter::IncrementExp
/givegold
00487D65 8BB424 6805000>MOV ESI,DWORD PTR SS:[ESP+568]
00487D77 . E8 0403FFFF CALL game.CCharacter::AddGold
/levelup or /leveldown
00487D9B 83FB 01 CMP EBX,1
00487DD0 . E8 9B75F9FF CALL game.CCharacter::IncrementExp
unknown command
00487DEA > 8BB424 6805000>MOV ESI,DWORD PTR SS:[ESP+568]
/peacemode
00487E36 > 8BB424 6805000>MOV ESI,DWORD PTR SS:[ESP+568]
00487E69 . E8 F24AF9FF CALL game.CCharacter::SetPeaceMode
/setfame
00487E97 8BB424 6805000>MOV ESI,DWORD PTR SS:[ESP+568]
00487EA1 . E8 BA26F9FF CALL game.CCharacter::SetFame
unknown command
00487ED2 8B8424 6805000>MOV EAX,DWORD PTR SS:[ESP+568]
00487EFE . E8 0DB0FCFF CALL game.GameClientSendPacket::SendCharFameInfo
/move
00487F0B > 8B8424 6805000>MOV EAX,DWORD PTR SS:[ESP+568]
00487F46 . E8 559FFEFF CALL game.CCharacter::MovePos
unknown command
00487F84 > 8DB5 38010000 LEA ESI,DWORD PTR SS:[EBP+138]
00487F93 . E8 0883FEFF CALL game.CAffectedSpell::ClearEnchant
unknown command
00487FBB |> 81A5 9C010000 >AND DWORD PTR SS:[EBP+19C],BFFFFFFF
unknown command
00487FCA > 55 PUSH EBP
00487FD4 . C74424 28 403A>MOV DWORD PTR SS:[ESP+28],OFFSET game.Skill::CProcessTable::ProcessInfo::m_NullProtoType
unknown command
0048800B |> 68 00000020 PUSH 20000000
/logoff?
00488020 > 8B8424 6805000>MOV EAX,DWORD PTR SS:[ESP+568]
00488063 . E8 78C0F9FF CALL game.CGameClientDispatch::Disconnect
/apo?
00488074 > 8B8D 90010000 MOV ECX,DWORD PTR SS:[EBP+190]
00488093 . E8 D8D9F8FF CALL game.CCell::KillAll
/createitem
004880C1 > 8A87 C7040000 MOV AL,BYTE PTR DS:[EDI+4C7]
004880E5 . E8 16E7FEFF CALL game.AwardTable::CAward::GetAwardEquipment
/elitebonus
00488108 > E8 13BBF8FF CALL game.CCreatureManager::GetInstance
0048811F . E8 1CFEFCFF CALL game.EliteBonus::EliteBonusData::EliteBonusData
/statueinit?
00488153 > E8 7855FBFF CALL game.CServerSetup::GetInstance
/resmen?
00488181 > C64424 18 00 MOV BYTE PTR SS:[ESP+18],0
00488192 . E8 19F8FFFF CALL game.CCreatureManager::ProcessAllCharacter<Respawn>
/changeclass
0048819C > 8BBC24 6805000>MOV EDI,DWORD PTR SS:[ESP+568]
00488254 . E8 E76EF9FF CALL game.CCharacter::ChangeClass
unknown command
00488333 > D907 FLD DWORD PTR DS:[EDI]
0048837D . E8 4E3EF9FF CALL game.CCharacter::GetSkillLevel
unknown command
00488571 > D907 FLD DWORD PTR DS:[EDI]
004885D1 . E8 8A3CF9FF CALL game.CCharacter::GetSkillSlotIndex
/levelup or /leveldown
00488686 |> 83FB 01 CMP EBX,1
00488710 . E8 5B6CF9FF CALL game.CCharacter::IncrementExp
unknown command
0048878C > 8B5E 30 MOV EBX,DWORD PTR DS:[ESI+30]
0048879A . E8 E1AD0100 CALL game.CQuestMgr::GetQuestNode
unknown command
0048887F > 0FB776 1E MOVZX ESI,WORD PTR DS:[ESI+1E]
0048888A . E8 F1AC0100 CALL game.CQuestMgr::GetQuestNode
unknown command
0048893D > 0FB776 1E MOVZX ESI,WORD PTR DS:[ESI+1E]
00488948 . E8 33AC0100 CALL game.CQuestMgr::GetQuestNode
battle lohan related command
004889FE > 0FB776 1E MOVZX ESI,WORD PTR DS:[ESI+1E]
00488A25 . E8 9699FEFF CALL game.VirtualArea::CBGServerMap::RuleCheck
battle lohan related command
00488A4A > 0FB776 1E MOVZX ESI,WORD PTR DS:[ESI+1E]
00488A71 . E8 4A99FEFF CALL game.VirtualArea::CBGServerMap::RuleCheck
battle lohan related command
00488A97 > 0FB776 1E MOVZX ESI,WORD PTR DS:[ESI+1E]
00488AA8 . E8 6328FCFF CALL game.VirtualArea::CVirtualAreaMgr::GetVirtualArea
battle lohan related command
00488AC3 > 0FB776 1E MOVZX ESI,WORD PTR DS:[ESI+1E]
00488AD4 . E8 3728FCFF CALL game.VirtualArea::CVirtualAreaMgr::GetVirtualArea
battle lohan related command
00488AF0 > 0FB776 1E MOVZX ESI,WORD PTR DS:[ESI+1E]
00488B14 . E8 179DFEFF CALL game.VirtualArea::CBGServerMap::SendMapInfo
battle lohan related command
00488B1E > 0FB776 1E MOVZX ESI,WORD PTR DS:[ESI+1E]
00488B47 . E8 14A1FEFF CALL game.VirtualArea::CBGServerMap::ResetEnteringMin
battle lohan related command
00488B72 > 0FB776 1E MOVZX ESI,WORD PTR DS:[ESI+1E]
/nochat?
00488BBE > E8 4D9AFBFF CALL game.CChatDispatch::GetDispatchTable
00488BF5 . E8 A6A0FCFF CALL game.GameClientSendPacket::SendCharChatBan
/yeschat?
00488C03 > E8 089AFBFF CALL game.CChatDispatch::GetDispatchTable
00488C3B . E8 60A0FCFF CALL game.GameClientSendPacket::SendCharChatBan
Re: RYL1 gm commands server side
Re: RYL1 gm commands server side
ur hv RYL2 gm commands server side?
Re: RYL1 gm commands server side
how to use /elitebonus command in ryl 1 ?
Re: RYL1 gm commands server side
Quote:
Originally Posted by
adam12
how to use /elitebonus command in ryl 1 ?
/elitebonus zone # (in example /elitebonus zone 9 = E9 map status)
Re: RYL1 gm commands server side
I change a command to fill with NOPS and change him to NUL, but when i use the command on game the mapServer down ;(, can help me with this ?? thz.
Re: RYL1 gm commands server side
then obviously you didn't do it correctly and the server crashes with access violation when it reaches this code.
Re: RYL1 gm commands server side
Re: RYL1 gm commands server side
Hello, i have a problem with this, i try with Ollydbg, but i save my file, is a problem it does not perform, and I thought this code has hexadecimal, and i go try edit with hexa-editor, then I edit, and then save the game works but when I run the command that, the map go down,
Please do not have as you tell me how I take the command???; I've tried in many ways possible
Re: RYL1 gm commands server side
ok here is 1 example:
default command:
Code:
00487D65 |> 8BB424 6805000>MOV ESI,DWORD PTR SS:[ESP+568]
00487D6C |. 8BBE DB040000 MOV EDI,DWORD PTR DS:[ESI+4DB]
00487D72 |. 6A 01 PUSH 1
00487D74 |. 53 PUSH EBX
00487D75 |. 8BCE MOV ECX,ESI
00487D77 |. E8 0403FFFF CALL RylGameS.CCharacter::AddGold
disabled command:
Code:
00487D65 > E9 ED0E0000 JMP game.00488C57
00487D6A 00 DB 00
00487D6B 00 DB 00
00487D6C . 8BBE DB040000 MOV EDI,DWORD PTR DS:[ESI+4DB]
00487D72 . 6A 01 PUSH 1
00487D74 . 53 PUSH EBX
00487D75 . 8BCE MOV ECX,ESI
00487D77 . E8 0403FFFF CALL game.CCharacter::AddGold
Re: RYL1 gm commands server side
Is it a call into this? then just put in RETN instead of a JMP makes it easier to do multiple as you dont have to look at the offset to jump to, ofcourse if it isn't a call then that wont work and you should use the JMP method.
Just make sure there are no registers that need to hold something when you return, have to restore registers to the values they are supposed to be when returning to original code.
Re: RYL1 gm commands server side
Re: RYL1 gm commands server side
how to add /gmform and /pcform command for ryl1?