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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 02-27-2008, 08:35 AM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

Maybe, but I kinda don't think so. When I click on the book the zone short name actually comes back correctly and is passed correctly to the Database::GetZoneLongName method, so I think the door functionality part of it works fine. The problem comes in not getting a Long zone name back from the method call. I don't actually think there is something wrong with the code so much as it may actually be in the query due to my version of mysql, maybe. I'm using the latest I think, or very close. I'm hoping to do some debugging of the query call tonight to see exactly what it's getting. I have a work around in the code that actually makes it stop crashing the zone, but I'd like to figure out why I'm not getting the long names back.

I find it interesting that the call to Database::GetZoneLongName returns a boolean, but it's only related to the database query not the fact that there is a long name or not and that boolean value isn't checked for. It seems to me it should return false if there is no long name and then that value should be checked for before it proceeds to do anything with the value that may or may not have been returned. Or it could just simply return the value of the Long Name or some default. That way you always have at least "something" to use in further processing. Maybe if no Long Name is found just default to the short name? I don't know. I've only been looking at it a couple of days.
Reply With Quote
 


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 07:17 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