Jump to content
  • 0
Sign in to follow this  
AnnieRuru

battleground script commands crash using plugin

Question

this is the plugin I'm using

http://upaste.me/cf4610708642f7979

everything is ok until using the npc script

http://upaste.me/7de710709dbb6fa17

server crash

 

when using the patch, the above npc script works fine

http://upaste.me/637f10590efeb783e

but the plugin just doesn't work with npcs

 

 

just to be sure, I have also tested this plugin

http://herc.ws/board/topic/2706-itemmap/

tested with

getitem_map 501,1, strcharinfo(3), 1, getcharid(1); // okgetitem_map 501,1, strcharinfo(3), 2, getcharid(2); // okgetitem_map 501,1, strcharinfo(3), 3, 0; // crash
now I'm sure there is some problem with battleground commands ...

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

https://github.com/HerculesWS/Hercules/blob/master/src/map/map.c#L5453

who the **** put that bg but needs to read as "battlegrounds" <_<

I have to read the source code to find out exactly where it came from

 

just fix it after add

bg = GET_SYMBOL("battlegrounds");

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.