Probably sources limitation.With this distro, why can't I get spell exhaust to be less than 1 second? Or 0 exhaust for that matter. Even when setting exhaust to 200 or 0 in config.lua, it still has 1-2 seconds exhaust.
there is not a GUI version of OT if i'm not mistakenNice distro dude!!
just tell me, can you compile a GUI version of .exe ?
ty ^^
there is not a GUI version of OT if i'm not mistaken
Lua Script Error: [Spell Interface]
data/spells/scripts/party/focused mind.lua
popNumber (). Error: Expected an integer parameter.
local conditionAttrib = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam{conditionAttrib, CONDITION_PARAM_TICKS, 10000}
setConditionParam{conditionAttrib, CONDITION_PARAM_SKILL_MAGICLEVEL, 115}
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam{combat, COMBAT_PARAM_AGGRESSIVE, 0}
setCombatCondition(combat, conditionAttrib)
function onCastSpell(cid, var)
if(doCombat(cid, combat, var) == LUA_NO_ERROR) then
return LUA_NO_ERROR
end
return LUA_NO_ERROR
end
Hello, so I have a little problem that would be awesome if you could help me with, Pietia.
I was using Mystic Spirit .2.10 before i switch to OTServ, (mystic spirit sux), but i have this problem with all my custom buff spells.
:S the spells work fine, but this error shows on all of them when i turn on the server... does anyone know how to fix?
script:
Lua:local conditionAttrib = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam{conditionAttrib, CONDITION_PARAM_TICKS, 10000} setConditionParam{conditionAttrib, CONDITION_PARAM_SKILL_MAGICLEVEL, 115} local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam{combat, COMBAT_PARAM_AGGRESSIVE, 0} setCombatCondition(combat, conditionAttrib) function onCastSpell(cid, var) if(doCombat(cid, combat, var) == LUA_NO_ERROR) then return LUA_NO_ERROR end return LUA_NO_ERROR end
ty if you can fix it.
local conditionAttrib = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(conditionAttrib, CONDITION_PARAM_TICKS, 10000)
setConditionParam(conditionAttrib, CONDITION_PARAM_SKILL_MAGICLEVEL, 115)
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
setCombatCondition(combat, conditionAttrib)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
how i get an AAC (modern or Gesior) work with this server?
3 ° It is also possible to add database to phpmyadmin.
do you know how to fix it?-- SQL type
-- options: mysql, sqlite, odbc or pgsql
sql_type = "mysql"
-- SQL connection part
sql_db = "db.s3db"
-- sql_db = "otserv" -- use this for MySQL/PgSQL
-- sql_db = "Your Source" -- ODBC
-- Additional connection settings for mysql, pgsql and odbc
sql_host = "localhost"
sql_port = 3306
--- sql_port = 5432 -- use this for PgSQL
sql_user = "Otera"
sql_pass = "***"
Then it's probably not the server for you ;\i do not understand nothing of this OtServ.