Quote:
Originally Posted by DaxterSoul
If the client is not protected you can patch the weather update handler and force the client to see every weather as clear sky.
This code overwrites an unknown weather type with a clear sky.
The original code presumably looks something like this:
Code:
if(byWeatherType != WEATHER_TYPE_CLEAR && byWeatherType != WEATHER_TYPE_RAIN && byWeatherType != WEATHER_TYPE_SNOW)
byWeatherType = WEATHER_TYPE_CLEAR;
You can NOP the 1st and 2nd highlighted line to force Snow to be disabled.
You can NOP the 3rd and 4th highlighted line to force Rain to be disabled.
If you don't understand this you can use x32dbg to and use this patch file  .
|
Daxter thanks for the explanation, however I'm not able to do this manually. The patch file works, but I'd like to understand what I'm doing wrong.
The steps I'm doing right now are:
1.) Search for all referenced text in all the modules.
2.) Search for "Snow"
3.) Follow "Snow" in Disassembler
4.) Select the whole area
5.) And NOP them
However the client won't launch after I've done this. What am I doing wrong?
I see that your .1337 file only patches 4 addresses, but I don't understand how you actually got to those 4.