wc3edit.net

United Warcraft 3 map hacking!
It is currently March 29th, 2024, 12:19 pm

All times are UTC


Forum rules


While crediting should be allowed, please keep down the advertising. If you know who it's from, and they have a website, please link to it as a basic courtesy.



Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: July 8th, 2010, 4:07 pm 
Offline
Senior Member

Joined: March 27th, 2010, 2:32 pm
Posts: 136
Image
Download
Update 1.0.1: fixed a tiny bug with line ending with symbol right after hex number.
This simple program serves its purpose - it converts all numbers in given code from hexademical (base 16) to 'normal' (base 10) system.
As you may already know, hexademical numbers are harder to read, and cause compilation errors when saving from world editor.
Code is replaced with 'smart' behaviour. It will not convert numbers withing strings, or mis-interpret numbers.
As you see, the 'interface' of the program is presented as 4 buttons:
» Proc. Field - convert all text from the left textbox and show the output in the right textbox.
» Proc. File - choose input and output files for processing.
This works much faster than field processing and does not have code length limitations.
Attention: this function uses stream processing. Do not choose the same file for input and output.
» About - show (un)important information about the author of the program.
» Exit - Quit the program.

Motivated by this topic
Spoiler for "Technical information":
Created in VB2005.
101 line of code total.
4 Sub's, 1 function total.
No global variables were harmed while creating this program.
If you want source code, send me a PM Image
Have fun. If you found a bug \ have suggestion, tell me.


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


Last edited by YellowAfterlife on July 9th, 2010, 3:04 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: July 8th, 2010, 4:10 pm 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3815
Location: JEW LAND
Woot :D Thanks alot.
PS: I recommend you re-post it in tool section :)

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


Last edited by GeorgeMots on July 8th, 2010, 4:12 pm, edited 1 time in total.
moved


Top
 Profile  
 
PostPosted: July 9th, 2010, 5:54 am 
Offline
Senior Member
User avatar

Joined: June 4th, 2010, 10:47 am
Posts: 151
Location: Now 'n everywhere.
Yeah good job yellow! That will save our time.

_________________
Image
1 l1ek t0 trOl1


Top
 Profile  
 
PostPosted: July 9th, 2010, 11:41 am 
Offline
Forum Fanatic
User avatar

Joined: October 26th, 2009, 10:22 pm
Posts: 344
Title: mib^
oh awesome tho doubt il be using it a lot but doesnt hurt to have it around :P

_________________
Spoiler:
(06:05:25) UndeadxAssassin: SLANDER
(06:05:32) Bartimaeus: See you later, Undead. I miss talking to you. Message me once in a while, :<
(06:05:37) UndeadxAssassin: /quit Bartimaeus!
(06:05:40) ChatBot: Madara logs into the Chat.
(06:05:49) ChatBot: Madara has been logged out (Kicked).
(06:05:54) Bartimaeus: >>
(06:06:02) Bartimaeus: He doesn't deserve to see my good bye to you, :D
(06:06:23) UndeadxAssassin: I'm still here because I wanna see his response
(06:06:29) UndeadxAssassin: :D
(06:06:31) ChatBot: Madara logs into the Chat.
(06:06:31) Bartimaeus: Oh.
(06:06:35) Bartimaeus: lol
(06:06:43) Madara: So should i say something dramatic
(06:06:48) Madara: or what satisfies u ?
(06:06:48) Bartimaeus: Nope.
(06:06:50) Bartimaeus: Because nobody cares.
(06:06:52) Bartimaeus: :3
(06:06:57) UndeadxAssassin: What a let down
(06:06:58) UndeadxAssassin: I'm leaving.


Top
 Profile  
 
PostPosted: August 10th, 2010, 2:51 am 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3815
Location: JEW LAND
Well I finaly got a chance to use it.. and it does fix the number yet it does alot of errors. "missing ).. syntax error" I can fix it sure.. but its the same as just fixing the hex number themselves.

_________________
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: August 10th, 2010, 3:02 am 
Offline
Grammar King
User avatar

Joined: June 22nd, 2008, 10:11 pm
Posts: 2410
Location: Mostly USEast
Title: Worst human for 4eva
Meh, it never changed any parenthesis for me.

You could just not Vex Optimize your script ;).

_________________
Quote:
(20:53:52) Bartimaeus: Thank you, Jen.
(20:53:56) Bartimaeus: Truly, you are wise.


Quote:
(23:44:12) Bartimaeus: I was in pubic school until middle school...


Learn how to extract and read RAW Codes here!

Need help? Click here and ask your question!


Top
 Profile  
 
PostPosted: August 11th, 2010, 9:57 am 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3815
Location: JEW LAND
As if I'm the on doing so :)
tough never mind I did it manually..

_________________
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: August 13th, 2010, 11:07 am 
Offline
Senior Member

Joined: March 27th, 2010, 2:32 pm
Posts: 136
haxorico wrote:
Well I finaly got a chance to use it.. and it does fix the number yet it does alot of errors. "missing ).. syntax error" I can fix it sure.. but its the same as just fixing the hex number themselves.

You should have downloaded the 1.0.1 from the main download (mirror is still 1.0.0, I believe).


Top
 Profile  
 
PostPosted: September 12th, 2010, 12:01 am 
Offline
Super Moderator
User avatar

Joined: February 24th, 2009, 1:31 pm
Posts: 3815
Location: JEW LAND
Well, its the first time Ive had this problem.
when there is a constant variable it doesn't delete the letter. ex:
Code:
globals
constant integer test = $A
endglobals

will turn into
Code:
globals
constant integer test = 10A
endglobals

So it doe's delete the $ and converts to decimal digit, yet the hex character remains, but if its $FA it will be 250A. so F aint there anymore yet A is.

I made sure and re-downloaded the tool again (not attachment.. download link) and it says in the rar its 1.0.1.

_________________
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: February 14th, 2011, 3:54 am 
Offline
Newcomer

Joined: October 15th, 2010, 11:47 am
Posts: 7
I think 1.0.1 have bug too ($A->10A)
My bad english sorry :(


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 15 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)