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

Recent content by bizao030188

  1. B

    TFS 1.X+ Allow summons to follow players inside PZ

    Hi guys! I am trying to allow the summon of a player follow him inside a protection zone by editing the source but didn't find the place where it checks if the monster still following the player or not. Do you guys know where I should edit? I am using TFS 1.2! Thanks in advance.
  2. B

    Double Shot Script

    try local leftHand = player:getSlotItem(CONST_SLOT_LEFT):getId()
  3. B

    How to increase the rendered size of the map on TFS 1.2 + OTClient?

    Hi guys! I am trying to use a different view for OTClient (pressing ctrl + . 2 times) but I am facing some problems related to the size of the map that is rendered. When I change to this view, the client shows the map being rendered while the character moves. I would like to increase the render...
  4. B

    Help with C++ TFS 1.2

    Thanks! Working as expected!
  5. B

    Help with C++ TFS 1.2

    Actually what I want is to know if the player has a summon not if the creature is a summon. Would be something like creature->getPlayer()->hasSummons() but the hasSummons function doesn’t exist
  6. B

    Help with C++ TFS 1.2

    Hi guys! I am trying to chance the monster.cpp function bool Monster::selectTarget(Creature* creature) and I must know if the creature is a player and has at least one summon. How can I do that? It is something like this: if (creature->getPlayer() && creature->getPlayer()->...) { What...
  7. B

    Help debug tfs 1.2 crash

    Hi all! I started a tfs 1.2 server and got a crash related to moveEvent but I am not sure from where it came from. is it possible to debug in a way that I can see which script was running just before the crash or something like that? What do you guys recommend me to do in order to find it out? I...
  8. B

    Question about monster:remove()

    Hi! It is usually not needed if you are running your server in a good computer. I used this just in order to minimize the cpu usage of my server in a new script that uses the monster:remove() function.
  9. B

    Help with paralyze spell in area

    Thank you, working as expected!
  10. B

    Help with paralyze spell in area

    Hey there, I am trying to implement a spell that paralyzes monsters in a certain range. This is what I have so far: local condition = Condition(CONDITION_ATTRIBUTES) condition:setParameter(CONDITION_PARAM_TICKS, 4000) condition:setParameter(CONDITION_PARAM_SPEED, 50) local combat = Combat()...
  11. B

    How to send a tutorial to new players on TFS 1.2

    Hi all! I want that when the player log in for the first time he receives a tutorial about how to play the game. I found out the function player:sendTutorial(tutorialId). Is this what I am thinking about? I know it is possible to send a text box or something but I would like something better...
  12. B

    My 3D game project, a bit similar to Tibia!

    Really nice! Could you please share us some technical information? (I mean which language you used, if you are using some framework, etc)
  13. B

    Lua Exp extra for players vips

    Try this function Player:onGainExperience(source, exp, rawExp) if not source or source:isPlayer() then if source:getPremiumDays() > 0 then exp = exp * 1.5 end return exp end end
  14. B

    TFS 1.X+ New slot not saving items (TFS 1.2)

    @Evil Hero anything else that I could try? Thanks If I create the item marked with "order" slot using /i command it goes directly to the right slot. Can't understand why it is not being loaded. --Edit Got it! I had also to change player.cpp: void Player::internalAddThing(uint32_t index...
Back
Top