• 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!

Search results

  1. Z

    [8.6] TFS 1.5 Baiak, Mount and Modal widow.

    @Mateus Robeerto Following the advice, I successfully imported the database into phpMyAdmin, naming it "Thunder". I then updated the config.lua file to match the new database name and ensured all other settings (like mysqlHost, mysqlUser, mysqlPass, and mysqlPort) were correctly configured...
  2. Z

    [8.6] TFS 1.5 Baiak, Mount and Modal widow.

    @Mateus Robeerto That's weird, I downloaded and installed XAMPP and started the MySQL module, but now the server wont even open and already closes. I could at least read the message, but now closes too fast for that.
  3. Z

    [8.6] TFS 1.5 Baiak, Mount and Modal widow.

    @Mateus Robeerto When I tried to open the exe, it simply closes when tried to connect to database
  4. Z

    The Forgotten Server 1.4

    Tried to compile and got 894 errors, what can it be? Saying it's not possible to open the source file (and then the name of the file)
  5. Z

    Compiling error

    1.4.2 First of all, I know that there is a lot of threads here asking the same thing, but I really try a lot of them and none helped. So, I'm having an error trying to compile my server. I'm very new on compiling, and I need to research some things to understand what are they saying. I was...
  6. Z

    TFS 0.X Add a storage to another player by params

    @Roddet Hey, it actually worked. Thank you, and thank @Xikini too I'm sorry, but can you explain why it worked?
  7. Z

    TFS 0.X Add a storage to another player by params

    @Xikini If I use just like exura sio, using params, the player who casts the spell gain the storage, not the one where its name is in the spell
  8. Z

    TFS 0.X Add a storage to another player by params

    0.4 Hi guys, I'm having a little trouble trying to do this. This spell add a storage to a player, and after 15 seconds, the storage backs to -1. I'm trying to use spells params=1 in spells.xml, just like exura sio and such, but it does not seem to work. function onCastSpell(cid, var)...
  9. Z

    TFS 0.X getSpectators error

    @Xikini Sorry for taking so long. Yeah, I think it is... it isn't? Sorry, I didn't test it right, now it worked, but not the function to change the monster's target to the player it teleported
  10. Z

    TFS 0.X getSpectators error

    Up
  11. Z

    TFS 0.X getSpectators error

    0.4 Hi guys, I am trying to learn more about getSpectators to make creative spells for monsters. I tried to make a simple script that would do the following: teleport the monster to a random player near it and start attacking that player, changing its target. function onCastSpell(cid...
  12. Z

    Simple way to remove monster?

    @Xikini Simple as that. Thank you. I thought it had something to do with talkState[talkUser], but I have no idea what does it do. Thank you again!!
  13. Z

    Simple way to remove monster?

    @Xikini Ok, I found something a little annoying. When the Npc disappears, the conversation never ends, so if I try to talk to another npc, or the same when it spawns, I can't. The only way is saying "bye" first in the npc channel to any npc, and then I can say hi again. Is there a way to end the...
  14. Z

    Simple way to remove monster?

    @Xikini I think it worked perfectly Can you think of some error it can eventually appears? Also, thank you very much.
  15. Z

    Simple way to remove monster?

    @Xikini local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function...
  16. Z

    Simple way to remove monster?

    @Xikini I think I'm still doing something wrong I put the Function part in the start of the npc script, and then paste the "-- inside your code where you create the monster" part after, inside the npc script, and returned this error: [14/5/2022 13:16:57] (luaAddEvent) Callback parameter should...
  17. Z

    Simple way to remove monster?

    @Xikini Sorry, I didn't understand. The script where summons the monster is a npc.lua And where removes it, it is a creaturescript Where do I have to add this?
  18. Z

    Simple way to remove monster?

    0.4 Hi, I am struggling with some think I know its very easy. I want a way to remove a creature after some time after it has been created. I have a npc script where summons a creature, and it adds an event that removes it, but if a player kills the creature, obviously returns an error. So I...
  19. Z

    DoRemoveCreature and DoCreateNPC

    @chucky91 Yeah, its doCreateNpc also it didn't work, so maybe my TFS is bugged... @mano368 I tried both names, and it didn't work, but perhaps is my TFS 1651011476 Actually, my /n does work. If I type the name, does not work, but if I copy ctrl c in the xml, it works. Have no idea why, but...
  20. Z

    DoRemoveCreature and DoCreateNPC

    @mano368 Thank you, but I tested his first and it kinda worked Just to be sure, I am ctrl+c ctrl+v in his xml, here: <npc name="Test NPC" script="EF westfall sem teto.lua" walkinterval="0" floorchange="0" lookdir="3" > @ond The npc got removed, but returned this error (luaDoCreateNpc) Npc...
Back
Top