|
Malaphus Novice
Joined: 11 Aug 2003 Posts: 34 Location: USA
|
Posted: Sun Aug 17, 2003 10:20 am
Quick database question |
ATM I have a set of triggers that add items to my item database whenever I ID them... I moved the triggers to the global settings, but it seems that each of my two characters (the MUD i play allows you to play 2 chars at once) has a different item database... is there anyway to write to a global type eq database so I can ID an item from either char?
|
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Mon Aug 18, 2003 12:33 am |
yes, since the first character that you wrote the original script for works you are have way done.
Now what you need to do is write it for your second character and place those #trigger's in the global setteings also.
Example:
First character
#trigger {object weighs~: (%d)$} {#addkey new lbs %1}
Second character
#trigger {the weight of the object is (%d)$} {#addkey new lbs %1}
do you see what I am getting at? |
|
|
|
Malaphus Novice
Joined: 11 Aug 2003 Posts: 34 Location: USA
|
Posted: Mon Aug 18, 2003 1:03 am |
Hmm, the stats of an item looks the same no matter what character I ID the item with... I have the triggers in the global settings - but for some reason, now that the triggers are in the global settings... they are not firing...
|
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Tue Aug 19, 2003 7:01 pm |
rereading you first question I relized I made a mistake:
1)keep the triggers with the characters not in the gloabal
*you can keep the variables in the globabl if you wish.
2)You are asking if two different characters can access the same database?
Yes when you hit the database button and the database comes up, click the "file" and then click "close" A new screen will come up and ask you to chose a database click on the one the other charcter is useing or start a new one for each character and name them the same thing.
You will need to use #dbload and #dbclose maybe even #dbsave in order to see changes in the database bing made by the other character in real time. Read the help files on this and you should be ok.
anthing you don't get just let me know |
|
|
|
Malaphus Novice
Joined: 11 Aug 2003 Posts: 34 Location: USA
|
Posted: Tue Aug 19, 2003 9:31 pm |
Hmmm, Things may change in the future and it would be great to have the triggers in the Inherited (not global, sorry about that) settings file so that Each character I have can ID the item and it be added... Are you saying it is not possible to use triggers in the inherited settings?
|
|
|
|
|
|