Sign in to follow this  
Followers 0
Samuel

PartyBuff Plugin

14 posts in this topic

Hello everyone!

 

Updated Annie's plugin and applied Functor's bug fix.

With this plugin, it will display party member's special buffs in party list (Alt+Z)

Buffs are:

B - Blessing

A - Agility Up

F - Full Chemical Protection

S - Soul Link

+ - Devotion

Look like

[BAFS+]Player name

 

See original : Topic

 

Enjoy!

 

Plugin Link

Edited by Samuel

Share this post


Link to post
Share on other sites

Works like a charm, there were 2 warnings in line 55 and 151 I think but they were easily fixable. 

Thanks for sharing. 

Share this post


Link to post
Share on other sites

Works like a charm, there were 2 warnings in line 55 and 151 I think but they were easily fixable. 

Thanks for sharing. 

 

What's the warming you're getting?

 

I have compiled the plugin with Visual Studio 2011 and compiled with no warnings.

 

Please tell us so we could fix it.

Share this post


Link to post
Share on other sites

Samuel it says you can't receive PMs on the forums. 

Anyway : http://pastebin.com/TUu6jj4j

 

I'll try to delete some messages lol.. :D

 

hmm, with regards to the fix, I don't encounter a map crash when logging out when buffs are active. Can you specify how to reproduce the crash?

Share this post


Link to post
Share on other sites

It's not a crash just a warning when compiling with centos latest GCC.

The first one was that the compiler simply wanted ( ), it's not an error it just recommends it, and I don't like having any warnings when I compile.

The second is simply an unused variable, there is no need to define it there. Again, neither of these will cause any issues or crashes, they are just warnings by the compiler. 

Share this post


Link to post
Share on other sites

A cool function would be if it could be switched on and off by players through an @command. Since sometimes the space used can be annoying if you're not using it.

Edited by True Zeal

Share this post


Link to post
Share on other sites

Hello,

I used the plugin for first time and caused a map server crash, I enabled debug in my server and here's the crash log

 

Program received signal SIGSEGV, Segmentation fault.
0x000000000061c140 in hplugin_data_store_validate (type=HPDT_MSD,
    storeptr=0x7fffffffdd98, initialize=<optimized out>) at HPM.c:237
237     }



#1  0x000000000061a07a in hplugins_getFromHPData (type=HPDT_MSD, pluginID=2,
    store=0xfdfdfdfdfdfdfdfd, classid=0) at HPM.c:297
        i = <optimized out>
#2  0x00007ffff3520f0a in map_quit_post (retVal___=0, sd=0x49a44f0)
    at partybuff.c:151
No locals.
#3  0x00007ffff39c7f27 in HP_map_quit (sd=<optimized out>)
    at HPMHooking/HPMHooking_map.Hooks.inc:40230
        postHookFunc = <optimized out>
        hIndex = 0
        retVal___ = <optimized out>
#4  0x00000000004c83e6 in clif_parse (fd=42) at clif.c:18892
        parse_cmd_func = <optimized out>
        cmd = <optimized out>
        packet_len = <optimized out>
        sd = 0x49a44f0
        pnum = 0
#5  0x000000000062b935 in send_shortlist_do_sends () at socket.c:1783
        fd = 42
        idx = 1

Share this post


Link to post
Share on other sites

Bump great plugin. Needs a few tweaks to get it to work for current herc, but if you can work them, it works perfect.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0