Jump to content

how to fix? player // monarch.sql


Recommended Posts

hi someone know how to fix?

 

SYSERR: Dec 31 12:50:31 :: pid_init:
Start of pid: 895

SYSERR: Dec 31 12:50:32 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Column 'name' in field list is ambiguous
query: SELECT empire, pid, name, money, windate FROM monarch a, player  b where a.pid=b.id
SYSERR: Dec 31 12:50:41 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
SYSERR: Dec 31 12:50:41 :: pid_deinit:
End of pid

Link to comment
Share on other sites

 

if you're using the source

 

You'll find it fixed in Novaline,

DB/Monarch.cpp

	snprintf(szQuery, sizeof(szQuery), "SELECT a.empire, a.pid, b.name, a.money, a.windate FROM monarch a, player%s b WHERE a.pid=b.id", GetTablePostfix());

now : SYSERR: Dec 31 14:32:40 :: Load:  DirectQuery failed(SELECT IP_FROM, IP_TO, COUNTRY_NAME FROM iptocountry)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.