Well the title says it. Basically, I need to inject a save load code into a map that saves name gold and hero lvl and nothing else. I could easily get this, but I need to be able to inject it into a map like the cheatpacks. I know little of jass and therefore cannot convert the save codes to be put in like this. Any type of save load would work.
This I assume would be the best/easiest to use.
AceHearts Save-Load Code
anyway I got to get going atm but will be back later, any help is appreciated.
-Kyz
Edit: TBH Hero lvl doesnt matter, Just need name and gold.
Save - Load [Entering Cheat Pack Style]
Moderator: Cheaters
-
- Junior Member
- Posts: 35
- Joined: May 28th, 2008, 9:21 pm
- Title: eruliaF
-
- Forum Spammer
- Posts: 610
- Joined: March 30th, 2009, 9:02 pm
Re: Save - Load [Entering Cheat Pack Style]
so what exactly are u asking for........?
ur ign stays the same whatever game ur in (unless the game changes it or u do -setname)
and gold shouldnt matter either....? just type -gold blah..
much easier on work load and then u dont need like 50 lines of jass
ur ign stays the same whatever game ur in (unless the game changes it or u do -setname)
and gold shouldnt matter either....? just type -gold blah..
much easier on work load and then u dont need like 50 lines of jass
-
- Junior Member
- Posts: 35
- Joined: May 28th, 2008, 9:21 pm
- Title: eruliaF
Re: Save - Load [Entering Cheat Pack Style]
Im looking for a way to insert a save-load code into a map that doesn't have one, and is protected, WITHOUT having to unprotect it.
-
- Forum Spammer
- Posts: 610
- Joined: March 30th, 2009, 9:02 pm
Re: Save - Load [Entering Cheat Pack Style]
and im saying why the heck u would wanna do that >.>
but w.e....
first....u need to find out what ur gonna save (gold and "name" i guess......o.o)
next u make a trigger that runs a function when someone says -save
then make the function:
have the function run a condition of need be
make it set some variables with the player's gold and name
encode it in some way (for the name, since it's a word, u might need to make a letter-to-number function so u can do math)
and have the code show up on ur screen
add a trigger for -load
function for load:
run the encoding backwards do decode the code
add gold and change the name
btw...i still think that saving name is pointless but.....ok >.<
but w.e....
first....u need to find out what ur gonna save (gold and "name" i guess......o.o)
next u make a trigger that runs a function when someone says -save
then make the function:
have the function run a condition of need be
make it set some variables with the player's gold and name
encode it in some way (for the name, since it's a word, u might need to make a letter-to-number function so u can do math)
and have the code show up on ur screen
add a trigger for -load
function for load:
run the encoding backwards do decode the code
add gold and change the name
btw...i still think that saving name is pointless but.....ok >.<
-
- Senior Member
- Posts: 140
- Joined: June 4th, 2010, 10:47 am
- Location: Now 'n everywhere.
Re: Save - Load [Entering Cheat Pack Style]
He needs something easier, like a cheatpack or an injector. Just inject or insert it and done.
Uhh...
Uhh...
1 l1ek t0 trOl1
-
- Junior Member
- Posts: 35
- Joined: May 28th, 2008, 9:21 pm
- Title: eruliaF
Re: Save - Load [Entering Cheat Pack Style]
^
This.
I understand how a save load code works, (until it gets to the encryption part =S) and could most likely build one in GUI. I just cannot do so in jass, and if I can/could, then I dont know how to separate it to insert it like a cheat pack. Like separating them to be inserted in >>Globals, Endglobals, and Function main.
Also, when saving name, I just want it so that only the person who saved it (name Kyzer) can load it. So some random guy called (RGuy) cant come load my code.
This.
I understand how a save load code works, (until it gets to the encryption part =S) and could most likely build one in GUI. I just cannot do so in jass, and if I can/could, then I dont know how to separate it to insert it like a cheat pack. Like separating them to be inserted in >>Globals, Endglobals, and Function main.
Also, when saving name, I just want it so that only the person who saved it (name Kyzer) can load it. So some random guy called (RGuy) cant come load my code.
-
- Super Moderator
- Posts: 3197
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: Save - Load [Entering Cheat Pack Style]
make a new map with 1 unit and a level code
make ur save trigger in GUI (if that is what you want), use the level code on a character.. save > restart > load. if works
open the .j file of the map and youll see it as it will have the name of trigger
like
globals
trigger save_load_system = null
just example..
make ur save trigger in GUI (if that is what you want), use the level code on a character.. save > restart > load. if works
open the .j file of the map and youll see it as it will have the name of trigger
like
globals
trigger save_load_system = null
just example..
-
- Junior Member
- Posts: 35
- Joined: May 28th, 2008, 9:21 pm
- Title: eruliaF
Re: Save - Load [Entering Cheat Pack Style]
Simple answer, and yet its exactly what I needed, although my request wasnt exactly explained very well I suppose. Thank you