but when server start it can't load plugin (failed to load skipping)
/* run when server is ready (online) */HPExport void server_online (void) { vending = GET_SYMBOL("vending"); vending->purchase = myplugin_purchasereq; do_init_myplugin();}
Without overloading plugin load normally
try to put overloading into plugin_init, and again "failed to load skipping"
Compiling plugin wihtout errors/warnings
but when server start it can't load plugin (failed to load skipping)
/* run when server is ready (online) */HPExport void server_online (void) { vending = GET_SYMBOL("vending"); vending->purchase = myplugin_purchasereq; do_init_myplugin();}Without overloading plugin load normally
try to put overloading into plugin_init, and again "failed to load skipping"
HPExport void plugin_init (void) { StrBuf = GET_SYMBOL("StrBuf"); SQL = GET_SYMBOL("SQL"); map = GET_SYMBOL("map"); iMap = GET_SYMBOL("iMap"); mapit = GET_SYMBOL("mapit"); iTimer = GET_SYMBOL("iTimer"); vending = GET_SYMBOL("vending"); vending->purchase = myplugin_purchasereq;}Server under Ubuntu Server 13.04
Share this post
Link to post
Share on other sites