• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[10.77][TFS 1.2] ORTS, a real map project

nice it works anyone have a fix for the avar tar? he will not give addons
 
Potions heal kinda slow...How to fix that?

Try this in data\actions\scripts\other\potions.lua

Code:
local ultimateHealthPot = 8473
local greatHealthPot = 7591
local greatManaPot = 7590
local greatSpiritPot = 8472
local strongHealthPot = 7588
local strongManaPot = 7589
local healthPot = 7618
local manaPot = 7620
local smallHealthPot = 8704
local antidotePot = 8474
local greatEmptyPot = 7635
local strongEmptyPot = 7634
local emptyPot = 7636

local antidote = Combat()
antidote:setParameter(COMBAT_PARAM_TYPE, COMBAT_HEALING)
antidote:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
antidote:setParameter(COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
antidote:setParameter(COMBAT_PARAM_AGGRESSIVE, false)
antidote:setParameter(COMBAT_PARAM_DISPEL, CONDITION_POISON)

local exhaust = Condition(CONDITION_EXHAUST_HEAL)
exhaust:setParameter(CONDITION_PARAM_TICKS, (configManager.getNumber(configKeys.EX_ACTIONS_DELAY_INTERVAL) - 1000))
-- 1000 - 100 due to exact condition timing. -100 doesn't hurt us, and players don't have reminding ~50ms exhaustion.
 
why will the kills not be counted on killing in the name of? no kills are counted.
 
why will the kills not be counted on killing in the name of? no kills are counted.
I can't reproduce this issue. Make sure your files are up-to-date.
 
my code is same as newest one

Code:
function onKill(cid, target, lastHit)
   local targetCreature = Creature(target)
   if targetCreature:isPlayer() or targetCreature:getMaster() then
     return true
   end

   local player, targetName = Player(cid), targetCreature:getName():lower()
   for _, taskId in ipairs(player:getStartedTasks()) do
     if isInArray(tasks[taskId].creatures, targetName) then
       local killAmount = player:getStorageValue(KILLSSTORAGE_BASE + taskId)
       if killAmount < tasks[taskId].killsRequired then
         player:setStorageValue(KILLSSTORAGE_BASE + taskId, killAmount + 1)
       end
     end
   end
   return true
end
 
sorry, im a bit of a noob. I followed all the steps, but i can not build this in VS it keeps showing an error, saying that its not compatible with my version of VS. i downloaded the latest version of VS, and its not compatible with my win7 OS.
 
thanks dominique120, the server is online, now i have a question, the map isnt rl, can i change that?
 
Seriously people, this type of questions is not be asked here.

@Topic

I'm writting a new library to Paw Fur Quest, there is anyone want to help me with that? Its mostly about configuration and bosses.
 
Seriously people, this type of questions is not be asked here.

@Topic

I'm writting a new library to Paw Fur Quest, there is anyone want to help me with that? Its mostly about configuration and bosses.

the paw fur quest with this release is bugged it will not count the monsters after killed i cant even figure out how to edit how many monsters u kill for each task its not in grizzlys adams npc file anyone can help me
 
Back
Top