Jump to content
Sign in to follow this  
Samuel

PartyBuff Plugin

Recommended Posts

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

Join the conversation

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

Guest
Reply to this topic...

×   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.