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

    Teleport corpse instead of player

    Can you give us the console error please? - - - Updated - - - Try to change to onPrepareDeath that would be preparedeath in creaturescripts, killer is supported for preparedeath I dont think it is in ondeath
  2. B

    RME error help?

    microsoft.net framework - - - Updated - - - msvcrt is a .net framework dll file
  3. B

    Solved How to set a level cap?

    Creaturescripts.xml <event type="login" name="levelCap" event="script" value="levelcap.lua"/> <event type="advance" name="advanceSave" event="script" value="advancesave.lua"/> creaturescripts>scripts>levelcap.lua function onLogin(cid) if getPlayerLevel(cid) >= 100 then...
  4. B

    Solved getTopCreature Issue

    This is actually great, because even if there isn't there is globalevent on startup, and also I can have the event create the action ids on the tiles, so this is perfect =), I already created a script for checking stacked players as you see, but this script will deffinately come in handy, thank you
  5. B

    Solved getTopCreature Issue

    Yeah this is great, deffinately the best way to do it but, my tfs does not support local creatures = getTileInfo(pos).creatures - - - Updated - - - Okay I played around a bit, and managed to come up with this =d local players = {} for x = from.x, to.x do for y = from.y, to.y...
  6. B

    Solved deathBroadcast

    change if(config.rewardItem.use and (not config.rewardItem.minLevel or targetLevel >= config.rewardItem.minLevel) and (not config.rewardItem.minLevelDiff or levelDiff >= config.rewardItem.minLevelDiff)) then local uid = doPlayerAddItem(killer...
  7. B

    Solved Importing Map Help

    if you hold shift and drag the mouse click it will select more than 1 tile, and for your issue with select all floors, go to edit>selection>lower floors, then bring your editor to the top floor and it will select that and all floors below it
  8. B

    Solved getTopCreature Issue

    @Evil Hero Ughm this isn't exactly what I'm looking for but I may be able to evolve from it. @Summ You're right Summ but as I said these players are in an event, aka only the players participating in the event aka in the area I am trying to retrieve them from. I may just have to do this though...
  9. B

    Weapon bug

    make sure that the item id is in movements if it is a sword, axe, club, etc for wands the wand should be placed in weapons.xml and a script should be created for them
  10. B

    Solved getTopCreature Issue

    There are several large areas which if I can find a function that will allow me to set players so that they can't walk on each other in event areas I can set an action I'd to the tiles but preferably would like to be able to get all players on one tile
  11. B

    Solved Importing Map Help

    What map editor are you using?
  12. B

    Solved getTopCreature Issue

    Okay I'm having a problem with getTopCreature in events, if players are stacked it takes one of them.. I need a way to prevent players from stacking in event areas or a workaround for it to detect all of them Sorry for the double post I poorly titled the last and couldn't figure out how to...
  13. B

    Quick question

    gesior supports sqlite I believe, but sqlite is a very poor choice for actually hosting a server, it's only good for testing purposes - - - Updated - - - if you have already started with sqlite I suggest transfering database to mysql before it becomes too large - - - Updated - - -...
  14. B

    Lua Problem

    Okay I'm having a problem with getTopCreature in events, if players are stacked it takes one of them.. I need a way to prevent players from stacking in event areas or a workaround for it to detect all of them
  15. B

    Lua Items require player value

    abosrb percentages, but if I use that callFunction will it automatically give the item the attributes? and I had successfully made a script that worked to prevent it but it wouldn't give items stats unless I scripted them manually, then after scripting them manually realized there is no absorb...
  16. B

    Lua Items require player value

    This works guys, Thank you Cykotitan, please dont forget to Rep+ Cykotitan basically using this function you can set the attributes of the item in items.xml, then create a script that only allows them to use the item with certain skills or hp etc... then this will add the stats...
  17. B

    Lua Charges

    Ha thanks, already figured it out though hehe =d but I will rep you anyways because that is right, =d
  18. B

    Lua Charges

    Okay, I've updated the script so that now if anyone wants it they can take it - - - Updated - - - thanks Evan that worked Just need to know if there is a way to get the number of items in the array so instead of having local amuletnum it will be i=1, <amountinarray>
  19. B

    Lua Charges

    LOL omg I can't believe I completely overlooked that thank you =d haha also is there a function to check how many charges are on the amulet?
  20. B

    Lua Charges

    All set fully functional local amuletid = { [1] = 7890, -- Inferno [2] = 7887, -- Nature [3] = 2198, -- Ice Shard [4] = 2196 -- Newborn Scarabs } local successchance = 90 -- Percent out of 100 / Chance to Succeed local extrachance = 60 -- Percent out of 100 / Chance to add an extra charge...
Back
Top