ID:139997
 
I had an earlier post that stated that my windows are opening when their not suppose too.So i deleted my current skin and made a new one but now i have another problem.All of my windows are opening up when only one should open.
Code:
        winshow(src,"main",0)
winshow(src,"loginwin",1)
winshow(src,"hairselectionwin",0)
winshow(src,"raceselectionwin",0)


Problem description:
I dont see anything wrong with my code...seriously WTH is going on HERE.

Have you made sure that you unchecked the "visible" checkbox when you bring up the settings for each window in the skin editor?
In response to Danny Roe
Correct me if i am wrong but i though that by setting the value in winshow to zero it will automatically hide the window regardless if visible is checked or not.
winshow(src,"main",0)
In response to GrimmJore
Dude, that doesn't matter. You still need to check if the "Visible" box is unchecked or checked.
In response to Xorbah
Xorbah wrote:
Dude, that doesn't matter. You still need to check if the "Visible" box is unchecked or checked
All of my panes and windows are visible
In response to GrimmJore
Un-check the ones that you don't want visible from the start.
now its saying that my rsc is locked up and cant load my skin.dmf..
In response to Xorbah
Xorbah wrote:
Un-check the ones that you don't want visible from the start.
When i login in diff windows closes and opens.. by setting them to invisible then i cant see them when they open.
Context matters. You need to show the entire proc.
In response to GrimmJore
GrimmJore wrote:
now its saying that my rsc is locked up and cant load my skin.dmf..

That's the error you get when you try to make a change that would modify the .rsc while the .rsc is in use by an instance of the game. Shut down any instances of the game and recompile.
In response to Garthor
Garthor wrote:
Context matters. You need to show the entire proc.
mob
Login()
..()
winshow(src,"main",0)
winshow(src,"loginwin",1)
winshow(src,"hairselectionwin",0)
winshow(src,"raceselectionwin",0)
src.online=1
src.maxpowerlevel=1000000

When i login all windows open..even though i programmed it to be closed.Its like the windows are following the rules anymore.They are open when they are suppose to be close and close when they should be open.
has this bug been added yet?
In response to GrimmJore
I tried this using your exact code and it worked fine for me.
So, I'd say either:
A. You have another Login proc somewhere that isn't running the parent. or
B. You typed those window names wrong in the code or on the interface.
In response to Falacy
Falacy wrote:
I tried this using your exact code and it worked fine for me.
So, I'd say either:
A. You have another Login proc somewhere that isn't running the parent. or
B. You typed those window names wrong in the code or on the interface.
My problem isnt that my windows are not opening.My problem is that winshow is not doing its job.When i login i do see all of my windows but i see all of them when i should be seeing only one.At first i thought that winshow was not opening my windows because when i click the next button(which moves me from one window to the next) on my pane nothing happens.However,that was only because my windows were already opened.
winshow("main",0)

For some reason my windows are not closing and this code above is not working for me.All of my windows are opening up despite if i commanded them to be closed.
In response to GrimmJore
Yea, its working fine for me. I created 4 windows named whatever you named them, then copy/pasted that Login code and ran the game. Only one of them was showing.
In response to Falacy
Falacy wrote:
Yea, its working fine for me. I created 4 windows named whatever you named them, then copy/pasted that Login code and ran the game. Only one of them was showing.
Ok then it must something wrong with my code.I have disabled all Login() and still the same results.Are there any other factors that may be causing my problem?
In response to Falacy
Haahaa .. it works .. :D idk what i just did but i was playing with macro and menu IDs and now it works...
I would like to bring this topic up and officially declare it a bug now.This problem has been poping up every now and then when i either update my skin or use winshow().
Furthermore i am not getting this bug:
BUG: The file C:\Documents and Settings\MasterNiyi\Desktop\DragonBallEvolution\DragonBallEvolution\Dragonballz un.rsc is locked up!
DBE Skin.dmf: cannot find file
In response to GrimmJore
You get that error if the game is running when you try to recompile it. You need to shut down any running instances of the game before compilation if you are making any changes that would go into the .rsc (which includes interface files and icons).
In response to Garthor
ok i got that accomplished but before i add this onto bug reports i want to know if there is any other reasonable explanation for winshow() malfunctioning, because i hate when you admins del my bug reports for reason not specified.
Page: 1 2