Infinity MUGEN Team

IMT Main => M.U.G.E.N Help => Topic started by: Asef Hassan Amiz on March 15, 2017, 08:57:04 AM

Title: Winmugen can't recognize "Stagevar"
Post by: Asef Hassan Amiz on March 15, 2017, 08:57:04 AM
Hello there everyone,
Recently I started Converting Mugen 1.0 chars into Winmugen Chars.
Well I Successfully converted a few Chars simply by commenting out Stuffs like "AIlevel>0" & "StageVar", using semi-colons " ; "
But there is this Mugen 1.0 char called "Dash olbait" by some unknown Author ( NOT the Official Dash by MyMugen ).
The Problem Converting this guy is this "StageVar" Thing.
when I Run this Char on win ,The Winmugen Error tells me -
(http://imgur.com/a/EYw6l)
http://imgur.com/a/EYw6l

After that I simply Commented out that "StageVar" thing & it kinda worked a bit.
Its like I could Select him in winmugen & use him in a fight,
but Unfortunately winmugen crashes at the end of First Round.
Its like whether I win or lose a battle using this Converted Dash , The Game Crashes at the Start of Round 2.
I think commenting out StageVar is making it  Crash like that.
In that Case what should I do now ? How do I Solve this without Commenting out "stageVar" ?
I even Read this Conversion Tutorial - "http://elecbyte.com/mugendocs/upgrading.html"
(http://imgur.com/a/lmIpO)
http://imgur.com/a/lmIpO

See the Highlighted Part ?
Their telling to use the StageVar trigger instead of PREVIOUS METHODS , to upgrade a char from win to 1.0.
So what is this "previous method" ? .Can someone Show me this "previous method" for winmugen ?
How do I Stop this Char from Crashing like this ??? Someone please help me.
Thanks in advance
Title: Re: Winmugen can't recognize "Stagevar"
Post by: shawsod on March 15, 2017, 08:38:58 PM
The error makes me believe this code is for water splash effects on specific stage(s).The reason it is still giving error is because some part of that code is still reading in dAsh.cns Statedef 100. You can follow the chain of commands in Statedef 100 and comment out the StageVar(info.author)="water", although commenting out the string can cause other random errors or glitches. Keep trying to run the character and fix any other errors/glitches that might come up.

Upgrading to Mugen1.0 or above is strongly recommended as you may loose some functionality within the character, because it may not work as the creator had intended.  The next best option is the previous method for stagevar.

The previous method that works on winmugen is called z-offset. There is a couple fairly good explanations of it on the links below but it involves some coding skills:
http://mugenguild.com/forum/topics/character-stage-interaction--9773.0.html
and
http://mugenguild.com/forum/topics/stage-interaction-winmugen--146503.0.html


SimplePortal 2.3.5 © 2008-2012, SimplePortal