EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Bugs (https://www.eqemulator.org/forums/forumdisplay.php?f=622)
-   -   [4.4-cvs][patch] Some minor updates proposals (https://www.eqemulator.org/forums/showthread.php?t=6002)

ElNounch 03-16-2003 12:25 AM

[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.

Trumpcard 03-16-2003 01:24 AM

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


All times are GMT -4. The time now is 01:52 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.