[RESOLVED] Weird error ([Debug]: at ..\src\map\npc.c:1432)

Leecher

New member
Messages
49
Points
0
Hi,

I don't know how to fix this error. I am merging the updated revisions to my localpc then this happens. My last update was June 2, 2014.

Please help, thanks!

erre.png

 
Last edited by a moderator:
Post that line from npc.c (1432)

 
Post that line from npc.c (1432)
From line 1429 to 1435

if ( SQL_ERROR == SQL->StmtPrepare(stmt, "SELECT `name`, `itemid`, `amount` FROM `%s`", map->npc_market_data_db) || SQL_ERROR == SQL->StmtExecute(stmt) ) { SqlStmt_ShowDebug(stmt); SQL->StmtFree(stmt); return; } 
SqlStmt_ShowDebug(stmt); <<< Line 1432
 
Post that line from npc.c (1432)
From line 1429 to 1435

if ( SQL_ERROR == SQL->StmtPrepare(stmt, "SELECT `name`, `itemid`, `amount` FROM `%s`", map->npc_market_data_db) || SQL_ERROR == SQL->StmtExecute(stmt) ) { SqlStmt_ShowDebug(stmt); SQL->StmtFree(stmt); return; } 
SqlStmt_ShowDebug(stmt); <<< Line 1432
that means map->npc_market_data_db is empty

So check if you have following lines in map.c: Line 3659 (if its without any source edits)

else if(strcmpi(w1,"npc_market_data_db")==0) strcpy(map->npc_market_data_db, w2);
and in inter-server.conf: Line 130 or around that

npc_market_data_db: npc_market_data 
if not, that means you have not updated it properly, so maybe update it via git(which is the most preferred way) or get a new revision
 
FIXED!

I didn't see it, no conflicts because I add to ignores list the inter-server.conf, maps-server.conf, char-server.conf to avoid to accidentally add and commit it for my server, specifically the IP's.

Therefore, that causes the trouble.

Thanks! 

 
Back
Top