Jump to content

Question

5 answers to this question

Recommended Posts

Posted (edited)

Thanks ;]

Hey, while running the generated script for item_db, I stumbled upon a syntax error. Apparently this line of the item_db is causing some errors.

I looked at the line, and I found out there's a colon (70:105). I think that may be the cause

item_db.txt line

1231,Bazerald,Bazerald,4,20,,500,70:105,,1,0,0x028F5EEE,7,2,2,4,36,1,1,{ bonus bAtkEle,Ele_Fire; bonus bInt,5; },{},{}

MySQL error

0	21:23:04	REPLACE INTO `item_db` VALUES (1231,'Bazerald','Bazerald',4,20,NULL,500,70:105,NULL,1,0,0x028F5EEE,7,2,2,4,36,1,1,' bonus bAtkEle,Ele_Fire; bonus bInt,5; ',NULL,NULL)	Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':105,NULL,1,0,0x028F5EEE,7,2,2,4,36,1,1,' bonus bAtkEle,Ele_Fire; bonus bInt,5; ' at line 1

How can I fix that?

Edited by megablox
Posted (edited)

I updated it, seems to work now. Thanks !

Stumbled upon another problem: it appears it's putting double backslashes (\) when it should be a single one.

This happens near " 's ", and causes a syntax error.

Edited by megablox

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...