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 02-24-2010, 04:24 PM
Eva Aisling
Sarnak
 
Join Date: Feb 2010
Posts: 49
Default

Thanks! That got rid of the first error, but I still have these:

ERROR 1064 (42000): 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 'IF NO
T EXISTS `vwGuildMembers` AS
select 'C' as mobtype,
cm.char_id,
cm.guild_' at line 1
Query OK, 0 rows affected, 1 warning (0.00 sec)

ERROR 1064 (42000): 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 'IF NO
T EXISTS `vwBotCharacterMobs` AS
select 'C' as mobtype,
c.id,
c.name,
c.c' at line 1


I'm scanning the manual right now, but I honestly have no idea what I'm looking for.
Reply With Quote
  #2  
Old 02-24-2010, 04:28 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Edit your bots.sql and wherever you see CREATE VIEW IF NOT EXISTS (I think there are only two occurrences of it), change it to CREATE VIEW (i.e. drop the IF NOT EXISTS clause).
Reply With Quote
  #3  
Old 02-24-2010, 04:46 PM
Eva Aisling
Sarnak
 
Join Date: Feb 2010
Posts: 49
Default

That worked on the next 2 errors. Thank you!

Now I have a new error:

ERROR 1146 (42S02): Table 'peq.botguildmembers' doesn't exist
Query OK, 0 rows affected, 1 warning (0.00 sec)

EDIT: I opened load_bots.sql and moved the line "source player_tables/botguildmembers.sql;" to the top of list above "source player_tables/bots.sql;" and it works! Thanks so much for help guys!
Reply With Quote
  #4  
Old 02-25-2010, 09:29 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

The correct order of statements in load_bots.sql appears as if it should be:
Code:
source player_tables/botguildmembers.sql;
source player_tables/bots.sql;
source player_tables/botadventuring.sql;
source player_tables/botbuffs.sql;
source player_tables/botpetstatepersists.sql;
source player_tables/botinventory.sql;
source player_tables/botgroups.sql;
Edit: Oops, didn't notice that you edited your last post to say that you already got it working
Reply With Quote
Reply

Thread Tools
Display Modes

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 09:12 PM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3