Staredit Network > Forums > SC2 Assistance > Topic: Limitations to Bank Vars and possible bypass
Limitations to Bank Vars and possible bypass
Aug 29 2010, 5:31 pm
By: Deev  

Aug 29 2010, 5:31 pm Deev Post #1



I read in a guide to using bank files, that there is a limitation to how many variables you can load up from a bank file, around 80 at the time of posting, this was in the beta and I know the beta was severly limited in the first place. But, is there still a restriction? I see no notes about that exact restriction being removed?

Anyhow, I figured if someone wanted to make an RPG, and they had to save in bank file a looot of booleans (Has done that quest yes or no) .. (Slapped a gnome yes or no) .. (Likes Mexican food yes or no) then would it not be possible to take Var(QuestDone) 0/1 & Var(GnomeSlap) 0/1 & Var(Food) 0/1 and convert them all (this is just an example with three, but there is no limit) into a interat variable with binaree numbers. Eg. Yes, Yes, no = Var(int) 110. That way you sort of save three vars into one var and thous reducing the amount of loading. I don't know if this makes much sense to anyone else than me, just thought I'd post it, if we don't share thoughts, we'd all still be makin' melee maps ,')



None.

Aug 29 2010, 6:09 pm Temp Post #2



I don't think there are any bit shifting functions but there may still be operators in the language itself. If you could that would get you 32 booleans per integer.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
Please log in to shout.


Members Online: jun3hong