| 01-27-2009, 05:37 PM | #1 |
Hi, I recently started work on an RPG I gave up on a year or 2 ago because I couldn't get a Save/Load for it. I decided to try and use Vex's codemaker for it and use the hero save/load, but I don't know how to change it so that it saves when the player types -save rather than using a dummy ability. Or how to get it to save everything I need: -Hero Level & Exp, and the hero class itself -Players Gold & Lumber -Heroes Inventory (Not counting items such as potions, just equipment) That should be all that needs to be saved, I have no clue how to mess with the JASS myself so if anyone could give me a hand with this I would really appreciate it, PM's or replies here are welcome. |
| 01-27-2009, 11:24 PM | #2 |
| 01-28-2009, 12:33 PM | #3 |
That Acehart system might actually work! I actually understand it all and everything, I'm going to be spending most of the day setting it up and implementing it, I'll get back to you on how it goes. |
| 01-28-2009, 05:13 PM | #4 |
Ok I have the AceHart system implemented, everything is done, though it seems I have 11 syntax errors in the system, I have no clue how to fix them. Undeclared Function SaveLoad_Unit2Integer Cannot Convert Null to Integer set udg_Save[udg_SaveCount]=SaveLoad_Unit2Integer(udg_TempUnit) Undeclared Function SaveLoad_Unit2Integer Cannot Convert Null to Integer set udg_Save[udg_SaveCount]=SaveLoad_Item2Integer(udg_TempItem) Undeclared Function SaveLoad_Encode set udg_Code = SaveLoad_Encode() Undeclared Function SaveLoad_Decode Cannot Convert null to boolean set udg_Validate = SaveLoad_Decode(udg_Code) Undeclared Function SaveLoad_Unit2Integer Cannot Convert Null to Integer set udg_TempUnitType = SaveLoad_Integer2Unit(udg_Save[udg_SaveCount]) Undeclared Function SaveLoad_Unit2Item Cannot Convert Null to Integer set udg_TempItemType = SaveLoad_Integer2Item(udg_Save[udg_SaveCount]) If anyone can see what I did wrong or anything that would help alot. |
| 01-28-2009, 06:41 PM | #5 |
Uhm... why is this posted here? And why in two threads? You didn't import the custom script... |
| 01-28-2009, 09:10 PM | #6 |
I actually finally figured that out lol, I asked in the other thread to have these deleted cause I don't need them anymore. Btw thanks so much for your system I actually could understand it unlike most systems and your guide was helpful too, I just can't believe I spaced on putting the custom script in lol |
