EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   How about on titles? (https://www.eqemulator.org/forums/showthread.php?t=24140)

Arex 01-16-2008 08:34 PM

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!!

sfisque 01-17-2008 03:45 AM

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

So_1337 01-17-2008 04:27 AM

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.

So_1337 01-17-2008 04:42 AM

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

Arex 01-17-2008 05:35 AM

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.

AndMetal 01-17-2008 05:37 PM

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).

Arex 01-21-2008 04:53 AM

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

narcberry 01-23-2008 04:01 AM

Quote:

Originally Posted by sfisque (Post 141916)
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.

So_1337 01-23-2008 04:44 AM

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.

AndMetal 01-23-2008 07:10 AM

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.

Arex 01-30-2008 08:41 PM

perhaps it is more difficult that i thought and we will have to wait years before to see AA titles in eqemu

AndMetal 01-30-2008 10:13 PM

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.

Arex 02-04-2008 03:30 AM

it is nice to see any advancement, perhaps we need to do any opcodes research??

TheLieka 02-04-2008 09:55 AM

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

TheLieka 02-04-2008 10:04 AM

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


All times are GMT -4. The time now is 04:12 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.