Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Tools

Development::Tools 3rd Party Tools for EQEMu (DB management tools, front ends, etc...)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-14-2011, 02:03 AM
gredesh
Sarnak
 
Join Date: Feb 2006
Posts: 42
Default PEQ Editor Trying to Add extprofile

I'm trying to make it so I can see the extprofile in addition to the profile. I'm pretty sure the problem is with my unpack file, anyone see anything wrong?
Code:
<?php
function getEPPFormat() {

  $fmt = "lpet_id/"; // int16
  $fmt .= "lpet_hp/"; // int16
  $fmt .= "lpet_mana/"; // int16

  $maxbuff = 25;
  for($x = 0;$x < $maxbuff;$x++) {
    $fmt .= "cpet_effect".($x+1)."slotid/";
    $fmt .= "cpet_effect".($x+1)."level/";
    $fmt .= "cpet_effect".($x+1)."bard_mod/";
    $fmt .= "cpet_effect".($x+1)."effect/";
    $fmt .= "lpet_effect".($x+1)."spellid/";
    $fmt .= "lpet_effect".($x+1)."duration/";
    $fmt .= "spet_effect".($x+1)."ds_remaining/";
    $fmt .= "cpet_effect".($x+1)."persistent_buff/";
    $fmt .= "cpet_effect".($x+1)."reserved/";
    $fmt .= "lpet_effect".($x+1)."playerid/";
  }

  $fmt .= "lpet_items/"; // int32, this should be l9pet_items I think
//but it just shows a blank page if I add the 9, which is worse.
  $fmt .= "a64pet_name/"; //char[64]
  $fmt .= "Laa_effects/"; //uint32
  $fmt .= "LperAA/"; //uint32
  $fmt .= "Lexpended_aa"; //uint32

  return $fmt;
}
?>
Right now the extprofile array is just full of zeros. I've got everything else right. Thanks!
Reply With Quote
 


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 07:30 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