Jump to content
  • 0
cumbe11

@partybuff / @spb

Question

Here is this change?
 
 
 
@partybuff (@spb) can display party member's special buffs in party list (Alt+Z)
Buffs are:
Quote

B - Blessing
A - Agility Up
F - Full Chemical Protection
S - Soul Link
+ - Devotion

Look like
[BAFS+]Player name

Share this post


Link to post
Share on other sites

30 answers to this question

Recommended Posts

  • 0

Hi ! I have an error when I write "@showbuff"

[16/Sep 19:07:02][Error]: Server received crash signal! Attempting to save all online characters!

Map-Server has crashed!
Restarting in 15 seconds, press Ctrl+C to cancel.

Do you have an idea ?

Share this post


Link to post
Share on other sites
  • 0


 

When using the command I get a crash signal on the map-server.
Client: 2017-06-14
 



 

(gdb) bt full
#0  0x00007ffff63160d2 in vsnprintf () from /lib64/libc.so.6
No symbol table info available.
#1  0x00000000006363bf in strlib_safesnprintf (buf=0x7ffff1fa86c0 "", sz=24, 
    fmt=0x17 <Address 0x17 out of bounds>) at strlib.c:392
        ap = {{gp_offset = 24, fp_offset = 48, 
            overflow_arg_area = 0x7fffffffd650, 
            reg_save_area = 0x7fffffffd580}}
        ret = -161079168
#2  0x00007ffff1fa59c3 in showing_buff (sd=0x2e19080) at spb.c:101
        ssd = 0x7ffff6662080 <_IO_strn_jumps>
#3  0x00007ffff1fa5bde in clif_party_info_overload (p=0x7fffffffd400, 
    sd=0x7ffff1fa86c0) at spb.c:148
        ssd = 0x7ffff6662080 <_IO_strn_jumps>
        i = 12
        buf = "D\n\200\000HGSDUHA", '\000' <repeats 17 times>, "\201\204\036\000Admin", '\000' <repeats 19 times>, "prontera.gat\000\000\000\000\001\000\260\017`\000\200\204\036\000Lovely", '\000' <repeats 18 times>, "prontera.gat\000\000\000\000\000\001\255\017c", '\000' <repeats 500 times>
#4  0x00007ffff1fa4f85 in atcommand_showbuff (fd=-11264, sd=0x2e17540, 
    command=0x17 <Address 0x17 out of bounds>, message=0x7ffff1fa86c0 "", 
    info=0x0) at spb.c:286
        ssd = 0xde6880 <clif>
        p = 0x11c4814
---Type <return> to continue, or q <return> to quit---
#5  0x0000000000431de8 in atcommand_exec (fd=11, sd=0x2e17540, 
    message=0x7fffffffddf8 "@showbuff", player_invoked=192)
    at atcommand.c:10662
        params = '\000' <repeats 99 times>
        command = "@showbuff", '\000' <repeats 90 times>
        output = "\001\000\000\000\000\000\000\000\210\333\377\377\377\177\000\000\254\u0710\004", '\000' <repeats 12 times>, "p\333\377\377\377\177\000\000v$N\000\000\000\000\000\360\062M\000\000\000\000\000\254\u0710\004\000\000\000\000\n\000\000\000\000\000\000\000\360\324F\000\000\000\000\000\070\001\000\000\000\000\000\000 \000\000\000\060\000\000\000`\334\377\377\377\177\000\000\240\333\377\377\377\177\000\000\221\335\377\377\377\177\000\000\240j\235\000\000\000\000\000\001\000\000\000\000\000\000\000V \230\354\000\000\000\000P\334\377\377\377\177\000\000!\266M\000\000\000\000\000\340\333\377\377\377\177\000\000 \000\000\000\060\000\000\000`\334\377\377\377\177\000\000\240\333\377\377\377\177\000\000\244\000<\000\225\000\000\000\060\000\000\000"...
        logCommand = true
        atcmd_msg = "@showbuff\000\227\354\000\000\000\000 \334\377\377\377\177\000\000\375';\366\377\177\000\000\000\000\000\000\000\000\000\000f\213c\000\000\000\000\000p\221<\000\000\000\000\000}\312T+\000\000\000\000P\334\377\377\377\177\000\000\070\355a\000\000\000\000\000\254\u0710\004", '\000' <repeats 12 times>, "\240j\235\000\000\000\000\000\001\000\000\000\000\000\000\000\300\334\377\377\377\177\000\000\225\031O\000\000\000\000\000h\335\377\377\377\177\000\000p\334\377\377\377\177\000\000\220\336\377\377\001\000\000\000\n\000\000\000\203\000\000\00---Type <return> to continue, or q <return> to quit---
0\340\334\377\377\377\177", '\000' <repeats 18 times>, "\254\u0710\004\000\000\000\000V \230\354\000\000\000\000\210\335"...
#6  0x0000000000532c72 in pc_process_chat_message (sd=0x2e17540, 
    message=0x7ffff1fa86c0 "") at pc.c:12299
No locals.
#7  0x000000000046c11f in clif_process_chat_message (sd=0x2e17540, 
    packet=0x7ffff4b547f4, out_buf=0x0, out_buflen=-235239744) at clif.c:10313
        srcname = 0x7ffff4b547f8 "Admin : @showbuff"
        message = 0x7fffffffddf8 "@showbuff"
        textlen = -161079168
        __func__ = "clif_process_chat_message"
