wc3edit.net

United Warcraft 3 map hacking!
It is currently May 1st, 2024, 6:29 am

All times are UTC




Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: October 14th, 2015, 2:49 am 
Offline
Newcomer

Joined: October 14th, 2015, 12:02 am
Posts: 8
Map Name: The Black Road 2.0Ev3

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

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.



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.


Top
 Profile  
 
PostPosted: October 14th, 2015, 7:20 am 
Offline
Forum Spammer
User avatar

Joined: March 30th, 2013, 11:05 am
Posts: 1128
Location: Earth
Title: Gamma Ray
Does your code in tbr 1 load in tbr 2?


Top
 Profile  
 
PostPosted: October 14th, 2015, 7:26 am 
Offline
Newcomer

Joined: October 14th, 2015, 12:02 am
Posts: 8
Nope.

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


If only :D


Top
 Profile  
 
PostPosted: October 14th, 2015, 7:45 am 
Offline
Forum Spammer
User avatar

Joined: March 30th, 2013, 11:05 am
Posts: 1128
Location: Earth
Title: Gamma Ray
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


Top
 Profile  
 
PostPosted: October 14th, 2015, 8:16 am 
Offline
Super Moderator
User avatar

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?

_________________
Image
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?


Top
 Profile  
 
PostPosted: October 14th, 2015, 10:26 am 
Offline
Newcomer

Joined: October 14th, 2015, 12:02 am
Posts: 8
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 for "Pictures":
Image
In-game

Image
Within Wc3 folder

Image
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.


Top
 Profile  
 
PostPosted: October 14th, 2015, 1:39 pm 
Offline
Forum Addict
User avatar

Joined: June 30th, 2007, 9:20 pm
Posts: 485
Location: Your Imouto's Neko
Title: 2ecchi4me
Can you send a copy of the map "TBR 1.36b2" without the autosave.

_________________
Image
Image


Top
 Profile  
 
PostPosted: October 14th, 2015, 2:01 pm 
Offline
Newcomer

Joined: October 14th, 2015, 12:02 am
Posts: 8
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.


Top
 Profile  
 
PostPosted: October 14th, 2015, 6:24 pm 
Offline
Forum Addict

Joined: February 25th, 2011, 3:16 am
Posts: 462
Location: Unknown
Have nothing to do. So here is your map.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: October 14th, 2015, 6:32 pm 
Offline
Forum Addict
User avatar

Joined: June 30th, 2007, 9:20 pm
Posts: 485
Location: Your Imouto's Neko
Title: 2ecchi4me
I was almost finished too. gj

_________________
Image
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)