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-16-2008, 08:34 PM
Arex
Hill Giant
 
Join Date: Jul 2004
Posts: 196
Default How about on titles?

Hi guys, i was asking me how about on titles? u remember the titles that u get in eq-live when u get enought AA's, titles like Sir, Master, Marshall, etc.?

I think that it shouldnt to be very hard to develop, perhaps a check after each "You GAIN AA POINT", that check how many AA's u have and what is u class, and then update directly on DB "character name" using "new Title+character name".

It is only a idea, but i really would like to see TITLES in eqemu.

Thank you!!
Reply With Quote
  #2  
Old 01-17-2008, 03:45 AM
sfisque
Hill Giant
 
Join Date: Oct 2006
Posts: 248
Default

probably better implemented with a flag (column), rather than injecting it into the existing name column. IIRC, you could opt out of having the name, and also there were custom names given to people who performed special feats or solved quests first.

i know on Xev, there was a toon with the name "... of the Nexus" which he got for being the first to fulfill some quest.

so maybe 2 new columns, one for the specific title, and a flag indicating whether it is a prefix, suffix, or not visible.

== sfisque
Reply With Quote
  #3  
Old 01-17-2008, 04:27 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

I started to type this post, but found a great page for reference and want to get it here in case that site ever drops:

These are the AAs available to each class based upon which epic they have completed; 1.0, 1.5, and 2.0. Where a difference is dependent upon the character's sex, the entry is seperated by a '/'.

Quote:
BARD:
Composer
Wyrmkin
Blade Dancer

BEASTLORD:
Feralkin
Wildcaller
Savage Spirit

BERSERKER:
Agressor
Axe Master
Rageheart

CLERIC:
Curate
Priest / Priestess
High Priest / Priestess

DRUID:
Naturewalker
Forest Scion
Earthkeeper

ENCHANTER:
Mindbender
Coercer
Enigma

MAGICIAN:
Thaumaterge
Master Elementalist
Primal Elementalist

MONK:
Apostle
Enlightened
Ascendant

NECROMANCER:
Dark Apprentice
Deathspeaker
Grand Occultist

PALADIN:
Lightbringer
Redeemer
Valiant

RANGER:
Windcaller
Earthguard
Farwarden

ROGUE:
Swashbuckler
Infiltrator
Nightblade

SHADOWKNIGHT:
Pain Lord
Archfiend
Darkreaper

SHAMAN:
Heyokah
Fateseer
Spiritwalker

WARRIOR:
Champion
Conquerer
Decimator

WIZARD:
Catalyst
Scholar
Planeshifter
Quote:
If you take up a trade skill you are rewarded with an additional title for your efforts:

100+ skill -- Apprentice
200+ skill -- Journeyman
250+ skill -- Expert
300 skill -- Master

General Skill Title

Baking -- Chef
Brewing -- Brewer
Fishing -- Fisherman
Fletching -- Fletcher
Jewelcrafting -- Jeweler
Pottery -- Potter
Smithing -- Smith
All (except Fishing) -- Artisan

Restricted Skill Title

Alchemy (Shaman) -- Alchemist
Poisonmaking (Rogue) -- Poisoncrafter
Spell Research (Caster) -- Researcher
Tinkering (Gnome) -- Tinker
Quote:
Further progression through Norrath allows you to gain Alternate Advancement Experience points. Once you have gained and spent a number of points in the General, Archetype and Class tabs, an additional title is gained. This title is displayed over your characters head along with their name.

