SphereCommunity
Shop Sell Packet - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Submissions (/Forum-Script-Submissions)
+--- Thread: Shop Sell Packet (/Thread-Shop-Sell-Packet)



Shop Sell Packet - Skul - 11-20-2012 03:59 PM

This script allows you to use TAG.OVERRIDE.VALUE on any item sold on a vendor, allowing you to modify the value of an item in-game at any time. Installation instructions are included in the [comment]. Enjoy.

Link: http://forum.spherecommunity.net/sshare.php?download=220


RE: Shop Sell Packet - admin phoenix - 11-20-2012 04:29 PM

havenĀ“t test it yet but search the code and it is great.
thanks for sharing it with us!


RE: Shop Sell Packet - Skul - 11-20-2012 04:45 PM

no problem. enjoy!


RE: Shop Sell Packet - darksun84 - 11-21-2012 05:41 PM

nice one !


RE: Shop Sell Packet - Soulless - 02-14-2013 08:43 AM

has anyone tested this on a live server? Skul are you currently using this? this would so make my life much better. and i'd love you more than i already do, in a gay way probably.


RE: Shop Sell Packet - Skul - 03-08-2013 03:13 AM

@Soulless; I use this script on my live server and it works good. I just updated it to my current version after fixing a few server crashes and packet errors. Try it out, post some comments and suggestions, I'll gladly change it around if it looks necessary.

Here's the link again: http://forum.spherecommunity.net/sshare/files/809/blizz%20-%20shop%20sell.scp


RE: Shop Sell Packet - mpgram - 04-15-2013 10:17 AM

So I have tried adding this in, unsuccessfully. I am using the latest spheresvr.exe from the nightly compile, so I figured it would work. Unfortunately, I am at a loss.

[itemdef i_test_shield]
id=i_shield_kite_wood
value=10

on=@create
tag.override.value=200

on=@dclick
src.say <eval <tag.override.value>>
return 1

DCLICK fires the '200' overhead as expected, so I know the tag is applied to the item.

EDIT: Vendors have prices on them for items, buy will not buy at the "tag" price.

Further, some vendors seem to not acknowledge a "purchase". The characters signature occurs, but nothing happens, and the transaction does not happen.

Thoughts?


RE: Shop Sell Packet - evening - 07-07-2017 08:47 PM

client 6061 not work


RE: Shop Sell Packet - escribano - 07-18-2017 12:45 AM

When I've tested this script I noticed some errors at 0.56d like:

Selling the player's backpack at vendors that can buy backpacks.
Prices greater than 65355

So I decided to code the entire packet from scratch.... the script gives'us a pretty clear idea of what needs to be done... I would share my script but I've made many changes for my shard so basically it only works at Dragon Shard Tongue

But if there is anything else i could help, feel free to ask Smile