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

    Lua GHOST Script

    It is working now, I forgot to revert some changes I previously made on game.cpp Ty for helping everybody
  2. A

    Lua GHOST Script

    it is progress, that new script for invis won't run.. yet, need to check into that.. complains about player nil, etc etc Lua Script Error: [Spell Interface] tfs | data/spells/scripts/support/invisible.lua:onCastSpell tfs | data/spells/scripts/support/invisible.lua:15: attempt to index global...
  3. A

    Lua GHOST Script

    probably double lined here.. but tried something like bool Player::canSeeGhostMode(const Creature* creature) const { const Player* player = creature->getPlayer(); if (player) { // players with vocation ID 1 can see each other if invisible if...
  4. A

    Lua GHOST Script

    thank you for response, in tfs 1.3 it is a bit different however i added lines and get error in player.h and compile bool canSeeGhostMode(const Creature* creature) const override; bool Player::canSeeGhostMode(const Creature *creature) const override member function declared with 'override'...
  5. A

    Lua GHOST Script

    that is fine, any idea where i would be able to do this particular change?
  6. A

    Lua GHOST Script

    Bump
  7. A

    Lua GHOST Script

    Hey, I have a ghost script here It works very well. I want to know if there is a way that if Vocation 1 goes ghost, people who are also vocation 1 can see the ghost still? So example; VocationID 1 goes ghost, VocationID 2 cannot see him, however Vocation 1 can still see the ghost guy? kind of...
  8. A

    [USA] [CUSTOM] Souls of Elysium - RPG

    my friend got banned on his account for suspicious amount of points, guess this server doesn't log transfer of points.. they are bunch of crazy people over there, don't waste time lol
  9. A

    Solved NPC Error?

    bro ty that .lua showed me a error i had in mine... that file was there but my dofile was messaged up.. wonder why it never flagged that error in console.. you make me happy :)
  10. A

    Solved NPC Error?

    So, this is a odd one.. I try search on otland for somebody with simiilar issue but cannot seem to find it.. sorry if repeat though TFS 1.3 Client 10.98 Console error is this Any help appreciated, it looks like this same error message happens on all NPC's when you ask for info like job...
  11. A

    Lua Drop 1 item per kill, and drop items on ground (no loot bodies)

    Hey, Kind of a weird request, but when I am editing monsters loot, obviously it looks like something like My question is, is there a way for it to only drop 1 item per time (if it drops)? So if I kill a rat, it might drop a dagger, or a hand axe, or a gold coin.. but not like dagger, axe and...
  12. A

    OTClient Show emblem on character name in-game?

    Thank you, I guess I never got rid of the //msg.addByte part, once I did that it works.. sorry for the confusion.
  13. A

    OTClient Show emblem on character name in-game?

    Thanks for the info, I did the change and re-compiled, it "worked" sorta.. there is a black box around the characters and it looks like the creature summon icon, lol... but vocation 2 shows up invisible. And GM account is all goofed (since no longer has a vocation).. I will keep testing, let me...
  14. A

    OTClient Show emblem on character name in-game?

    Hi, Is there a way to show a emblem on certain vocations in-game? Such as emblem_blue for Mage and emblem_red for Druid? Have it show up next to their name in-game, so everybody sees it. Thanks in advanced TFS 1.3, Client 10.98
  15. A

    TFS 1.X+ spell can crash server?

    I am not a very good scripter.. but I typically spin up test server and test new spells, if it crashes, then I fix why it crash :) Goodluck :D Best to learn from errors, so I just keep tweaking things until it works correctly
  16. A

    [TFS 1.X] Rarity Rolls & Custom Attributes Library

    Well this is bizarre I finally got onInventoryUpdate to work, hurray! I do however, do not ever get any rare item drops, or anything.. no console errors.. /roll function works properly .. but hmm...
  17. A

    Lua Extra Loot Drops

    Just going to use this instead: CreatureEvent - [TFS 1.1] Extra loot system (https://otland.net/threads/tfs-1-1-extra-loot-system.230102/) Delete this :D
  18. A

    Lua Setting skill requirement on items

    That did it! Thank you for helping my oversights :) Still learning Update code for anybody wondering now function onEquip(cid, item, slot) local lvl = 130 local p = cid if p:getId(cid) and p:getSkillLevel(1) < 130 then doPlayerSendTextMessage(cid,25,"You need 130.")...
  19. A

    Lua Setting skill requirement on items

    I try his change but give console errors then With what you say here, I do get (You need 130.) now, but when I equip with player with 130+ it just says "You cannot dress this object here" Which is odd, because I state in movements slot="hand"
  20. A

    Lua Setting skill requirement on items

    Did not work sadly, still no errors 1661528156 I am new to this, I was browsing through compat.lua and using the function types there... I figured I was doing things correctly since no errors but.. that is not that case :D
Top