Samuel 83 Posted October 29, 2013 (edited) Hi guys! So I'm converting Xantara's @itemmap command and script command to a plugin. No error with compilation but having server crash. Here's the dump file: http://upaste.me/53d483900b1f52ff Here's the code: http://upaste.me/f2cb8389631d3614 Edited October 29, 2013 by Samuel Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted October 30, 2013 (edited) Here's the File: itemall.txt (there was just minor error that cause the crash) P.S: I was not able to attach .c file so I have just renamed it to .txt. Edited October 30, 2013 by Dastgir Pojee Quote Share this post Link to post Share on other sites
0 Samuel 83 Posted October 30, 2013 (edited) Here's the File: itemall.txt (there was just minor error that cause the crash) P.S: I was not able to attach .c file so I have just renamed it to .txt. Hmm, what is the minor error? Thank you! Edit: Still not fixed... Still causing map server crash Edited October 30, 2013 by Samuel Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted October 30, 2013 (edited) Missing calls to these in plugin_init were causing the crash. itemdb = GET_SYMBOL("itemdb"); bg = GET_SYMBOL("bg"); mapit = GET_SYMBOL("mapit"); pet = GET_SYMBOL("pet"); since itemdb->(and others) were used but not defined in plugin_init. Edited October 30, 2013 by Dastgir Pojee Quote Share this post Link to post Share on other sites
0 Samuel 83 Posted October 30, 2013 Missing calls to these in plugin_init were causing the crash. itemdb = GET_SYMBOL("itemdb"); bg = GET_SYMBOL("bg"); mapit = GET_SYMBOL("mapit"); pet = GET_SYMBOL("pet"); since itemdb->(and others) were used but not defined in plugin_init. Still getting crash.. and I have found this console error: HPM:get_symbol:itemmap 'bg' not found! Quote Share this post Link to post Share on other sites
0 ossi0110 200 Posted October 30, 2013 (edited) Missing calls to these in plugin_init were causing the crash. itemdb = GET_SYMBOL("itemdb"); bg = GET_SYMBOL("bg"); mapit = GET_SYMBOL("mapit"); pet = GET_SYMBOL("pet"); since itemdb->(and others) were used but not defined in plugin_init. Still getting crash.. and I have found this console error: HPM:get_symbol:itemmap 'bg' not found! Im workin on it atm , Plugin doesent crash anymore but atm the items are not given out Edited October 30, 2013 by ossi0110 Quote Share this post Link to post Share on other sites
0 Samuel 83 Posted October 30, 2013 Missing calls to these in plugin_init were causing the crash. itemdb = GET_SYMBOL("itemdb"); bg = GET_SYMBOL("bg"); mapit = GET_SYMBOL("mapit"); pet = GET_SYMBOL("pet"); since itemdb->(and others) were used but not defined in plugin_init. Still getting crash.. and I have found this console error: HPM:get_symbol:itemmap 'bg' not found! Im workin on it atm , Plugin doesent crash anymore but atm the items are not given out Alright, will be waiting for it. If you want, you could also post the code so we could see and look and try to find what's wrong too. Thanks! Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted December 11, 2013 Released : http://herc.ws/board/topic/2706-itemmap/ 1 karazu reacted to this Quote Share this post Link to post Share on other sites
Hi guys!
So I'm converting Xantara's @itemmap command and script command to a plugin. No error with compilation but having server crash.
Here's the dump file:
http://upaste.me/53d483900b1f52ff
Here's the code:
http://upaste.me/f2cb8389631d3614
Edited by SamuelShare this post
Link to post
Share on other sites