• 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 Table issues

    I'm trying to learn how to make tables now with a simple talkaction that change the outfit, but I need to know how to get values from the index. My table is: local table = { [1, 5] = {out = 121, e = 2}, [2, 6] = {out = 122, e = 2}, [3, 7] = {out = 123, e = 2}, [4, 8] = {out = 124, e = 2} }...
  2. G

    Lua Error in SQL syntax

    @Apollos Thanks for the lesson, I learned more with your replies. ^_^
  3. G

    Lua Error in SQL syntax

    @Apollos Thanks alot. I had headaches trying to make it work. hahah
  4. G

    Lua Error in SQL syntax

    I'm trying to do a function that get the skill value from the database, but I don't have much knowledge about sql, so I need this help. My MySQL version is 5.5 function getSkill (cid, skill) local pid = getPlayerGUID(cid) db.getResult("SELECT `value` FROM `player_skills` WHERE `player_id` = "...
  5. G

    TFS 0.X Error exhaust in heal magic script

    @pudim Such a simple thing, oh my. Thank you sir. :D
  6. G

    TFS 0.X Error exhaust in heal magic script

    As the title says, when I try to put exaust in heal magic it gets an error on the console. The error starts when I reload the spells. TFS 0.4 rev 3884 I searched on the internet and found a similar problem, which was related to the 'agressive' parameter of the spells. But I tested in Magic...
  7. G

    Lua How to use more than one addEvent in a script?

    @Steve Albert Thank you. You helped me to understand some things that I didn't knew.
  8. G

    Lua How to use more than one addEvent in a script?

    @Steve Albert I'm a beginner in scripting, this is the best I can do, without get error or crashes. @Xagul I know that this is the problem. What I don't know to do is how I can get the info if the target exist before each addEvent without get the errors. And I did it, but I needed to call a...
  9. G

    Naruto-based sprites

    I'm in love with that snake, because a time ago I tried to make one, but the result is not too good. hahahha The tries:
  10. G

    Lua How to use more than one addEvent in a script?

    @Steve Albert Ok. But now, I think I made it. I did some tests and got no errors on console and no crash. But I need your opinion. Here is the script: Do you think it will force the TFS too much? Like, too many people casting it, this script will be a trouble? (I don't know if I expressed...
  11. G

    Lua How to use more than one addEvent in a script?

    @Steve Albert You are Welcome xD I'm trying to do it by making addEvent(function(), but without sucess.
  12. G

    Lua How to use more than one addEvent in a script?

    @Steve Albert Unfortunately, it made the server crash.
  13. G

    Lua How to use more than one addEvent in a script?

    As the title says, my question is on how to run more of an addEvent without returning error in the console. I use script spells with more than one attack, and to effect right out on the target I get his pos, and, as expected, if the target dies before the spell finishes, it returns an error on...
  14. G

    Bug graphic otclient

    Looks that your TFS don't have opcodes and the error are because of that. (My guess only)
  15. G

    TFS 0.X Put different chance rate in this script

    I don't now how to get informations from a table like that, so I want someone to help me with that. I need each monster with an individual chance. Here are the script: local config = { chance = 2, bosses = { --["monster_name"] = "boss", ["Dragon Lord"] = "Demondras"...
  16. G

    Lua Drop items into corps

    Don't need a 'return false' on the place of 'return'?
  17. G

    Lua How to delete specific item description?

    @Static_ I don't solved the problem of the post, but I found an alternative way and I learned a little about string throught you, thanks.
  18. G

    Lua How to delete specific item description?

    @Static_ Sorry for double post, but I think I'm close to solve my problem. As I said, the first way makes a blank line in the description, so I decided to replace the old description to a new one, and I sucesfull in part. If the item already have a description (that I want to change), the script...
  19. G

    Lua How to delete specific item description?

    @Static_ It can be by erase attribute? Because if I put a new description, it makes a blank line.
Back
Top