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

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 01-30-2008, 08:41 PM
Arex
Hill Giant
 
Join Date: Jul 2004
Posts: 196
Unhappy

perhaps it is more difficult that i thought and we will have to wait years before to see AA titles in eqemu
Reply With Quote
  #2  
Old 01-30-2008, 10:13 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Something else to contribute...

I found this in the Wiki: $client->SetAATitle(txt).

When I executed it in a quest:
Code:
sub EVENT_SAY {
	if ($text=~/aa title/i) {
		my $aatitle = "Baron";
		quest::say("Setting AA Title to $aatitle.");
		$client->SetAATitle("$aatitle");
		quest::say("AA Title set to $aatitle.");
	}
}
It went through the script ok, but I didn't see the title on the client, even after relogging. However, when I checked the profile blob, it did set title field to "Baron":
Code:
02384 42 61 72 6F 6E 00 00 00 00 00 00 00 00 00 00 00 B a r o n
So, it looks like the code is even there to set the title, but it isn't being sent to the client, or the client isn't seeing it.
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
  #3  
Old 02-04-2008, 03:30 AM
Arex
Hill Giant
 
Join Date: Jul 2004
Posts: 196
Default

it is nice to see any advancement, perhaps we need to do any opcodes research??
Reply With Quote
  #4  
Old 02-04-2008, 09:55 AM
TheLieka
Developer
 
Join Date: Oct 2004
Location: THE ATL (wut wut)
Posts: 325
Default

client_packet.cpp
Code:
void Client::Handle_OP_SetTitle(const EQApplicationPacket *app) {
//	m_pp.title[0] = '\0';
	//TODO: send some sort of update struct to everybody.
}

void Client::Handle_OP_RequestTitles(const EQApplicationPacket *app) {
	//zero length request
	//TODO: get the titles from somewhere, and ship em off
	
}
and

titles.cpp
Code:
TitleManager::TitleManager() {
}
I don't think the server's side is done. I'm more of a code tweaker, I don't have a clue where to start with something like this. Also when you open your titles window you get
Code:
[Debug] Unable to convert EQ opcode 0x5eba to an Application opcode.
[Debug] [CLIENT__NET_ERR] Death: Unhandled incoming opcode: [OpCode OP_Unknown (
0x5eba) Size=0]
Dax
__________________
Daxum



Former ServerOp - Vallon Zek / Tallon Zek Emu Server - Legit / Guild PvP - (2007 - 2011 RIP)
Reply With Quote
  #5  
Old 02-04-2008, 10:04 AM
TheLieka
Developer
 
Join Date: Oct 2004
Location: THE ATL (wut wut)
Posts: 325
Default

To clarify: that's the current code that's in place - I didn't write any of it.

According to the comments in the code, you're supposed to use this table for the merit based titles.

Code:
create table titles (
	id int UNSIGNED primary key AUTO_INCREMENT,
	skill_id tinyint UNSIGNED NOT NULL,
	skill_value mediumint UNSIGNED NOT NULL,
	aa_points TINYINT UNSIGNED NOT NULL,
	title varchar(32) NOT NULL
);
Dax
__________________
Daxum



Former ServerOp - Vallon Zek / Tallon Zek Emu Server - Legit / Guild PvP - (2007 - 2011 RIP)
Reply With Quote
  #6  
Old 02-06-2008, 11:13 PM
Arex
Hill Giant
 
Join Date: Jul 2004
Posts: 196
Unhappy

Thank you for the information TheLieka, then it is supposed that dev's already begun to do it any time ago, but they saw that this task was too hard and leave it for impossible
Reply With Quote
  #7  
Old 02-08-2008, 05:07 AM
TheLieka
Developer
 
Join Date: Oct 2004
Location: THE ATL (wut wut)
Posts: 325
Default

Quote:
Originally Posted by Arex View Post
Thank you for the information TheLieka, then it is supposed that dev's already begun to do it any time ago, but they saw that this task was too hard and leave it for impossible
I wouldn't say that. It's more likely that someone was working on it, then dropped off the project before completing it. I've got a lot of confidence in the eqemulator developers as well as the community, so I wouldn't deem anything as impossible. It looks like the title #command and PERL commands do modify the character profile in the database (based on AndMetal's previous posts), but we might be missing opcodes for sending the title to the client?

Dax
__________________
Daxum



Former ServerOp - Vallon Zek / Tallon Zek Emu Server - Legit / Guild PvP - (2007 - 2011 RIP)

Last edited by TheLieka; 02-08-2008 at 01:10 PM..
Reply With Quote
Reply

Thread Tools
Display Modes

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:35 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