here is my problem
Code:
Wed Feb 04 23:21:28 2009 [INFO]: osRose Revision 80
Wed Feb 04 23:21:28 2009 [INFO]: Autosaving Every 2 minutes
Wed Feb 04 23:21:28 2009 [INFO]: Connecting to MySQL
Wed Feb 04 23:21:28 2009 [INFO]: SQL timeout set to 2678400 seconds
Wed Feb 04 23:21:28 2009 [INFO]: Connected to MySQL server
Wed Feb 04 23:21:28 2009 [INFO]: Map 11 is CF mode 1 !
Wed Feb 04 23:21:28 2009 [INFO]: Map 12 is CF mode 1 !
Wed Feb 04 23:21:28 2009 [INFO]: Map 13 is CF mode 1 !
Wed Feb 04 23:21:28 2009 [FATAL ERROR]: Could not execute query: You have an err
or in your SQL syntax; check the manual that corresponds to your MySQL server ve
rsion for the right syntax to use near 'range,target,power,duration,mp, success,
weapon,class,rskills,lskills,buff1,buffv' at line 1

Originally Posted by
Purpleyouko
look at what you have written here
DB->QStore("SELECT id,level,sp'range'type,target,power,duration,mp,
I see your problem problem?
You have no commas before and after 'range'
try this instead
DB->QStore("SELECT id,level,sp,'range',type,target,power,duration,mp,
size increased for ease of reading

purple i have the same problem as he is.
i put as wat u say. but still the cant.
Code:
Log( MSG_LOAD, "Skills data" );
MYSQL_ROW row;
MYSQL_RES *result = DB->QStore("SELECT id,level,sp,type,'range',target,power,duration,mp, success,weapon,class,rskills,lskills,buff1,buffv11,buffv12, buff2,buffv21,buffv22,buff3,buffv31,buffv***clevel,aoe,aoeradius,script,value1 FROM skills_data order by id");
if(result==NULL) return false;
while( row = mysql_fetch_row(result) )