can any1 provide info on how aceharts save/load system works

sithin

New Member
Reaction score
5
iv goten how msot of it works but the hard codeing 32 bit shit i mean stuff (sorry tom johns) i dont realy get, i current have a save/load system but its to long.
tryed P.Ming no reponse so far. but yeah any1 give us a hand?
+rep thanks guys
 

WilliamPa

Active Member
Reaction score
51
I have no idea what acehart's load system is, but atleast almost all GUI systems work like this:

First there is a variable for all saved things
Secondly there is a string variable for representing those things.

Then they are set at the initializion and when player types load, trigger checks substrings and looks if they match string variable array. If true, then it returns saved item.

So basically like this:

Trigger 1
Set ItemStringVar[1] = a
Set ItemStringVar[2] = b
Set ItemVar[1] = Magical Rod
Set ItemVar[2] = Weird looking skull

Second trigger
Loop b- 1 to 2
Loop a- 1 to string length
if substring(entered chat string, loop a, loop a) = ItemStringVar[loop b] then
give ItemVar[loop b] to hero
endif
endloop
endloop

Sorry it's handwritten, but for some reason all my load/save systems bug.
 

polo2005

Wana start playing LoL? http://tinyurl.com/369as27
Reaction score
97
sorry, i may be dumb but exactly what is it you want help with/dont understand?
 

sithin

New Member
Reaction score
5
the background coden, it takes a the string of numbers e.g 24587636 and compress's them then assigns each to a letter, but i want to know how the compresion works, cos its not exactly like devide it by 2 3 or 4 cos that would leave decimal places, he still hasnt answered my PM tho so yeah any1 thats good with jass could u take a look please pritty please
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top