Alternative - Simple solution: 'Pixie Notes'
-allow players to CREATE notes of items at a fixed price at grand exchange. (Price is set by player on creation using price widget) + a player defined 'Pixie premium price' on top of contract price, which is then locked until an expiry date (setup by the player using a [days widget] upon creation of the note.).
-Players may hold that 'note in their inventory, bank or even trade it.
-The note can be traded on the Grand exchange allowing players to purchase items as flexible prices.
Seller/contract author:
-Creates contract of a set number of items e.g. Logs. . Set's a fixed price to that contract.
-Set's a 'Pixie' premium price of their choice as well as additional profit regardless of trade).
Buyer:
-Player 'purchases' contract note on the Grand Exchange and pays buyers contract price + fixed 'Pixie' premium.
-BUT the note remains a'locked note' until expiry date setup by the seller/contract author.
-The note can be banked, traded or kept in inventory like any other note.
-The buyer can wait for expiry to receive items, bank or even re-trade the contract on Grand Exchange.
--If reselling on grand exchange: the new seller sets the price + new 'Pixie Premium' they want to sell at.
Seller:
-When expiry date is greater than [CURDATE] - note is unlocked and items available to be 'unnoted' to bank.
-The Seller automatically gets their pixie premium + contract price (of original seller) automatically into their bank *money sound* (Seller playerid would have to associated with each contract object).
Considerations:
-If the seller then sells the contract on grand exchange, the contracts 'owner' changes to the next purchaser of that contract on grand exchange.
-- If no new owner buys it by expiry, the ORIGINAL owner is still set in database as owner of that contract instance.
Object specs:
each note would require following properties:
--Sellerid
--Price
--DateOfExpiry
--Buyerid
29-Jun-2023 23:05:11
- Last edited on
30-Jun-2023 00:06:48
by
Squash Wash