mehah / forgottenserver-optimized

Optimized forgotten server made by @SaiyansKing
GNU General Public License v2.0
2 stars 4 forks source link

black issue #4

Open realmaddev1337 opened 10 months ago

realmaddev1337 commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago

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!