I Would like to turn off this animation just for myself.
if it is possible, would someone explain how to do this?
thank you in advance
if it is possible, would someone explain how to do this?
thank you in advance
if(byWeatherType != WEATHER_TYPE_CLEAR && byWeatherType != WEATHER_TYPE_RAIN && byWeatherType != WEATHER_TYPE_SNOW)
byWeatherType = WEATHER_TYPE_CLEAR;
Quote:
How did you make your test? Is it by gm console commands or by amplifying the data in the RefClimate table from the database?
Quote:
If the client is not protected you can patch the weather update handler and force the client to see every weather as clear sky.
[Only registered and activated users can see links. Click Here To Register...]
This code overwrites an unknown weather type with a clear sky.
The original code presumably looks something like this:
You can NOP the 1st and 2nd highlighted line to force Snow to be disabled.Code:if(byWeatherType != WEATHER_TYPE_CLEAR && byWeatherType != WEATHER_TYPE_RAIN && byWeatherType != WEATHER_TYPE_SNOW) byWeatherType = WEATHER_TYPE_CLEAR;
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 [Only registered and activated users can see links. Click Here To Register...].
The text references you found are actually the GM commands. You're probably breaking the CIFConsole initialization code with your NOPs hence the crash.Quote:
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
[Only registered and activated users can see links. Click Here To Register...]
4.) Select the whole area
[Only registered and activated users can see links. Click Here To Register...]
5.) And NOP them
[Only registered and activated users can see links. Click Here To Register...]
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.
Ah that figures! Thanks so much for the explanation.Quote:
The text references you found are actually the GM commands. You're probably breaking the CIFConsole initialization code with your NOPs hence the crash.
The "Snow, Rain, Clear" labels are not text references. They're basically comments from me to highlight what the constants compared against stand for.
The easiest way to find the handler is by it's opcode. So you search for a constant, 0x3809 in this case, which will bring you to a place that looks like this:
[Only registered and activated users can see links. Click Here To Register...]
The function that registers the packet handlers takes two parameters. One being the opcode to know when to call the handler. The other being the function that will be called when such a packet is received. So we'll follow the address like this:
[Only registered and activated users can see links. Click Here To Register...]
Now you should've arrived at the handler function shown in my first post.
Can I do sky constancy only one thing like night It does not changeQuote:
If the client is not protected you can patch the weather update handler and force the client to see every weather as clear sky.
[Only registered and activated users can see links. Click Here To Register...]
This code overwrites an unknown weather type with a clear sky.
The original code presumably looks something like this:
You can NOP the 1st and 2nd highlighted line to force Snow to be disabled.Code:if(byWeatherType != WEATHER_TYPE_CLEAR && byWeatherType != WEATHER_TYPE_RAIN && byWeatherType != WEATHER_TYPE_SNOW) byWeatherType = WEATHER_TYPE_CLEAR;
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 [Only registered and activated users can see links. Click Here To Register...].