RateMyServer Ragnarok Community

Ragnarok Online => RO Graphic, Coding & Media => Sprite & Modification Help => Topic started by: owlow on Apr 15, 2023, 10:38 AM

Title: Hallucination/upside down screen?
Post by: owlow on Apr 15, 2023, 10:38 AM
Anyone know how to hex this out?
Title: Re: Hallucination/upside down screen?
Post by: Playtester on Apr 15, 2023, 11:53 AM
Nobody made a diff for this as far as I can see. But confusing the player with visuals is the only effect this status effect has anyway, so why not just remove the whole status change?
Title: Re: Hallucination/upside down screen?
Post by: Nightmarecrow on Apr 17, 2023, 08:57 PM
The only resolution that I have found is that you can request the GM/Admin to have that disabled. I had it requested because of my condition and it was affecting my health. Literally.
Title: Re: Hallucination/upside down screen?
Post by: owlow on Apr 19, 2023, 07:20 PM
Quote from: Playtester on Apr 15, 2023, 11:53 AM
Nobody made a diff for this as far as I can see. But confusing the player with visuals is the only effect this status effect has anyway, so why not just remove the whole status change?
It also changes damage numbers
Title: Re: Hallucination/upside down screen?
Post by: Playtester on Apr 22, 2023, 11:39 AM
Quote from: owlow on Apr 19, 2023, 07:20 PM
It also changes damage numbers
In the latest client the randomization of damage on the client-side is par of the visual effect.

But you can write your own status change (or rewrite the existing one), that only randomizes the damage numbers and does nothing else, I guess.

Edit: Actually looking at the code it seems there already a setting to disable the effect:
if (status->type == SC_HALLUCINATION && !battle_config.display_hallucination) // Disable Hallucination.
status->icon = EFST_BLANK;

client.conf
// When affected with the "Hallucination" status effect, send the effect to client? (Note 1)
// NOTE: Set to 'no' if the client lags due to the "Wavy" screen effect.
display_hallucination: yes

Looks like this was developed for the old effect, so not sure how well it still works.

But setting the effect to EFST_BLANK should probably prevent the client from displaying anything.