HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Saving & Restoring a Hero On Battle.net

11-14-2003, 04:21 PM#106
DaKaN
Yes, i created this a long time ago just to prove that it is possable though encrypted chat strings. In order to create a fully functional version of this, with encryption to prevent cheating, you must fully understand this sample function. Then you can modify it to work with your system.
11-14-2003, 06:35 PM#107
Silversuns
Quote:
originally send by Dakan
Yes, i created this a long time ago just to prove that it is possable though encrypted chat strings. In order to create a fully functional version of this, with encryption to prevent cheating, you must fully understand this sample function. Then you can modify it to work with your system.

Yes I can understand how this basic code work, but it don't help me about the protection system. I know one code, it use the account name, but I can't figure out, at all, how it work, cos it look like so complexes to my eyes. I can use it, but I won't be able to use all I want it save and I have to increase the capacity of this code.
I'm waiting to put the save hero code in my map, cos I'm working on the rest of the map before.

What you think about the new patch 1.13 and when it will be out???
11-15-2003, 02:56 AM#108
truearkx
thal be really cool if the 1.13 made a save system for custom maps all tho it will never happen haha
11-22-2003, 06:01 PM#109
Capn_Sniffies
So the guys that made Legacies got the coding from here? I thought they may have been the one's who invented it. emote_sweat
11-22-2003, 07:12 PM#110
truearkx
legacies did invented it but they learned the skills here lol
11-24-2003, 10:12 PM#111
sheep_tag
hey gj for the dl.
12-10-2003, 09:06 PM#112
kane635
(Solved the problem, I was unfamiliar with the UMSWE function convert string to integer)
12-13-2003, 10:23 PM#113
kane635
nvm
12-18-2003, 09:34 PM#114
kane635
Ok. I got a very, very good idea for Dakan. Simple, convert the players name to an integer, and I am not talking Convert string. Make a string array from 1-16. Then, using Dakan's awesome idea for converting items into integers (For integer A... If item carried by slot in integer A... Etc.) Convert the name! Use substrings for integer B. Have a If substring player name of picked play Integer B, Integer B, is equal to <Empty String> then do skip remaining actions. You can set a variable equals integer B times a number. This is an entire two layers of encryption that can be added to almost and saving code. If you use this idea, GIVE ME CREDIT! Thanks,
12-29-2003, 11:07 PM#115
Sware
The thing I was looking for! Thanks Alot. I have some suggestions you could consider:

- Add - in the code so it looks like a CDKEY (IE: ####-######-###)
- Add Color so it looks fancy..
- Tutorial On Adding Hero/Item

I'd give this a 9.5/10 Great Work!
08-29-2004, 01:00 AM#116
XZminX
Hey i was also experimenting with this a little.
And i know how to learn skills from lvl before.

At ending of lvl:

game cache - store integer - {Store [Unit - Level of Ability for Unit] as (SkillName) of Category in Last created game cache

At beginning of a new lvl:

For each integer A, do action:
For Each Integer A from 1 to {Game Cache – Load Integer Value [Load (SkillName) of (Categoy) from LCGC]} do {Hero – Learn Skill [Learn Skill for «Hero»: (Skill)]}

Do the same for each skill!

thats it! works perfectly!

But I dont know how to do the same with items!
I'll check what u did!
09-16-2004, 09:47 PM#117
ColdRocker
dakan... do you know if u can make a code that restores leaderboard points??