View Single Post
  #1  
Old 02-24-2003, 07:10 AM
ElNounch
Fire Beetle
 
Join Date: Feb 2003
Posts: 7
Default [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.
Reply With Quote