Adding Commands into M2Server...

logic3

Dedicated Member
Dedicated Member
Nov 17, 2003
88
0
33
Is there anyway that i can add commands into the exe? Maybe commands that tell u what Class you are atm o.O........ and how can i change the testga Password?

Thanks in advance
 
Last edited:

mStation

Golden Oldie
Golden Oldie
Oct 29, 2003
2,042
69
235
♫♪♫ ♦♥♠♣ ♀♂♀
Adding commands is difficult unless u copy them from a modified m2server created by an expert hexer... and btw commands cannot be added but replaced with existing ones.

For the testga password i suggest to cancel testga itself and gsa by searching this:

for testga:
Search: 746573746761
Replace: 000000000000
for gsa:
Search: 677361
Replace: 000000

for changing only the password u must know it... u search for a 32 Bit singned long with the numbered password (which i wont post since it will only allow more ppl to brake mir2) and u change it to a new number... if u want more information of it give me your hotmail address.
 

logic3

Dedicated Member
Dedicated Member
Nov 17, 2003
88
0
33
mStation said:
and btw commands cannot be added but replaced with existing ones.

in my M2Server.exe the @makeweap command wasnt there, so i found the Hexidecimal value and added it onto the bottom and when i got ingame it worked!! o.O
 

logic3

Dedicated Member
Dedicated Member
Nov 17, 2003
88
0
33
oh right, so theres probly more commands in there that No1 has translated o.O? And how do i change the korean writing for 'sound off/on' , i tried searching for a text string with the writing but i never find anything. and the same for the Korean writing u get just before it says 'Gate 0 Open'.
 

mStation

Golden Oldie
Golden Oldie
Oct 29, 2003
2,042
69
235
♫♪♫ ♦♥♠♣ ♀♂♀
give me a min and ill tell u bought the changes, i need to search them now into the files, ill edit in a few mins

Edit:
1) i personally think that there are no more untranslated commands
2) for the korean writing before gate 0 which i think u mean the guild charging part do:
Search: C300FFFFFFFF0A00000020B6C1C8A1B3F6B4ED2E0000FFFFFFFF04000000B6C1C8A100000000FFFFFFFF0B000000B8F6D0D0BBE1C7E9B1A82E00FFFFFFFF17000000
Change:
C300FFFFFFFF0A000000204775696C64204572720000FFFFFFFF0400000020205B2000000000FFFFFFFF0B000000204775696C6473205D202E00FFFFFFFF17000000

3) For sound on/off u have to open your mir.exe
Search:
5BC0BDC7E220C8BFB0FA20C4D45D
Change to:
5B536F756E6420697320204F4E5D
Search another:
5BC0BDC7E220C8BFB0FA20B2FB5D
Change:
5B536F756E64206973204F46465D

(btw changing the info of the mir.exe u will have to make a copu of it and rename it to mir.dat and place it into the mir200 folder of your server files, and if u want ppl to play on your server u will have to give them your mir.exe)
 
Last edited:

logic3

Dedicated Member
Dedicated Member
Nov 17, 2003
88
0
33
got a prob, Now when i get to chara select screen it closes, as if its wrong exe. I put the copy of my exe in the Mir200 folder but its just called mir.DAT, its not actually a DAT file. is that the problem!?

Also i get this on M2server.exe - (IP edited out)
 

Attachments

  • anothererror.jpg
    anothererror.jpg
    12.9 KB · Views: 206

mStation

Golden Oldie
Golden Oldie
Oct 29, 2003
2,042
69
235
♫♪♫ ♦♥♠♣ ♀♂♀
hmm

1) the problem regarding mir.dat and mir.exe is this, if they are different, u can enter till the chara selecting part and after pressing start u will return in windows, if this is what happens to you then it might be that the renaming mir.dat part hasnt beed done well. please control that u havent got the hide complete extension activated, to do it look in Control Panel > Tool Menu > Folder Option > View > untick hide complete extensions. (sorry if it doesnt correspond but i got an italian operating system) after doing this recopy your mir.exe inside the Legend of mir folder and paste it into the mir200 folder, delete ur mir.dat file and rename the mir.exe file to mir.dat

2) the Not ready line of your m2server.exe is strange, i see that it charged everything, i dont understand what that lines refers to, probably its m2 v.1.2, i added u to msn messenger, maybe later on u can give me your m2server.exe so i can see what that is.
 

logic3

Dedicated Member
Dedicated Member
Nov 17, 2003
88
0
33
I did what you said and all works fine now :D

Cheers for the help m8y :)
 

Miles

LOMCN VIP
VIP
Mar 27, 2003
1,195
0
213
Bte m8 you carnt add new commands to the m2server unless you have a vast knowlage of hex etc or have the delphie source code (you change names etc but not make new ones that do new things)

/Miles
 

Pervert

Guest
any other comands ?or all you got is this?..
the sound hex codes were good for me thanks :)
the guild 1 i already had :)
 

Xypher

LOMCN Senior Member
Veteran
May 4, 2003
419
0
93
Dunno Posts:4000000
If we know that you can't make new commands and only change old ones then.... what commands have we changed?Just curious to how we know this :confused: ... sure alot of peeps are curious aswell...............
 

mStation

Golden Oldie
Golden Oldie
Oct 29, 2003
2,042
69
235
♫♪♫ ♦♥♠♣ ♀♂♀
marriage system in a command hex,
also change color name,
npc tame are command hexes, there are a few commands which have been added by replacing old ones. for example the checkunit command disappeared with the marriage syst add-on. commands cannot be added without replacing others, btw the commands we now have on mir2 is also thanks to the existance of ei, because its from there where u can get them even thou i dont have the knowlegde myself to do it correctly