Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Bugs

Archive::Bugs Archive area for Bugs's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-16-2003, 12:25 AM
ElNounch
Fire Beetle
 
Join Date: Feb 2003
Posts: 7
Default [4.4-cvs][patch] Some minor updates proposals

As of 15th March public NightDump.

zone/client.cpp
Correction of buffer1[] size in the MakeDoorSpawnPacket function
(Segfault on both Windows and Linux, but wrong anyway in the CVS for weeks, was corrected once but somehow broke again).

zone/spells.cpp
In function CalcEdibleBonuses, after the inventory scan for food and drink, food_inr and drink_inr might still be uninitialized but are used anyway.

zone/zone.cpp
The request in Database::GetDecayTimes() include a like 'decaytime%' string which is parsed further by vsnprintf() via the MakeAnyLenString function. %' format switch doesn't exist and might fail (it does with .Net libraries).
Corrected to %%'

I doubt anyone will either see this post, but at least it is not only on my harddrive anymore.
Reply With Quote
  #2  
Old 03-16-2003, 01:24 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

lol... thanks... I saw the uninitialized variables problem and fixed it in ST (I just initialzied them to 0, god bless gcc warnings)

I'll take a look at the other 2 and try to merge them in. Thanks for the updates
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
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 02:29 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