[Release]Modify VSRO 188 Party Monster Spawn Limitation In SR_GameServer

01/30/2017 08:16 MeGaMaX#1
Hello,

//Part 1

Simply this is the function responsible for checking if the party members are >= 2 then the party monsters will start to spawn.

1: Open ollydebug
2: Drag and drop vsro 188 game server
3: Press Ctrl + F and find
Code:
cmp     dword ptr [esp+0x8], 0x2
its the only command looks like that in vsro188 gameserver.
4: If you cant find that command then press Ctrl + G and go to
Code:
00558F20
5: Edit that 0x2 at the end of the command to the number of the characters need to be in the party so the party monsters start to spawn.

Note: If you want to disable the spawn of party monsters just do the value of 0x2 to 0x9 thats will be over the maximum characters that one party can support :) .

Preview:
[Only registered and activated users can see links. Click Here To Register...]

//Part 2

Simply this is the function contain the % of the party monsters spawn chance.

1: Open ollydebug
2: Drag and drop vsro 188 game server
3: Press Ctrl + G and go to
Code:
005608E2
4: You will find it as
Code:
cmp     ebp, 0x32
, basiclly 0x32 means 50% in decimal
5: Edit that 0x32 at the end of the command to the % in hex to what you want the party monsters start to spawn at.
6: I will edit mine to be 75% so i will do change it to
Code:
cmp     edx, 0x4B
Preview:
[Only registered and activated users can see links. Click Here To Register...]

That's all :awesome:
Greetings MeGaMaX.
01/30/2017 09:08 Hamza FiGo#2
Thanks is not enough ..... (Y)
01/30/2017 10:09 EdwardTeach+-#3
cool
01/30/2017 12:26 ZeonNETWORK#4
WoW nice one, none actually searched in that manner before, thanks MegaMax
BTW, does giant and giant party have the same workaround?
Off topic: could you please upload that version of ollydbg? i actually like it for showing hexdecimals like 0x++
i searched a lot for it but couldn't get it
01/30/2017 14:53 Dracula Untold#5
nice
01/30/2017 15:26 Ryotic#6
thanks alot
01/30/2017 17:26 Lanvin*#7
Epic Release waiting for more
01/30/2017 19:01 blapanda#8
You should consider rechecking your source code. You've missed to mention the party limitation of how many of them can actually roam and spawn in a closer and specific grid layout. Btw. it is also bound to the AI script.
01/30/2017 19:41 WickedNite.#9
Quote:
Originally Posted by blapanda View Post
You should consider rechecking your source code. You've missed to mention the party limitation of how many of them can actually roam and spawn in a closer and specific grid layout. Btw. it is also bound to the AI script.
Apparently seeing that this is just vsro GS is hard.
01/30/2017 23:12 MeGaMaX#10
Quote:
Originally Posted by Hamza FiGo View Post
Thanks is not enough ..... (Y)
You welcome :)

Quote:
Originally Posted by ZeonNETWORK View Post
WoW nice one, none actually searched in that manner before, thanks MegaMax
BTW, does giant and giant party have the same workaround?
Off topic: could you please upload that version of ollydbg? i actually like it for showing hexdecimals like 0x++
i searched a lot for it but couldn't get it
Yes the gaint monster spawns have a chance of spawns too, just go to your server.cfg SR_GameServer function and post this there
Code:
GiantMonster_SpawnRatio 50
thats means the Giant monsters will spawn by 50%, the normal default value is 14% :) .

//OllyDebug
You can use this one [Only registered and activated users can see links. Click Here To Register...] its close to my version.

Quote:
Originally Posted by legendworld View Post
thanks alot
You welcome :rolleyes:

Quote:
Originally Posted by Lanvin* View Post
Epic Release waiting for more
I hope so :)
01/31/2017 15:15 Laag#82#11
good job
02/01/2017 09:09 ZeonNETWORK#12
Thank you that helped

about olly thanks you gave me a hint and i got a similar one called "OllyDBG VMP Edition"

[Only registered and activated users can see links. Click Here To Register...]
02/02/2017 20:14 M3ar8C#13
Thanks :)
02/08/2017 14:30 Mangetsu||#14
Nice guide thanks for sharing
02/13/2017 13:55 lepitismak#15
GiantMonster_SpawnRatio 50

the same works on champion mobs? and what is default value?