Working on Titanium AAs
Hello all.
I've found an opcode that allows AAs to be purchased for Titanium. The opcode is OP_RespondAA=0x3af4. I have included the coding changes for 0.7.0-840: for common/patches/Titanium.cpp: Code:
577c577 Code:
147,148c147,148 Code:
6234c6234 1. This only works for Titanium, due to the changes in string ids that need to be sent to the client. I am working on a method that involves a custom Message_StringID function that uses a "fake" opcode that both Titanium and Client62 can interpret and send the correct string id. 2. The AA information does not show correctly in the AA window after zoning or logging. The rank for the AA appears to be one less than the actual rank. However, a rank that is maxed out (such as Innate Strength 5/5) will show correctly. Hope this helps out. |
Nice work guy!
|
nice!
I was wondering how I add this to my 0.7.0 server, I am still new to running one. |
prolly the easiest thing to do about the string IDs is to just go back to sending the entire message ourself instead of using the stringID stuff... the hardest part would be updating the altadv_vars table to have the correct 'name' column (hasnt been updated in a long time), and then loading that field up from the DB so we can use it to make these messages.
I havent been able to figure out what they are not persisting across zones properly, I suspect its the AA storage in the player profile, but I have compred them across versions and theres no difference.... so either they are not getting stored into the PP properly, or we are sending some packet later (like SendAATable()) which is overriding the values stored in PP and breaking things. |
phych outq
dude, this is so sic, i cant wait to start playing, how well does the server work now? any bugs?
|
After applying a decrypting interpolation routine to the OP instructions, I was able to get AA's to stick on my 840 server. Great find, and thank you for your effort!
Now to find that missing Innate STR AA. :) Edit: Ahhh, I see what you're saying now. If I train 1/5 innate [anything] then zone, that entire AA is removed from the list. Gonna try and figure out how to get it back. That must be where STR went originally, since I had been playing with this for some time. |
do aa;s work except the innate ones or no
|
Just out of curiosity, (sorry if this is what the last poster was wondering, not really sure) but do teh AA's actually 'work' or are they just buyable as in it sticks and the numbers show (except the zoning issue)
Also, any ETA on when the next level emu will come out with this patch included? (like the 0.7.0-841 or whatnot) Thanks! |
Some AA's work some dont
no ETA's are ever given, could be tomorow could be next year. |
Quote:
Er, guess i was just confused by the line in the 'downloads' section; Quote:
|
YEs it builds each nite with what the developers do that day, your asking for an ETA on when there going to include something.
Basicaly it will be included when its done, the fixes so far still dont work. |
Hello all,
I think I've finally gotten the AAs to display correctly in the AA window of the Titanium client. Now you can purchase the AAs and they will display correctly, even after zoning and logging. So if you purchase 2 ranks of Innate Strength, the client will reflect this in the Inventory window. It also has a fix that will display the purchase strings correctly for both Client62 and Titanium. The following patches are built using the 0.7.0-841 source: for common/emu_oplist.h: Code:
25a26 Code:
3116,3117c3116,3118 Code:
414c414 Code:
569,587c569,572 Code:
7a8 Code:
115a116 Hope this helps out. P.S. Sorry about the long post, was going to send the files in a zip attachment, but couldn't upload them for some reason. |
Woot!
This makes me wish i had a compiler.... /cry Good work on the aa's everyone, looking foward to them being fully functional Quick question though, you said they 'display' correctly after zoning, but do their effects still stick? i noticed with the current 841 source when you zone it displays as 1 shorter than what it does (as i know people have noticed/mentioned) but more importantly only the 1st rank worth of an aa takes effect until you spend your next aa point, and unless you want to farm an aa point every time you go somewhere to use aa's that's kinda annoying... i know things don't work yet and they aren't done, just wondering if this was among the 'zoning issues resolved' or if thats still on the list? Thanks Again GloranDwarf for all your efforts |
good work. This seems to have improved things a bit, but I am still seeing problems with some AAs sticking across zoning with titanium... for example I trained salvage, did a #save just in case, and then zoned, on the other side, neither my "total points spent" nor my salvage item were correct (however, my avaliable points were reduced...) Hopefully you can repeat this, I am a bit busy right now, none the less I will get these changes in.
|
ive noticed a few problems and alot of aas not showing up but other then that this is a HUGE improvement over nothing
|
will take a look into training the Salvage AA and see what happens, pretty much just tested it with Innate Strength and Innate Stamina. Those AAs will show the correct values in the client (have been working correctly on the server side), figured that they would work for all of them. Back to the drawing board.
I'm going to check my source and make sure that I did make a patch for all of my AA changes, and if I missed anything I will repost it. LOL, when I first posted my changes to the AA code I was stuck at getting it to work, so I thought that maybe someone else would get it working. Never know when inspiration will strike, huh? |
After doing some preliminary checking on the Salvage AA, it appears that it is not saving it in the player profile for some reason. Using a test command that displays PC stats (including AAs), I can see that whenever I zone, it loses the Salvage AA altogther, but it keeps the others (ex. Innate Charisma).
Will check into it some more later, getting late now. EDIT: I located the problem with the Salvage AA: has to do with its id of 997. There's some code that removes any AA entries that have ids out of range, and the highest ID (defined in AA.h) is 933, so it is removing the Salvage AA entry. Will see about adding the rest of the aa ids into the file later, it's still late. |
Slightly off-topic, but similar in loss of data (maybe due to it not saving while zoning) -- Endurance. Everytime I zone, it's 0. And yes, it's been posted before. But if Glorandwarf can locate the bad save, maybe it'll lead to a fix for endurance, too.
|
Quote:
|
Quote:
Thanks for the info. |
Hello all,
I managed to find out what was going on with the Salvage AA, and I think that I have it fixed now. There was some code that checked AAs to see if any were invalid, and if so, they were removed. The last valid ID was 933, and since the ID for Salvage was 997, it was seen as being invalid and was removed. I have updated the zone/AA.h file to include all of the AAs available up through the Omens of War expansion, so any of the AAs that are currently available should be purchaseable without any being deleted on zoning. Note that this does NOT add any new AAs to the game, as that needs to be done with the database. This new file provides IDs to the developers to use when coding the AAs into EQEmu. The updated zone/AA.h file is located here. Hope this helps out. |
Quote:
If someone could point out where I'd be happy to start working through it to see if i could clean that up, I don't mind database work so much anymore... EDIT:: Unless you meant all new AA's, cause I don't know enough to be able to do that, but i notice several classes are missing aa's that other classes have and can use, they just aren't visable to those (melee crit for rogue isn't visable, but the same aa is visable to SK or pally for example...) |
I Figured out where the class variable is placed for who can get what on alt advancement, but can anyone tell me how this variable is calculated? It's the class collumn under the altadv_vars table... I knew how that worked once upon a time but if someone can give me the formula/post a link describing it, i'll post an update to fix some of them when I'm done editing it....
Thanks EDIT: Nevermind, should have guessed it was the powers of 2 trick, will post an update sometime in the near future... |
Update:
Ok, heres all the arch-type aa's and their correct 'classes' field to make them availible to the correct classes... it's only mildly tested as i lost the ability to log into the emu login server a few minutes ago and so I must go figure out why that is... Also; I couldn't find a decent list of aa's anywhere so this is off allakhazam's website... if you notice one is missing from a class please let me know and i will update it as necessary.. Enjoy. Healing Adept 33876 Healing Gift 33876 Spell Casting Reinforcement 58452 Spell Casting Fury 58492 Channeling Focus 64892 Natural Durability 33722 Natural Healing 33722 Combat Fury 33722 Fear Resistance 33722 Finishing Blow 33722 Combat Stability 33722 Combat Agility 33722 Mental Clarity 64892 Spell Casting Mastery 31812 Spell Casting Subtlety 31016 Spell Casting Expertise 31016 Spell Casting Deftness 30760 |
I'm not sure if you're up to the 1 class specific AA's yet or working on the general ones but ranger class AA's missing are:
Innate camoflage (druid also but never made one to see if it exists) Endless quiver Archery mastery Not trying to rush ya folks or anything but so far, this is awesome. Thanks all :) Oh, also when I bought a point in Planar Power, my STR cap increased but none of the others and any following purchases didn't increase STR cap. It was just a one time thing it seems. I been thinking about this and for others, they seem to be working as they should for the most part. Maybe I should recreate a character using the new server? or download and rebuild the PEQ database? or both? |
Quote:
Quote:
This i believe is a known issue, anything past the 'general' tab doesn't work for more than 1 aa rank... i.e. natural durability (archtype increase max hp) only works for the initial rank of 2%, but not for the following 2nd or 3rd rank hp boosts, I believe this is being worked on... Rebuilding your database or the server type won't help this problem, however it is not a bad idea to keep up to date on the server downloads as patching is quick and easy and does help various other problems with aa's. Hope that helps. |
It has been a couple of months, just curious if there has been anything else done to fix aa's? I'm not a programmer or anything but I've noticed, like this thread mentioned, on the server I play on that the general aa's work, and that the rest look broke, and quite a few are missing.
Thanks for yalls work guys. |
I actually have been looking at AAs. I have all up through general completely working.. not that they weren't working before but under my new modifications to the aa system heh. I'm doing archtypes now and I hope to have all luclin aa's working within a few weeks.. if I don't get distracted with anything or run into any major hurdles that is.
|
All times are GMT -4. The time now is 10:37 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.