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

    [LUA] Request function doPlayerRemoveMoney(cid, money)

    Which revision?
  2. Teckman

    GlobalEvent Effect for tutors!

    Already have. Check your thread.
  3. Teckman

    magic level scroll with time limit

    local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, CONDITION_PARAM_SUBID, 3) setConditionParam(condition, CONDITION_PARAM_BUFF, true) setConditionParam(condition, CONDITION_PARAM_TICKS, 30 * 60 * 1000) setConditionParam(condition...
  4. Teckman

    GlobalEvent Effect for tutors!

    Fast like a lightning. :ninja:
  5. Teckman

    Magnetico Showoff

    Omg I just noticed that theese are thorns and not dead wyverns under rocks. Lul. :D So many new sprites...
  6. Teckman

    GlobalEvent Effect for tutors!

    No need to loop through names. Fixed version: function onThink(interval, lastExecution) for k, v in pairs(getPlayersOnline()) do if(getPlayerGroupId(v) == 3) then doSendMagicEffect(getPlayerPosition(v), CONST_ME_GIFT_WRAPS) doSendAnimatedText(getPlayerPosition(v), "Tutor"...
  7. Teckman

    Action Magic level scroll

    local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, CONDITION_PARAM_SUBID, 3) setConditionParam(condition, CONDITION_PARAM_BUFF, true) setConditionParam(condition, CONDITION_PARAM_TICKS, 2 * 60 * 1000) setConditionParam(condition...
  8. Teckman

    MoveEvent go through teleport you pay x crystal coins.

    Try not to use "doPlayerRemoveItem()" in if statements. You can always use "getPlayerItemCount()" and then call "doPlayerRemoveItem()". Simple situation in which your method is bugged: if(doPlayerRemoveMoney(cid, 2160, 50) and getPlayerLevel(cid) > 100) then If player has lesser level than 100...
  9. Teckman

    NPC The Gambling Man, the interactive dicer

    Awesome idea and script! :D :D :D But imo anti trasher should only teleport invalid items 1 sqm >. local item_exceptions = {2152, 2160, 5792, 5793, 5794, 5795, 5796, 5797} function onAddItem(item, tile, pos) if not isInArray(item_exceptions, item.itemid) then doTeleportThing(item.uid, {x...
  10. Teckman

    Action Staff only door!

    Of course they do, but they are also unreadable for users. Programming style - Wikipedia, the free encyclopedia
  11. Teckman

    Action [ACTIONS] an item you use and you get full mana & HP !

    You can always make a "ghettobird's short scripts" thread, and put it all together there. Imo that's a really good advice.
  12. Teckman

    Action ghettobird's tp scroll, tps u to to temple!

    Why is local inFight = hasCondition(cid, CONDITION_INFIGHT) a local variable? Use if(not(hasCondition(cid, CONDITION_INFIGHT))) then instead.
  13. Teckman

    MoveEvent go through teleport you pay x crystal coins.

    Better use getPlayerMoney() instead. function onStepIn(cid, item, position, fromPosition) if (isPlayer(cid) and getPlayerMoney(cid) >= 50000) then doTeleportThing(cid, {x = 994, y = 1003, z = 7}, true) doPlayerRemoveMoney(cid, 50000) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR...
  14. Teckman

    Action Staff only door!

    Tab your scripts properly: function onUse(cid) -- other parameters like 'item' 'itemEx' are not needed in this script so we dont have to add them if(getPlayerGroupId(cid) >= 2) then doTeleportThing(cid, {x = 1000, y = 1000, z = 7}, true) doCreatureSay(cid, "Hello " .. getCreatureName(cid)...
  15. Teckman

    Action [ACTIONS] an item you use and you get full mana & HP !

    Use: doCreatureAddHealth(cid, getCreatureMaxHealth(cid) - getCreatureHealth(cid)) doCreatureAddMana(cid, getPlayerMaxMana(cid) - getCreatureMana(cid)) instead to not give more hp than player can have. It's great to see that you try your strenght in scripting but flooding forums with useless...
  16. Teckman

    CipSoft owned 7.4 server, with increased experience!

    Agreed. Suggestions like this are daily to cipsoft. All denied.
  17. Teckman

    [Archived] "[Quick Showoff] Post your latest maps"

    Wow! I loooove it very much!! :)
  18. Teckman

    deleted thread

    Thanks for comments. All is already done, waiting for a dedicated server. :)
Back
Top