Staredit Network > Forums > SC1 Map Showcase > Topic: [SCDB] Warbible RPG Final Version
[SCDB] Warbible RPG Final Version
May 30 2017, 11:38 am
By: lifebot
Pages: < 1 2 3 >

Apr 7 2018, 5:53 pm lifebot Post #21

Final Version Released


May 7 2018, 5:00 pm lifebot Post #22

New Region (Map) Added:

Choose either Rune Region or Brama Region. Load existing progress on BOTH maps!


Post has been edited 1 time(s), last time on May 9 2018, 6:30 am by lifebot.


May 19 2018, 3:25 pm lifebot Post #23

Persistent Real-time EXP Status in % added

Post has been edited 1 time(s), last time on May 22 2018, 12:28 am by lifebot.


May 19 2018, 3:45 pm MTiger156 Post #24

Veteran Mapper

I am especially curious about the save/load mechanic. What went into making it? I assume that the map connects to some sort of SQL database?

May 19 2018, 11:41 pm Lanthanide Post #25

I created and implemented the save / load mechanic. It works as a 1-way hash. There are 10 code points you have to enter, which are the numbers 1, 2, 3 and 4 on the map. Normal triggers are used to detect which symbol the defiler has cast the dark swarm on.

The 4 different values have got large integer numbers associated with them: 1 = 954437177, 2 = 1908874353, 3 = 2863311530, 4 = 3817748708. A passcode consists of 10 values between 1 and 4, eg a code might be 1113323242, so there are 1,048,576 possible unique codes.

Each index in the passcode has the xth lowest prime number associated with it, so:
index 1 = 2
i2 = 3
i3 = 5
i4 = 7
i5 = 11
i6 = 13
i7 = 17
i8 = 19
i9 = 23
i10 = 29

The formula to calculate the final hash value is cumulative and takes the previous steps result, adds the current code value and then multiplies it by the index, so using 1113323242 as the code:
(0 + 954437177) * 2 = 1908874354
(1908874354 + 954437177) * 3 = 8589934593
(8589934593 + 954437177) * 5 = 47721858850
(47721858850 + 2863311530) * 7 = 354096192660
(354096192660 + 2863311530) * 11 = 3926554546090
(3926554546090 + 1908874353) * 13 = 51070024465759
(51070024465759 + 2863311530) * 17 = 868239092213913
(868239092213913 + 1908874353) * 19 = 16496579020677054
(16496579020677054 + 3817748708) * 23 = 379421405283792526
(379421405283792526 + 1908874353) * 29 = 11003220808587339491

Triggers are implemented to calculate all of the above as the player enters their passcode, so in sharing the above I haven't given away anything that you couldn't find out from reading the triggers in the map. Because SC only handles 32 bit numbers, each value greater than 2^32 is (automatically) MODed by 2^32, so the final value is 11003220808587339491 MOD 2^32 = 554,231,523 . Then we have a trigger that says "if hashinput is exactly 554231523, set player level to 40, class/EXP/minerals to whatever". Obviously if there are 12 character classes and 100 levels, then there are 1200 of these triggers, 1 for each level and character class.

If you were to unprotect the map and look at the triggers, you can work out the above calculation algorithm, but the map itself does NOT store the original input codes. All you know is the algorithm used to calculate the hash and the final hash values for the 1200 different triggers. But because it's a 1-way hash, it's impossible to look at the value 554,231,523 and work backwards to determine what the original passcode is, because the 32-bit integer wrap around (automatic MOD operation) discards data at every step, while retaining enough data to make the final value unique.

For a given final hash code, the only way to work out the passcode is to brute-force all possible 1,048,576 passcodes, to see which one results in that hash (or, in the specific case of 554231523, read this post).

Post has been edited 2 time(s), last time on May 19 2018, 11:47 pm by Lanthanide.


May 20 2018, 6:48 am lifebot Post #26

Nope, I created the save/load system and it's design & implementation He has confused himself there :lol:

The save system is based on 10 digit codes which recalls 100 different level states.

Lanthanide encrypted the load part by using the 1-way hash he explained above but it is only used to secure the lvl 100 code atm.

Lanthanide also improved the load system a little bit by adding countdown timer for every input made during load process.

The encryption Lanthinde has done is work that is quantified to be way larger than the save system itself though.


May 20 2018, 7:42 am Lanthanide Post #27

Considering that I re-wrote all of the triggers for the load system, and substantially improved the save triggers, I stand by my statement.


May 21 2018, 5:49 am lifebot Post #28

Yes and I certainly agree. The current system used in the map is indeed your re-work version of the save/load system. I just wanted to clarify though that I created it first, which worked pretty much the same as it is now. The map at the time displayed codes in-game up to level 16 only, and 16-100 were protected by your 1-way hash encryption. This meant that if someone was to unprotect the map, the highest level code that can be obtained from looking at the display text triggers would be level 16 unless the encryption was cracked.

