Jump to content
MakeWebGames

Recommended Posts

Posted

My staff_items dont work a error comes and this staff_items if from the bracelet,helmet,rings etc topic and this doesnt seem to work and gives a big error .. so i would be truely gratefull if anybody could post a working version of this :oops:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: Staff Items V2 Help

 

What is the Error?

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 ' , , , , )' at line 1

Query was INSERT INTO items VALUES('',10,'Test','Test',8888,888,1, '0', 'a:4:{s:4:"stat";s:6:"energy";s:3:"dir";s:3:"pos";s:8:"inc_type";s:6:"figure";s:10:"inc_amount";i:0;}', '0', 'a:4:{s:4:"stat";s:6:"energy";s:3:"dir";s:3:"pos";s:8:"inc_type";s:6:"figure";s:10:"inc_amount";i:0;}', '0', 'a:4:{s:4:"stat";s:6:"energy";s:3:"dir";s:3:"pos";s:8:"inc_type";s:6:"figure";s:10:"inc_amount";i:0;}', 8, 8, , , , , , )

  • 2 months later...
Posted

Re: Staff Items V2 Help

my verison works perfectly on my game...

NOTE: i edited this abit, as it has some my mods on it lol. so if u get any errors, feel free to post the problem on here lol.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: Staff Items V2 Help

 

my verison works perfectly on my game...

NOTE: i edited this abit, as it has some my mods on it lol. so if u get any errors, feel free to post the problem on here lol.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Thanks but that didnt help wrong document lol.

We are needing help solving the mysql errors, for the armour,weapons,boots,helmet,and the rest....

I think it has something to do with the tables in mysql, read it had something to do with having more then 4 item tables, but that isnt right because i have exactly 4 and it still saying the same error. :|

Posted

Re: Staff Items V2 Help

Ok finally fixed this dang code lol. Brackets were missing in the query area, that looked similar to this..

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

the fixed one is...

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

There is another query you might want to fix also adding the brackets on helmet,boots,amulet,braclet,ring,special.

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