|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days. |
02-20-2002, 12:20 PM
|
Hill Giant
|
|
Join Date: Feb 2002
Posts: 206
|
|
Question on the database
Ok first off here is what I want to do.
I want to be able to view all the enteries from the database items, zones, spawn information, character's and there information, as well as guild information.
so far I have gotten spawns, zone, and charater list.
Here is my question/problem
When pulling the blob field from the database I can return the lines that are in the text file with out the \0\0's. I am assuming its a binary field because only the binarywrite function works.
Now here is what I get
Leather TunicIT6363d
__________________
mByte
|
02-21-2002, 02:56 AM
|
Dragon
|
|
Join Date: Jan 2002
Posts: 521
|
|
If you want to edit the items, etc in the DB or view information on them, the best way I think is to use Windcatcher's EQEmu Admin program, there should be a link to it on the 3rd Party Tools forum.
|
02-21-2002, 04:25 AM
|
Hill Giant
|
|
Join Date: Feb 2002
Posts: 206
|
|
Yea I use that but, It dosnt work on the web to view the information making it avaialbe to the players of the server.
Anybody know how to get in contact with windcatcher so I can create a com file or something.
__________________
mByte
|
02-21-2002, 07:34 AM
|
Dragon
|
|
Join Date: Jan 2002
Posts: 521
|
|
I see what you mean now, you want to put in code to view item info in-game. Sorry I can't help you with it as I've no idea how the binary item data is organised either (binary data is not my strong point programming-wise, to say the least)
|
02-21-2002, 07:38 AM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
Im working on creating a emu specific admin tool that will allow you too play with this stuff from the web.. Im doing it because I wanted a way to mess with my database thats inside the firewall, so the solution was to write some PHP pages that would allow me to do it..
Now if I can just figure out how to handle BLOBS in PHP, I'll be good too go..
|
02-21-2002, 09:17 AM
|
Sarnak
|
|
Join Date: Feb 2002
Posts: 50
|
|
BLOBS?
__________________
- Zero Degrez
35% Programmer
75% Gamer
68% Evil
Server OP: IceDragon Server
|
02-21-2002, 09:31 AM
|
Sarnak
|
|
Join Date: Feb 2002
Posts: 36
|
|
(B)inary (L)arge (O)(B)jects
__________________
Jerle the Magnificent
Level 100 Oracle of Gotfrags.com
Event Admin
|
02-21-2002, 09:46 AM
|
Sarnak
|
|
Join Date: Feb 2002
Posts: 50
|
|
ahhh, makes more since now
Why not ask W.C. to let you add a net code to EQAdmin so you can access it remotely, if that is what you are trying to do...as i understand it.
__________________
- Zero Degrez
35% Programmer
75% Gamer
68% Evil
Server OP: IceDragon Server
|
02-21-2002, 11:18 AM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
What i need to do is look at WC's sql calls to handle spreading out the columns in the BLOB. Dumping the raw data out, and i can see the values, just need to figure out how to properly sort them and edit them and get them back in.. never dealt with this struct before.
As far as the net code goes, his admin tool will work over the net (if the database is accessible from the outside world). Im doing this so I can make an editor to go over my firewall through the webserver
|
02-21-2002, 02:52 PM
|
Hill Giant
|
|
Join Date: Feb 2002
Posts: 206
|
|
I wrote mine in a C# and compiled it into a COM file but stuck on the blobk filed
Anybody know where I can get the source file for the admin utility so I can see how the bolb field is done?
__________________
mByte
|
02-22-2002, 01:05 AM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
Im pretty close to getting it working, I'll send you what Ive got once I get it completely in and feel comfortable I havent *%&^$ anything up.
|
02-24-2002, 03:33 AM
|
Hill Giant
|
|
Join Date: Jan 2002
Posts: 205
|
|
look at the structure for item_struct in the header file with all the structs in it =)
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 11:45 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|