• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

[HELP] Teleport Summons

perdigs

New Member
Joined
Aug 22, 2010
Messages
114
Reaction score
1
Hello guys
uam I help because I would use the TFS 0.3.6 and has a bug where the summon follows the character for only 30 SQM away, and teleport to places more than 30 SQM he disappears, I wonder where I change the source to this be possible if I walk 10,000 SQM summon me the following without disappearing. Another thing to teleport when I take some distance whenever he appears in front of me would make him teleport behind me forever?
More uam thing when climbing stairs and down the hole summon come with me, where do I change an source for that to happen he swempre come with me?

I really need your help to change these sources and remove these bugs.
Thank you.

(Sorry for the english im using google translate but my english is not good)
 
Do you mean you wsnt to teleport summons to you if you are far?, config.lua , i dont have it but it should be somthng like teleportsummons = false , make it true
 
No man i have said in the topic is a bug
this bug in TFS 0.3.6 all summons cannot telport to player
more of 30 sqms, the summon disapear....
i have change to false and to true and summon disapear

But thank for the help
xD
 
Creature::onCreatureMove()

there is despawnList with removeCreature action, change it to teleport.
 
BUMP
I need a help, to discover if have a bug in this script

LUA:
bool Monster::doTeleportToMaster()
{
	const Position& tmp = getPosition();
	if(g_game.internalTeleport(this, g_game.getClosestFreeTile(this,
		getMaster()->getPosition(), true), false) != RET_NOERROR)
		return false;

	g_game.addMagicEffect(tmp, MAGIC_EFFECT_POFF);
	g_game.addMagicEffect(getPosition(), MAGIC_EFFECT_TELEPORT);
	return true;
}

This script teleports a summon to master
but if a distance is more of 30 sqm the summons disapear
 
You can do like this.
Find
Code:
Monster::onThink(uint32_t interval)

And put somewhere below this.

Code:
if(getMaster()){
    	if(!Position::areInRange<8,8,0>(getPosition(), getMaster()->getPosition()))
                        doTeleportToMaster();           
      }

But there was a lua option once, teleportToMaster or something like that.
Cheers.
 
rox666

I have these lines that Tarjei posted to me
I need help to change them so that the summon will always be teleported to the player even if the distance exceeds 30 sqm for example if I enter a teleporter that teleports me for more than 30 sqm away from my summon him some, this bug hinders my server because in some quests is necessary to use summon put some teleports have more than 30 sqm.
If you can help me remove this bug thanks.
 
I know that, its already true but still it dont get teleported if you go to far away!
 
Bump

To see this problem, get your tibia 8.54 and open the tfs and configure to teleport summon, and try, summon a monster and say the talkacktion /a 29, the summon is teleported to you, if you say, /a 31 or more of 31 your summon disapear, please help to solve this problem.
 
Back
Top