• 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. Aeronx

    Combination Two Handed Item with shield

    function onEquip(cid, item,slot) if getPlayerSlotItem(cid, CONST_SLOT_LEFT) then weapon = getPlayerSlotItem(cid, CONST_SLOT_LEFT).itemid elseif getPlayerSlotItem(cid, CONST_SLOT_RIGHT) then weapon = getPlayerSlotItem(cid, CONST_SLOT_RIGHT).itemid end local it =...
  2. Aeronx

    Combination Two Handed Item with shield

    You can do it with movements perfectly, you only need conditions.
  3. Aeronx

    Combination Two Handed Item with shield

    Can you explain what you want exactly? with which items and which not? Explain yourself. Anyway, I mostly gave you the solution. With minor changes you should be able to get it done yourself.
  4. Aeronx

    Combination Two Handed Item with shield

    function onEquip(cid, item, slot) if getPlayerSlotItem(cid, CONST_SLOT_LEFT) then weapon = getPlayerSlotItem(cid, CONST_SLOT_LEFT).itemid elseif getPlayerSlotItem(cid, CONST_SLOT_RIGHT) then weapon = getPlayerSlotItem(cid, CONST_SLOT_RIGHT).itemid elseif weapon and weapon == 2392 and...
  5. Aeronx

    Combination Two Handed Item with shield

    bro.. i did not write that.... that last "return true" at #17... Thats saying that nomatter what you do, you can equip it... If you copy, at least copy it right.
  6. Aeronx

    Combination Two Handed Item with shield

    not found? not found what? >.< Explain youserlf better, or use google traductor. Post the error. otherwise i wont be able to help you.
  7. Aeronx

    Combination Two Handed Item with shield

    wtf.. you are messing things up and its not needed. if getPlayerSlotItem(cid, CONST_SLOT_LEFT) then weapon = getPlayerSlotItem(cid, CONST_SLOT_LEFT).itemid elseif getPlayerSlotItem(cid, CONST_SLOT_RIGHT) then weapon = getPlayerSlotItem(cid, CONST_SLOT_RIGHT).itemid elseif weapon == 2392 and...
  8. Aeronx

    Lua Speed up effect

    Its just a way to see it. For me, a longer effect means a loop of sprites. The only difference is that one comes from client, and the other from server. He asked that the effect is visible for the duration of the speed buff, i offered a solution. No pun intended.
  9. Aeronx

    Lua Speed up effect

    Dunno LoL. it works anyway, just coded it asap on situ and wanted to make a point by showing how can you loop an animation without source or sprite modifications.
  10. Aeronx

    Lua Speed up effect

    Its totally possible with scripting. easy as this: times = {0,1,2,3,4,5,6,7,8,9,10} local function shine(cid) local cid = Creature(cid) local position = cid:getPosition() position:sendMagicEffect(CONST_ME_MAGIC_RED) end onSpellCast(creature, var) for i = 1, #times do...
  11. Aeronx

    Combination Two Handed Item with shield

    Its way easier if you think a bit out of the box. For example: You create a weapon onehanded. Create a movevent for onEquip that check this: If player:getStorageValue(storage) == 1 or player:getVocation() == vocation then return true -- This means that you will be able to equip the weapon...
  12. Aeronx

    Lua Learning about movements [TFS 1.2]

    Oh! I didnt know! i thought it was from source.. but you are right. I've been using it for so long that i thought it was there since forever haha I thought it was the same as DoSetNoMove() from older distros. Looking to this function i see it wont be possible "to stop" movement and force move...
  13. Aeronx

    Lua Learning about movements [TFS 1.2]

    Hello otlanders! Today is testing day! I've being doing some testing with creature:allowMovement(), creature:setDirection() and doMoveCreature(). After doing some tests, i've seen that allowMovement prevents ANY type of movement, even if its forced by teleportTo or doMoveCreature.. it tries to...
  14. Aeronx

    [Tutorial Requests] Flatlander Source Code Changes

    Monster Level Randomizer: Be able to set damage multipliers, and even spells with level requirements for monsters. Creature Alert Friends: Creature will alert nearby monsters to your presence. Monsters/NPCs can fight other Monsters/NPCs: (Have Orcs automatically fight Minotaurs, etc) Monster...
  15. Aeronx

    Solved how to..? [TFS 1.2]

    Thank you colors! That totally solved my problem! <3
  16. Aeronx

    Solved how to..? [TFS 1.2]

    Hello everyone! Ive been trying a lot of things for hours, and nothing seems to work, either is too easy and i dont see it or cannot be done. This is a part from a waaaay bigger script, but im giving your the problem part so, lets see if you can help me guys! function spawnMonsters(value)...
  17. Aeronx

    CreatureEvent [TFS 1.2] Boss/Monster Wave System (onDeath)

    The script will never work @Lubinho Fit since its not well coded. Either you use onDeath and register it to the monster. (So when the monster dies another have the chance to spawn) or you use onKill and then register it to the player on login.lua. (So when the player kills the monster it has a...
  18. Aeronx

    [Sweden] The Lost Kingdom Server (custom client)

    New Starting zone! Small tutorial quest or you can skip it! Up to you, but do NOT forget your equipment!
Back
Top