tarantonio
Old School Player
- Joined
- Jun 21, 2009
- Messages
- 865
- Solutions
- 1
- Reaction score
- 274
Anyone with problems to use manafluids or runes on players or theirself? The issue is only with OTClient
Anyone with problems to use manafluids or runes on players or theirself? The issue is only with OTClient
UpPlease, anyone have the task script system that work using this engine? I just want a task script, not npcs modification, this i know do.
I can't get the exe to run with the provided database, just closes as soon as I open it. Can't even see the error it's throwing, but I can get it to launch(but not connect) with an old DB I've used. Been so long since I messed with OTs, I think I'm overlooking something easy.
i don't know the differences between tfs 0.4 and 1.2 but i did in this wayAnyone fixed the bug with exana pox? No work with the player walking...
void Player::onWalk(Direction& dir)
setNextAction(OTSYS_TIME() + getStepDuration(dir));
i don't know the differences between tfs 0.4 and 1.2 but i did in this way
in my 0.4 engine
search for something similitar to this: (player.cpp)
Code:void Player::onWalk(Direction& dir)
and find in the code something similar to this a commit it
Code:setNextAction(OTSYS_TIME() + getStepDuration(dir));
is not a real fix but it worked
i said that is not a real fix but it works and ofc it will change some things. but is not a big deal .. at least not for me.Do not consider this a fix, it will bring many other issues and behavior changes, I will commit a fix later today.
i don't know the differences between tfs 0.4 and 1.2 but i did in this way
in my 0.4 engine
search for something similitar to this: (player.cpp)
Code:void Player::onWalk(Direction& dir)
and find in the code something similar to this a commit it
Code:setNextAction(OTSYS_TIME() + getStepDuration(dir));
is not a real fix but it worked
local combat = Combat()
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
--combat:setParameter(COMBAT_PARAM_DISPEL, CONDITION_POISON)
combat:setParameter(COMBAT_PARAM_AGGRESSIVE, false)
function onCastSpell(creature, variant)
creature:removeCondition(CONDITION_POISON)
return combat:execute(creature, variant)
end
im astonished that maybe you found another solution.Code:local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) --combat:setParameter(COMBAT_PARAM_DISPEL, CONDITION_POISON) combat:setParameter(COMBAT_PARAM_AGGRESSIVE, false) function onCastSpell(creature, variant) creature:removeCondition(CONDITION_POISON) return combat:execute(creature, variant) end
im astonished that maybe you found another solution.
im not using this distro anyway, ill check that in the old tfs
i just was trying to help, nice one mate
but check what DISPEL function does again.
pathetic jajajaNo idea what the old line did, but found just using remove condition works well even when running.
does someone knows how to attack a entire stack with agressive rune like sd?
local area = {
{1},
}
local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_DEATH)
combat:setArea(createCombatArea(area))
function onGetFormulaValues(player, level, maglevel)
local base = 150
local variation = 20
local formula = 3 * maglevel + (2 * level)
local min = (formula * (base - variation)) / 100
local max = (formula * (base + variation)) / 100
return -min, -max
end
combat:setCallback(CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")
function onCastSpell(creature, variant, isHotkey)
return combat:execute(creature, variant)
end
pathetic jajaja
use your effort to learn instead of use it to search memes on google, buddy
atleast im trying to help,atleast im trying to deliver solutions... what are you are doing instead of searching memes on google? LOL
nice meme anyway.. it made me laugh XD
it makes you look so infantile
btw buddy you should improve your reading comprehesion