Combat Window Potion Stack Message

Started by Listen in Silence, July 06, 2009, 04:59:23 PM

Previous topic - Next topic

Listen in Silence

I noticed when handing Zanenditha Trannyth 10 brewed cure serious potions, 5 brewed protection from evil potions and 5 brewed strength potions, that the combat window displayed this as -

You see Zanenditha Trannyth aquire a potion (6)
You see Zanenditha Trannyth aquire a potion (6)
You see Zanenditha Trannyth aquire a potion (10)
You see Zanenditha Trannyth aquire a potion (5)

My characters name is Doli Gestrin, account Listen in Silence.

Mort

Yeah.. I added so it displays also the amount of items acquired to prevent unfair looting.

Not sure what could be the problem, here... Probably barter window issue :|

SkillFocuspwn

I gave someone two seperate potions and it came up with

You see x aquire a potion (4)
You see x aquire a potion (4)

Despite only giving one potion each time.

SanTelmo

I saw a character receiving one potion, and in my server window it said (3).
"EFU is a romance server now" -Vlaid

"Some people just gotta be killed" -Gip

Mort

Is it possible it's displaying what the stack becomes instead of what it currently was before? Probably...

Lulzebub

Just to add confusion, when I traded potions earlier it gave the correct amounts for each batch.

Mort

I tried something. Hopefully, it will fix everything.

SanTelmo

Yeah, I thought about it showing the current stack when the potion goes to the stack. It's that most likely.
"EFU is a romance server now" -Vlaid

"Some people just gotta be killed" -Gip

Mort

I tried a fix and the lack of more post means it probably is?

Listen in Silence

I do not think it is! I no longer see these messages when I give things to others through barter, but when I saw Praxes pick up a single potion it showed as (17)

Snoteye

I'll go out on a limb and say it returns the stack size of the resulting stack. This is usually have those functions work, but I haven't looked at this particular script.