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

TFS 1.X+ problem maintaining the character attacking

gabrielsaintz

New Member
Joined
Jul 19, 2022
Messages
17
Solutions
2
Reaction score
4
GitHub
gabrielsaintz
When attacking a player and keeping the attack or even using spells, for some reason my character stops attacking but the target remains red. I thought it was the otclient I was using so I tested on the cip client but the same problem occurred. I believe it is a server issue that I haven't identified. Sometimes it takes a while before stopping the attack and sometimes it’s very quick; there is no set time.

I am using tfs 1.4.2 release
 
I am using tfs 1.4.2 release
10.98 or some downgrade to 8.60 etc.?

There are just few reasons C++ of TFS 1.4 cancels player target:
  • player or it's target gets into Protection Zone
  • no ping for over 7 seconds, it cancels attack on player, if server thinks you lost connection (to block offline skill training between 2 players)
  • client sets 'follow creature'

Never heard about that problem on 1.4.
 
10,98 ou algum downgrade para 8,60 etc.?

Existem apenas algumas razões pelas quais o C++ do TFS 1.4 cancela o player target:
  • o jogador ou seu alvo entra na Zona de Proteção
  • sem ping por mais de 7 segundos, cancela o ataque ao jogador, se o servidor achar que você perdeu a conexão (para bloquear o treinamento de habilidades offline entre 2 jogadores)
  • cliente define 'seguir criatura'

Nunca ouvi falar desse problema na versão 1.4.
I'm using 1.4.2 normal without modifications, protocol 1098. Of these 3 options you gave, the only one that might fit my situation is option 2:
  • no ping for over 7 seconds, it cancels attack on player, if server thinks you lost connection (to block offline skill training between 2 players)
Because I'm running a local server inside WSL and the client on Windows. I'm testing using 2 open clients logged into 2 different accounts, one attacking the other. What happens is it stops attacking and keeps the target red but no hit comes out, even if I keep walking or using spells, at some point it stops hitting while keeping the target red.
 
I'm using 1.4.2 normal without modifications, protocol 1098. Of these 3 options you gave, the only one that might fit my situation is option 2:
  • no ping for over 7 seconds, it cancels attack on player, if server thinks you lost connection (to block offline skill training between 2 players)
Because I'm running a local server inside WSL and the client on Windows. I'm testing using 2 open clients logged into 2 different accounts, one attacking the other. What happens is it stops attacking and keeps the target red but no hit comes out, even if I keep walking or using spells, at some point it stops hitting while keeping the target red.
I run TFS 1.4 (my 'compilation' branch GitHub - gesior/forgottenserver-gesior: A free and open-source MMORPG server emulator written in C++ (https://github.com/gesior/forgottenserver-gesior/tree/compilation) ) in Docker (WSL) on Windows a lot, but I never tested PvP. "ping" is part of Tibia protocol, not some real 'ping' (ICMP packet), so it should work as long as you have connection to OTS. I will try PvP tomorrow.

Do you use some Lua scripts that may affect it?
 
I run TFS 1.4 (my 'compilation' branch GitHub - gesior/forgottenserver-gesior: A free and open-source MMORPG server emulator written in C++ (https://github.com/gesior/forgottenserver-gesior/tree/compilation) ) in Docker (WSL) on Windows a lot, but I never tested PvP. "ping" is part of Tibia protocol, not some real 'ping' (ICMP packet), so it should work as long as you have connection to OTS. I will try PvP tomorrow.

Do you use some Lua scripts that may affect it?
no, no complex lua scripts, I'm just using the server as it is in release 1.4.2
 
Back
Top