Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
hey, im sure everyone remembers CodeGen 0.06 before it got removed...
it was the only good GUI save/load system that i have found and now i need a similiar system...
Features:
-Name Bound
-Must be GUI MUI
that's all i need, thnx in advance and +rep to anybody that can do it!!
You can't just cnp it into your map. It's very easy to use if you know vjass though :\.
Sadly, a good GUI system isn't possible because of GUI's limitations. Some people have attempted to make a good one that could compete with save/load with snippets, including myself, but nobody has been able to do it, which is why there is currently no approved GUI system.
If you know a little math, you can get away without using a full save/load system.
JASS:
local Base base = Base["0123456789"]
local BigInt i = BigInt.create(base)
call i.add(5,0)
call i.multiply(12)
call i.add(11,0)
Getting the values out
JASS:
local integer value1 = i.divide(12)
local integer value2 = i.toInt()
But you can only go so far with plain BigInts. Advanced save/load gets harder to do.
Anyways, xorkatoss, if you are doing rather standard save/load, like saving a hero's inventory and saving item charges and saving a player's resources, that's extremely easy to do. You can save all of that stuff with like 4 lines of code >.<, lol.
If your stuff is very easy to do and you do your own catalogs, I'm sure people will be willing to just provide the code for you since it only takes a couple of minutes to write up. If you want some crazy whacked out stuff like hero specific items that require heroes of a certain level that fit into certain slots in a custom inventory or have certain restrictions, then I doubt people are going to want to help out as that stuff is very complicated and takes many, many hours to code ;D.
Anyways, just to give you an idea of how easy the easy stuff is to do
JASS:
call SaveInventory(stack, unit, catalog)
call SaveHeroXP(stack, unit, 0)
call SaveItemCharges(stack, unit, chargeTable, perishableTable)
call SaveUnitLoc(stack, unit)
call SaveUnitFacing(stack, unit)
call SaveUnitLife(stack, unit)
call SaveUnitMana(stack, unit)
call SaveHeroStats(stack, unit, GetHeroLevel(unit))
call SaveHeroAbilities(stack, unit, abilityCatalog)
call stack.push(CompressInt(GetPlayerState(GetTriggerPlayer(), PLAYER_STATE_RESOURCE_GOLD)), CompressInt(1000000))
edit
I just had an idea for a basic GUI system... for simple stuff only o-o.
Just allow the user to enable or disable what they want to save and they are done ^)^.
You can't just cnp it into your map. It's very easy to use if you know vjass though :\.
Sadly, a good GUI system isn't possible because of GUI's limitations. Some people have attempted to make a good one that could compete with save/load with snippets, including myself, but nobody has been able to do it, which is why there is currently no approved GUI system.
If you know a little math, you can get away without using a full save/load system.
JASS:
local Base base = Base["0123456789"]
local BigInt i = BigInt.create(base)
call i.add(5,0)
call i.multiply(12)
call i.add(11,0)
Getting the values out
JASS:
local integer value1 = i.divide(12)
local integer value2 = i.toInt()
But you can only go so far with plain BigInts. Advanced save/load gets harder to do.
Anyways, xorkatoss, if you are doing rather standard save/load, like saving a hero's inventory and saving item charges and saving a player's resources, that's extremely easy to do. You can save all of that stuff with like 4 lines of code >.<, lol.
If your stuff is very easy to do and you do your own catalogs, I'm sure people will be willing to just provide the code for you since it only takes a couple of minutes to write up. If you want some crazy whacked out stuff like hero specific items that require heroes of a certain level that fit into certain slots in a custom inventory or have certain restrictions, then I doubt people are going to want to help out as that stuff is very complicated and takes many, many hours to code ;D.
Anyways, just to give you an idea of how easy the easy stuff is to do
JASS:
call SaveInventory(stack, unit, catalog)
call SaveHeroXP(stack, unit, 0)
call SaveItemCharges(stack, unit, chargeTable, perishableTable)
call SaveUnitLoc(stack, unit)
call SaveUnitFacing(stack, unit)
call SaveUnitLife(stack, unit)
call SaveUnitMana(stack, unit)
call SaveHeroStats(stack, unit, GetHeroLevel(unit))
call SaveHeroAbilities(stack, unit, abilityCatalog)
call stack.push(CompressInt(GetPlayerState(GetTriggerPlayer(), PLAYER_STATE_RESOURCE_GOLD)), CompressInt(1000000))
edit
I just had an idea for a basic GUI system... for simple stuff only o-o.
Just allow the user to enable or disable what they want to save and they are done ^)^.
well since i only want to save hero exp and items i should post a request so ppl can just give me a vJass code to CnP?
i tried to learn vJass but for me a simple vJass line is like this = "qedijfgkbrgbwzxnmapqhndsfvrgrgsre" xD
or u can use acehart's system... like evryone else link
easy to use, the jass part is just to copy-paste, all the things u gotta change are gui.. isnt optimal probably, but for you it will do
or u can use acehart's system... like evryone else link
easy to use, the jass part is just to copy-paste, all the things u gotta change are gui.. isnt optimal probably, but for you it will do
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.