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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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