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 03-24-2004, 04:48 PM
_OZZY_
Hill Giant
 
Join Date: Jan 2002
Location: Shreveport, Louisiana, USA
Posts: 129
Default AA PHP Problem

I'm trying to write a little webpage to display a character's AA info from the MySQL database. Here is what I have so far:

Code:
<?php
mysql_connect("server","username","password");
@mysql_select_db("eq");
$query="SELECT * FROM character_  WHERE name = 'testchar'";
$result=mysql_query($query);
$object=mysql_fetch_object($result);
// Something is wrong with the following
$x->aa=unpack(@344/V122, $object->profile);
?>
What I am wanting to do is to place the aa_array into an array that can be referenced easily. For example, $the_array[1] will return the current Innate Strength value. Can someone give me a little push in the right direction?[/code]
Reply With Quote
  #2  
Old 03-25-2004, 04:38 AM
_OZZY_
Hill Giant
 
Join Date: Jan 2002
Location: Shreveport, Louisiana, USA
Posts: 129
Default

Nervermind guys, I think I have it (won't know for sure until AAs are working again). It took a little bit of digging, but I found the AA_Array struct that I was looking for. I also realized very quickly that I was making it ALOT harder than it actually needs to be.
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 09:37 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