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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 06-30-2002, 12:11 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

sigh oh well, here is a code idea.

race <- decimal of race value
sudo code, you'll have to wright it to work right for PHP and also get the races correct for the correct bit

Code:
racetext = ""
if race >= 2^15 then
  racetext = racetext + "BAR "
  race = race - 2^15
end if
if race >= 2^14 then
  racetext = racetext + "HUM "
  race = race - 2^14
end if
if race >= 2^13 then
  racetext = racetext + "OGR "
  race = race - 2^13
end if
....
if race >= 2^0 then
  racetext = racetext + "EUR "
  race = race - 2^0
end if
if race <> 0 ERROR somewhere

You can do the same for class and diety.
__________________
Please read the forum rules and look at reacent messages before posting.
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 06:10 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3