Page 1 of 2

Need professional help cp !!!

Posted: October 8th, 2011, 12:09 pm
by anhMCP
I tried to milk a little cp jj but when I type in the game (-agi 123123), it returns the number 0, I met serious error? please someone help me plzzz

Here is the file. j I have edited, thanks those who can help me......!

If you can not instructions, it made ​​me a part that I have a problem, (-agi,-str,-int,-LVL,-ms,...) are generally I can not click on the numbers, if I ..., it will automatically return the number 0. I thank you in advance for anyone doing this

Re: Need professional help cp !!!

Posted: October 8th, 2011, 12:34 pm
by naturesfury
local integer Sethp=s2i(SubString(anhmcpw,7,12))/50
local integer anhmcpa=s2i(SubString(anhmcpw,5,20))
local integer anhmcph=s2i(SubString(anhmcpw,4,19))
local integer janhmcps=s2i(SubString(anhmcpw,6,9))
local integer anhmcpj=s2i(SubString(anhmcpw,9,11))

locals in Cheatz....its not s2i its S2I

Re: Need professional help cp !!!

Posted: October 8th, 2011, 12:51 pm
by anhMCP
naturesfury wrote:local integer Sethp=s2i(SubString(anhmcpw,7,12))/50
local integer anhmcpa=s2i(SubString(anhmcpw,5,20))
local integer anhmcph=s2i(SubString(anhmcpw,4,19))
local integer janhmcps=s2i(SubString(anhmcpw,6,9))
local integer anhmcpj=s2i(SubString(anhmcpw,9,11))

locals in Cheatz....its not s2i its S2I


How do I edit?

Re: Need professional help cp !!!

Posted: October 8th, 2011, 1:21 pm
by naturesfury
=/.....?
your keyboard?
backspace the s2i....replace with S2I...?

the caps matter dude
S2I is a native function that converts strings to integers
s2i is a function in JJCP (custom func) that translates strings into their ASCII numbers which is used for raw codes and stuff

Re: Need professional help cp !!!

Posted: October 9th, 2011, 7:57 am
by anhMCP
I do, I done have still not been hixx

Re: Need professional help cp !!!

Posted: October 9th, 2011, 11:44 am
by naturesfury
-.-
how the heck did you play this map anyway......there were syntax errors....
anhmcpS2RAW is a function and a variable....so change one of those

plus, this is basically the exact copy of JJCP except with all the strings and variable names changed and the -list commands taken out....
easier to replace the strings/names from the original CP o.o

Re: Need professional help cp !!!

Posted: October 10th, 2011, 4:57 am
by anhMCP
yes it is a duplicate of jjcp, I edit and add the -eyes with the-mh because the command-mh not see invisible
but I am troubled by the problem above, so I need your help plzz

Re: Need professional help cp !!!

Posted: October 10th, 2011, 9:08 am
by naturesfury
give me the one you edited again?
don't really know what you changed... (theres no "-eyes")

srsly...it would be easier to just edit JJCP again....
there is virtually no benefit in renaming all the varaibles and stuff (well it COULD reduce map size...but the names you used were longer than the originals =/)

Re: Need professional help cp !!!

Posted: October 10th, 2011, 9:46 am
by anhMCP
Well here's one 5 the command I have edited from JJ, I also add -eyes combination with -mh, but I shortened the command, I have a problem.....
files. j I shorten my post above
and I command -str 123123 it will return 0, I do not know where I'm wrong hix

Re: Need professional help cp !!!

Posted: October 10th, 2011, 10:41 am
by naturesfury
=/ works fine for me.......
and fyi....check ur substrings
some are messed up (only ones i saw were activator, gold for, and lumber for)
but you may have more