|
lewdpotato Novice
Joined: 16 May 2002 Posts: 48 Location: USA
|
Posted: Sun Jul 21, 2002 8:38 am
db question |
ok here goes.
Im playing a game called trade wars 2002
what im trying to figure out is how to do this. the trade wars game server (mudd like) keeps a data base for you of every sector that you have visited or probed or scaned. some sectors have ports that buy or sell product. when you enter the key strokes
(c) (computer) then (^) then (R )it displays all the ports that you have visited or probed or scanned along with how much product is at each port. I want to save that info to a db. then with a button I want to run that series of key strokes again and have it compare it to the first (data base) one and have it show me the changes. what Im looking for is if someone is using one of those ports the values are going to change. I want to be able to pull that info out so I can tell where there are so I can go kill them. I have no idea how to do this but I know that it can be done. every game is different but they very from 5000 to 20000 sectors so trying to compare them is next to impossible and even if you find a change by doing it by hand, the person has already moved on. any idea's will help as I have only been working with mudd for a short time.
thanks |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Sun Jul 21, 2002 9:01 am |
Yes this can be done.
If you want a code example, you'll have to post the tradewars output
that you want to capture.
Ton Diening |
|
|
|
lewdpotato Novice
Joined: 16 May 2002 Posts: 48 Location: USA
|
Posted: Sun Jul 21, 2002 9:49 am |
ok it looks like this, this is just a small
example. whats is in ( ) is not shown just a disription. when I use these key strokes "c^r"
this is displayed.
(sector) (fuel) (organics) (equiptment)
3 1020 100% 1390 100% 2250 100%
7 2730 100% 1700 100% 2040 100%
10 1610 100% 2750 100% 1500 100%
17 2100 100% 1540 100% 3000 100%
21 2500 95% 2500 100% 2400 90%
29 1500 100% 1900 1005 2600 100%
now if you have visited 1000 sectors with ports this is alot bigger.
how do I get started. I want to make a button that stores the port info into a mudd data base. then make another button that checks the data base again and compairs it to the first data base then pulls out only the sector(s) that have changed.
anything will help at this point please give me some idea so I can mess around with this.
thanks |
|
|
|
|
|