|
kiraile Newbie
Joined: 31 Jan 2003 Posts: 4 Location: Germany
|
Posted: Sun Oct 28, 2007 2:04 pm
database help |
Hi all
I am having a little trouble scripting my database. i want to catch the selling/buying price and the commodity being traded.
from there i want to send them to a database. there are many different exchanges but they all output the same way. i have managed to capture the output, gag and redirect to a child window. i have also managed to get the database working.
what i am unable to figure out is how to replace the buy/sell prices without having a new entry put in the database. i have a room script that sets the exchange name and location and would like to have a seperate db for each exchange that would load and begin updating prices when i enter the exchange.
if it helps i can supply what i already managed to do but it isnt pretty, my first time trying something like this.
mud output:
+++ The exchange display shows the prices for Simulations +++
+++ Exchange will buy 75 tons at 348ig/ton +++
+++ The exchange display shows the prices for Soya +++
+++ Exchange has 700 tons for sale +++
+++ Offer price is 187ig/ton for first 75 tons +++
+++ The exchange display shows the prices for Spices +++
+++ Exchange has 700 tons for sale +++
+++ Offer price is 551ig/ton for first 75 tons +++
+++ The exchange display shows the prices for Studios +++
+++ Exchange will buy 75 tons at 424ig/ton +++
hope someone can help
Kir |
|
|
|
Dharkael Enchanter
Joined: 05 Mar 2003 Posts: 593 Location: Canada
|
Posted: Sun Nov 04, 2007 3:04 am |
Post what code you have and I'll give it a gander.
|
|
_________________ -Dharkael-
"No matter how subtle the wizard, a knife between the shoulder blades will seriously cramp his style." |
|
|
|
|
|