wc3edit.net

United Warcraft 3 map hacking!
It is currently October 21st, 2017, 3:59 pm

All times are UTC




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
PostPosted: September 8th, 2008, 1:35 am 
Offline
Forum Staff
User avatar

Joined: March 17th, 2008, 12:07 am
Posts: 1488
Are you doing....

-additem ###?
Such as....

-additem 40


Top
 Profile  
 
PostPosted: September 8th, 2008, 2:07 am 
Offline
Member

Joined: June 12th, 2008, 2:04 am
Posts: 98
heyitsmexd wrote:
I dont think the -additem works.


i think...
try the -spawn (item id)


Top
 Profile  
 
PostPosted: September 8th, 2008, 2:16 am 
Offline
Newcomer

Joined: September 7th, 2008, 3:29 am
Posts: 7
i tried
-additem l09U
-spawn l09U
-spa l09U
thats an example
l09U is a real code.
thats what i've been doing but never worked.


Top
 Profile  
 
PostPosted: September 8th, 2008, 2:18 am 
Offline
Forum Staff
User avatar

Joined: March 17th, 2008, 12:07 am
Posts: 1488
lmao.
dude, it's a capital i
and it's -spawn


Top
 Profile  
 
PostPosted: September 8th, 2008, 2:34 am 
Offline
Newcomer

Joined: September 7th, 2008, 3:29 am
Posts: 7
OH lol. I've been doing lowercase L's.


Top
 Profile  
 
PostPosted: September 13th, 2008, 12:27 am 
Offline
Member

Joined: June 12th, 2008, 2:04 am
Posts: 98
heyitsmexd wrote:
i tried
-additem l09U
-spawn l09U
-spa l09U
thats an example
l09U is a real code.
thats what i've been doing but never worked.


follow what the raw code is...
raw codes are case sensitive when using -spawn (item id)


Top
 Profile  
 
PostPosted: September 13th, 2008, 12:40 am 
Offline
Forum Staff
User avatar

Joined: March 17th, 2008, 12:07 am
Posts: 1488
mickaboy72 wrote:
heyitsmexd wrote:
i tried
-additem l09U
-spawn l09U
-spa l09U
thats an example
l09U is a real code.
thats what i've been doing but never worked.


follow what the raw code is...
raw codes are case sensitive when using -spawn (item id)

Dude... we solved it already...
...Learn to read the above?


Top
 Profile  
 
PostPosted: September 17th, 2008, 9:29 pm 
Offline
Newcomer

Joined: July 11th, 2008, 9:32 pm
Posts: 7
nicejob :)
guys any idea what -reg function does or how it works
and one more thing wouldn't it save the kid alot of time if ya filter the text file with RegEX?

edit :
i dont have the visual studio on this computer but this c# code should do the trick
//the sinput is easy to get via file.ReadToEnd()
//and soutput is very easy file.save save something dont remember

soutput = Regex.Replace(
sinput,
@"(\[(?<itemid>\S+)\])
(comment=(?<itemname>.+))
([^\[].*\n)*",
@"${itemid} - ${itemname}
");

would somebody be nice enf to run the code in c# on the textfile - the expression would do the rest. *hope string is big enf*

edi2 : string is real big
and the expression i used in the end was
@"\[(?<itemid>[^\]:]+)(:\S+)?\]
comment=(?<itemname>.+)
((?(Description=)((Description=)(?<itemdescription>.+))|([^\[].*))\n)*"
cuz there where items with same names , only to realise they had same description gah
oh and some more coding to get be in csv (u can open with excel...)
Attachment:
Master Crafter - RAWCODES.csv


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


Top
 Profile  
 
PostPosted: November 10th, 2009, 6:07 am 
Offline
Newcomer

Joined: October 29th, 2009, 8:17 am
Posts: 4
is this final conquest???


Top
 Profile  
 
PostPosted: November 10th, 2009, 6:54 pm 
Offline
Grammar King
User avatar

Joined: June 22nd, 2008, 10:11 pm
Posts: 2365
Location: Mostly USEast
Title: Worst human for 4eva
...No? This is master crafter...I am so confused now...


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

All times are UTC


Who is online

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