Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-20-2002, 12:20 PM
mByte
Hill Giant
 
Join Date: Feb 2002
Posts: 206
Default 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
Reply With Quote
  #2  
Old 02-21-2002, 02:56 AM
Drawde
Dragon
 
Join Date: Jan 2002
Posts: 521
Default

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.
Reply With Quote
  #3  
Old 02-21-2002, 04:25 AM
mByte
Hill Giant
 
Join Date: Feb 2002
Posts: 206
Default

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
Reply With Quote
  #4  
Old 02-21-2002, 07:34 AM
Drawde
Dragon
 
Join Date: Jan 2002
Posts: 521
Default

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)
Reply With Quote
  #5  
Old 02-21-2002, 07:38 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

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..
Reply With Quote
  #6  
Old 02-21-2002, 09:17 AM
ZeroDegrez
Sarnak
 
Join Date: Feb 2002
Posts: 50
Default

BLOBS?
__________________
- Zero Degrez
35% Programmer
75% Gamer
68% Evil
Server OP: IceDragon Server
Reply With Quote
  #7  
Old 02-21-2002, 09:31 AM
Minara
Sarnak
 
Join Date: Feb 2002
Posts: 36
Default

(B)inary (L)arge (O)(B)jects
__________________
Jerle the Magnificent
Level 100 Oracle of Gotfrags.com
Event Admin
Reply With Quote
  #8  
Old 02-21-2002, 09:46 AM
ZeroDegrez
Sarnak
 
Join Date: Feb 2002
Posts: 50
Default

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
Reply With Quote
  #9  
Old 02-21-2002, 11:18 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

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
Reply With Quote
  #10  
Old 02-21-2002, 02:52 PM
mByte
Hill Giant
 
Join Date: Feb 2002
Posts: 206
Default

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
Reply With Quote
  #11  
Old 02-22-2002, 01:05 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

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.
Reply With Quote
  #12  
Old 02-24-2002, 03:33 AM
Yodason
Hill Giant
 
Join Date: Jan 2002
Posts: 205
Default

look at the structure for item_struct in the header file with all the structs in it =)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:27 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3