Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shop Sell Packet
Author Message
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #1
Shop Sell Packet
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....wnload=220

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
(This post was last modified: 03-08-2013 03:47 AM by Skul.)
11-20-2012 03:59 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #2
RE: Shop Sell Packet
havenĀ“t test it yet but search the code and it is great.
thanks for sharing it with us!
11-20-2012 04:29 PM
Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #3
RE: Shop Sell Packet
no problem. enjoy!

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
11-20-2012 04:45 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Shop Sell Packet
nice one !
11-21-2012 05:41 PM
Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 336
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #5
RE: Shop Sell Packet
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.
02-14-2013 08:43 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #6
RE: Shop Sell Packet
@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/...20sell.scp

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
03-08-2013 03:13 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
mpgram
Apprentice
*

Posts: 21
Likes Given: 0
Likes Received: 3 in 1 posts
Joined: Apr 2013
Reputation: 0



Post: #7
RE: Shop Sell Packet
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?
(This post was last modified: 04-15-2013 11:07 AM by mpgram.)
04-15-2013 10:17 AM
Find all posts by this user Like Post Quote this message in a reply
evening
Journeyman
*

Posts: 137
Likes Given: 0
Likes Received: 14 in 9 posts
Joined: Apr 2012
Reputation: 1

Finally Land

Post: #8
RE: Shop Sell Packet
client 6061 not work
07-07-2017 08:47 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
escribano
Journeyman
*

Posts: 170
Likes Given: 16
Likes Received: 32 in 23 posts
Joined: Nov 2012
Reputation: 2

Dragon Shard

Post: #9
RE: Shop Sell Packet
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

UltimaPHP - OpenSource Ultima Online Server v0.1-pre-alpha under development, we need help!
07-18-2017 12:45 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)