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

OTClient Market Aint Working

liqeen

Active Member
Joined
Nov 26, 2014
Messages
151
Solutions
1
Reaction score
30
Location
Poland
After few hours having fun with otclient I noticed that market isnt working, when I click on the market icon inside dp it says
Code:
ERROR: /modules/game_market/market.lua:729: bad argument #1 to 'insert' (table expected, got nil)
ERROR: ProtocolGame parse message exception (494 bytes, 31 unread, last opcode is 238, prev opcode is 242): unhandled opcode 238
What causes it?
 
passed variable to insert (probably table.insert) was nil and it expected value that is a table.
 
passed variable to insert (probably table.insert) was nil and it expected value that is a table.
So how I can fix that table?
Lines 729-730
Code:
          table.insert(marketItems[marketData.category], marketItem)
          itemSet[marketData.tradeAs] = true
 
its regarding market items, so you are missing market items in your dat file probably.
 
Back
Top