#8  0x0000000000467b33 in clif_parse_GlobalMessage (fd=11, sd=0x2e17540)
    at clif.c:11308
        full_message = "Admin : @showbuff\000\000\000\000\000\000\000\\:\222\004\000\000\000\000V \230\354\000\000\000\000\240j\235\000\000\000\000\000P\336\377\377\377\177\000\000\375';\366\377\177\000\000`\336\377\377\377\177\000\000f\213c\000\000\000\000\000p\221<\000\000\000\000\000\342\254V(\000\000\000\000\200\336\377\377", '\000' <repeats 20 times>, "T\341y\001\000\000\000\000\030\337\377\377\377\177\000\000\000\000\000\000\000\000\000\000\u040dJ\000\000\000\000\000(Zb\000\000\000\000\000\260\336\377\377\377\177\000\000T\341y\001\000\000\000\000\030\337\377\377\377\177", '\000' <repeats 11 times>, "\337\377\377\377\177\000\000\270"...
        message = 0xb <Address 0xb out of bounds>
---Type <return> to continue, or q <return> to quit---
        __func__ = "clif_parse_GlobalMessage"
#9  0x000000000046447e in clif_parse (fd=11) at clif.c:23848
        parse_cmd_func = 0x7ffff6662080 <_IO_strn_jumps>
        packet_len = 23
        sd = 0x2e17540
#10 0x000000000063fffe in do_sockets (next=88) at socket.c:1073
        rfd = {fds_bits = {2048, 0 <repeats 15 times>}}
        timeout = {tv_sec = 0, tv_usec = 83403}
        ret = 0
#11 0x0000000000407fb2 in main (argc=1, argv=0x7fffffffe168) at core.c:538
        next = -161079168
        retval = 6520960
 

 

Share this post


Link to post
Share on other sites
  • 0

I have tried updating this plugin.

 

Encountered Bugs:

- When Opening 1:1 Chat through Chat Window, it will message the character with additional buff strings
- Status changes shows the additional buff strings

 

See attached picture

 

PS: Sorry for the scr logo lol, didn't know i have that in my client files, just setup my test server a few days ago LOL

 

screenshot was taken with a herc emulator running :D

 

screenHercules001.jpg

screenHercules003.jpg

Share this post


Link to post
Share on other sites
  • 0

kinda getting nostalgic when playing an old battleground, so I load this src to play

I just changed line 71 into

int status_change_end_post( int retVal, struct block_list *bl, enum sc_type type, int tid ) {

and it works

 

 

On 7/21/2020 at 9:54 AM, Samuel said:

- Status changes shows the additional buff strings

can elaborate more ?

and for the other bug, I'm not sure this can even be fix from server side
right click to 1:1 whispering is client side thingy I guess

 

 

but I think this is most useful when showing a small window like this

screen2020Hercules001.jpg

 

 

also means those who have client crashing etc, nope I think this is actually built for this feature

(although I found this was made even before 2013 ??)

Share this post


Link to post
Share on other sites
  • 0
9 hours ago, AnnieRuru said:

kinda getting nostalgic when playing an old battleground, so I load this src to play

I just changed line 71 into

int status_change_end_post( int retVal, struct block_list *bl, enum sc_type type, int tid ) {


int status_change_end_post( int retVal, struct block_list *bl, enum sc_type type, int tid ) {

and it works

 

 

can elaborate more ?

and for the other bug, I'm not sure this can even be fix from server side
right click to 1:1 whispering is client side thingy I guess

 

 

but I think this is most useful when showing a small window like this

screen2020Hercules001.jpg

 

 

also means those who have client crashing etc, nope I think this is actually built for this feature

(although I found this was made even before 2013 ??)

First of all welcome back Annie! :D

 

The status changes I'm saying was the buffs itself, so when the buff is applied, you could see the [BASFD] added strings + character name in the chat box.

 

right click to 1:1 whispering is client side thingy I guess - if you use only the party window side, it uses the [BASFD] + character name but if you just right click on the character itself, it uses the character name only.

 

It seems that it uses the character name displayed in the window.

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, Samuel said:

The status changes I'm saying was the buffs itself, so when the buff is applied, you could see the [BASFD] added strings + character name in the chat box.

I also think its client side stuff hahaha

 

screen2020Hercules002.jpg

click on this small little icon and select Party member's abnormal status, turn it off

Share this post


Link to post
Share on other sites
  • 0

i got it in latest.

showbuff.c: In function ‘status_change_start_post’:
showbuff.c:50:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if (p = party->search(sd->status.party_id)) {
   ^
In file included from showbuff.c:31:0:
showbuff.c: In function ‘plugin_init’:
../plugins/HPMHooking.h:63:54: warning: comparison of distinct pointer types lacks a cast [enabled by default]
   (void)((HPMHOOK_post_ ## ifname ## _ ## funcname)0 == (hook)), \
                                                      ^
showbuff.c:292:2: note: in expansion of macro ‘addHookPost’
  addHookPost(status, change_end_, status_change_end_post);
  ^
        PLUGIN  showbuff
make[1]: Leaving directory `/home/emulador/src/plugins'

im Fixed, all problems, but now i got crash map-server, and my debug only show it.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff61000f2 in vsnprintf () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.17-322.el7_9.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-50.el7.x86_64 libcom_err-1.42.9-19.el7.x86_64 libgcc-4.8.5-44.el7.x86_64 libselinux-2.5-15.el7.x86_64 libstdc++-4.8.5-44.el7.x86_64 mariadb-libs-5.5.68-1.el7.x86_64 openssl-libs-1.0.2k-21.el7_9.x86_64 pcre-8.32-17.el7.x86_64 zlib-1.2.7-19.el7_9.x86_64
(gdb)

image.png.4d57302df3e96a4b2b54a676158e4c59.png

@AnnieRuru

Edited by brunosc

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

×
×
  • Create New...

Important Information

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