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 05-01-2002, 06:23 PM
Baron Sprite's Avatar
Baron Sprite
Dragon
 
Join Date: Jan 2002
Posts: 708
Default High Priestesses

Don't have access to all the source, but I have s classes.cpp and a few others... I was wondering, would anything like this work out? dunno if gender is based on 1/0 or male/female. Oh well guess I will mess around when I get home, was just a little feature that bugged me in eq. Lalala

case CLERIC:
if (level >= 60 && gender == 1)
return "High Priestess";
else if (level >= 60 && gender == 0)
return "High Priest";
else if (level >= 55)
return "Templar";
else if (level >= 51)
return "Vicar";
else
return "Cleric";
__________________
Waking up in the morgue is pretty harsh, but it beats being dead.
Begun, this irc stat war has.
Reply With Quote
  #2  
Old 05-02-2002, 12:51 AM
DeletedUser
Fire Beetle
 
Join Date: Sep 2002
Posts: 0
Default

0 = male, 1 = female

You would just need to change the function in classes.cpp, to tell it to read a 3rd parameter (gender), and you would be fine.
Reply With Quote
  #3  
Old 05-02-2002, 07:42 AM
theCoder
Sarnak
 
Join Date: Jan 2002
Posts: 90
Default


if (level >= 60 && gender == 01)
return "High Priestess";
else if (level >= 60 && gender == 00)
return "High Priest";


Not that it matters here, but when you prefix a number in c/c++ with 0, the compiler treats it as an octal number. So if you wrote 010, it would be treated as 8. It doesn't matter here because 01 is still 1 and 00 is still 0. But just be forewarned

(you probably won't do this on accident, but to represent numbers as hexadedimal, you prefix them with 0x, so 0xa is 10)
Reply With Quote
  #4  
Old 05-02-2002, 08:30 AM
Baron Sprite's Avatar
Baron Sprite
Dragon
 
Join Date: Jan 2002
Posts: 708
Default

yeah I was just saying in general I know all about the evil doings of Hex. Hm I think I will do that when I get home from work today :p
__________________
Waking up in the morgue is pretty harsh, but it beats being dead.
Begun, this irc stat war has.
Reply With Quote
  #5  
Old 05-02-2002, 09:31 AM
Everdude02
Fire Beetle
 
Join Date: Apr 2002
Posts: 24
Default

Preistesses and Preists... good idea Baron.
__________________


"Well, food is food, and I'm too hungry to argue."
Reply With Quote
  #6  
Old 05-03-2002, 04:17 AM
Waeric
Fire Beetle
 
Join Date: Apr 2002
Posts: 18
Default

Wiz needed some help on this so I added it last night, I kinda like it =)
Reply With Quote
  #7  
Old 05-03-2002, 09:53 AM
Baron Sprite's Avatar
Baron Sprite
Dragon
 
Join Date: Jan 2002
Posts: 708
Default

Finished all the code, will post tonight or tomorrow morning For every class that has a male name... also did it for normal names if they needed it, yay

(yes I know it's minor and stupid, but I like it :p)
__________________
Waking up in the morgue is pretty harsh, but it beats being dead.
Begun, this irc stat war has.
Reply With Quote
  #8  
Old 05-03-2002, 12:45 PM
theCoder
Sarnak
 
Join Date: Jan 2002
Posts: 90
Default

yes I know it's minor and stupid, but I like it

It's those minor things that added together will make this EMU better than Verant's real server.

Thanks for adding this!
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 11:04 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