EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Bugs (https://www.eqemulator.org/forums/forumdisplay.php?f=622)
-   -   [Bug + Patch][4.2] Zone.exe loading decaytime variables (https://www.eqemulator.org/forums/showthread.php?t=5481)

ElNounch 02-24-2003 07:10 AM

[Bug + Patch][4.2] Zone.exe loading decaytime variables
 
Hello,

In zone.cpp, function Database::GetDecayTimes, line 1011 (in 4.2 public source release :P) read :

Code:

if (RunQuery(query, MakeAnyLenString(&query, "SELECT varname, value FROM variables WHERE varname like 'decaytime%' ORDER BY varname"), errbuf, &result)) {
It should read :

Code:

if (RunQuery(query, MakeAnyLenString(&query, "SELECT varname, value FROM variables WHERE varname like 'decaytime%%' ORDER BY varname"), errbuf, &result)) {
with a double % in the LIKE section.

(not corrected in 4.3-DR version last time I checked in the binary release).

Have fun.


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

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