Issue information

Issue ID
#6772
Status
Fixed
Severity
Fair
Started
Hercules Elf Bot
Oct 10, 2012 1:28
Last Post
Hercules Elf Bot
Nov 15, 2012 15:02
Confirmation
Yes (1)
No (0)

Hercules Elf Bot - Oct 10, 2012 1:28

Originally posted by [b]Rytech[/b]
Their's a glitchy issue with the carts on rAthena when using the SC_PUSH_CART status with the 2012 clients. It appears to work fine, but its a different story for others looking at you. I tested the issue up and down on someone's server not long ago to get a detailed knowing of the issue. (SQL is being annoying on my computer so I cant test here).

Here's how to reproduce the issue...

First you need 2 players. Player 1 will be the test character and player 2 will be the outside help. Change player 1 into what ever job can use carts (I tested on a Genetic). Then rent a cart and itl appear on both players screens as cart #1. Then use the cart change skill and select cart #4. The cart will change to #4 and be visible by both players as #4. Now have the 2nd player walk away until player 1's character is out of view range and then walk back twords player 1. The cart will still appear as #4. The player 1 can use @refresh or relog and the cart will still appear as #4.

Next, use the cart change skill and change to #2. The cart will change to #2 and appear as #2 on both player's screens. This is where it gets weird. Have the 2nd player walk away until the 1st player is out of view range and then walk back until the player 1 is within view range. The 2nd player will now see cart #4 instead of #2. The player 1 will still see cart #2, even after using @refresh. But after relogging, the cart will appear as #4.

Next, have player 1 change the cart to #7. Both players will see it change to #7. Repeat the same tests. Player 2 walk away from view range and back, and player 1 try refreshing and relogging. Cart will stay appearing at #7 to both.

Next, change the cart to a lower number cart again like cart #3. Repeat the tests and youll notice player 2 will see #7 upon having player 1 go off screen and back into view range. Player 1 will still see cart #3, but will see it as #7 after relogging. Refreshing wont change it.

Finally, player 1 can remove the cart and rent another one. Both player will see cart #1. Repeat tests and youll see the cart will still appear as #1 when done.

In the test results, ive found that val1 of the SC_PUSH_CART status will increase when selecting a higher cart number which increases the val1 value, but when selecting a lower cart number the value doesn't decrease even tho you and the people close to you see it change because others seeing you appear in their view range will see a higher cart number. Even relogging will show that your cart is stuck on a higher value then what you had it set to when you logged out (If you set it to something lower). Im not marking this report as confirmed even tho ive seen it with my own eyes since I want to see if others can confirm this first.

Can anyone else confirm?

This post has been edited by Rytech on Oct 10, 2012 1:31

Hercules Elf Bot - Oct 10, 2012 11:00

Originally posted by [b]Ind[/b]
i can't reproduce this with a april 2012 client, which is the date of your client?

Hercules Elf Bot - Oct 10, 2012 16:40

Originally posted by [b]Rytech[/b]
2012-04-10aRagexeRE

Hercules Elf Bot - Nov 15, 2012 0:54

Originally posted by [b]Ind[/b]
Fixed in [rev=16926] thank you very much for the detailed information

Hercules Elf Bot - Nov 15, 2012 14:16

Originally posted by [b]Peopleperson49[/b]
I'm not trying to put in an extra plug for my topic, but could this be related to whats happening with my cart issues? I'm using 16921 with the 2012-04-10 client.

[url="http://rathena.org/board/topic/74007-cart-wont-show-up-on-char-and-games-says-its-on/page__p__155836#entry155836"]Topic[/url]

Hercules Elf Bot - Nov 15, 2012 15:02

Originally posted by [b]Mysterious[/b]
You're using 16921 while the new cart fix was placed in [url="http://trac.rathena.org/changeset/16926"]r16926[/url]. So, yes, you should update your SVN to fix the issue.