trying to figure out in code
Posted: Mon Jan 24, 2011 1:01 am
It's pity that there is no good explanations how server works (except open sourced code ofc, but it's too big to understand it at once)
so for now i have few questions
1)what column 'class' in table npc for? have something like 'LineageMonster.giant_spider_05te' in it, where this 'class' used, found only feeding it to jClass and didn't noticed it used anywhere else
2)how start fight aggro mob(or attacked passive) with player, what classes/methods to look? (I interested in the way skills used, and overall fight) (checked L2Attackable - have some interesting methods and fields, like hate analyze and L2CharacterAI - seems i found it, but want to know what triggers it and overall flow, especially when and what skill mob used, based on what condition, it's chance based as i figured out so far)
3) where to post questions like this?)
4) how to implement own raidbos for example with own AI like usual raidbosses have (I understand that I must fill tables with spawn, droplist, npc id, npc_skill but then again, question 1 and 2, about DP AI I didn't even bothered yet, java core is enough for me atm)
had much more questions but forgot 'em.. well, will ask later if those get any reply
best answer would be link to description of internal mechanics of l2j realization, but there is no such thing I afraid
so for now i have few questions
1)what column 'class' in table npc for? have something like 'LineageMonster.giant_spider_05te' in it, where this 'class' used, found only feeding it to jClass and didn't noticed it used anywhere else
2)how start fight aggro mob(or attacked passive) with player, what classes/methods to look? (I interested in the way skills used, and overall fight) (checked L2Attackable - have some interesting methods and fields, like hate analyze and L2CharacterAI - seems i found it, but want to know what triggers it and overall flow, especially when and what skill mob used, based on what condition, it's chance based as i figured out so far)
3) where to post questions like this?)
4) how to implement own raidbos for example with own AI like usual raidbosses have (I understand that I must fill tables with spawn, droplist, npc id, npc_skill but then again, question 1 and 2, about DP AI I didn't even bothered yet, java core is enough for me atm)
had much more questions but forgot 'em.. well, will ask later if those get any reply
best answer would be link to description of internal mechanics of l2j realization, but there is no such thing I afraid