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-19-2004, 07:35 AM
mByte
Hill Giant
 
Join Date: Feb 2002
Posts: 206
Default Adventure Recruters - start

no idea if this is in the code yet, but form what I got off cvs it wasnt. I added this in, it only allows you to pop-up the window for the request to get a adventure. I was going to post it when i completed but I got stuck trying to get text in the box when it poped up. *I keep getting a binary string rather then characters*

eq_packet_structs.h
Code:
//mByte : just tossed this in here
struct AdventureRecruterStruct {
	/* 001 */ int32 unknown1;
};
classes.h
Code:
#define LDONADVRECRUTER		60 //mByte
eq_opcodes.h
Code:
//mByte : LDoN attempt
/* Adventures Begin */
// Adventure Recruter
/* 699 */ #define OP_AdventureRecruterRequest		0x02bb //mByte
/* 700 */ #define OP_AdventureRecruterResponse		0x02bc //mByte

// Adventure Stats
/* 751 */ #define OP_AdventureStats					0x02ef //mByte
/* 752 */ #define OP_AdventureLeaderBoard			0x02f0 //mByte

// Adventure Merchants
#define	OP_AdventureMerchantRequest		0x02d4
#define	OP_AdventureMerchantResponse	0x02d5
#define	OP_AdventureMerchantPurchase	0x02d6
#define	OP_AdventurePointsUpdate		0x02e6

/* Adventure End   */
client_process.cpp
Code:
case OP_AdventureRecruterRequest: //mByte LDoN Code
{
APPLAYER *outapp = new APPLAYER(OP_AdventureRecruterResponse, sizeof(AdventureRecruterStruct));
AdventureRecruterStruct* advRecruter = (AdventureRecruterStruct*)outapp->pBuffer;
     //TODO: 
     //     Figure out how to allow 1 person to get missions w/out group
     //     Figure out how to get my message to be readable and not gibberish machine looking code.

     advRecruter->unknown1 = 0x02FF;
 
					
     QueuePacket(outapp);
     safe_delete(outapp);

break;
}
mob.cpp
Code:
	else if (ns->spawn.class_ == LDONADVRECRUTER)
		strcpy(ns2->spawn.last_name, "Adventure Recruter") //mByte
I am toying with the idea that the missions text and configuration should be stored in xml, but seeing everything is already in a database I guess it would make sence to just stick with that.

laters,
__________________
mByte
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 10:25 PM.


 

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