View Single Post
  #2  
Old 07-14-2016, 12:49 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

There could be one or more issues at work here.

I'm pushing a fix for both case scenarios:

- No task values due to an empty task list (creating an invalid query fragment)

- Order of precedence issue regarding an unscoped, inline conditional check next to an overloaded bitwise operator ('<<' is processed before '?')
Code:
queryStream << i ? StringFormat("taskid = %i ", tasksDisabled[i]): StringFormat("OR taskid = %i ", tasksDisabled[i]);

You can either pull in the latest repo and update your database..

..or click on the link below and apply the changes there manually to your server code - if you don't want to update your code.

commit link: https://github.com/EQEmu/Server/comm...a2c5782a34f38d
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote