![]() |
Need help about SubClass system manager AI
Hello,
i try to implement SubClass system manager and i have some bugs i would like to fix, i need your help. This is the main part of AI: Code:
...- A sound when profession change is done - Display congratulation htm page - Set char level to 40 (like official) - Fix or test race in order to stay in initial race (for exemple if i am human and i choose a dwarven profession i become an Elf :? ) Tx for your help :) http://img363.imageshack.us/img363/7...01865ed.th.jpg http://img363.imageshack.us/img363/7...01879bl.th.jpg |
[offtopic]out of curiosity what the hell are these items? :O first time i see them! what armor are u wearing and what shield is that? C4 textures?[/offtopic]
|
[offtopic_answer]yes, is c4 textures, and is the imperial crusader set and shield[/offtopic_answer]
|
On Lineage2.com:
[php:1:2b94196107] If the tribe in the main class is Elf or Dark Elf, you may not select each class as a subclass to the other class, and you may not select Overlord and Warsmith class as a subclass. [/php:1:2b94196107] [php:1:2b94196107] You may not select a similar class as the subclass. The occupations classified as similar classes are as follows: Treasure Hunter, Plainswalker and Abyss Walker . Hawkeye, Silver Ranger and Phantom Ranger . Paladin, Dark Avenger, Temple Knight and Shillien Knight . Warlocks, Elemental Summoner and Phantom Summoner . Elder and Shillien Elder . Swordsinger and Bladedancer . Sorcerer, Spellsinger and Spellhowler [/php:1:2b94196107] Means you can't just go from a Treasure Hunter to a BladeDancer or something... |
staying at a race is easy, you have to define more classes in categorydata,
eg you have to add spellsinger to dwarf group. I didn't do it myself but i think that it should work like that. Will You post Your current work ? I'll think we could finish it. And developing/testing with a scratch of code You attached is impossible. |
tx for informations guys but i know all about SubClass system, what i dont know is how to implement it in AI.obj, this language is not easy, but i found some interersting things myself that i can understand and use, atm i can change my char in any class but i dont know how to add conditions (must be 75 to be able to change lvl), set lvl40 to player etc... regards
|
you work fine krapno :P
|
push_event // talker
push_const 32 add fetch_i // level push_const 888 add fetch_i push_const 75 less branch_false SOMELABEL change level -> use the idea of //setparam exp XXXXXXXXX |
Ok tx i got AI + html from cool PP guys (can i give names ?) :)
Too fix: - When u change race, u become an Elf - Changing profession from level 75 set u lvl1 (from lvl80 it is ok) Regards |
Quote:
- When u change race, u become an Elf ==> Only from Human Race :?: :?: :?: |
can you share what was given to you?
|
Thats krapno dude :p dont bother
|
Yeah, he used PP files, he asked for help, we helped him, and then he showed us the finger, it's his normal behaviour.
|
@Metalmurphy, could you elaborate on your idea about using castle functions and castles in the DB for subclass?
I have an idea about how to use items(1302 of them) to allow the switch from class to subclass and back keeping their levels. They would be required to have all the skills up to that level to do it though. This would take many many many lines of ai coding, but most would be completely repetitive. However, if you could explain more about the use of castles and how they could be used here, I'd greatly appreciate it. |
its basically the same idea as I had for making the Oracle of Dawn and Dusk working right. Instead of 'registering' clans you, 'register' people, and then the 'siege starts' basically teleports you into the arena, instead of guards spawning, mobs start, and boom, full working oracle of dawn and dusk. Wha la?!
|
ooo, thx !!
|
does anyone have a fix for the problem with humans turning into the race that you change to? if anyone can help me with this bug i am willing to share the code that i have for subclass system...
|
hex
|
k, already know that... wanna tell me where? cos i been searching the exe for weeks and ive come up wit nothing
|
not have codig for hex :s
|
help? >.>
|
can anyone with experience with hexing help me out with this? cos this is what i got so far....
the only references to classes in the l2server are at these 2 addresses: 0056A2FB and 0056A465 at these 2 locations the human class is different to all the others... ive tried relocating the code and changing the XOR EDI,EDI to MOV EDI,0 to match what all the other classes do, but this doesnt help... only makes the exe go boom on load up, which lead me to find that these 2 locations are for the parsing of the data files... 0056A2FB being for settings, and the other one i havent looked at... so im lost... completely... there are no errors in l2server or l2npc when you class change with a human class, so i dont even know where to start... ive tried looking for the part in the l2npc that handles the class change function in the ai.obj, only to come up with nothing... there has to be someone who can help me with this... this is the only thing that is stopping me from sharing the subclass AI that i have made... is there a possible workaround for this? i thought of making new classes that are in the human fighter/mage race group so that it would not change ur race, but i am unable to find where a certain class is defined as what race... aswell as this, there is no decrypter ClassInfo-e.dat, and i do not know how to manually decrypt it... help? :( |
what's the default name and id of that npc 'azazel'?
|
ClassInfo contain only the text displayed for associate race when creating new characters. I don't think there is something more interesting.
|
yeah i figured that out not that long ago, but i still cant figure out the problem with humans and their race changing aswell as class... i thought maybe stored procedure... but i cant seem to find a classchange procedure.. so im lost.. and does anyone know where the classes are defined clientside?...
|
Hey im kinda new here, but i seem to notice a very bad pattern with our friend krapano. It seems he always comes here and asks everyone for help and once people ask him to share what others have helped himm with he just disappears off of that entire topic or disacknowledges their requests. Now im not flaming im just stateing the obvious =S
P.S sorry if i offend anyone, feel free to delete this. |
| All times are GMT. The time now is 16:25. |