YesNoOk
avatar

Zero Rugal by "ALLIES" cannot be modified (Read 2781 times)

Started by Redben, May 02, 2021, 06:57:34 am
Share this topic:
Zero Rugal by "ALLIES" cannot be modified
#1  May 02, 2021, 06:57:34 am
  • avatar
  • **
    • Morocco
This is a peculiar problem. Any slight modification of any cns file of ZERO Rugal by "ALLIES" lead into this screen showing up whenever he is used:



The announcer still says "round 1 fight," and I am still capable of modifying the round by clicking on F2 and emptying P2 lifebar or clicking on "enter" to fill both lifebars and powerbars.. all while that same position with that same screenshot stays still and the game doesn't move forward.

PS: the warning more or less says "this char has been modified by bad intentions."
Last Edit: May 02, 2021, 12:19:30 pm by Redben
Re: Zero Rugal by "ALLIES" cannot be modified
#2  May 02, 2021, 07:55:49 am
  • **
  • 仮面ライダーグランドジオウ
  • The Scavenging Time and Space God
    • USA
Well, it's clear that the author doesn't want you to edit him. I believe a few more characters do that, but I'm unsure.
What's the thing you edited?
Re: Zero Rugal by "ALLIES" cannot be modified
#3  May 02, 2021, 09:36:09 am
  • *****
  • A.K.A. NED
  • I like to draw fighting game characters...
Yes, it's pretty intersesting to know what you actually edited.

BTW I didn't know such a "protection" existed...

If your edit is interesting, and don't actually break the character "balance", a fast way to fix it would be to delete the sprite itself.
Re: Zero Rugal by "ALLIES" cannot be modified
#4  May 02, 2021, 09:53:38 am
  • avatar
  • **
    • Morocco
Thank you guys for answering; all I edited was basic stuf such as def/attack values, guardflags...etc.
I will try deleting the sprite itself and see if it solves the problem.

I myself have never seen such a protection before and never knew they existed as well. It would've been fine if the character didn't have ridiculous defense and attack values.
Re: Zero Rugal by "ALLIES" cannot be modified
#5  May 02, 2021, 10:12:29 am
  • avatar
  • **
    • Morocco
Deleting the sprite doesn't do anything. The game is still stopped and slightly darkened but this time without the writing.

I tried to look for that writing in the animation section and use the number to find it in the cns and hope to figure out the source of it but to no avail; that writing does not exist in the animations.
Re: Zero Rugal by "ALLIES" cannot be modified
#6  May 02, 2021, 10:36:25 am
  • avatar
  • **
    • USA
Welp.  We need to think about how this could be possible.  If you want to change the power and changing the power makes this happen, then it is checking for power.

So... In "ZERO Rugal_N0.cns", Statedef -2, we find this:

Code:
[State -2, SuperPause]
type = SuperPause
trigger1 = authorname != "ALLIES"
trigger2 = Name != "ZERO Rugal-ALLIES"
trigger3 = Const(data.life) != [1000,3000]
trigger4 = Const(data.attack) != [100,300]
trigger5 = Const(data.defence) != [100,300]
trigger6 = Const(data.power) != 10000
anim = -1
darken = 1

Want to null that.

Find some more junk later by searching for "10000"...
Code:
[State 0, Explod]
type = Explod
trigger1 = authorname != "ALLIES"
trigger2 = Name != "ZERO Rugal-ALLIES"
trigger3 = Const(data.life) != [1000,3000]
trigger4 = Const(data.attack) != [100,300]
trigger5 = Const(data.defence) != [100,300]
trigger6 = Const(data.power) != 10000
anim = 99999
id = 9999
pos = 0,100
postype = left
bindtime = -1
removetime = -1
sprpriority = 9999
ontop = 1
removeongethit = 0

More in statedef -3

Code:
[State -3, SuperPause]
type = SuperPause
trigger1 = authorname != "ALLIES"
trigger2 = Name != "ZERO Rugal-ALLIES"
trigger3 = Const(data.life) != [1000,3000]
trigger4 = Const(data.attack) != [100,300]
trigger5 = Const(data.defence) != [100,300]
trigger6 = Const(data.power) != 10000
time = 99999999
anim = -1
darken = 1

Code:
[State 0, Explod]
type = Explod
trigger1 = authorname != "ALLIES"
trigger2 = Name != "ZERO Rugal-ALLIES"
trigger3 = Const(data.life) != [1000,3000]
trigger4 = Const(data.attack) != [100,300]
trigger5 = Const(data.defence) != [100,300]
trigger6 = Const(data.power) != 10000
anim = 99999
id = 9999
pos = 0,100
postype = left
bindtime = -1
removetime = -1
sprpriority = 9999
ontop = 1
removeongethit = 0

So uhh...search for all that junk and null it out.  Maybe that will fix it.

Re: Zero Rugal by "ALLIES" cannot be modified
#7  May 02, 2021, 10:59:05 am
  • ***
  • 하나뿐인 한국인 대표
  • Ambassador of MugenRevival
    • South Korea
    • sites.google.com/view/kolossoni-mugen
A booby trap when editing characters? Yikes.

I can tell that judging by the codes provided above that any values that do not match the values listed causes a superpause and an explod to form.

Null the superpause and see what happens.
Re: Zero Rugal by "ALLIES" cannot be modified
#8  May 02, 2021, 12:19:12 pm
  • avatar
  • **
    • Morocco
I have done what NotAGoodName suggested and it worked for power, life, attack and defense; for these superpause/explode codings cover all of them at the same time. Apart from that you can change anything else and it won't be a problem.
Thank you very much everyone.
Last Edit: May 02, 2021, 12:27:39 pm by Redben
Re: Zero Rugal by "ALLIES" cannot be modified
#9  July 15, 2021, 09:17:09 am
  • avatar
  • **
    • Vietnam
In mugen universe in general, none of character are unmodifiable. It's all about how to cracked the protection itself by reading the code itself.
------Tremble Mortal and Despair. Doom has come to this world------
Re: Zero Rugal by "ALLIES" cannot be modified
#10  July 15, 2021, 09:19:23 am
  • avatar
  • **
    • Vietnam
Some chinese author found another way by encode their character code inside into the code which included every of non-standard character inside but actually it's just decoded into the utf-16 so the only thingg you can do is just convert the whole text into utf-8
------Tremble Mortal and Despair. Doom has come to this world------