Jump to content
  • 0

error:npc_parsesrcfile


v00m3r

Question


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  291
  • Reputation:   4
  • Joined:  04/24/12
  • Last Seen:  

do you know what will i do on this?

when i try to read this to the server

when i insert it to sql

Script line: 1  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 '//SQL Table for Ghost's PvP System
CREATE TABLE IF NOT EXISTS `pvp_rank` (
 `' at line 1

its the sql for pvp system by ghost http://pastebin.com/dEqrkczy

Edited by v00m3r
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   71
  • Joined:  11/08/11
  • Last Seen:  

just delete that line o_O

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  291
  • Reputation:   4
  • Joined:  04/24/12
  • Last Seen:  

just delete that line o_O

i already did that. its still shows error on line 1

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  547
  • Reputation:   270
  • Joined:  11/08/11
  • Last Seen:  

seems like a problem with the encoding. have you accidently saved the file as a unicode text file or something like that?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  291
  • Reputation:   4
  • Joined:  04/24/12
  • Last Seen:  

help guyz

Edited by v00m3r
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  130
  • Reputation:   43
  • Joined:  12/11/11
  • Last Seen:  

The main error is, like it says, a parsing error. It's not an error with the query but how it's written in the code.

The second error however is a sql error. I'm guessing there's a new line where there shouldn't be.

It would be easier to help if we had a file to look at, please paste it to http://www.upaste.me

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  291
  • Reputation:   4
  • Joined:  04/24/12
  • Last Seen:  

The main error is, like it says, a parsing error. It's not an error with the query but how it's written in the code.

The second error however is a sql error. I'm guessing there's a new line where there shouldn't be.

It would be easier to help if we had a file to look at, please paste it to http://www.upaste.me

--sorry for that. its the sql table for pvp system by ghost. here http://pastebin.com/dEqrkczy

anyone guyz help?

Link to comment
Share on other sites

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.

×
×
  • Create New...