Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ MUSHclient
➜ VBscript
➜ EQ database scripting help
EQ database scripting help
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Forty
(11 posts) Bio
|
Date
| Tue 05 Apr 2005 03:09 AM (UTC) |
Message
| Hey guys, here's the deal:
I'm completely new to scripting, however, I have programming experience and I'm not sure where to start. I'm currently learning JAVA, and have had VB experience, so I figured it'd be easier to go with VBScripting. What I want to do is create a script, or plugin, or whatever, that would allow me to:
1. Attempt to create a new object / check to see if it already exists within the database
2. Input item information in related fields (ex. wpn damage for weapons, weight, stat effects, HR/DR bonuses, etc...)
3. Save the object to the database
4. Search for items by name, lvl, wpn type, etc...
Any suggestions on where to start? | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #1 on Tue 05 Apr 2005 03:42 AM (UTC) |
Message
| On the plugins page there are two examples of using a database, the calendar plugin, and the mudDatabase plugin. The mud database is more like what you'd want, you'll have to change the database structure and such, but that shows how to interface with it (through javascript).
You'll still need to use SQL to access the database (this just uses the MDAC to interface between java/the db). |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
Posted by
| Forty
(11 posts) Bio
|
Date
| Reply #2 on Tue 05 Apr 2005 04:08 AM (UTC) |
Message
| Whoa bro, you lost me already. Can you tell me what SQL and MDAC is? Really am very new to this, but at the same time, I have high hopes. | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #3 on Tue 05 Apr 2005 04:51 AM (UTC) |
Message
| Nevermind, the MudDatabase doesnt use MDAC, it uses JET. Both of which basically provide an interface to the database.
As for SQL, its 'Structured Query Language', basically how you create/modify tables and query things out of them.
There's lots of resources for SQL out there, but even then, the database plugin provides a lot of what you'll be using (almost all) within it.
I'm sure theres some crash course tutorial on basic SQL (and database design) out there. |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
14,307 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top