Fixed. Thanks Blure :)
Fixed. Thanks Blure :)
Last edited by Aron123; 01-05-14 at 08:32 PM.
The keyboard change to 'QWERTY' has always been in WarRock since the start, I think the developers did this on purpose to avoid having issues with the config of players. (They shouldn't have done it like that but hey they are lazy).
I don't know why you get disconnected when you talk ingame but I think this is caused by a table that doesn't exist in the MySQL database.
You can see all the tables from the MySQL database over here http://prntscr.com/3eko9s
Nothing missing I guess...
Last edited by Aron123; 29-04-14 at 06:12 PM.
No server error?
Jup, there is no chatlog table, that's causing the disconnect.
So I only need to add a table called 'chatlog'? Or some special tables inside of it?
I don't have that table too but my chat is working, so I checked in the code and I find this in "HANDLE_CHAT.cs" file:
//DB.runQuery("INSERT INTO chatlogs (`userid`, `roomid`, `message`, `timestamp`) VALUES ('" + User.UserID + "', '" + ((User.Room == null) ? -1 : User.Room.ID) + "', '" + DB.Stripslash(sMessage) + "', '" + Program.currTimeStamp + "')");
I suppose this is the reason why, the code is commented out..
You could do the same in your code or create the table so that you can avoid the error, is up to you :)
I will try to add that code & make a table also :p Buth that is for tomorrow im not at my PC a.t.m.
you don't need to "add" that code, that code probably is already in your source, you need to comment it out
What do you mean with comment it out? :$
You should read this: http://msdn.microsoft.com/en-us/libr...(v=vs.71).aspx
I did that... http://prntscr.com/3erzfd still getting the same error.
You didn't comment it out. add // in front of that line & recompile your source code :).
Omg Im such a noob. I dont even know what recompile means -,-.
So, that will fix the bug? I dont think so D:
- - - Updated - - -
Made the table "Chatlogs", Still getting the same error.
Add my skype : Multincredibles
Solved.