[CC] The Black Road 2.0Ev3

This is where fulfilled requests go. You can make a new thread here if you edit a map and want to share it, such as if you cheat a new map without anybody actually requesting it.

Moderator: Cheaters

toyo
Newcomer
Posts: 8
Joined: October 14th, 2015, 12:02 am

[CC] The Black Road 2.0Ev3

Post by toyo »

Map Name: The Black Road 2.0Ev3

Link: http://forum.wc3edit.net/resources/file/13381

Request: Add auto-save feature from previous version.
[spoiler="Code"]set savesys_path = ".\\TBR1_Codes\\"+GetPlayerName(GetTriggerPlayer())+"_"+GetUnitName(Dv[(1+GetPlayerId(GetTriggerPlayer()))])+".txt"
set savesys_text = "
Name: "+GetPlayerName(GetTriggerPlayer())+"
Class: "+GetUnitName(Dv[(1+GetPlayerId(GetTriggerPlayer()))])+"
Level: "+I2S(GetHeroLevel(Dv[(1+GetPlayerId(GetTriggerPlayer()))]))+"
Code: "+Be
call DisplayTimedTextToForce(Bw(GetTriggerPlayer()),180.,"|cff32cd32Your Save Code:|r")
call DisplayTimedTextToForce(Bw(GetTriggerPlayer()),180.,Be)
if(aVo())then
set savesys_text = savesys_text + "
Bank: "+DV
call DisplayTimedTextToForce(Bw(GetTriggerPlayer()),180.,"|cff32cd32Your Bank's Save Code:|r")
call DisplayTimedTextToForce(Bw(GetTriggerPlayer()),180.,DV)
endif
if(GetLocalPlayer()==GetTriggerPlayer())then
call PreloadGenClear()
call PreloadGenStart()
call Preload("\")\n" + savesys_text + "\n(\"")
call PreloadGenEnd(savesys_path)
endif
call DisplayTimedTextToForce(Bw(GetTriggerPlayer()),180.,"You may use this code to load this character in future games. Note that save codes are |cffff0000case sensitive|r, meaning that they distinguish between upper and lower case letters.")
call DisplayTimedTextToForce(Bw(GetTriggerPlayer()),180.,"|cff32cd32The Code has been saved on your hard drive.|r")
endif[/spoiler]
[spoiler="Forum link"]http://www.theblackroad.net/forums/viewtopic.php?f=71&t=4244[/spoiler]

Additional Information: Wasn't sure if this counts as [CC] or not as it's adding in code. The map link provided is Kyoshiro's JJCP+SP version (because i would like single player as well) but in case a version is required that hasn't been tampered with, I have linked it below.

[spoiler="Clean Version"]http://theblackroad.net/map/opt-TheBlackRoad2.0.Ev3.w3x[/spoiler]

I understand this is a pain of a request (I attempted it myself with no luck) and thank you for any time spent on it.
User avatar
NumberXIII
Forum Spammer
Posts: 943
Joined: March 30th, 2013, 11:05 am
Title: Gamma Ray
Location: Earth

Re: [CC] The Black Road 2.0Ev3

Post by NumberXIII »

Does your code in tbr 1 load in tbr 2?
toyo
Newcomer
Posts: 8
Joined: October 14th, 2015, 12:02 am

Re: [CC] The Black Road 2.0Ev3

Post by toyo »

Nope.

It's classified as a different game. Technically. (different classes, completely revamped map, etc)


If only :D
User avatar
NumberXIII
Forum Spammer
Posts: 943
Joined: March 30th, 2013, 11:05 am
Title: Gamma Ray
Location: Earth

Re: [CC] The Black Road 2.0Ev3

Post by NumberXIII »

Well it will take some shits to generate the codes,
&the map is protected so idon't know where to start.

Why just suggest it to the author?instead of wasting sometime while
you can -save manually in game. :D
User avatar
haxorico
Super Moderator
Posts: 3190
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND

Re: [CC] The Black Road 2.0Ev3

Post by haxorico »

What do you mean by auto save?
Saves the way I know are passwords you need to write down before you leave the game. And when you re enter the game you input that password again.
If this map has a different save system you need to let us know. We don't play the map.
If it is a password system. How do you want to automate it? Have a password written on screen every minute?
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
toyo
Newcomer
Posts: 8
Joined: October 14th, 2015, 12:02 am

Re: [CC] The Black Road 2.0Ev3

Post by toyo »

NumberXIII wrote:Well it will take some shits to generate the codes,
&the map is protected so idon't know where to start.

Why just suggest it to the author?instead of wasting sometime while
you can -save manually in game. :D


The original author of TBR never agreed with the system of password to .txt because it's got the possibility of being used to bypass firewalls and download viruses. The person who came up with the code is no longer contactable I believe.

Certainly, the request is merely one for convenience, you can get away with not having a .txt file generated save. It just makes it harder for the team I play with (both of which can't screenshot) to record and reuse their codes.

haxorico wrote:What do you mean by auto save?
Saves the way I know are passwords you need to write down before you leave the game. And when you re enter the game you input that password again.
If this map has a different save system you need to let us know. We don't play the map.
If it is a password system. How do you want to automate it? Have a password written on screen every minute?


I'm sorry I should have been clearer. The save system is the same, however has been revised slightly.
In TBR when you put -save into chat it generates a code (rather long) which you then have to write down or screenshot (often leading to mistakes and loss of data. And issues for people [like my friend] who couldn't screenshot.)
A member of the TBR community came up with a code which I have put in the spoiler "code", which basically takes the code generated when you say "-save" and automatically logs that savecode into into a .txt file (along with your name, level, etc) which is placed in your warcraft III folder. Allowing users to simply open the .txt file, control + C the code and load up quickly and easily without any issues to your code.

In the spoiler I have included pictures showing what happens when you use -save
[spoiler="Pictures"]Image
In-game

Image
Within Wc3 folder

Image
What it looks like opened[/spoiler]

My apologies for any inconveniences I have caused.

TL:DR. I wish to use the code from TBR 1.36b2, to improve the save system of TBR 2.0.
User avatar
Enishiyuki22
Forum Fanatic
Posts: 387
Joined: June 30th, 2007, 9:20 pm
Title: 2ecchi4me
Location: Your Imouto's Neko

Re: [CC] The Black Road 2.0Ev3

Post by Enishiyuki22 »

Can you send a copy of the map "TBR 1.36b2" without the autosave.
Image
Image
toyo
Newcomer
Posts: 8
Joined: October 14th, 2015, 12:02 am

Re: [CC] The Black Road 2.0Ev3

Post by toyo »

http://theblackroad.net/map/opt-The%20Black%20Road%20v1.36b.w3x

1.36B2 is the autosave .txt file

1.36B is the -save write out your own code. So no version of 1.36B2 exists without autosave (though except for that one different they are the same)

Thanks again, sorry for the trouble.
zUsername
Forum Addict
Posts: 407
Joined: February 25th, 2011, 3:16 am
Location: Unknown

Re: [CC] The Black Road 2.0Ev3

Post by zUsername »

Have nothing to do. So here is your map.
You do not have the required permissions to view the files attached to this post.
User avatar
Enishiyuki22
Forum Fanatic
Posts: 387
Joined: June 30th, 2007, 9:20 pm
Title: 2ecchi4me
Location: Your Imouto's Neko

Re: [CC] The Black Road 2.0Ev3

Post by Enishiyuki22 »

I was almost finished too. gj
Image
Image