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

OTClient Nekiro TFS 772 mount system

Malek

Member
Joined
Dec 25, 2009
Messages
102
Reaction score
5
Hey im download GitHub - nekiro/TFS-1.5-Downgrades at 7.72 (https://github.com/nekiro/TFS-1.5-Downgrades/tree/7.72) and OTClient with shop,mount system otcv8-dev/modules at master · OTCv8/otcv8-dev (https://github.com/OTCv8/otcv8-dev/tree/master/modules)

I have this problem because in the first version I tried to add this commit to TFS 1.5 7.72 downgrade by nekiro. I downloaded a clean version of OTCv8 and added these features to game features:

Code:
g_game.enableFeature(GameExtendedOpcode)
g_game.enableFeature(GameNewOutfitProtocol)
g_game.enableFeature(GamePlayerAddons)
g_game.enableFeature(GamePlayerMounts)

And that’s where the problems begin.
In the first edited version of the source, I managed to run the server without any issues. However, when I open the outfit window and select a mount, the mount is not visible — first, it doesn’t appear in the Preview window, and second, when I choose a mount in-game, I can see the “mounted” effect (the HP/mana bar and nickname move down), and when I enter a protection zone it’s clear that the mount is being removed, and when I leave, it’s applied again — but the mount itself is invisible in the game.

It seems like OTClient has a problem reading its sprite or graphic — am I right?
In the mount selection window, all the mount graphics display correctly.
In my .dat file, I added the mount graphics in the range 290–300, and the mount effect works, but the mount’s sprite is invisible. Then I get kicked from the game, and OTClient shows this debug console output:


Code:
[OUTFIT DEBUG] onElementSelect CALLED with widget
[OUTFIT DEBUG] Catalog selected: mount
[OUTFIT DEBUG] Mount selected: 295
[OUTFIT DEBUG] Widget checked: true
[OUTFIT DEBUG] Setting config.mount checkbox to true
[OUTFIT DEBUG] onElementSelect CALLED with widget
[OUTFIT DEBUG] Catalog selected: mount
[OUTFIT DEBUG] Mount selected: 295
[OUTFIT DEBUG] Widget checked: true
[OUTFIT DEBUG] Setting config.mount checkbox to true
[OUTFIT DEBUG] accept() CALLED!
[OUTFIT DEBUG] BEFORE changeOutfit - id=nil addons=0 head=125 body=48 legs=68 feet=26 mount=295
[OUTFIT DEBUG] After changeOutfit - Mount checkbox checked: true
[OUTFIT DEBUG] After changeOutfit - Mount in outfit: 295
[OUTFIT DEBUG] After changeOutfit - Player isMounted: false
[OUTFIT DEBUG] After changeOutfit - Player outfit FROM SERVER: id=nil addons=0 head=125 body=48 legs=68 feet=26 mount=0
[OUTFIT DEBUG] Calling player:mount() AFTER outfit
[OUTFIT DEBUG] player:mount() returned: nil
[OUTFIT DEBUG] Player now isMounted: false
Post automatically merged:

ERROR: Unable to send extended opcode 201, extended opcodes are not enabled on this server.
ERROR: ProtocolGame parse message exception (2811 bytes, 120 unread, last opcode is 0x00 (0), prev opcode is 0xa2 (162)): InputMessage eof reached
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 772)


Pracuje na czysto pobranym TFS Commits · Mateuzkl/TFS-1.5-772 (https://github.com/Mateuzkl/TFS-1.5-772/commits/7.72/)

z wlaczonymi
g_game.enableFeature(GameExtendedOpcode)
g_game.enableFeature(GameNewOutfitProtocol)
g_game.enableFeature(GamePlayerAddons)
g_game.enableFeature(GamePlayerMounts)
 
Last edited:
Back
Top