Hi all!!!!!
Where do I find help on adding new monsters to the server??????
is this right?
Edit main.exe
Start
We will need to
olly debbuger. We take here
The Maine version 0.97 (d). We take here. It has already added some monsters and placed the item "cooking".
To search for offseta use ctrl + G to edit strings use a space. All the numbers we have to type in the NEH should be translated. To do this, you can use the default Windows calculator. Ordinary numbers-dec, hex-hex values.
Cooking
To begin with, we need to get Maine to ship our new sector. Find the offset 0045DE6E and edit:
0045DE6E >-E9 52F46208 JMP main.08A8D2C5 ; Default case of switch 0045B7D5
0045DE73 90 NOP
Add
Find the offset 08A8D6C4 and add parameters:
08A8D6C4 3D 99000000 CMP EAX, 99; 99 in hex, gives the number 153. 153 is the number of the monster in the monster.txt, monstersetbase.txt and npcname.txt
JNZ SHORT 08A8D6C9 75 4 c main. 08A8D717: it will start to download the new monster, which you can add to offseta 08A8D717
08A8D6CB 6A 4F 4F PUSH; Click load model monsterXXX.bmd. 4F = 79 Monster (79 +1) = Monster80.bmd (if you put 4 d monster78 will be loaded +1 = 77-78)
08A8D6CD E8 1E70A7F7 CALL main.005046F0
08A8D6D2 8B4C24 20 MOV ECX,DWORD PTR SS:[ESP+20]
08A8D6D6 8B5424 1C MOV EDX,DWORD PTR SS:[ESP+1C]
08A8D6DA 8B4424 24 MOV EAX,DWORD PTR SS:[ESP+24]
08A8D6DE 6A 00 PUSH 0
08A8D6E0 51 PUSH ECX
08A8D6E1 52 PUSH EDX
08A8D6E2 68 5D010000 PUSH 15D ; with each increase the number by one mob.
08A8D6E7 50 PUSH EAX
08A8D6E8 E8 A3D39CF7 CALL main.0045AA90
08A8D6ED 8BE8 MOV EBP,EAX
08A8D6EF 83C4 18 ADD ESP,18
08A8D6F2 BF 724B5500 MOV EDI,main.00554B72
08A8D6F7 C745 0C 6666663F MOV DWORD PTR SS:[EBP+C],3F666666
08A8D6FE C685 8C000000 00 MOV BYTE PTR SS:[EBP+8C],0
08A8D705 90 NOP
08A8D706 90 NOP
08A8D707 8D95 C1010000 LEA EDX,DWORD PTR SS:[EBP+1C1]
08A8D70D - E9 5E089DF7 JMP main.0045DF70
Next, fill in all of the NOP to offseta 08A8D717, begin the process of introducing a new serial number zanogo Monster and monsterXXX.bmd file.
An example of what it should look like:
Save the changes
Select the modified text. Click the right button and choose Copy to executable/selection. Close the window to save the changes, answer Yes.
Testing
Put new monsters to the server, launch the Maine and look. If all is well, we will see new mobs. Do not forget to first make our new monsters in NpcName (XXX) .txt and add the desired texture.








