Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-22-2015, 09:28 PM
Trackye
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default instanceid VS instance_id

It appears that in the source at times Instance_id is used and other times Instanceid.

My world sometimes throws up the error
Unknown column 'instanceid' in WHERE clause
SELECT id, charid FROM character_corpses WHERE instanceid = xx

Looking at the Database Character_corpses uses instance_id but it seems the server in this case is looking for the old format of instanceid.

Just a heads up.
Reply With Quote
  #2  
Old 09-22-2015, 09:48 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

A quick grepwin review only showed the one instance of this:
https://github.com/EQEmu/Server/blob...nture.cpp#L386

- I don't have commit access atm...
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #3  
Old 09-23-2015, 01:38 AM
AdrianD
Discordant
 
Join Date: Dec 2013
Posts: 297
Default

I've noticed the source doesn't use underscores when referring to the database. When the source queries the database then, it should be in line with it. Please correct me if I'm mistaken.

It looks like a typo.
Reply With Quote
  #4  
Old 09-23-2015, 11:28 AM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

There were player profile and database accessor changes that occurred at roughly the same time.

TBH, we've had very few issues from either system individually..much less both being co-deployed.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
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 09:38 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