save/load bank; saving player name to bank problem

Yoshii

New Member
Reaction score
74
anyone had any luck with the bank trigger? I got it working on my map( it save unit kill then i can load it next map) but my main issue is that I cant put the player name to a a key or section name has it only accept string and string in the editor cant in any way be set to player name (only text variable can be set to playername).I must have tried every way to do this and it wont accept anything.

basically im trying to find a way to save the player name like this
Bank - Store integer HeroKillsave as "Kill" of section "Playername" in bank (Last opened bank)

instead of Bank - Store integer HeroKillsave as "string" of section "string" in bank (Last opened bank)

so that I can retrieve the value stored for the correct player later on.

heres you can see in my map the loading value work fine but on bnet with many player it simply wont work
http://img404.imageshack.us/img404/1033/saveload.jpg
having a different bank for different player will not work also have people will change color and wont be able to access correct bank.

so anyone played with the bank stuff?
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
You can convert Text to String... Just store player name before, convert to string, and use it.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309

EpicFlux

Active Member
Reaction score
5
So how does the bank system work. Do we set it up like we would in World Editor save/load triggers or does it have some base functions that make it easier.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
The bank system, I explained in a post in the success thread, is like game cache, but does not go away between maps yet can be use in multiplayer as well, and prevents collision a bit better.
 

EpicFlux

Active Member
Reaction score
5
Sound interesting enough. Though does that mean between computers one couldn't load their saved character since it's in the games cache?
 

EpicFlux

Active Member
Reaction score
5
That kinda sucks if it's just native between computers. Is it possible to just to use a similar system in Galaxy Editor to save via variables like in World Editor, cause if so then that banking system won't be so useful. Or possibly make the banking system save not the the games cache but to variables so you can go between computers and still be able to load saved characters cause this is a problem for FFORPG if that's the only way we can save now.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
That kinda sucks if it's just native between computers. Is it possible to just to use a similar system in Galaxy Editor to save via variables like in World Editor, cause if so then that banking system won't be so useful. Or possibly make the banking system save not the the games cache but to variables so you can go between computers and still be able to load saved characters cause this is a problem for FFORPG if that's the only way we can save now.

What the bank does is save to a type within a key, within a section, within a named bank. I'm not entirely sure if banks collide yet, as I haven't tested it...
 

salem

New Member
Reaction score
3
I have the same problem with my map. And btw there is no "Convert Text to String" function. Any progress here? If i knew how to add custom script i would make the function i need, but i don't know much about custom scripts with this editor (i know some basic C++ though).
 

Steel

Software Engineer
Reaction score
109
You could just be a badass and convert the player's name to integers and then store those.
Example, "Steel" = 083116101101108

ASCII values in Decimal, leading zeros are required
[###][###]....[###]
 

salem

New Member
Reaction score
3
You could just be a badass and convert the player's name to integers and then store those.
Example, "Steel" = 083116101101108

ASCII values in Decimal, leading zeros are required
[###][###]....[###]

Can't do that since you can't use "Text" for comparisons in your condition and you can't convert it to string either so not much can be done here...
 

SerraAvenger

Cuz I can
Reaction score
234
Just add a hash+password protection...
AFAIK, banks are stored on blizzard servers.
That's why you are able to edit any other bank from any other map. A hash+password protected system is required to get a somewhat safe experience.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
Just add a hash+password protection...
AFAIK, banks are stored on blizzard servers.
That's why you are able to edit any other bank from any other map. A hash+password protected system is required to get a somewhat safe experience.

Banks are on your computer, stored in a SC2Bank file. Documents > Starcraft II Beta > Banks.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top