wc3edit.net https://forum.wc3edit.net/ |
|
[JJ's CP, single player and rawcode] master crafter 2.4 http://forum.wc3edit.net/broken-fulfilled-f74/master-crafter-2-4-t6943-10.html |
Page 2 of 3 |
Author: | Kryptonyte [ September 8th, 2008, 1:35 am ] |
Post subject: | Re: [JJ's CP, single player and rawcode] master crafter 2.4 |
Are you doing.... -additem ###? Such as.... -additem 40 |
Author: | mickaboy72 [ September 8th, 2008, 2:07 am ] |
Post subject: | Re: [JJ's CP, single player and rawcode] master crafter 2.4 |
heyitsmexd wrote: I dont think the -additem works. i think... try the -spawn (item id) |
Author: | heyitsmexd [ September 8th, 2008, 2:16 am ] |
Post subject: | Re: [JJ's CP, single player and rawcode] master crafter 2.4 |
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. |
Author: | Kryptonyte [ September 8th, 2008, 2:18 am ] |
Post subject: | Re: [JJ's CP, single player and rawcode] master crafter 2.4 |
lmao. dude, it's a capital i and it's -spawn |
Author: | heyitsmexd [ September 8th, 2008, 2:34 am ] |
Post subject: | Re: [JJ's CP, single player and rawcode] master crafter 2.4 |
OH lol. I've been doing lowercase L's. |
Author: | mickaboy72 [ September 13th, 2008, 12:27 am ] |
Post subject: | Re: [JJ's CP, single player and rawcode] master crafter 2.4 |
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) |
Author: | Kryptonyte [ September 13th, 2008, 12:40 am ] |
Post subject: | Re: [JJ's CP, single player and rawcode] master crafter 2.4 |
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? |
Author: | kakbkc [ September 17th, 2008, 9:29 pm ] |
Post subject: | Re: [JJ's CP, single player and rawcode] master crafter 2.4 |
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
|
Author: | kenntaki [ November 10th, 2009, 6:07 am ] |
Post subject: | Re: [JJ's CP, single player and rawcode] master crafter 2.4 |
is this final conquest??? |
Author: | UndeadxAssassin [ November 10th, 2009, 6:54 pm ] |
Post subject: | Re: [JJ's CP, single player and rawcode] master crafter 2.4 |
...No? This is master crafter...I am so confused now... |
Page 2 of 3 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |