Topic: [solved] please helpe me make new icon
i use this code
forums.harpywar.com/viewtopic.php?id=1007
But i get error like this
/home/pvpgn/src/bnetd/command.cpp: In function ‘int pvpgn::bnetd::_handle_seticon_command(pvpgn::bnetd::t_connection*, const char*)’:
/home/pvpgn/src/bnetd/command.cpp:4489:98: error: ‘account_get_auth_icon’ was not declared in this scope
snprintf(msgtemp, sizeof(msgtemp), "Bomb: Bomb , %d",account_get_auth_icon(account,"bomb"));
^
/home/pvpgn/src/bnetd/command.cpp:4563:75: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘const char*’ [-Wformat=]
eventlog(eventlog_level_warn,__FUNCTION__,"unknown icon: %x", text);
^
/home/pvpgn/src/bnetd/command.cpp:4570:43: error: ‘account_set_auth_icon’ was not declared in this scope
account_set_auth_icon(account, icon, 1);
^
/home/pvpgn/src/bnetd/command.cpp:4577:43: error: ‘account_set_auth_icon’ was not declared in this scope
account_set_auth_icon(account, icon, 0);
^
make[2]: *** [src/bnetd/CMakeFiles/bnetd.dir/command.o] Error 1
make[1]: *** [src/bnetd/CMakeFiles/bnetd.dir/all] Error 2
How to solve it Thanks
Added: 18.10.2014 02:17
waw no one cannot help me oh , useless this forum only view my post