The newest version of the map displays codes up to level 99 in-game through the display text trigger, essentially relying mostly on the newest freeze protection that wasn't available before. The 100 level is still encrypted by your 1-way hash, which means if someone unprotected the map level 99 can be obtained but not 100. It is definitely way less secure now, but the decision to do this was mostly due to authenticating saves becoming too much work for me. Now I only need to authenticate level 100, reducing the workload substantially. I was hoping you if you could suggest a possible way to make it stronger, but for now it seems secure enough.

Post has been edited 2 time(s), last time on May 21 2018, 5:55 am by lifebot.


May 22 2018, 12:18 am lifebot Post #29

New Patch - Lvl 100 EXP bar bug was fixed.

Season 4 is live. Season 5 starts when Fortnite Season 5 starts.

Post has been edited 1 time(s), last time on May 22 2018, 12:31 am by lifebot.


Oct 13 2018, 9:22 pm lifebot Post #30



Post has been edited 1 time(s), last time on Oct 18 2018, 3:10 pm by lifebot.


Oct 20 2018, 4:11 pm lifebot Post #31

Season 7 – Top 10 Players

1 Noel-JJ - Police
2 present9000 - Summoner
3 mshan1 - Explorer
4 MoonJewelry - Police
5 dcv123 - Summoner
6 JOPdya - Summoner
7 yuibab - Summoner
8 MoonJewelry - Mercenary
9 MoonJewelry - Explorer
10 THENOTORIOUS’ - Mercenary

Congrats for making to Level 100.

Post has been edited 1 time(s), last time on Oct 21 2018, 11:33 pm by lifebot.


Oct 25 2018, 1:48 am lifebot Post #32

Season 9 English Version has been released!!!!!


Nov 16 2018, 8:50 pm lifebot Post #33

Season 16 has started. I will follow-up once the translations are finished, for now a Beta release is available for DL.


Nov 16 2018, 11:24 pm Ultraviolet Post #34

Seems like you skipped several seasons?

Nov 17 2018, 3:11 am lifebot Post #35

Seasons 10-15 were never translated due to a lot of bugs ruining the entire season.

The last season implements prevention against Cheat Engine ^^


Nov 17 2018, 4:11 am MTiger156 Post #36

Veteran Mapper

What's more amusing is the fact that 10 seasons were ran over the course of only 1 month. How do you make so much content that you have to push a new season every 3-4 days? From what I've heard, the game was already grind-hell, but this fast pace is just... wow...

Nov 17 2018, 4:13 am lifebot Post #37

Quote from MTiger156
What's more amusing is the fact that 10 seasons were ran over the course of only 1 month. How do you make so much content that you have to push a new season every 3-4 days? From what I've heard, the game was already grind-hell, but this fast pace is just... wow...

Seasons are not about content additions but securing the fair game-play. As you say it's grindy, it's not fair for someone to put hours to get to to Lvl 100 while others get to the same level by abusing in-game bugs or cheating. Season reset has occurred due to game-breaking bugs that gave unlimited EXP when abused. These bugs are no longer present in Season 16, thus I decided to upload the Eng version. It's as lot of work to translate the whole map from KOR to ENG.

Post has been edited 1 time(s), last time on Nov 17 2018, 6:38 am by lifebot.


Nov 26 2018, 1:43 am O)mG Post #38

You rock bro, this is awsome!


Dec 18 2018, 5:44 am lifebot Post #39



Dec 18 2018, 5:37 pm lifebot Post #40

SENners! play this fuccing map NOW :bye1:

I wasted 18 months on this shit to give back to YOU!

Post has been edited 1 time(s), last time on Dec 19 2018, 6:17 am by lifebot.


Pages: < 1 2 3 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:03 pm]
Moose -- Doc Halsey probs in Halo books well before Reach came out
[03:57 pm]
lil-Inferno -- probs just coincidence tbh
[2020-2-27. : 5:45 am]
Kolokol -- Okay, are both of these games referencing something else here? If so, what are they both referencing?
[2020-2-27. : 5:45 am]
Kolokol -- So I am looking at the custom campaign "Legacy of the Confederation". One of the missions has references such as "Doctor Halsey" and "Noble", but the campaign was made almost 10 years before Halo Reach.
[2020-2-27. : 2:55 am]
Dem0n -- ya
[2020-2-27. : 2:45 am]
Wing Zero -- Ah damn it Demon
[2020-2-27. : 2:03 am]
KrayZee -- Yeah, we just need 3 more. We can get a complete F if it's 4.
[2020-2-26. : 10:06 pm]
jjf28 -- i'll take that advice into cooperation
[2020-2-26. : 7:43 pm]
KrayZee -- Okay, but we need other people to cooperate and not ruin it
[2020-2-26. : 6:27 pm]
Wing Zero -- Next we need to spell out F in the boxes
Please log in to shout.

Members Online: Doodan