[Help]Adding Column in Cq_user

01/07/2014 14:54 .Horror.#1
Ok so i thought that adding a column in cq_user labeling it "questname" so when you do the quest using the 1001 type adding 1 to the column so that the npc can keep you from doing the quest again , but when i do the quest it doesnt add anything to the column.
This is the line in cq_action ( yes its in cq_task)
~Your Horrors
01/07/2014 15:09 funhacker#2
Quote:
Originally Posted by .Horror. View Post
Ok so i thought that adding a column in cq_user labeling it "questname" so when you do the quest using the 1001 type adding 1 to the column so that the npc can keep you from doing the quest again , but when i do the quest it doesnt add anything to the column.
This is the line in cq_action ( yes its in cq_task)
~Your Horrors
I'd say that the 1001 - 0 - "FieldName operator value" doesn't work how you expect it. It would be that "Field name" is actually a enumerated set of values. Meaning that there is a predefined list of fields that can be edited hardcoded into the server software. Adding fields to the tables won't change this.
I am certain of this because the majority of queries that the server does is done by "field index" and not field name. meaning that the tables' fields could have any name and they will still work.
01/07/2014 15:17 .Horror.#3
Not quite sure im catching on , your saying its not adding because the other tables that do work with the 1001 type , are hardened into the software?
~Your Horrors
01/08/2014 09:45 cruey#4
Hes saying you can't make a new operator for the 1001 action type. In simple terms, the operators like "life, level, mana, etc" are already hard-coded into the server programs.
01/08/2014 15:04 .Horror.#5
ohhh ok , thank you both :)
~Your Horrors