Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Темы без сохранившегося раздела (https://postpacific.mmorpg-game.online/forumdisplay.php?f=10001)
-   -   Any help implementing SA crystall ai (https://postpacific.mmorpg-game.online/showthread.php?t=2162)

RmzVoid 10.10.2005 01:16

Any help implementing SA crystall ai
 
I want implement SA quest.

What method i should use? I dont know from that I should start...

can anybody show simple structure of this quest in ai

dio2 10.10.2005 03:57

I am seeing like being able to raise the level of the crystal, until now happened a simple way to me, although he is not equal to the official, but quest would be.
my serious method to request quest and that gives a crystal to you, reason why I have understood the crytal raises of lvl with harit lizarman among others, the serious idea that these tiny beasts throw items to you of quest and with them you go to npc that you it changes it by lvl 2, and asi successively to be obtaining the different crystals.

opinions?

RmzVoid 10.10.2005 04:29

Now I can undestand only one way. Add to EACH (!) monters MY_DIYNG handler which lvlups or refuses crystal. But somebody told me that there is another way - SA crystal have it own ai... How it possible i dont understand

dio2 10.10.2005 05:44

no, my idea is that mobs gives some item x and that with those items x but the crystal lvl 1, npc changes it by lvl 2, to size q rises lvl of the crystal to have q to join but items x

tigra 10.10.2005 07:22

hmm, just an one more crazy idea, nothing more

look, client have this skill
Code:

skill_id=2096        skill_level=1        skill_name=[Soul Crystal]        desc=[none]
skill_id=2097        skill_level=1        skill_name=[Sowing]        desc=[Attempts to sow onto a monster.]
skill_id=2097        skill_level=2        skill_name=[Sowing]        desc=[Attempts to sow onto a monster.]
skill_id=2097        skill_level=3        skill_name=[Sowing]        desc=[Attempts to sow onto a monster.]
skill_id=2098        skill_level=1        skill_name=[Sowing]        desc=[Attempts to harvest from a monster's corpse.]

if this skills what I`m thinking, then:
add 2097 skill for soul crystals (depending on it levels) and make this crystals work as scroll (but I dont know how prevent disapear :)
When your fight, in nessesary moment use crystal on monster, at monster AI handler SEE_SPELL check for skill, set the flag and in MY_DYING handler do something good/bad ;)

if not, just ignore my message

Shinare 10.10.2005 07:47

Quote:

Originally Posted by tigra
hmm, just an one more crazy idea, nothing more

look, client have this skill
Code:

skill_id=2096        skill_level=1        skill_name=[Soul Crystal]        desc=[none]
skill_id=2097        skill_level=1        skill_name=[Sowing]        desc=[Attempts to sow onto a monster.]
skill_id=2097        skill_level=2        skill_name=[Sowing]        desc=[Attempts to sow onto a monster.]
skill_id=2097        skill_level=3        skill_name=[Sowing]        desc=[Attempts to sow onto a monster.]
skill_id=2098        skill_level=1        skill_name=[Sowing]        desc=[Attempts to harvest from a monster's corpse.]

if this skills what I`m thinking, then:
add 2097 skill for soul crystals (depending on it levels) and make this crystals work as scroll (but I dont know how prevent disapear :)
When your fight, in nessesary moment use crystal on monster, at monster AI handler SEE_SPELL check for skill, set the flag and in MY_DYING handler do something good/bad ;)

if not, just ignore my message

that skill is the saw/harvesting skill from the manor system ;)

tigra 10.10.2005 08:01

then use skill_id=2096

RmzVoid 10.10.2005 12:11

anyway we dont avoid adding ai code to each monster who mast process SA quest... it is too big ))

tigra 10.10.2005 13:39

why each mobs AI? call_super rulez ;)

mast надо писать как must

RmzVoid 10.10.2005 22:47

а мне говорили что mast )))

Koner 11.10.2005 00:39

flooders=) флудеры


All times are GMT. The time now is 21:51.