![]() |
|
|
#1 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
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:
... L2131 shift_sp 1 push_event // talker push_const 32 add fetch_i push_event // reply push_const 104 add fetch_i func_call 144 // func[ClassChange] shift_sp -2 shift_sp -1 L2132 handler_end class_end - 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
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jul 2005
Posts: 108
|
[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]
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Feb 2005
Posts: 705
|
[offtopic_answer]yes, is c4 textures, and is the imperial crusader set and shield[/offtopic_answer]
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
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... |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Mar 2005
Posts: 368
|
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. |
|
|
|
|
#6 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
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
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: May 2005
Posts: 315
|
you work fine krapno :P
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jul 2005
Posts: 371
|
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 |
|
|
|
|
#9 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
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 |
|
|
|
|
#10 | |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
Quote:
- When u change race, u become an Elf ==> Only from Human Race :?: :?: :?: |
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Nov 2005
Posts: 28
|
can you share what was given to you?
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Feb 2005
Posts: 766
|
Thats krapno dude
dont bother
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: Mar 2005
Posts: 368
|
Yeah, he used PP files, he asked for help, we helped him, and then he showed us the finger, it's his normal behaviour.
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: Nov 2005
Posts: 28
|
@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. |
|
|
|
|
#15 |
|
Архивный участник
Join Date: Sep 2005
Posts: 455
|
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?!
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: Nov 2005
Posts: 28
|
ooo, thx !!
|
|
|
|
|
#17 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
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...
|
|
|
|
|
#18 |
|
Архивный участник
Join Date: Jun 2005
Posts: 549
|
hex
|
|
|
|
|
#19 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
k, already know that... wanna tell me where? cos i been searching the exe for weeks and ive come up wit nothing
|
|
|
|
|
#20 |
|
Архивный участник
Join Date: Jun 2005
Posts: 549
|
not have codig for hex :s
|
|
|
|
|
#21 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
help? >.>
|
|
|
|
|
#22 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
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?
|
|
|
|
|
#23 |
|
Архивный участник
Join Date: Dec 2005
Posts: 3
|
what's the default name and id of that npc 'azazel'?
|
|
|
|
|
#24 |
|
Архивный участник
Join Date: May 2005
Posts: 99
|
ClassInfo contain only the text displayed for associate race when creating new characters. I don't think there is something more interesting.
|
|
|
|
|
#25 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
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?...
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|