Search results

  1. Sir Islam

    Compiling error in compiling tfs 1.3

    1>c:\users\elwad\desktop\forgottenserver-e\forgottenserv\src\connection.cpp(119): error C2440: '<function-style-cast>': cannot convert from 'Connection::<unnamed-enum-read_timeout>' to 'boost::posix_time::seconds' 1>c:\users\elwad\desktop\forgottenserver-e\forgottenserv\src\connection.cpp(119)...
  2. Sir Islam

    TFS 1.X+ help with debug tfs 1.3

  3. Sir Islam

    TFS 1.X+ help with debug tfs 1.3

    i got this debug in tfs 1.3 and how to get file debug log in data
  4. Sir Islam

    Compiling help TFS 1.3 vcpkg compile

    i have erros in compile 1>------ Rebuild All started: Project: theforgottenserver, Configuration: Release x64 ------ 1>otpch.cpp 1>Info: Boost.Config is older than your compiler version - probably nothing bad will happen - but you may wish to look for an update Boost version. Define...
  5. Sir Islam

    Solved Red Skull Problem

    onPrepareDeath creaturescript function onPrepareDeath(cid, lastHitKiller, mostDamageKiller) if getPlayerSkullType(cid) < SKULL_RED then doSetCreatureDropLoot(cid, false) else doSetCreatureDropLoot(cid, true) end return true end
  6. Sir Islam

    Solved Red Skull Problem

    change doSetCreatureDropLoot(cid, false) to in login.lua
  7. Sir Islam

    Lua Experience Functions for TFS 1.1
  8. Sir Islam

    Lua Help Channel no exhaust ?

    local CHANNEL_HELP = 7 local muted = Condition(CONDITION_CHANNELMUTEDTICKS, CONDITIONID_DEFAULT) muted:setParameter(CONDITION_PARAM_SUBID, CHANNEL_HELP) muted:setParameter(CONDITION_PARAM_TICKS, 3600000) local exhausted = createConditionObject(CONDITION_CHANNELMUTEDTICKS)...
  9. Sir Islam

    Lua [NPC][TFS 1.2] Function Error (HELP!)

    i update it take it again
  10. Sir Islam

    Lua [NPC][TFS 1.2] Function Error (HELP!)

    recopy it
  11. Sir Islam

    Lua [NPC][TFS 1.2] Function Error (HELP!)

    local choose = {} local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid)...
  12. Sir Islam

    Lua How to get double experience if i have an especific storage in TFS 1.0
  13. Sir Islam

    Solved If same IP return fromPosition

    function onStepIn(cid, item, position, fromPosition) local list = {} local ips = {} local players = getPlayersOnline() for i, pid in ipairs(players) do local ip = getPlayerIp(pid) local tmp = table.find(ips, ip) if(tmp ~= nil) then...
  14. Sir Islam

    Solved Teleport all players in area for TFS 1.1

    getPlayersOnline() to Game.getPlayers()
  15. Sir Islam

    logs nohup.out / error script login.lua

    show login.lua
  16. Sir Islam

    Lua Decay Doors

    use this script function onUse(cid, item, frompos, item2, topos) doTransformItem(item.uid,9170) doDecayItem(item.uid) return true end or in file doors.lua add this doDecayItem(item.uid) after doTransformItem(item.uid,
  17. Sir Islam

    Skull system script tfs 1.2

    @weverton function onLogin(player) local frags = math.max(0, player:getStorageValue(20233)) if frags >= 200 and frags < 300 then player:setSkull(SKULL_YELLOW) elseif frags >= 301 and frags < 450 then...
  18. Sir Islam

    Removing Every addon from every player

    rest storage
  19. Sir Islam

    Lua Help amulet lua dont working so fine

    from config.lua change to 0 monsterLootMessage = 3 to monsterLootMessage = 0