- Joined
- Jan 21, 2009
- Messages
- 58
- Reaction score
- 4
my zone 11 always crashing when people use /kill to respawn in lobby.
any tip to fix this?
nice to see you here again
any tip to fix this?
nice to see you here again
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!Here is couple tips for RYL1 server.
My other guides posted previously:
Server side GM commands
RYL1 Event drops (lotteryevent)
Zone coords explanation in gameserver code
Battle Lohan GM command usage
Tip1: Change Statues to give medals in other zones
Load gameserver.exe to olly and find this code:
change it to zone number you want (or remove check so they work in all zones) but if you change it in example 8, its better you have 2 different gameserver.exes (1 for arena and 1 for all other zones) so you keep arena code orignal and change other exe statue zone to whatever you want.Code:004109A0 . 3C 08 CMP AL,3
after that is done, zone may crash once you test it so you also may need to do other changes...
This is tick radius i think...and it seems to work only in zone3 well for some reason but i have this changed to 1C2 so you can try it also.Code:0045454B |. 3D C2010000 CMP EAX,64
This is how many medals you get per tick (default is 100 medals)Code:00454556 |. 83C0 0A ADD EAX,64
you may also need to change this (not exactly sure what it is):
i have changed it to 258Code:00410A41 . 69FF 58020000 IMUL EDI,EDI,96
This is statues "conjuring" time:
Default is 5min = 300000ms? (hex 493E0)Code:004A0707 . 05 E0930400 ADD EAX,493E0
Problem in other zones are that if you put there 3 statues, it gives you 3x amount of medals per tick...so i suggest you only add 1 statue so you get medals from that 1 statue only.
and in other than zone 3 somehow tick radius is covering whole map, not just nearby statues.
Tip2: Automatic levelup
Load gameserver.exe to olly and find this code:
Code:0042117D . E8 EEAF0100 CALL RylGameS.CServerSetup::GetServerZone 00421182 . 3C 0B CMP AL,0B 00421184 . 75 3B JNZ SHORT RylGameS.004211C1 00421186 . 8B85 90000000 MOV EAX,DWORD PTR SS:[EBP+90] 0042118C . BE 28000000 MOV ESI,28
Change value 0B (zone 11) to other zone you want enable autolevelup function.
Change value 28 (level 40) to level you want (5F = level 95)
If you want that levelup function is enabled in all zones you need to edit this kind:
That has automatic level 95 enabled in all zones.Code:0042117B . 8BC8 MOV ECX,EAX 0042117D . 90 NOP 0042117E . 90 NOP 0042117F . 90 NOP 00421180 . 90 NOP 00421181 . 90 NOP 00421182 . 90 NOP 00421183 . 90 NOP 00421184 . 90 NOP 00421185 . 90 NOP 00421186 . 8B85 90000000 MOV EAX,DWORD PTR SS:[EBP+90] 0042118C . BE 5F000000 MOV ESI,5F
Tip3: Fixing ingame mute feature (chat ban)
Since RYL1 DB doesnt include TblChatBan table in default, you can copy it from RYL2 database and add it to your RYL1 AdminTool database. After its added there, you can mute ppl in game for certain period of time so even if they relog they still cannot chat until time is expired.
See more info from GM commands how to use /nochat and /yeschat commands.
Tip4: Fixing bugged vault pages in database
In RYL1 its quite common that some ppl vault pages get bugged sometimes so they cannot access them. You can fix them easy.
Run this query in your winner1 db:
UPDATE ItemStore1 SET Frag = -1073741809 WHERE UID > 0
You can also set default value of binding as -1073741809 for Frag column so all new accounts get all vault pages already opened so they are fixed from start.
Tip5: Disabling function to withdraw gold from guild store (=gold bug)
Load DBagentserver.exe to olly and find code:
Code:0043ED8C |. 77 0D JA SHORT RylDBAge.0043ED9B 0043ED8E |. 2BC2 SUB EAX,EDX 0043ED90 |. 8981 C8010000 MOV DWORD PTR DS:[ECX+1C8],EAX
and change it like this:
Code:0043ED8C . EB 0D JMP SHORT RylDBAge.0043ED9B 0043ED8E 90 NOP 0043ED8F 90 NOP 0043ED90 . 8981 C8010000 MOV DWORD PTR DS:[ECX+1C8],EAX
Then open SQL server management studio and find stored procedure called "UPSGuildGiveMemberGold" from winner1 database and open it to modify it.
It could be modified like this to make it unable to withdraw any gold on characters (i used charinfo names that are not exist in db so i added extra number on each CharInfo table names.
Possibly doesnt require to edit dbagent at all but doing both doesnt hurt and atleast it works.