Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 24.09.2005, 00:59   #1
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default 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:
...
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
I would like to had:
- 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

krapno is offline  
Old 24.09.2005, 02:38   #2
MoSs
Архивный участник
 
Join Date: Jul 2005
Posts: 108
Default

[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]
MoSs is offline  
Old 24.09.2005, 03:15   #3
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

[offtopic_answer]yes, is c4 textures, and is the imperial crusader set and shield[/offtopic_answer]
SoaPy is offline  
Old 24.09.2005, 09:05   #4
Phantom2005
Архивный участник
 
Join Date: Aug 2005
Posts: 394
Default

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...
Phantom2005 is offline  
Old 24.09.2005, 11:38   #5
Eliot
Архивный участник
 
Join Date: Mar 2005
Posts: 368
Default

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.
Eliot is offline  
Old 24.09.2005, 17:55   #6
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default

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
krapno is offline  
Old 25.09.2005, 00:26   #7
iamrend
Архивный участник
 
Join Date: May 2005
Posts: 315
Default

you work fine krapno :P
iamrend is offline  
Old 25.09.2005, 00:58   #8
torune
Архивный участник
 
Join Date: Jul 2005
Posts: 371
Default

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
torune is offline  
Old 25.09.2005, 01:07   #9
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default

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
krapno is offline  
Old 25.09.2005, 13:43   #10
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default

Quote:
Originally Posted by krapno
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
- Changing profession from level 75 set u lvl1 ==> Fixed
- When u change race, u become an Elf ==> Only from Human Race :?: :?: :?:
krapno is offline  
Old 17.11.2005, 18:41   #11
_styx
Архивный участник
 
Join Date: Nov 2005
Posts: 28
Default

can you share what was given to you?
_styx is offline  
Old 17.11.2005, 19:29   #12
Metalmurphy
Архивный участник
 
Join Date: Feb 2005
Posts: 766
Default

Thats krapno dude dont bother
Metalmurphy is offline  
Old 17.11.2005, 21:58   #13
Eliot
Архивный участник
 
Join Date: Mar 2005
Posts: 368
Default

Yeah, he used PP files, he asked for help, we helped him, and then he showed us the finger, it's his normal behaviour.
Eliot is offline  
Old 18.11.2005, 00:43   #14
_styx
Архивный участник
 
Join Date: Nov 2005
Posts: 28
Default

@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.
_styx is offline  
Old 18.11.2005, 02:05   #15
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

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?!
Kenster is offline  
Old 26.11.2005, 21:54   #16
_styx
Архивный участник
 
Join Date: Nov 2005
Posts: 28
Default

ooo, thx !!
_styx is offline  
Old 02.12.2005, 09:47   #17
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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...
testdude is offline  
Old 02.12.2005, 13:39   #18
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

hex
kepler001 is offline  
Old 02.12.2005, 17:23   #19
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

k, already know that... wanna tell me where? cos i been searching the exe for weeks and ive come up wit nothing
testdude is offline  
Old 02.12.2005, 17:33   #20
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

not have codig for hex :s
kepler001 is offline  
Old 04.12.2005, 01:31   #21
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

help? >.>
testdude is offline  
Old 04.12.2005, 08:12   #22
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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?
testdude is offline  
Old 29.12.2005, 14:07   #23
Ktulu
Архивный участник
 
Join Date: Dec 2005
Posts: 3
Default

what's the default name and id of that npc 'azazel'?
Ktulu is offline  
Old 29.12.2005, 16:28   #24
filrip
Архивный участник
 
Join Date: May 2005
Posts: 99
Default

ClassInfo contain only the text displayed for associate race when creating new characters. I don't think there is something more interesting.
filrip is offline  
Old 29.12.2005, 17:59   #25
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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?...
testdude is offline  
 


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. The time now is 22:55.