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