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

TFS 1.X+ Debug Oldclient in Spec Cast TFS 1.5

tibera

Well-Known Member
Joined
Nov 9, 2014
Messages
137
Reaction score
57
Location
Governador Valadares - MG
debug.webp

TFS 1.5 downgrade nekiro
I get this debug in the old client when I access the old-to-old or old-to-otc cast system.
Can someone give me a hint or direction on where I should be checking in the source?
 
@Gesior.pl
1. What cast system did you install? Got link to it?
There were multiple cast systems for TFS 1.x, which were never merged into official TFS, because they had problems with cast viewers debugs, even on protocol for which they were made (10.76 / 10.98).

I used the commit from this link as a basis:Cast system by Milice · Pull Request #2007 · otland/forgottenserver (https://github.com/otland/forgottenserver/pull/2007/commits/994519f0cd2c1989f033b0c27b9b702e98ee88e1)

2. Does it crash, when you login into cast that is on given floor?

No issues occur when watching the broadcast of players who are on floors 8, 9, 10, or higher.

3. Does it crash, when you login into cast that is on other floor (higher than 8) and then casting player walks to invalid floor (lower than 7)?

A debug occurs when accessing the broadcast of players who are on the ground floor or floors 7, 6, 5, 4, 3, 2, or 1.

Observation: In OTCv8, it works perfectly on all floors. The real issue is only with the old client 8.6.
 
Last edited:
On screen it says that it crashed on packet ID 181 (hex: 0xB5), which is "cancel walk". It does not make sense.
Cast system you mentioned has a lot of problems reported in PR comments (server crashes, client crashes):
It looks like it's based on old "djarek cast system", which was known for crashing client, when you connected to caster that had a lot of moving players/monsters on screen.
Observation: In OTCv8, it works perfectly on all floors. The real issue is only with the old client 8.6.
Question:
How often does it crash? Instant when players move to one of wrong floors? After few seconds? After few minutes?
2. Does it crash, when you login into cast that is on given floor?

No issues occur when watching the broadcast of players who are on floors 8, 9, 10, or higher.

3. Does it crash, when you login into cast that is on other floor (higher than 8) and then casting player walks to invalid floor (lower than 7)?

A debug occurs when accessing the broadcast of players who are on the ground floor or floors 7, 6, 5, 4, 3, 2, or 1.
I'm still not sure, if it's problem with:
  • login to Cast on given floor
  • walking between floors
  • walking on given floor
  • monsters/NPCs walking on screen (maybe these floors have them more on player screen, server sends just few floors up/down, when you are on X floor)

Things to TEST:
1. Join to same cast with OTC and Tibia Client. Wait until Tibia Client crash. Check OTC Terminal (CTRL+T). Are there any errors/warnings about network or creatures?
2. Login to cast of player that is on floor 6. Does it crash?
3. Login to cast of player that is on floor 9. Does it crash?
4. Login to cast of player that on floor 9. Teleport this player to floor 6 (by TP on map or by GOD). Does it crash?
5. [IF 4 did not crash] make step by this player on floor 6. Does it crash?

6. Do same tests with map that has no monsters and no NPCs. So nothing except our casting player does not move.
Then we will know, if it's problem with map (Tile) streaming from server to client or with creature movement.
 
On screen it says that it crashed on packet ID 181 (hex: 0xB5), which is "cancel walk". It does not make sense.
Cast system you mentioned has a lot of problems reported in PR comments (server crashes, client crashes):
It looks like it's based on old "djarek cast system", which was known for crashing client, when you connected to caster that had a lot of moving players/monsters on screen.

Question:
How often does it crash? Instant when players move to one of wrong floors? After few seconds? After few minutes?

I'm still not sure, if it's problem with:
  • login to Cast on given floor
  • walking between floors
  • walking on given floor
  • monsters/NPCs walking on screen (maybe these floors have them more on player screen, server sends just few floors up/down, when you are on X floor)

Things to TEST:
1. Join to same cast with OTC and Tibia Client. Wait until Tibia Client crash. Check OTC Terminal (CTRL+T). Are there any errors/warnings about network or creatures?
2. Login to cast of player that is on floor 6. Does it crash?
3. Login to cast of player that is on floor 9. Does it crash?
4. Login to cast of player that on floor 9. Teleport this player to floor 6 (by TP on map or by GOD). Does it crash?
5. [IF 4 did not crash] make step by this player on floor 6. Does it crash?

6. Do same tests with map that has no monsters and no NPCs. So nothing except our casting player does not move.
Then we will know, if it's problem with map (Tile) streaming from server to client or with creature movement.
The crash is instantaneous upon entering any floor 7, 6, 5, 4, 3, 2, 1.I will run tests as you mentioned and get back with answers.
 
Back
Top