bpm91
Intermediate OT User
- Joined
- May 23, 2019
- Messages
- 931
- Solutions
- 7
- Reaction score
- 128
- Location
- Brazil
- YouTube
- caruniawikibr
ERROR: ProtocolGame parse message exception (51 bytes, 0 unread, last opcode is 0x32 (50), prev opcode is 0x32 (50)): InputMessage eof reached
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 772)
ERROR: protected lua call failed: /modules/spells_store/spells_store.lua:107: attempt to index global 'spellsData' (a nil value)
stack traceback:
[C]: in function '__index'
/modules/spells_store/spells_store.lua:107: in function
modules/spells_store/spells_store.lua:107: in function </modules/spells_store/spells_store.lua:104>
Hey guys, I have a magic store on the client, and this message appears to me, does anyone know how to fix this?
static constexpr int32_t NETWORKMESSAGE_MAXSIZE = 65500;
I've tried to raise the number in const.h in tfs but the server drops it.
packet.log
ProtocolGame parse message exception (51 bytes, 0 unread, last opcode is 0x32 (50), prev opcode is 0x32 (50), proto: 772): InputMessage eof reached
38 00 2f 00
32 6a 29 00 7b 22 64 61 74 61 22 3a 7b 22 67 6f 6c 64 22 3a 36 37 36 30 30 30 30 7d 2c 22 61 63 74 69 6f 6e 22 3a 22 67 6f 6c 64 22 7d
32 6a
client
line 107/104
Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 772)
ERROR: protected lua call failed: /modules/spells_store/spells_store.lua:107: attempt to index global 'spellsData' (a nil value)
stack traceback:
[C]: in function '__index'
/modules/spells_store/spells_store.lua:107: in function
modules/spells_store/spells_store.lua:107: in function </modules/spells_store/spells_store.lua:104>
Hey guys, I have a magic store on the client, and this message appears to me, does anyone know how to fix this?
static constexpr int32_t NETWORKMESSAGE_MAXSIZE = 65500;
I've tried to raise the number in const.h in tfs but the server drops it.
packet.log
ProtocolGame parse message exception (51 bytes, 0 unread, last opcode is 0x32 (50), prev opcode is 0x32 (50), proto: 772): InputMessage eof reached
38 00 2f 00
32 6a 29 00 7b 22 64 61 74 61 22 3a 7b 22 67 6f 6c 64 22 3a 36 37 36 30 30 30 30 7d 2c 22 61 63 74 69 6f 6e 22 3a 22 67 6f 6c 64 22 7d
32 6a
client
line 107/104
Lua:
vocButton.onClick = function(self)
local spellsTable = spellsStore.spellsInfo
spellsTable:clearData()
local data = spellsData[vocation[i].voc:lower()]
Last edited: