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 08-28-2008, 04:12 PM
laxative
Hill Giant
 
Join Date: Aug 2008
Location: NorthEast
Posts: 115
Default This might save me a lot of greif

Ok,

So I'm digging around looking to modify the paladins abilities and skills and I come across this gem.

I do a search of my emulators files for this function "hasskill"

I find this in the client.cpp file

bool Client::HasSkill(SkillType skill_id) const {
return((GetSkill(skill_id) > 0) && CanHaveSkill(skill_id)) then this:

int8 Client::SkillTrainLevel(SkillType skillid, int16 class_){
return(database.GetTrainLevel(class_, skillid, RuleI(Character, MaxLevel)));

Soo,, to the guru's if I understand this correctly this means that this function queries and get's it's answer from the client? in this case Titanium's EQGAME.EXE?

That's going to save me a lot of pain... as I can quickly grep for everything that's client:: and find out exactly what I can and can't do... short of finding the damn titanium client source... now that'd be freaking cool!

Thanks
Reply With Quote
  #2  
Old 08-28-2008, 05:15 PM
VallonTallonZek
Sarnak
 
Join Date: May 2008
Location: Halas
Posts: 42
Default

It is talking about the Client class not the actual Client software on the players computer.

The Paladin skills are stored in the database in the Skill_Caps table.
Reply With Quote
  #3  
Old 08-28-2008, 08:28 PM
laxative
Hill Giant
 
Join Date: Aug 2008
Location: NorthEast
Posts: 115
Default

ok fair answer, and I know about the skills_cap table, I've been in there muddling around. Allow me to get more specific:

CanHaveSkill(skill_id)

To me, this would imply canhaveskill has to check "something" to determine whether or not this class can have this skill. Do you, or anyknow where this check is made?

OR, I think maybe someone could confirm that even if I could make it so this check worked, that the client would stop my paladin from Kicking?

I could edit kick in class_skills and give it to the paladin at say.. level 6. Then fill in the tables in the skill_caps but something tells me I'm not going to be kicking anything because the client will override.

Yes?

AND, thank you for correcting me on what I thought was a call to the client executable.
Reply With Quote
  #4  
Old 08-28-2008, 09:00 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

The client will still override things like base class skills no matter what you have set in the db and code unfortunately.
Reply With Quote
  #5  
Old 08-28-2008, 09:48 PM
laxative
Hill Giant
 
Join Date: Aug 2008
Location: NorthEast
Posts: 115
Default

Thank you KLS,

is there any kind of list that would give me a broader understanding of what the client handles?

Right now I'm most interested in having the paladin use the same combat tables, I would think combat is handled almost in full on the server, but I keep failing at locating where the base to hit, and to hit modifiers are...

any help?

Thanks again.
Reply With Quote
  #6  
Old 08-29-2008, 03:28 PM
hayward6
Forum Guide
 
Join Date: Jul 2005
Posts: 473
Default

There's some of that info in the rules_value table like base crit, and things like that... but no break down by class :(
__________________
Sayin Silverwolf
Server Op of The Sandbox (Non-Legit)
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 06:12 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3