Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-16-2016, 08:57 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default Character Bind Source write issue

Hi all,

So I took a few months off and I come back and update to newest source and and all that jazz, With default everything I am getting a SQL write error on the character_binds table.

I looked at my old one and at the new one and the columns have changed. I have tried using all defaults and everything, of course all updates done through the world.exe

It has the new column named slot and my source does not want to write to it nor recognize it. I tried searching but came up with nothing under character_bind

Any known fix?

Thanks all
__________________
Reply With Quote
  #2  
Old 07-16-2016, 09:07 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

So, your source code is using the new table and your database has the new table..but, you are getting an error when writing to it?

Can you post the error that MySQL is kicking out?
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #3  
Old 07-16-2016, 09:14 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

nevermind, I guess I had some old restored DB saves in there and they are not compatable. So 100% default works, anyway around using 100% default bc now ill have to go back and do all my edits all over again :(
__________________
Reply With Quote
  #4  
Old 07-16-2016, 09:15 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

Code:
[07-16-2016 :: 17:32:38] [MySQL Error] 1064: 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 
 REPLACE INTO `character_bind` (id, zone_id, instance_id, x, y, z, heading, slot) VALUES (6292724, 6292688, 6292652, 0.000000, 0.000000, 0.000000, 0.000000, 1077870592), (0, 0, 0, 0.000000, 0.000000, 0.000000, 0.000000, 1077870592), 
[07-16-2016 :: 17:32:38] [MySQL Error] 1054: Unknown column 'slot' in 'field list' 
 SELECT `zone_id`, `instance_id`, `x`, `y`, `z`, `heading`, `slot` FROM `character_bind`  WHERE `id` = 6 LIMIT 5
was the error I was getting, I really don't wanna have to edit stuff again lol
__________________
Reply With Quote
  #5  
Old 07-17-2016, 01:00 AM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

Ok I guess I was wrong, it still is messed up. I downloaded the source again and peqbeta, rebuilt everything, 0 errors on the compile, pushed 3 on the world bootup to patch the sql, pushed 3 a few times to make sure it all got updated.

I make the 1st character on the server and I get no errors.

After I make the 2nd character I get this error and any character after

Code:
[07-16-2016 :: 21:53:24] [World Server] Found 'TitaniumStartZoneID' rule setting: -1
[07-16-2016 :: 21:53:24] [Status] SoF Start zone query: SELECT x, y, z, heading, start_zone, bind_id FROM start_zones WHERE zone_id = 9 AND player_class = 4 AND player_deity = 215 AND player_race = 4

[07-16-2016 :: 21:53:24] [MySQL Error] 1064: 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 
 REPLACE INTO `character_bind` (id, zone_id, instance_id, x, y, z, heading, slot) VALUES (6161652, 6161616, 6161580, 0.000000, 0.000000, 0.000000, 0.000000, 0), (0, 0, 0, 0.000000, 0.000000, 0.000000, 0.000000, 0),
The only thing I changed was tutorial start zone to -1 and I also tried 0.

EDIT : I dunno its weird, I test dieing and it still works but I keep getting that error everytime I make a character.

EDIT : It also puts in 5 entries per character in character_binds.
__________________
Reply With Quote
  #6  
Old 07-17-2016, 03:11 AM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

Maybe its a titanium thing?
__________________
Reply With Quote
  #7  
Old 07-17-2016, 09:57 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

Quote:
Originally Posted by Figback65 View Post
EDIT : It also puts in 5 entries per character in character_binds.
This is on purpose. Every toon has 5 binds.
Reply With Quote
  #8  
Old 07-17-2016, 10:52 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

This issue should be fixed.
Reply With Quote
  #9  
Old 07-19-2016, 04:48 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

Ya, I dunno Demon. I redownloaded all the source a few times, recompiled a few times, always 0 errors, sourced in latest peqbeta and playertables, like always, configured the config file, start up the server, see it on server list, connect to it, make a toon and check logs in the cmd prompt windows and boom sql writing error lol
__________________
Reply With Quote
  #10  
Old 07-19-2016, 04:57 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Post the new error that you received, if you would.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #11  
Old 07-20-2016, 04:15 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

I will do that today, I formatted my server to clean out any issues. I will reinstall everything and not even move any backups or anything old to X out any conflicts and then I will post.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:36 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3