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

    monsters drop empty bags

    Sounds like a Cipsoft lazy solution
  2. Eremes

    monsters drop empty bags

    There is one solution without changing sources. Let's say you want a 10% shield inside the bag and a 5% sword. You change the bag chance to 10%, the shield to 100% and the sword to 50%, so they will have the same % as before, because they can only be dropped with the bag (i guess), and the bag...
  3. Eremes

    C++ allowFightBack

    His problem: Player A attack Player B Player B attack Player A for self defense now Player B has a yellow skull and player A can kill him without getting a frag. But yes, like @ZowN mentioned, i think this is how it supposed to work with allowFightBack = false, if you don't want this, just...
  4. Eremes

    OTClient Login window desappear when set unique server

    Looks like you are trying to pass a number as your IP instead of a string It should be "YourIP", like something("127.0.0.1") and not something(127.0.0.1)
  5. Eremes

    How to make a door that closes after player pass through?

    You should use the open door itemId instead of an unique id. <movevent event="StepOut" itemid="1224" script="closingdoor.lua" /> Replace 1224 with your open door item ID. If you use an updated TFS, you probably have already this closingdoor.lua script, and you can delete this closedoor.lua that...
  6. Eremes

    How to make a door that closes after player pass through?

    Maybe your XML config is wrong, can you show it? And tell me whats the open door id
  7. Eremes

    Why this login script doesn't work?

    Maybe there is another code changing the town id on the first login. I would change it to an addEvent in the login, so it would execute after the others callbacks, and see if it works. If yes, i would search for it.
  8. Eremes

    How to make a door that closes after player pass through?

    Your code works, but has some problems. You need to check if there is another player in the door, move items, etc. Check the closingdoor.lua from the TFS repo: function onStepOut(creature, item, position, fromPosition) local tile = Tile(position) if tile:getCreatureCount() > 0 then...
  9. Eremes

    TFS 1.X+ Spell IDs cause exhaust on wrong spells

    You want to use spellid 87 because you want to use the same icon from exori mort, right? I would recommend to use a new spellid, some icon from another vocation or creating your own icon with otclient instead of using two equals icons in the same vocation, cuz that would be confusing for players...
Back
Top