[04/03/2009 21:01:12] Failed reconnecting to database - MYSQL ERROR: Lost connection to MySQL server during query
[04/03/2009 21:01:12] mysql_real_query(): UPDATE `accounts` SET `premdays` = 0, `warnings` = 0, `lastday` = 1236218472 WHERE `id` = 4687686 - MYSQL ERROR: Lost connection to MySQL server during query
[04/03/2009 21:01:12] > ERROR: Failed to save account: 4687686!
Help me please :/!!
next bug:
mysql_store_result(): SELECT `expires` FROM `bans` WHERE `type` = 1 AND ((3651903700 & 4294967295 & `param`) = (`value` & `param` & 4294967295)) AND `active` = 1;: MYSQL ERROR:
Elf already fixed that bug, but he's too "lazy" (don't take this offensive) to release RC2.
When you edit a knights magic level to 15+ it stops working! If you make it to say 45% till magic level 16 and then you say a spell it wipes mana used and starts you at 100% till 16. It all works fine till you hit ml 15, sometimes itll even say ml 91 instead of 15 (even though its 15 everywhere else, just wrong on the character)
A little help please? =\
He has fixed it? What's the solution? Where is the error?
[05/03/2009 17:08:20] Failed reconnecting to database - MYSQL ERROR: Lost connection to MySQL server during query
[05/03/2009 17:08:20] mysql_real_query(): SELECT `expires` FROM `bans` WHERE `type` = 1 AND ((2436835006 & 4294967295 & `param`) = (`value` & `param` & 4294967295)) AND `active` = 1;: MYSQL ERROR: Lost connection to MySQL server during query
Sorry guys, but just finished a serious issue fix.. Now there's only one crashbug left, which I hope, I'll get removed till Sunday. Anyway, if theree won't be any huge changes at OT, 0.3.2 should be released this Sunday.
I've found another bug
You can have a PZ on your GM XDDD
If you use field for example energy field on your gm (the energy field will be under the gm) then you will have a PZ
and btw: you can't attack players on gm ;s
I have a question can someone script me a manarune THATS WORKING for this server?
Please... all players are asking for this shit ;(
*I searched already 9 times in a row or more so dont tell me that I should search this script*
local ultimateMana = 2281
local ultimateHealth = 2307
local ultimateSpirit = 2298
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE)
function onUse(cid, item, fromPosition, itemEx, toPosition)
local var = numberToVariant(cid)
local level = getPlayerLevel(cid)
local mag = getPlayerMagLevel(cid)
local healthmin = level*6.5
local healthmax = level*7
local manamin = (level/2.5)+(mag*2)
local manamax = (level/2)+(mag*2.5)
local spiritminmana = mag*2.2+level/2.5
local spiritmaxmana = mag*2.3+level/2.1
local spiritmaxhp = level*3.2
local spiritminhp = level*2.1
if itemEx.uid ~= cid or itemEx.itemid ~= 1 then
return TRUE
end
if(item.itemid == ultimateHealth) then
if (getPlayerLevel(cid) < 125) then
doCreatureSay(cid, "This potion can only be consumed by players of level 125 or higher.", TALKTYPE_ORANGE_1)
return TRUE
end
if(doTargetCombatHealth(0, cid, COMBAT_HEALING, healthmin, healthmax, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then
return FALSE
end
--doCreatureSay(cid, "Aaaah...", TALKTYPE_ORANGE_1)
doTransformItem(item.uid, ultimateHealth)
doCombat(cid,combat,var)
elseif(item.itemid == ultimateMana) then
if (getPlayerLevel(cid) < 125) then
doCreatureSay(cid, "This potion can only be consumed by players of level 125 or higher.", TALKTYPE_ORANGE_1)
return TRUE
end
if(doTargetCombatMana(0, cid, manamin, manamax, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then
return FALSE
end
--doCreatureSay(cid, "Aaaah...", TALKTYPE_ORANGE_1)
doTransformItem(item.uid, ultimateMana)
elseif(item.itemid == ultimateSpirit) then
if (getPlayerLevel(cid) < 125) then
doCreatureSay(cid, "This potion can only be consumed by players of level 125 or higher.", TALKTYPE_ORANGE_1)
return TRUE
end
if(doTargetCombatHealth(0, cid, COMBAT_HEALING, spiritminhp, spiritmaxhp, CONST_ME_MAGIC_BLUE) == LUA_ERROR or doTargetCombatMana(0, cid, spiritminmana, spiritmaxmana, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then
return FALSE
end
--doCreatureSay(cid, "Aaaah...", TALKTYPE_ORANGE_1)
doTransformItem(item.uid, ultimateSpirit)
doCombat(cid,combat,var)
end
return TRUE
end
also cures paralyze on the other runesPHP:local ultimateMana = 2281 local ultimateHealth = 2307 local ultimateSpirit = 2298 local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE) function onUse(cid, item, fromPosition, itemEx, toPosition) local var = numberToVariant(cid) local level = getPlayerLevel(cid) local mag = getPlayerMagLevel(cid) local healthmin = level*6.5 local healthmax = level*7 local manamin = (level/2.5)+(mag*2) local manamax = (level/2)+(mag*2.5) local spiritminmana = mag*2.2+level/2.5 local spiritmaxmana = mag*2.3+level/2.1 local spiritmaxhp = level*3.2 local spiritminhp = level*2.1 if itemEx.uid ~= cid or itemEx.itemid ~= 1 then return TRUE end if(item.itemid == ultimateHealth) then if (getPlayerLevel(cid) < 125) then doCreatureSay(cid, "This potion can only be consumed by players of level 125 or higher.", TALKTYPE_ORANGE_1) return TRUE end if(doTargetCombatHealth(0, cid, COMBAT_HEALING, healthmin, healthmax, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then return FALSE end --doCreatureSay(cid, "Aaaah...", TALKTYPE_ORANGE_1) doTransformItem(item.uid, ultimateHealth) doCombat(cid,combat,var) elseif(item.itemid == ultimateMana) then if (getPlayerLevel(cid) < 125) then doCreatureSay(cid, "This potion can only be consumed by players of level 125 or higher.", TALKTYPE_ORANGE_1) return TRUE end if(doTargetCombatMana(0, cid, manamin, manamax, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then return FALSE end --doCreatureSay(cid, "Aaaah...", TALKTYPE_ORANGE_1) doTransformItem(item.uid, ultimateMana) elseif(item.itemid == ultimateSpirit) then if (getPlayerLevel(cid) < 125) then doCreatureSay(cid, "This potion can only be consumed by players of level 125 or higher.", TALKTYPE_ORANGE_1) return TRUE end if(doTargetCombatHealth(0, cid, COMBAT_HEALING, spiritminhp, spiritmaxhp, CONST_ME_MAGIC_BLUE) == LUA_ERROR or doTargetCombatMana(0, cid, spiritminmana, spiritmaxmana, CONST_ME_MAGIC_BLUE) == LUA_ERROR) then return FALSE end --doCreatureSay(cid, "Aaaah...", TALKTYPE_ORANGE_1) doTransformItem(item.uid, ultimateSpirit) doCombat(cid,combat,var) end return TRUE end
this is what i use for my server (it controls 3 different runes)