Yoko

All sides of Injection
It is currently 2026-01-16 07:29:55

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2004-07-26 21:21:02 
Offline

Joined: 2004-06-19 10:49:57
Posts: 19
How I can control the price of reagents at buy function? Here I define only item and amount but no price returned (or define max price for item :(

Please help. THNX


Top
   
 Post subject:
PostPosted: 2004-07-27 14:04:21 
Offline

Joined: 2004-06-19 10:49:57
Posts: 19
Yoko, i have a idea for some new functions :)
simple and independent from integrated buy system

uo.buyfromvendor('vendorname','itemname','amount',[maxprice])
return number of bought pieces of item

uo.selltovendor('vendorname','serialofitem','amount',[minprice])
return number of sold pieces of item

uo.getpricefromvendor('vendorname','itemname')
return price of item

uo.getamountfromvendor('vendorname','itemname')
return available pieces of item

What do you think about this, Yoko (and others)?


Top
   
 Post subject:
PostPosted: 2004-07-27 23:04:32 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
i think that if you read "Plans" section at forum archive you will found that buy/sell system are marked for reconstruction. it takes as anything else in world work and time.


Top
   
 Post subject:
PostPosted: 2004-07-28 15:20:15 
Offline

Joined: 2004-06-19 10:49:57
Posts: 19
Can I code it and sent for you? :)


Top
   
 Post subject:
PostPosted: 2004-07-28 22:49:28 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
why not? go on


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited