players SET level = 1, maglevel = 0, experience = 0, health = 150, healthmax = 150, mana = 0, manamax = 0, conditions = NULL, soul = 100, cap = 400, posx = 0, posy = 0, posz = 0, town_id = 2, lastlogin = 0, lastip = 0, skull = 0, skulltime = 0, rank_id = 0, blessings = 0")WHERE clause.UPDATE `players` SET experience = 0 WHERE id = "1";
#Query OK, 0 rows affected (0.001 sec)
#Rows matched: 1 Changed: 0 Warnings: 0
UPDATE `players` SET experience = 0 WHERE name = "Account Manager";
#Query OK, 0 rows affected (0.001 sec)
#Rows matched: 1 Changed: 0 Warnings: 0
local target = db.getResult("SELECT `name`, `id` FROM `players` WHERE `name` = " .. db.escapeString(getPlayerName(cid)) .. ";")
-- Rook system
useRookSystem = false
rookTownId = 1
rookLevelToGetRooked = 5
rookLevelToLeaveRook = 8
ROOK_LEVELTO which player.cpp uses.name = (???)db.query("UPDATE players SET level = 1, maglevel = 0, experience = 0, health = 150, healthmax = 150, mana = 0, manamax = 0, conditions = NULL, soul = 100, cap = 400, posx = 0, posy = 0, posz = 0, town_id = 2, lastlogin = 0, lastip = 0, skull = 0, skulltime = 0, rank_id = 0, blessings = 0")