Issue information

Issue ID
#6843
Status
Fixed
Severity
Medium
Started
Hercules Elf Bot
Nov 2, 2012 10:28
Last Post
Hercules Elf Bot
Nov 10, 2012 5:01
Confirmation
Yes (1)
No (0)

Hercules Elf Bot - Nov 2, 2012 10:28

Originally posted by [b]Neblim[/b]
Regular cash shops cannot seem to be able to generate more than one egg type item in one purchase. In other words if you try to buy two or more eggs in one go, you will end up with only one egg in your inventory but loose a number of points equivalent to the total cost of all the eggs you tried to purchase.

e.g.
[code]
prontera,156,181,3 cashshop watfux 563,9001:100,9002:100,9003:100,9004:100;
[/code]

Try to purchase >1 egg and cry. :(

This post has been edited by Neblim on Nov 2, 2012 10:29

Hercules Elf Bot - Nov 2, 2012 15:19

Originally posted by [b]fr0sty123456789[/b]
Well try to put the egg in a box and put the box in the shops. Normally you have to create pet eggs using either @makeegg or makepet Pet ID;

Might be caused because you sell eggs that arent created using either of these commands.

Hercules Elf Bot - Nov 2, 2012 16:16

Originally posted by [b]Neblim[/b]
That may be true, however replacing the eggs with boxes is just avoiding the problem.

This post has been edited by Neblim on Nov 2, 2012 16:18

Hercules Elf Bot - Nov 2, 2012 16:41

Originally posted by [b]fr0sty123456789[/b]
Its not avoiding the problem. As it tells you in script_commands.txt




[quote]
Notice that you absolutely have to create pet eggs with this command. If you try
to give a pet egg with 'getitem', pet data will not be created by the char
server and the egg will disappear when anyone tries to hatch it.[/quote]

imagine it like this...

The shop creates 1 egg however each pet is created uniquely. And the shop can only create 1 unique pet at the same time. Like you cant choose the amount of @makeegg. Each gets created uniquely.

Because each created pet gets written into the pet_db and becomes a unique pet id.

So its not avoiding the problem, its the only way you mostly have to sell pet eggs correctly.

Hercules Elf Bot - Nov 2, 2012 20:38

Originally posted by [b]Neblim[/b]
Again, I believe you are missing my point.

Take for example a normal zeny shop instead of a cash shop - with the example from my first post:

[code]
prontera,156,181,3 shop watfux 563,9001:100,9002:100,9003:100,9004:100;
[/code]

Try purchasing two or more eggs, see what happens. Then compare it to what happens when you do the same thing with a cash shop.
If the end result is intended - someone please correct me.

Hercules Elf Bot - Nov 4, 2012 0:24

Originally posted by [b]solid2005[/b]
do you add some customize cashshop?

Hercules Elf Bot - Nov 5, 2012 1:02

Originally posted by [b]mkbu95[/b]
Related?
http://rathena.org/board/tracker/issue-6816-pet-egg/
http://rathena.org/board/tracker/issue-6818-trying-to-fix-a-behavior-ended-up-breaking-emulator-forever/

Hercules Elf Bot - Nov 10, 2012 5:01

Originally posted by [b]mkbu95[/b]
Fixed in [rev=16897]