Jump to content
MakeWebGames

Recommended Posts

Posted

Hi i was wondering if anyone had any advice on using flash chat on an mccode v2 game i folllow all the instructions and it installs fine and works brilliantly that bad thing is that it stops my game from working and i get a query error any help would gratefully be apreciated

Posted

Re: Help with flash chat v474

Yeah im using xat at the moment but i really like the look of flash chat v474 so iwas wondering if anyone else had used it and any problems they encountered

Posted

Re: Help with flash chat v474

Anyway back to the original topic this is the error that i get when flashchat is installed

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 SELECT u.*,us.*,h.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN houses h ON h.hWILL=u.maxwill WHERE u.userid=

Posted

Re: Help with flash chat v474

I assume on that query your useing $userid

Make sure that globals is on that page..

 

global $db, $userid;

if thats not there. it will not know what $userid is therefor have a blank userid like that.

Posted

Re: Help with flash chat v474

Yeah Im not that uselless lol ive sorted it now instead of users having to register with the chat site (which was where the problem was) its now intergrated into the game userlist :-D

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