Jump to content
MakeWebGames

Recommended Posts

Posted

everytime i try to create a crime in the staff panel i get a syntax error, and its just for creating crimes everything else works fine, heres an example of the probelm

 

QUERY ERROR: 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 ' 0, '1', 'You strole down to the park looking for some extra cash.', 'Success! Y' at line 1

Query was INSERT INTO crimes (crimeNAME, crimeBRAVE, crimePERCFORM, crimeSUCCESSMUNY, crimeSUCCESSCRYS, crimeSUCCESSITEM, crimeGROUP, crimeITEXT, crimeSTEXT, crimeFTEXT, crimeJTEXT, crimeJAILTIME, crimeJREASON, crimeXP) VALUES( 'Search The Park', '2', '((WILL*0.8)/2.5)+(LEVEL/4)', '12', , 0, '1', 'You strole down to the park looking for some extra cash.', 'Success! You found 12$ In the park!', 'Darn! You couldnt find anything.', 'Looks like youll be taking a visit to jail!', 1, 'Searching the park illegally', 3)

 

help is appreciated

  • 2 months later...
Posted

RE: Crime Creation Error [v2]

 

everytime i try to create a crime in the staff panel i get a syntax error, and its just for creating crimes everything else works fine, heres an example of the probelm

 

QUERY ERROR: 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 ' 0, '1', 'You strole down to the park looking for some extra cash.', 'Success! Y' at line 1

Query was INSERT INTO crimes (crimeNAME, crimeBRAVE, crimePERCFORM, crimeSUCCESSMUNY, crimeSUCCESSCRYS, crimeSUCCESSITEM, crimeGROUP, crimeITEXT, crimeSTEXT, crimeFTEXT, crimeJTEXT, crimeJAILTIME, crimeJREASON, crimeXP) VALUES( 'Search The Park', '2', '((WILL*0.8)/2.5)+(LEVEL/4)', '12', , 0, '1', 'You strole down to the park looking for some extra cash.', 'Success! You found 12$ In the park!', 'Darn! You couldnt find anything.', 'Looks like youll be taking a visit to jail!', 1, 'Searching the park illegally', 3)

 

help is appreciated

To Make The Crimes Be Created Every Line Must Be Filled In.....Even If It's Not Gonna Be Used....Points Given....All Non-Used Boxes Should Have 0 In Them

Join the conversation

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

Guest
Reply to this topic...

×   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...