Log in

View Full Version : [Bug + Patch][4.2] Zone.exe loading decaytime variables


ElNounch
02-24-2003, 07:10 AM
Hello,

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

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

It should read :

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.