| 03-23-2004, 09:53 PM | #1 |
ok i am sure you all have played DarkDeeds5. it uses a cool save and load credit system... what i dont get it how does weevilman makes em.. i know he didnt make 1,000,000 combinationsn of triggers,, so how? i kno how u make a hero save system.. and also could some one tell me how to make atrigg whenever u enter ur code thru that code thingy how does teh whisp go away and it rembers the number... I would really love any help also if some one can could they post a jass very simple version of it Thank You. :D |
| 03-23-2004, 11:30 PM | #2 |
ok first of all, there are no wisps... the NUMBERS (or codes) are actually ABILITIES that do basically nothing that MAKE the wisp sound.. for the loading, the trigger input thing is like Events -A unit is cast an ability Conditions -Ability is equal to "1" Events -CODE = CODE+"1" ---- btw, code would be a string ^^ ANYWAY!!! back to the saving thing i cant tell u weevilman's EXACT code, because then u could just get 999 points and that would be unfair^^ this is BASICALLY what his code is ••FIRST 3 NUMBERS: your score... example: if your score was 10, the first 3 numbers of ure code would be 010 if your score was 746 the first 3 numbers of ure code would be 746 ••4TH AND 5TH NUMBER: the first letter of ure name trigger example: make 69(^^) variables ALL STRINGS A-Z, a-z, 0-9 , and ( ) { } - _ . then, you set an array (arrays are pretty easy to understand after some programming VB heh..) which is also a string.. a string array example: ALPHABET[1] = A ALPHABET[2] = B ALPHABET[52] = z ALPHABET[69] = . BUT!!! instead of having A-J be 1,2,3,4,5,6,7,8, and 9 weevilman decided to start the code at 11, so all the different letters would be 2 digits (less confusing) so its actually example: ALPHABET[11] = A ALPHABET[12] = B ALPHABET[62] = z ALPHABET[79] = . THEN!!!! at the end of the game, when it gives u your code... it goes through a trigger like this: For a = 11 to 79 If substring(player name),1,1 equal to ALPHABET[intergerA] then Set CODE to CODE+IntergerA example: If the first letter of my name was A (which is alphabet[11]) the 4th and 5th numbers of my code would be 11 THE 6TH NUMBER OF THE CODE: the last number of ure score example: if you have a score of 17 the 6th number would be 7 this is the most sugnificant part of encryption weevilman set up 10 different encryption triggers EXAMPLE: If Substring(code),6,6 equal to 0 then RUN 0encryption If substring(code),6,6 equal to 7 then RUN 7encyrption TRIGGER 0encyption change 0 into 4 change 1 into 7 change 2 into 3 change 3 into 8 change 4 into 9 change 5 into 1 change 6 into 9 change 7 into 0 change 8 into 2 change 9 into 5 TRIGGER 7encryption change 0 into 9 change 1 into 3 and so on (note: this is not the actually encryption of weevilman) thats why, when u get a code after a game of darkdeedz, a LOT of the time, it was VERY different from the last code u got... 7th, 8th, and 9th number: some random number, like 374 10th number: the length of your name example: my name is gosusheep, so the 10th number of my code would be 9 (gosusheep is 9 letters long-.-) so anyway, it does the whole code system, it goes through the encryption code (based on the 6th number) and finally!!! it gives you a code... the loading system just does it backwards, THE PROBLEM WITH WEEVILMAN'S LOADING CODE IS!!!! if you have a friend, that his name starts with the same FIRST LETTER and is the same LENGTH then u can share codes example: my friend's name is hoo-cacha he has 760 points or so i use the name hoo-cccha and i can use his code heh^^ hope that helped, if not, my AIM is DaExK0n (the 0 is a zero) and my email is [email protected] |
| 03-23-2004, 11:36 PM | #3 |
Where do the capital letters come into play? |
| 03-23-2004, 11:54 PM | #4 |
what do u mean capital letters? u mean sometimes the capital letters screw up ure code?? eithers its because a CAPITAL A = 11 and a lowercase a = 38 or, because weevilman messed up the code system^^ |
| 03-24-2004, 09:38 PM | #5 |
Thank You very much gosu sheep u are gosu at giving help to triggs :D and its will haev to be all lower case cause capitals do screw it up |
| 06-15-2004, 04:46 PM | #6 |
Acually I don't think that is his code, or his code is corrupted on some periods of playing the game. Me and a few friends were playing Dark Deeds 5 privatly and we used codes. As we began to notice, some games we played had given all of us codes that did not work. I have multiple codes that don't follow your system. :: 1933315822 ; My score was 16 ; 0075133168 ; My score was 15 ; 0052954162 ; My score was 9. My name I used was m-flaugment. |
| 06-15-2004, 07:41 PM | #7 |
wow that post is a bit overwhelming! |
| 06-15-2004, 11:18 PM | #8 | |
Ive just gotten done with a code system simliar to weevilman. It saves integers from 0-9999 specific to each username. I plan on releasing it, but i dont know when or if i really want to. It should be about as complex as his but it has 4 encryption triggers. I could easily add more but i dont think it is needed. It can generate up to 8 random codes for the same username and integer. If I add more encryptions it would make more. If i do release it, the system should be very easy to import into your maps, all you do is change the 4 encryptions variables on it and copy and paste the folder. But for now, this is what he told me and it helped me alot to develop the system. The file attached is the saving system, its protected sorry :< Quote:
|
| 06-16-2004, 11:29 PM | #9 |
Ive just release my system. http://www.wc3campaigns.com/showthre...901#post548901 |
