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

    Differentiate CONDITION_INFIGHT?

    Thank you for the fast response, It did not seem to go into affect however I have tried both ways, if you are skulled you can teleport.. also if you are getting attacked by player you still can teleport Funny to see a skulled player teleport into PZ :D I forgot to mention I am using TFS 1.4.2
  2. Fischturd

    Differentiate CONDITION_INFIGHT?

    Hello, is there a way to differentiate the condition_infight? Take this script for example; local teleportScroll = Action() function teleportScroll.onUse(player, item, fromPos, target, toPos, isHotkey) if player:hasCondition(CONDITION_INFIGHT) then...
  3. Fischturd

    Feature Reborn System | Reset level, increase power, set exclusive items, spells, houses, web and more!

    Sorry to revive a old thread, everything seems to be working just fine... however there is one thing that is odd... for some reason after implementing all of this I see the TFS console is just spamming "1" when somebody logs in *Edit Looks like this may be the source.. will test, but so far it...
  4. Fischturd

    TFS 1.X+ Remove Magic Level?

    Hey everybody, I have a script I am working on to remove club and magic level when using a item local decreaseSkillLevels = 15 local currentClubSkill = player:getSkillLevel(SKILL_CLUB) or 0 local...
  5. Fischturd

    Monster ViewRange configured in monster.xml files

    Really neat idea, I was not able to get it working on TFS 1.4 though.. kind of a bummer, maybe something to dig into later :) Edit: Did get it working in TFS 1.4 by editing monster.cpp as well bool Monster::canSee(const Position& pos) const { int viewX = Map::maxViewportX; int viewY =...
  6. Fischturd

    [1.4.2] Spawn when player on screen with teleport effect.

    I use TFS 1.4.2 here is my spawn.cpp I have no issues // Copyright 2022 The Forgotten Server Authors. All rights reserved. // Use of this source code is governed by the GPL-2.0 License that can be found in the LICENSE file. #include "otpch.h" #include "spawn.h" #include "game.h" #include...
  7. Fischturd

    [1.4.2] Spawn when player on screen with teleport effect.

    You are talking about creature spawning I am guessing? https://github.com/otland/forgottenserver/commit/c02bafa02fc63034cdda98bbf58325f6867c0184
  8. Fischturd

    C++ Semi-Aggressive Monster

    Bump :D
  9. Fischturd

    CreatureEvent [TFS 1.3 / 1.4] Upgrade System

    I think it is based here within the core.lua, it is taking monster health and experience and rolling based on that.. you can probably play with the settings function MonsterType.calculateItemLevel(self) local level = 1 local monsterValue = self:getMaxHealth() + self:getExperience()...
  10. Fischturd

    C++ Semi-Aggressive Monster

    Hey all, I just introduced this script: Passive Monsters (Attack when attacked) (https://otland.net/threads/passive-monsters-attack-when-attacked.232475/) I got this working in TFS 1.4, however I want to see if anybody can give me some input on taking this a step further I would like to create...
  11. Fischturd

    CreatureEvent [TFS 1.3 / 1.4] Upgrade System

    Anybody have any luck adding critical hit amount and critical hit damage as a new enchant? TFS 1.4
  12. Fischturd

    Lua HealthGain and ManaGain

    Bump
  13. Fischturd

    Lua HealthGain and ManaGain

    Sorry just circling back to this, I see what you did there.. I forgot to mention this was not for max/hp/mp it was for the gainhpamount and gainmanaamount per tick.. so in vocations.xml you have gainhpticks="4" gainhpamount="5" gainmanaticks="4" gainmanaamount="5" This value will not change...
  14. Fischturd

    Lua HealthGain and ManaGain

    Up up
  15. Fischturd

    NPC shows items to sell that the player doesn't have in their backpack

    That is really weird to me, I never did anything fancy to make it appear with charges (my server doesn't use charges) but it works just fine I add something in the shop with charges.. https://gyazo.com/099555ceee44ee1580673bec63d88fda What if you take <parameter key="shop_buyable" value="...
  16. Fischturd

    NPC shows items to sell that the player doesn't have in their backpack

    <parameter key="shop_buyable" value=" dragon necklace, 2201,100, 1000,200; What happens if you do this? Much as when you create a item on GM with charges, you need to specify item id and how many charges, so in this case 2201,100 *Not tested I am on TFS1.4 and if I add a dragon...
  17. Fischturd

    NPC shows items to sell that the player doesn't have in their backpack

    You have show all items checked in the picture, it looks like it is functioning correctly from what I can tell.. because the items you DO have aren't greyed out.. or am I missing something? Edit: I am dumb I see it now, you have nothing equipped and no inventory.. let me review Try this local...
  18. Fischturd

    Solved Items.otb

    I don't use canary, however if you need items.otb it looks like that above picture is showing items as a XML.. so you just need to enable file extensions within File Explorer and rename it items.otb and give it a shot
  19. Fischturd

    Lua HealthGain and ManaGain

    Good morning, Good afternoon and Good evening! I recently started using this upgrade system: CreatureEvent - [TFS 1.3 / 1.4] Upgrade System (https://otland.net/threads/tfs-1-3-1-4-upgrade-system.264672/) It peaked my interest and it has been pretty fun playing around with everything, it works...
Back
Top