Page 2 of 3

Re: [JJ's CP, single player and rawcode] master crafter 2.4

Posted: September 8th, 2008, 1:35 am
by Kryptonyte
Are you doing....

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

-additem 40

Re: [JJ's CP, single player and rawcode] master crafter 2.4

Posted: September 8th, 2008, 2:07 am
by mickaboy72
heyitsmexd wrote:I dont think the -additem works.


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

Re: [JJ's CP, single player and rawcode] master crafter 2.4

Posted: September 8th, 2008, 2:16 am
by heyitsmexd
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.

Re: [JJ's CP, single player and rawcode] master crafter 2.4

Posted: September 8th, 2008, 2:18 am
by Kryptonyte
lmao.
dude, it's a capital i
and it's -spawn

Re: [JJ's CP, single player and rawcode] master crafter 2.4

Posted: September 8th, 2008, 2:34 am
by heyitsmexd
OH lol. I've been doing lowercase L's.

Re: [JJ's CP, single player and rawcode] master crafter 2.4

Posted: September 13th, 2008, 12:27 am
by mickaboy72
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)

Re: [JJ's CP, single player and rawcode] master crafter 2.4

Posted: September 13th, 2008, 12:40 am
by Kryptonyte
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?

Re: [JJ's CP, single player and rawcode] master crafter 2.4

Posted: September 17th, 2008, 9:29 pm
by kakbkc
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...)
Master Crafter - RAWCODES.csv

Re: [JJ's CP, single player and rawcode] master crafter 2.4

Posted: November 10th, 2009, 6:07 am
by kenntaki
is this final conquest???

Re: [JJ's CP, single player and rawcode] master crafter 2.4

Posted: November 10th, 2009, 6:54 pm
by UndeadxAssassin
...No? This is master crafter...I am so confused now...