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

    Solved NPC Responds to all Words with "hi"

    Post one of your npcs scripts please. I had the impression the NPCs in 3.7 used the same idea as 3.6
  2. filipus

    Solved NPC Responds to all Words with "hi"

    well that is the way the NPC work when you us msgcontains(msg,"hi"). You can possibly do a If(msg == "hi") but then if someone said something like "Hi NPCName" it wouldn't recognize.
  3. filipus

    Lua GuildMaster for TFS 0.3.6

    So I've tried numerous variations of the parameters that are inputted into the doPlayerCreateGuild() function but still wasn't able to make it work. Always get the attempt to call global "doPlayerCreateGuild" <a nil value> error. The source code is in the posts above. Any tips?
  4. filipus

    Hosting

    If your server is custom and well made there are at least 2-3 people here in Otland that will host it for free. http://otland.net/members/don-daniello.7563/
  5. filipus

    Lua GuildMaster for TFS 0.3.6

    O, interesting! So you have to define the type of variable when you pop... Cool! Ill try to rework the script today and if it works ill post here.
  6. filipus

    Lua GuildMaster for TFS 0.3.6

    O yes, I know! I understand the idea between the functions and how to call them and all that. My problem is inside the functions.. Like, the variables and all that. I've noticed Lua uses a stack for the variables and then when you want to use one inside the function you pop it or something like...
  7. filipus

    Lua GuildMaster for TFS 0.3.6

    I can create edit the sources and create functions that recreate the !createguild command (using Io::guild create or something like that, I actually started coding it), my problem is that I'm not sure how variables work in lua so I can't really do it. I was also trying to do it with the normal...
  8. filipus

    Lua GuildMaster for TFS 0.3.6

    Anyone?
  9. filipus

    YurOTS_094d scripts bugging up

    post the scripts for both promoter2 and rockseller.
  10. filipus

    Lua GuildMaster for TFS 0.3.6

    Bump de bump Lol, completely missed the doPlayerCreateGuild haha. Ok, I'm having a error: attempt to call global "doPlayerCreateGuild" <a nil value> I'm doing this (after getting the guild name): if TopicState[cid] == 1 then -- get name of new guild gname = msg...
  11. filipus

    Lua GuildMaster for TFS 0.3.6

    yea I know, but I haven't been able to make them work. I still can't understand properly what Level/Nick represent, I looked inside the functions but it was a bit confusing. Also, I'm not quite understanding the lua_State* L parameter, like, what can I input there? Anything? How do I get the...
  12. filipus

    Lua GuildMaster for TFS 0.3.6

    bump? ):
  13. filipus

    Lua I need support with NPC's

    I don't code my npc's that way but like this: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local TopicState = {} -- OTServ event handling functions start function onCreatureAppear(cid)...
  14. filipus

    Lua GuildMaster for TFS 0.3.6

    Questions, how do I get the variables with the lua functions? The (L* state) or whatever is my variable? I think I read somewhere it works like a stack (you push and pop from the stack) so I would have to convert right? Also, can I do a dbQuery on na NPC? That would solve everything.
  15. filipus

    Lua GuildMaster for TFS 0.3.6

    hump da bump
  16. filipus

    Is there a way to play tibia off an android device?

    you have tíbia flash, no idea how that works in other devices different from a computer. Just try it.
  17. filipus

    Lua GuildMaster for TFS 0.3.6

    @Ninja @Printer You guys are also awesome. Any idea?
  18. filipus

    Solved points for killing players

    Which is the same thing in terms of performance, just easier to read. Right? I remember someone tested at there was almost no difference (tested with big numbers). Or maybe Im mixing things up.
  19. filipus

    Solved points for killing players

    http://otland.net/threads/lua-understanding-storages.189075/ Yea storage is easier to code. @StreamSide I have a question. In terms of performance, what would be the difference? Because the storage is also stored in the database right?
  20. filipus

    Solved points for killing players

    What server version? You can also just do a table on the database Create pktable (id and count as parameters) and then you increase the count everytime you kill someone. I don't know the code, just thought this might help.
Back
Top