• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. P

    TalkAction Happy Birthday

    It's for GM/CM/GOD only.
  2. P

    Zombie event - NEW version, bug free, updated

    Updated! * now zombie can spawn minimum 4 tiles (sqm) from player(s). There is a chance to spawn closer, but veeery low. Copy new data/lib/zombie_event.lua from first post or this: -- CONFIG ZE_DEFAULT_NUMBER_OF_PLAYERS = 5 ZE_ACCESS_TO_IGNORE_ARENA = 3 -- POSITIONS ZE_blockEnterItemPosition =...
  3. P

    Zombie event - NEW version, bug free, updated

    Copy again code from first post: 1. ../data/creaturescripts/scripts/zombie/onattack.lua I don't know why otland modified it.
  4. P

    Request: Two NPCs

    I just read thet you wanted him to shout :P Replace: selfSay(random_texts[math.random(1, #random_texts)]) with: selfSay(random_texts[math.random(1, #random_texts)], 0, TALKTYPE_YELL) 0 - player id 0 - doesn't exist, npc will speak on Default window TALKTYPE_YELL - yell :)
  5. P

    Zombie event - NEW version, bug free, updated

    There is already code that give reward in onattack.lua script. doPlayerAddItem(winner, 2157, 5, true) Zombies spawn interval you set in globalevents.xml
  6. P

    TalkAction Happy Birthday

    Happy Birthday talkaction. Like my spell ( http://otland.net/f82/birthday-spell-109448/ ), but in talkaction you can set name that script shows. http://www.youtube.com/watch?v=PerLU1_yLEg ../talkactions/talkactions.xml <talkaction words="HAPPY" access="4" event="script" value="happy.lua"/>...
  7. P

    Zombie event - NEW version, bug free, updated

    This is NEW - full - final version of Zombie Event script: http://www.youtube.com/watch?v=fguUJwL8H2Y * if zombie attacks player he loses and goes to kick position * zombies spawn every 5 (config) seconds * reward for players [default 5 gold nuggets] * zombies spawn minimum 4 tiles from...
  8. P

    Add Item after equip something...

    Not possible on 0.3.6, only on TFS 0.4.
  9. P

    NPC Walker - walks, ignore players and spam configured msges

    function greeter(cid, type, msg) if(getCreatureStorage(cid, 12345) == 1) then -- check player storage selfSay('Welcome ' .. getCreatureName(cid) .. '! You have good storage.') -- say on default window (game window) selfSay('Welcome ' .. getCreatureName(cid) .. '! You have good storage.'...
  10. P

    Lua Get Skull when opponent get damage ?

    Maybe something with this? :rolleyes: ReturnValue Combat::canDoCombat(const Creature* attacker, const Creature* target) { if(!attacker) return RET_NOERROR; bool success = true; CreatureEventList combatEvents =...
  11. P

    TalkAction Rainbow outfit

    Client or console? If in console, then check first post in thread. I've updated it.
  12. P

    TalkAction Rainbow outfit

    I use sources that you gave me :P Here is link to sources that I use on xant.hopto.org: http://everlutions.hopto.org/files/source-0.3.6pl1-8.60-warsystem.zip (for unknown reason this link sometimes doesn't work in Google Chrome) I set white outfit, said /rain and relog and my outfit is...
  13. P

    TalkAction Rainbow outfit

    I use TFS 0.3.6pl1 for 8.6 client. In luascript.cpp is code: int32_t LuaScriptInterface::luaSetCreatureOutfit(lua_State* L) { //doSetCreatureOutfit(cid, outfit, time) int32_t time = (int32_t)popNumber(L); Outfit_t outfit = popOutfit(L); ScriptEnviroment* env = getEnv()...
  14. P

    [Gesior AAC]Admin Teleporter Player

    for qqqq=1,#getOnlinePlayers() do local cid = getCreatureByName(getOnlinePlayers()[qqqq]) Is OTS script or CPU benchmark? Should be: for qqqq, cid in pairs(getOnlinePlayers()) do
  15. P

    [Gesior AAC]Admin Teleporter Player

    "Memory leak of a week!" :rolleyes:
  16. P

    NPC Walker - walks, ignore players and spam configured msges

    NPC Walker - walks, ignore players and spam configured messages. http://www.youtube.com/watch?v=5GtTNKy38WM Requested by Alegres ( http://otland.net/f83/request-two-npcs-128131/ ). ../data/npc/scripts/walker.lua local random_texts = {'Send SMSes!', 'Make donations!', 'Send PayPal...
  17. P

    Request: Two NPCs

    First npc. .lua file local random_texts = {'Send SMSes!', 'Make donations!', 'Send PayPal transfers!', 'There is no game without donation items!'} local random_texts_chance = 50 -- percent local random_texts_interval = 2 -- seconds local keywordHandler = KeywordHandler:new() local npcHandler =...
  18. P

    Spell Sticky C4

    Added in first post.
  19. P

    Spell Sticky C4

    <rune name="Sticky C4" id="2295" allowfaruse="1" charges="5" lvl="50" maglv="35" exhaustion="2000" needtarget="1" blocktype="solid" event="script" value="attack/sticky_c4.lua"> <vocation id="1"/> <vocation id="2"/> <vocation id="5" showInDescription="0"/> <vocation id="6"...
  20. P

    [GESIOR ACC] Sell characters on auctions (+ 'Buy Now') [ for premium points ]

    @up Find: .tableFonts {color: #FFFFFF} .tableHead {background-color: #9C5566;text-align: center;vertical-align: middle;font-size: 20pt} .tableRow0 {background-color: #003300;text-align: left;vertical-align: middle;font-size: 12pt} .tableRow0:hover {background-color: #009900;}...
Back
Top