| 02-11-2003, 05:30 AM | #1 |
OK, Got a new system here that will allow you to save and restore a hero ON battle.net. As far as encryption goes, its pretty low right now, but I still doubt anybody that doesn't know the code behind it can crack it without opening up the j file and fumbling though the code looking for it.... Things to still add, keeping track of items, and skills learned, the other types of tomes, and +50 life tomes This is just a demo to show it can be done. I will work on a more complete version for later use. Note if you use this for your map, at least give me credit for what I worked on here. |
| 02-11-2003, 05:21 PM | #2 |
****************Version 2.1******************* Added alot more comments. This will probably be the last public release. The next version will be for use in the new project I am working on and will have a much higher level of encryption to help and try to prevent cheating Ok Version 2 is done, can restore items now, As far as hero's learned spells go, i think the code is long enough, its a 26 char code, and it will create the hero, set the strn agil intel back to what it was, hero lvl and exp, and all the items he had. The people will have to repick the skills though. Dont think we need to add 8 more digits to the code EDIT: Note this does not actualy store a hero's level, but instead just uses the exp to reatain level. Also note that all strn agil intel vaules do not exceed 100, goes from 00 to 99. If you take the time to reach and understand the code, adding 1 extra digit to that will not be hard. Same rule applys to the items, 00 = no item in slot 01 to 99 = items that can be stored. Another possibility is to alter it to use Letters perhaps Hex 0-16 (A=10 F=16) to expand the valules and also shorten code legenth. This will open up many new possibilities, especally for my new project for a MMORPG spanning many maps. |
| 02-14-2003, 01:33 AM | #3 |
I looked at your map and played and was amazed! but, when I just added a Dreadlord to the map changed the following triggers: Pick Hero StartingHeroAtributes SetCodeData SaveHero I have just set the array to 5 on most of the triggers however I think the SaveHero is not saving my hero Type. I have no Idea what to put in the integer that saves the hero ID. When I type in the code just the Items appear not the Hero! |
| 02-14-2003, 04:49 AM | #4 |
To save time on generateing a formua, i was adding the unit type to the code manulay, at the part where it generates the code, you will see 4 if statments matching the 4 heros i curently had, i was also encoding it manualy with the minor encryption that map demon's Basicly take the number you have, and match it up to the number im setting the code array to, then replace it with the arrays number (that is how it encodes currently) E.G. hero code is 04 encrypted it would print out as 73 Also do not forget to add the hero type to the: SetCodeData function adding more heroes does not require messing with the custom text, only added aditional storage or modifying the WAY it encrypts. |
| 02-15-2003, 01:49 AM | #5 |
Can u tell me / teach me how u did this cause I can open the map, but It goes and says like "blah does not exist in data or somthing" and I was think about making an MMORPG but i would need this / give u credits |
| 02-15-2003, 02:04 AM | #6 |
hey, this sounds like it will kik ***, if ur still workin on it and makin the maps, keep us updated! we will all wanna try it |
| 02-15-2003, 02:05 AM | #7 |
o ya, and not that any 1 rly cares but the dates on the posting thing r off.... im posting this on febuary 2003.... |
| 02-15-2003, 03:16 AM | #8 |
yea and the forums having a few problems with links to avartars and profiles, there is alot of mantainence and updates going on.. To view the map you need either GoldenUrg's trigger patch or Scio's editor, to help make it more editable, i tried to stay away from custom txt and used the SetHeroStrn SetHeroAgil SetHeroIntel as blizzard triggers instead of function calls in custom text. so you wont be able to view it without one of those 2 things |
| 02-15-2003, 04:08 PM | #9 |
ok thx |
| 02-17-2003, 10:36 PM | #10 |
Guest | does this like save a file in your computer? for example. YOu play and map and did not save but your hero is saved into you computer and when you play the map again, your hero pops right there with the same stats and everything else? is that right? |
| 02-17-2003, 10:45 PM | #11 |
nope, doesnt technally save anything, it generates a password based on your hero, this version does a very minor scrambel of the letters, then spits it out to the user, the user writes it down and enters it next the map stats and the hero is regenerated |
| 02-19-2003, 02:51 AM | #12 |
Guest | OMG! i love you man! i was about to go and try to do this myself :) to make a MMORPG.. if you need my help with any lvls or anything ill do the best i can just tell me what you need to help you.. im currently learning how to make spells so i should be able to make the heros in a couple of days i can do some terrain im ok but huge maps would get me bored :P and i can do some triggering just ask me or whatever im no expert i do warn you this my AIM name is Vestax321 |
| 02-26-2003, 11:40 PM | #13 |
Guest | i can;t edit your triggers in warcraft. Did you protected your map? |
| 02-27-2003, 01:21 AM | #14 | |
Quote:
|
| 02-27-2003, 10:28 PM | #15 |
well, this really rocks drakan, i need this for my mp campaign, great job |
