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

    Lua help in function

    @SpiderOT Thank you so much for teaching me. I keep insisting on getting the information in the database even if you've touched on it before. hahaha (It's because after I did some functions that get information about the health, mana, players' skills straight from the database (after I saw that...
  2. G

    Lua help in function

    @SpiderOT I'm sorry if I'm bothering, but I need to remove this doubt, since I've seen that in the system I'm doing, just setting up a storage for all members of the party will not be enough, since the player, even with the storage, can enter another party and do the event again. So I need to...
  3. G

    [TFS 1.3] Generate Maze Function

    I don't know what happened, but I can see the image now.
  4. G

    Lua help in function

    @SpiderOT I thought of doing it that way (without accessing the database), but I thought to myself, "I guess that way it will not work the way I want it to." So I set out for the more "complex" form. hahahaha I have to start thinking that not every complex script will be good for what I want...
  5. G

    [TFS 1.3] Generate Maze Function

    This is a cool function. PS: The image has broken.
  6. G

    Lua help in function

    I tried to make a new function called 'setPartyStorage' that give a storage value to all party members (include the leader, ofc), but I don't have to much knowledge, so, I need you help to make it work. The problem is that I try to get all members, but I'm unsuccessful. Here are my try: Thank...
  7. G

    [Function] Number Separator

    @Critico Wow, this is really usefull in case of showing a big number in a talkaction or something. much better and clean than 2000000.
  8. G

    Lua How to set death loss percent to different skills?

    @Apollos Well, I will need start to learn C++ to do it. ahhaa Thanks.
  9. G

    Lua How to set death loss percent to different skills?

    I know about doPlayerSetLossPercent, but this set to all skills and I need to specific skills. I saw doPlayerSetLossSkill, can use this one like: doPlayerSetLossSkill(cid, SKILL_AXE, 0)? Thanks in advance.
  10. G

    OpenTibia [various] Tibia Extended Client Library

    Anyone knows how to fix ctrl+n issue?
  11. G

    NPC Crashs/lags for conteiner bug? No more!

    Sorry if is the wrong area, but I bring you the solution to bug problems related to conteiners, like buying bp's infinitely until crash the server, put several bps inside bps (with trash items inside or only bps and bps), throw inside the house and use the !leavehouse command (or something like...
  12. G

    Lua Spell issue

    @Itutorial Thanks a lot. Just missed the part that remove the previous summon, but your code is so good and easy to read, even to a newbie like me, that I made this change by my own. Thank you again.
  13. G

    Lua Spell issue

    The spells works in necessity of have a previous summon, if the player have it, will remove this previous summon and summon another five. If not, will return false. I'm sucesfull in make spell remove a summon and make another five, but I fail in get this previous summons to make spell work well...
  14. G

    C++ Lua Combat Object Question?

    @dantexd I don't think so. But will return error if the target die before the spells end, cause will don't find a target to send the effect. Need to find a way to avoid it, but I dont know how.
  15. G

    C++ Lua Combat Object Question?

    @dantexd local target = getCreatureTarget(cid) local pos = getCreaturePosition(target) local monsterpos = {x=pos.x, y=pos.y+1, z=pos.z} doSendMagicEffect(monsterpos, EFFECT)
  16. G

    Lua Table issues

    Thanks alot.
  17. G

    Lua Table issues

    @cbrm Thanks alot. But, if not ask too much, can you tell me why yours worked and mine not? I'm starting on Lua, as I said before, so a "mini" lesson would help me a lot in understanding even more and would make me happy. haha Of course, if you have time to it.
  18. G

    Lua Table issues

    Thanks both. And thanks @cbrm this is what I wanted. Now, if you can teach me how to do, I tried it in a more complex table, changing another one script. The original one: My try: But I get this error: ....lua:72: ')' expected near ','. I tried other things, but without sucess. If you can...
Back
Top