Staredit Network > Forums > SC2 Assistance > Topic: Bank Loading Locally?
Bank Loading Locally?
Nov 7 2010, 5:44 am
By: payne  

Nov 7 2010, 5:44 am payne Post #1

:payne:

It looks like this trigger would only load properly locally: http://vgshorts.com/BBCode/BBCode3.php?ID=191
I'm trying to store the data of a bank (a simple integer) into a variable.

When I test locally my map, everything's fine, but in Battle.net 2.0, it doesn't work anymore.



None.

Nov 7 2010, 6:46 pm aalleecc248 Post #2



Perhaps you could try using Data Tables instead of Banks. I believe that Data Tables have 2 different types. (Local and Global) In this case, you would want to "Save Data Table (Integer) whenever someone makes a lap, so that it records the amount of time it took. You can make it so that the fastest time with:
If
----New Record <= (Value of Data Table (Integer))
Then
----(Save Data Table Value (Integer))


EDIT: Nvm, it doesn't work.

Post has been edited 1 time(s), last time on Nov 7 2010, 7:34 pm by aalleecc248.



None.

Nov 7 2010, 7:02 pm payne Post #3

:payne:

Data Tables crosses maps just like Banks?!
I am using Banks to save the individual record of players, but I do have a trigger that updates this value by checking if the current lap time is smaller than the current best record.
It works 100% fine locally, but online, it doesn't. O_O



None.

Nov 7 2010, 8:23 pm Tempz Post #4



Then use data banks for locally and save banks for multiplayer... :O



None.

Nov 7 2010, 8:30 pm payne Post #5

:payne:

Quote from Tempz
Then use data banks for locally and save banks for multiplayer... :O
>_>

This is what I am trying to do, but obviously I am not able to, hence this thread, which is asking for help because I don't understand how banks work.



None.

Nov 7 2010, 8:39 pm Temp Post #6



Why do you call the preload trigger after you have opened the bank O_o
Also arrays start at 0, and seeing your save trigger would help.



None.

Nov 7 2010, 8:44 pm payne Post #7

:payne:

Quote from Temp
Why do you call the preload trigger after you have opened the bank O_o
Also arrays start at 0, and seeing your save trigger would help.
1) I've read somewhere that no matter where you put the preload trigger, it is being ran before anything else when the map is loading (during the loading screen).
2) I like to create 13-arrays variables even though I use only 12 because it permits me to skip the array '0' and thus use Picked Integer for a player number and make it correspond to the array size.
3) Here's my map: http://www.mediafire.com/?da3q3vy3adsrk1r



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:53 pm]
Butch -- prob some weird character on a string somewhere or something dumb like that
[09:50 pm]
Ultraviolet -- It's weird indeed, not really sure what is so special about Spellsword that causes it to react differently on Remastered, usually EUDs are the cause of things like that
[05:35 pm]
Zoan -- I haven't played in like 2 years so maybe something changed I don't know about
[05:35 pm]
Zoan -- No-Name-Needed-II
No-Name-Needed-II shouted: Zoan No idea if anything changed.. I've made several maps that push TMOANC to the limit and they are still working.. 3 causes of it I've narrowed down are -Too many islands which some terrain on certain tilesets can create micro islands on cliff edges with basic isometric.. -Too many changes in elevation from high to mid to low ground.. -And too many tiles from certain doodads that block tank fire..
Any clue as to why a map which would previously work fine on past patches would now suddenly not work on the current remastered patch?
[05:34 pm]
Zoan -- I'll try Butch's suggestion of running in 32-bit, maybe that will fix it?
[05:34 pm]
Zoan -- Oh_Man
Oh_Man shouted: Did martiss' link not work?
It crashes as it does when you use EUD's incorrectly - like it closes starcraft and has the error window pop up with a ticket to send to Blizzard. I know it's not EUDs though since obviously spellsword doesn't use any, so IDK what it is.
[03:19 pm]
No-Name-Needed-II -- Zoan No idea if anything changed.. I've made several maps that push TMOANC to the limit and they are still working.. 3 causes of it I've narrowed down are -Too many islands which some terrain on certain tilesets can create micro islands on cliff edges with basic isometric.. -Too many changes in elevation from high to mid to low ground.. -And too many tiles from certain doodads that block tank fire..
[2022-5-23. : 12:21 am]
Oh_Man -- Wat precisely is wrong with spellsword now?
[2022-5-23. : 12:19 am]
Oh_Man -- Did martiss' link not work?
[2022-5-22. : 8:11 pm]
Zoan -- Also my KOTK maps all have the nooks and crannies issue when they didn't before; what changed?
Please log in to shout.


Members Online: Roy, RIVE, Zergy