[HELP] error with the GM code

11/27/2009 03:34 PraDevil[ELITE]#1
i have succesfully make a newitem..but i got error when use GM command to get it:D
im also have put all we need to client sides
can someone tell me how to do this..??
p/s:i dont make a action id..so can this work without action id..??
my item is casual

ops im forgot to put image..so here it is..

[Only registered and activated users can see links. Click Here To Register...]
11/27/2009 04:46 funhacker#2
If memory serves right that is to say it was unable to locate the item in the cq_itemtype
11/27/2009 06:48 PraDevil[ELITE]#3
i have put thier id into cq_itemtype without name there..can it work if i put on their name..?
11/27/2009 06:59 PraDevil[ELITE]#4
one more things is when i run a query to set their name it says like this..
p/s:im set name to Elitepvpers

1054 - Unknown column 'Elitepvpers' in 'field list'

whats this mean..??
11/27/2009 14:35 funhacker#5
This is because you did not use quotation marks/Apostrophes like this ' and/or "

The following are some examples of what will and will not work in TEXT fields like Name Param etc etc when writing an SQL script

'Elitepvpers'
Elitepvpers
"Elitepvpers'
"Elitepvpers"
'It's been said that this is wrong'
'It\'s been said using a backslash allows for Apostrophes'


Sorry just incase you do not realise

Green=Correct way to write
Red=InCorrect way to write
11/27/2009 15:35 PraDevil[ELITE]#6
how say if i cannot set all the item name etc..??
i run the query like this..this is true or not..?

Code:
update cq_itemtype set name=Elitepvpers where id=19xxxx;
11/27/2009 16:06 forcer#7
Quote:
Originally Posted by PraDevil View Post
how say if i cannot set all the item name etc..??
i run the query like this..this is true or not..?

Code:
update cq_itemtype set name=Elitepvpers where id=19xxxx;
OMFG.. funhacker just told you that you can't set the value of a column without quotes, and you AGAIN do the same mistake?
Code:
update cq_itemtype set name='Elitepvpers' where id=19xxxx;
11/27/2009 16:24 PraDevil[ELITE]#8
oh thx baby...but im also cannot use the GM command:D