Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

black issue #4

Open
realmaddev1337 opened this issue Nov 2, 2023 · 2 comments
Open

black issue #4

realmaddev1337 opened this issue Nov 2, 2023 · 2 comments

Comments

@realmaddev1337
Copy link

hello, firstly thanks for all the contributions to the community!

I decided to try your projects and everything went okay with the compilation etc, however when trying to join this is what i am looking at using your https://github.com/mehah/otclient

grafik
as you can see the map/everything on screen is just black and it drops tons of

ERROR: Unable to send extended opcode 1, extended opcodes are not enabled
ERROR: ProtocolGame parse message exception (4156 bytes, 4042 unread, last opcode is 0x64 (100), prev opcode is 0x82 (130)): invalid thing id
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 1098)
ERROR: Unable to send extended opcode 1, extended opcodes are not enabled
ERROR: ProtocolGame parse message exception (7332 bytes, 7218 unread, last opcode is 0x64 (100), prev opcode is 0x82 (130)): invalid thing id
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 1098)
ERROR: Unable to send extended opcode 1, extended opcodes are not enabled
ERROR: ProtocolGame parse message exception (7483 bytes, 7369 unread, last opcode is 0x64 (100), prev opcode is 0x82 (130)): invalid thing id
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 1098)
ERROR: no thing at pos:104 121 7, stackpos:2
at:
    [C++]: ?getMappedThing@ProtocolGame@@QEBA?AV?$shared_ptr@VThing@@@std@@AEBV?$shared_ptr@VInputMessage@@@3@@Z
ERROR: no thing
at:
    [C++]: ?parseTileRemoveThing@ProtocolGame@@AEBAXAEBV?$shared_ptr@VInputMessage@@@std@@@Z
ERROR: Unable to send extended opcode 1, extended opcodes are not enabled
ERROR: ProtocolGame parse message exception (4156 bytes, 4042 unread, last opcode is 0x64 (100), prev opcode is 0x82 (130)): invalid thing id
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 1098)```
@kokekanon
Copy link

specifically in that repo server says:

image

https://github.com/mehah/otclient/blob/main/modules/game_features/features.lua#L5
add

g_game.enableFeature(GameCreatureShader)
g_game.enableFeature(GameCreatureAttachedEffect)
g_game.enableFeature(GameItemShader)

@realmaddev1337
Copy link
Author

realmaddev1337 commented Nov 2, 2023

oh I must have overseen that one, thank you very much the black screen issue has been resolved!

on top of that, it seems to miss some outfits/items? I tried to download dat and spr for 10.98 from OTS.ME Downloads (https://downloads.ots.me/?dir=data/tibia-clients/) and GitHub - EPuncker/1098extended (https://github.com/EPuncker/1098extended) where as the first one worked but missed some, and the second just produces a crash and many black tiles

again thanks very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants