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

    Inserting data from database to a table.

    Hi! Operating with databse queries is difficult for me :S How to insert for example: all ids of guild owners to a table? I tried something like that: local owners = db.getResult("SELECT `ownerid` FROM `guilds`;") local list = {} for i, tid in ipairs(owners) do list[i] = tid end...
  2. wesoly136

    LUA Checking if a value is in a table.

    Thanks :P
  3. wesoly136

    LUA Checking if a value is in a table.

    Refresh
  4. wesoly136

    how to put a storage in this spell?

    Up That is what he's talking about. This exhaustion include all spells divided to healing spells and attack spells. You cannot use 'exori san' immediately after 'exevo mas san' and 'exura vita' after 'exura san' :P
  5. wesoly136

    LUA Checking if a value is in a table.

    Hi! If you have table = {1,2,3} How to check if "2" is in the table?
  6. wesoly136

    [TFS] Random tile from an area

    Refresh :/
  7. wesoly136

    [TFS] Random tile from an area

    Hi! I need to make a script which will choose one tile from an area and get players from that tile, but I have no idea how to make it :/ Thanks for any help
  8. wesoly136

    CreatureEvent Record IP Onlogin (Simple But usefull)

    Google: SELECT p1.* FROM players AS p1, players AS p2 WHERE p1.ip = p2.ip AND p1.id != p2.id
  9. wesoly136

    [TFS 0.3.6] Debug with skills window

    Sorry for refreshing old thread but I played on OTS (8.54) and there isn't this problem. Anyone know how to solve it? I know only that only knights have this debug.
  10. wesoly136

    Items for killing players

    local item = 2159 local extime = 60*60*1000 local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, extime) function onKill(cid, target, lastHit) if not isPlayer(target) or not isPlayer(cid) then return true end if getPlayerLevel(target)...
  11. wesoly136

    Items for killing players

    Delete ".uid" after target
  12. wesoly136

    Items for killing players

    Should work function onKill(cid, target, lastHit) if not isPlayer(target) or not isPlayer(cid) then return true end doPlayerAddItem(cid,xxx,1) return true end [Tested on TFS 0.3.6]
  13. wesoly136

    REQUEST: Server Save with no lagg! Rep+++

    It is possible if there is no many players and you have strong computer.
  14. wesoly136

    REQUEST: Server Save with no lagg! Rep+++

    You need better computer ^^
  15. wesoly136

    (REQUEST)(Movement)SIMPLE TP script! Rep++ for helping!

    local position = {x=1000,y=1000,z=7} --the position to where he is tped local minlvl = 35 --the minimum level required to enter the tp function onStepIn(cid, item, pos, frompos) local summons = #getCreatureSummons(cid) if summons <= 0 then if getPlayerLevel(cid) > minlvl then...
  16. wesoly136

    Close Theard!

    Go to data/world/map-spawn.xml Press ctrl+h And change spawntime="60" to spawntime="30" then press change all
  17. wesoly136

    Script! Wand Damage by magic level.

    weapons.xml <wand id="7424" event="script" value="wand.lua"> <vocation name="Druid"/> <vocation name="Elder Druid"/> <vocation name="Sorcerer"/> <vocation name="Master sorcerer"/> </wand> wand.lua local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)...
  18. wesoly136

    [0.3.6] The same hits after reborn

    Yea I already use a storage. In LUA I know how to do such thing but I don't have idea for sources :( I'm still learing :P I was tryin to use a formula in spells(I know it is max noobish :P) for example (level+(getstorage*100))+(mlvl*2) 100 means how many lvls hit will be stronger per reset Can...
  19. wesoly136

    [TFS 0.3.6] Debug with skills window

    8.54 :/ But it debug sometimes I have reborns on 200k and usually on 100k+ nothing happen, but sometimes it debug on a character forever :/
  20. wesoly136

    [0.3.6] The same hits after reborn

    I have made reborns on my server. And now I want to make something like for example reborn is on 100lvl, then(after reborn) when we have 8 lvl and 1 reborn he should have hits like 100 lvl. So with 8lvl and 2 reborns we should have hits like 200lvl. Do you understand ? :) And I don't have...
Back
Top