Quote:
Originally Posted by janicka
Every region when you teleported in to it can have its own loading screen, and yes its by region id and its defined only by client side in server_dep txt file....
|
You are wrong. Have you even read what I said at all ?
Quote:
Originally Posted by Dev_Ninja
no man must add it in sro_client exe for make new loading screen But I don't know her offset in sro_client understand me ?
|
Hi, as I was saying earlier,
Go to one of the renowned teleports in each town. Fetch the region ID that should be present when you use the expected portal, from the database.
Set a breakpoint on the region ID constant. Use the teleport, once the debugger hits the breakpoint, you should arrive at a giant pseudo switch-case statement.
Make some empty room for a code-cave that should run your custom logic on the stored register (Region ID) case, return to the original entry point.
Make sure not to break any of the existing logic used beforehand.
That about sums it up.
I'd provide an offset, but I honestly took a brief glimpse of this snippet eons ago.
Regards, Iso.