YesNoOk
avatar

Post here if you ever got this message (Read 905 times)

Started by -Red-, February 28, 2010, 01:05:04 am
Share this topic:
Post here if you ever got this message
#1  February 28, 2010, 01:05:04 am
  • ******
  • Complicated.cns
  • No, I've never played a Zelda game before, shut up
    • Argentina
pls
Re: Post here if you ever got this message
#2  February 28, 2010, 01:08:27 am
  • *****
    • Mexico
Why the hell would you need more than 512 controllers in one state? Stop overdoing everything, please.
Re: Post here if you ever got this message
#3  February 28, 2010, 01:11:41 am
  • ****
  • *something witty yeah*
No I never got this message.

Spoiler, click to toggle visibilty
[/center]
Re: Post here if you ever got this message
#4  February 28, 2010, 01:12:15 am
  • ****
    • UK
    • www.nnaajjmugen.tumblr.com/
Wait... How the heck do you locate all those controllers? If you needed to edit one of them your fucked.
Kinda strange but I woke up today and her hand was on my ass cheek
I won't suspect anything though I'll take it she was sleeping and didn't notice
you should have flipped over slowly
Re: Post here if you ever got this message
#5  February 28, 2010, 01:26:26 am
  • ******
  • Complicated.cns
  • No, I've never played a Zelda game before, shut up
    • Argentina
Why the hell would you need more than 512 controllers in one state? Stop overdoing everything, please.

nigga please!

I got this 3 times, if I remember correctly I got this one while making the pause menu which must work with all the characters, then I got it again in the color edit mode which needs the 12 templates per char and then for the data display system for the training menu which needs coding for each possible digit in each possible digit position.

Wait... How the heck do you locate all those controllers? If you needed to edit one of them your fucked.

fortunatelly I knew where to check, its not like you will indeed get that message pretty often (SyN didnt even know about this limit when I told him long time ago)
pls
Re: Post here if you ever got this message
#6  February 28, 2010, 02:32:55 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Normally you wouldn't ever get that high. In fact, with decent optimisation you shouldn't get that high anyway. If you need different non-essential explods, spawn them with a second helper. If you need lots of initial varsets, set them all via null and the := component. Spawn helpers via expression for state and ID. You don't always need a seperate sctrl for each and every helper.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Post here if you ever got this message
#7  February 28, 2010, 02:45:50 am
  • ******
  • [E]
    • Mexico

  • Online
It's hard to unoptimize mugen code,tho; os I feel rednavi's paint, that is why I stopped coding that kind of stuff.
Re: Post here if you ever got this message
#8  February 28, 2010, 11:39:15 am
  • ******
  • Complicated.cns
  • No, I've never played a Zelda game before, shut up
    • Argentina
Normally you wouldn't ever get that high. In fact, with decent optimisation you shouldn't get that high anyway. If you need different non-essential explods, spawn them with a second helper. If you need lots of initial varsets, set them all via null and the := component. Spawn helpers via expression for state and ID. You don't always need a seperate sctrl for each and every helper.

trust me, If there's something I did was to optimize the coding in my stuff lately, I fixed all the problems regarding the limit but I just wanted to know who else got the same limit message before (And also let other people to actually learn that mugen has a limit of sctrls per state).

first of all, even with uber-optimization there's still stuff that can't be optimized quite enough to achieve a value below 512...



just by looking at the digits of this you probably will know how many sctrls are needed for them. Each digit on this data display already takes a minimum of 2 sctrls: one for deploy of explod and another which removes it when needed. Then you have a big explod showing all the other words (It's a single explod to save sctrl number) and since all the data is stored and displayed at the same time you can't changestate the helper at all.

there's a total of 45 number characters that may be displayed at the same time (in the pic there are less because It's not showing "02" combo for example), then you have 10 different numbers that can be on each digit spot, sum that with varsets and other stuff (Like the ones discussed above) and there you have it, a total overflow.

Yeah, I did divide the helper into 2 since then and I did a similar thing with the pause menu (Once you enter on a section of the pause menu you deploy a helper that shows the stuff on it and when you leave it kills it).

Still, I do know that most of the people (Who usually arent in fullgame coding) will never see this :P
pls
Re: Post here if you ever got this message
#9  March 10, 2010, 01:11:40 am
  • ****
  • M.D.W.I.P.
    • Bahamas
    • www.mabskmk.webs.com
Very interesting, but do you have all sctrl in a unique statedef? why you dont use diferents helpers to execute same functions?
Separa el code en helpers, cada un con una determinada funcion

eh, that's what I posted, I did separate the helper into 2 to handle functions at the same time.
  :-X
Last Edit: March 11, 2010, 05:39:53 am by MabsKMK
Re: Post here if you ever got this message
#10  March 10, 2010, 11:39:13 pm
  • ******
  • Complicated.cns
  • No, I've never played a Zelda game before, shut up
    • Argentina
eh, that's what I posted, I did separate the helper into 2 to handle functions at the same time.
pls
Re: Post here if you ever got this message
#11  March 11, 2010, 04:04:42 am
  • ****
  • FTW!!!
Random thought

Have you tried having another CNS file? Kind of like an continuation from the 1st file?

Re: Post here if you ever got this message
#12  March 11, 2010, 12:40:35 pm
  • *****
    • Mexico