(Where a difference is dependent upon the character's sex, the entry is seperated by a '/'.)

CLASS:
6 points (in General)
18 points (in Archetype)
42 points spent (in Class)

BARD:
Baron / Baroness
Veteran
Impresario / Muse

BEASTLORD:
Baron / Baroness
Venerable
Elder

BERSERKER:
Baron / Baroness
Veteran
Savage

CLERIC:
Baron / Baroness
Venerable
Exarch

DRUID:
Baron / Baroness
Venerable
Elder

ENCHANTER:
Baron / Baroness
Master / Mistress
Sage

MAGICIAN:
Baron / Baroness
Master / Mistress
Sage

MONK:
Baron / Baroness
Brother / Sister
Sensei

NECROMANCER:
Baron / Baroness
Sage
Lich

PALADIN:
Baron / Baroness
Sir / Lady
Duke/Dutchess

RANGER:
Baron / Baroness
Veteran
Hunter / Huntress

ROGUE:
Baron / Baroness
Veteran
Marauder

SHADOWKNIGHT:
Baron / Baroness
Sir / Lady
Duke / Dutchess

SHAMAN:
Baron / Baroness
Venerable
Elder

WARRIOR:
Baron / Baroness
Veteran
Marshall

WIZARD:
Baron / Baroness
Master / Mistress
Sage
Source.
Reply With Quote
  #4  
Old 01-17-2008, 04:42 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

Now that that's said, I don't think we would have to go into that much detail to start. Baby steps. The first set of titles that were implemented in the game were the AA titles. Those came with Luclin, and were strictly dictated by your class and sex and how many AA points you had spent in each tab.

Only later were titles implemented for tradeskills and epics, and the actual Titles menu came around the same time (which is in the Titanium client) that would let you pick from various ones that you have accrued.

I'd love to see even the first system implemented, but it's sure beyond me to do so. Hopefully I've pulled some information together for anyone who wishes to take it on, and Xenu be praised if they decide to
Reply With Quote
  #5  
Old 01-17-2008, 05:35 AM
Arex
Hill Giant
 
Join Date: Jul 2004
Posts: 196
Default

yes, like said So_1337, i also was refering to first system implemented of titles, dictated by your class and sex and how many AA points you had spent in each tab.

Yes sfisque, I think that u idea for develop it is better. For the first system of titles, u only would need one column, and show that column + character name. The next step would be use a check when u get a AA for modify that column in function of u class, number of AA's, and gender.
Reply With Quote
  #6  
Old 01-17-2008, 05:37 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

I'm not sure if this will help, but there is a section in the Profile blob that corresponds to a title and a suffix. The title is at 2384 and is 32 bytes long. The suffix is at 2416 and is also 32 bytes long. However, I'm not sure if the emu supports reading from that location (would require digging through the source code).
__________________
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
  #7  
Old 01-21-2008, 04:53 AM
Arex
Hill Giant
 
Join Date: Jul 2004
Posts: 196
Default

Thank You AndMetal, perhaps the titles require less work in eqemu that i had though. I cant wait to see my title of Elder in my toy
Reply With Quote
  #8  
Old 01-23-2008, 04:01 AM
narcberry
Sarnak
 
Join Date: Mar 2005
Location: Idaho, USA
Posts: 94
Default

Quote:
Originally Posted by sfisque View Post
i know on Xev, there was a toon with the name "... of the Nexus" which he got for being the first to fulfill some quest.
...
== sfisque

Storytime: "of the Nexus" was a title granted from a very very early GM event. The title went along with a custom item that allowed the toon to port to the Nexus. At least, that's how it was on Sullon. Sullon's "of the nexus" toon made it partially through planar progression (when that even meant anything) and is rotting right now as the original owner has since forgotten the user/pass =). That's the way I remember it.


Fin.
__________________
Thanks for answering my questions.
My Website
Reply With Quote
  #9  
Old 01-23-2008, 04:44 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

How can the 'blob' data in profile be read and/or edited? I'm wishing I had the knowledge to work on this, as I'd love to see it happen.
Reply With Quote
  #10  
Old 01-23-2008, 07:10 AM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Here is how I read it using PHP: Convert profile blob to useful data (Wiki).

A more up-to-date version of this can be found on Sourceforge: profile & functions. The same idea (substr()) can be used in pretty much any computer language.

Putting it back is basically the reverse, by putting all of the data back into one lump, then updating it into the database.

I haven't tried this yet, although I did create a PHP utility to directly view the contents of the blob (not on Sourceforge yet, but will eventually be located here) with the intent of eventually being able to edit it directly from the same utility (like a hex editor), then moving to a more user friendly interface. My only concern about updating directly into the profile is that there is a Checksum field at the very beginning, and I'm not sure if it would cause any problems if you do modify it.

The hard work of breaking down what's where has been done, so all of the information you need should be there. From there, you'll just need to figure out the best way to inject the changes.
__________________
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
  #11  
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
  #12  
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
  #13  
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
  #14  
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
  #15  
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
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:41 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