Request: Add auto-save feature from previous version.
Spoiler for "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
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.
Joined: February 24th, 2009, 1:31 pm Posts: 3815 Location: JEW LAND
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?
_________________
Spoiler:
(02:24:09)
Code:
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:
(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:
(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:
(15:42:51) Lanaya: can i suck , . . .
Code:
(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:
GeorgeMots: xplain what happens in SP. Why cant you save? dast.-:i need play with 2 players
Code:
(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:
(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
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.
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 for "Pictures":
In-game
Within Wc3 folder
What it looks like opened
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.
Users browsing this forum: No registered users and 19 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum