SphereServer BugTracker - SphereServer
View Issue Details
0000003SphereServerexecutable - genericpublic10-07-08 02:3510-07-08 23:18
Incanus 
MrSugarCube 
normalminorhave not tried
resolvedfixed 
 
 
08-02-2008
None
Command_Sysmsgs, NoHouseMuteSpeech, Buffs, NoPrefix
0000003: Playervendors
If Playervendors sells items to a customer, which is overloaded, the sold items drop to the ground on the field of the customer.

These items get stacked, if they are identic, even if they are not allowed to stack by their tiledata flags. On the next worldsave these stacked items will get an amount of 1.
No tags attached.
jpg stones.JPG (28,281) 10-07-08 19:19
http://tracker.sphere.torfo.org/bugs/file_download.php?file_id=3&type=bug
Issue History
10-07-08 02:35IncanusNew Issue
10-07-08 02:35IncanusNightly Version => 08-02-2008
10-07-08 02:35IncanusExperimental Flags => None
10-07-08 02:35IncanusOption Flags => Command_Sysmsgs, NoHouseMuteSpeech, Buffs, NoPrefix
10-07-08 18:58MrSugarCubeStatusnew => closed
10-07-08 18:58MrSugarCubeNote Added: 0000001
10-07-08 18:58MrSugarCubeResolutionopen => unable to reproduce
10-07-08 19:19IncanusStatusclosed => feedback
10-07-08 19:19IncanusResolutionunable to reproduce => reopened
10-07-08 19:19IncanusNote Added: 0000002
10-07-08 19:19IncanusFile Added: stones.JPG
10-07-08 19:20IncanusNote Edited: 0000002
10-07-08 19:20IncanusNote Edited: 0000002
10-07-08 23:18MrSugarCubeStatusfeedback => resolved
10-07-08 23:18MrSugarCubeResolutionreopened => fixed
10-07-08 23:18MrSugarCubeAssigned To => MrSugarCube
10-07-08 23:18MrSugarCubeNote Added: 0000003

Notes
(0000001)
MrSugarCube   
10-07-08 18:58   
The surplus items will drop to the ground, that's normal.

I can't reproduce the stackable issue though. Using the script below and purchasing enough boulders to overload me, the boulders drop to the ground separately.


[ITEMDEF i_heavy_thing]
ID=i_boulder
WEIGHT=100
VALUE=10

[CHARDEF c_heavy_vendor]
ID=c_man
NAME=Heavy Item Vendor
TSPEECH=spk_shopkeep

ON=@Create
    COLOR = colors_skin
    NPC = brain_vendor
    STR = 200
    DEX = 100
    INT = 100

    ITEMNEWBIE i_robe
    COLOR = colors_normal

ON=@NPCRestock
    BUY i_heavy_thing, 200
    SELL i_heavy_thing, 200
(0000002)
Incanus   
10-07-08 19:19   
(edited on: 10-07-08 19:20)
Buying items from standard vendors work fine, the heavy items drop on the ground like they should.

The Problem exists with player vendors. To reproduce:
1. Add a player vendor (c_h_vendor). Transfer the player vendor to you.
2. Disable GM Mode
3. Use stock command and put items to vendor
4. Be overloaded
5. Buy the items

See Screenshot (Anzahl == amount, Stein == stone)

(0000003)
MrSugarCube   
10-07-08 23:18   
Seems I missed the 'player' part of 'playervendor'. :)