Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [Sharing] Npc buffer ai (https://postpacific.mmorpg-game.online/showthread.php?t=1848)

FidoW 07.01.2006 13:47

Quote:

Originally Posted by Aspire
change the skill range to 5000, and giude can buff runaway from them target.
sorry im a russian :roll:

uh, yes... :banghead: very simple... thanks Aspire.

cool_santino 07.01.2006 14:20

i dont have that problem, if you have source code of ai it simple to correct this.. look at the source code, and you will see what wrong....

Aspire 07.01.2006 19:42

Quote:

Originally Posted by khul
this is not olny problem , main problem is they can bugg the target.

When you are low lvl and you ask buff, another player (a high lvl one that shouldnt get buffs) talks to the NPC and gets the noob buffs instead of first player.

Besides this 2 things code is great.


push_const 1500
func_call 28 // func[AddTimerEx]

change to
push_const 15 //or less, or more
func_call 28 // func[AddTimerEx]

this is delay on casting, if we change this value for each skill, the guide can buff all buffs to 1-10 seconds, but player see the animations with normal delay, thats means - guide return in normal state very fast, faster then next click.

I DONT TEST IT!

uh, english so hard to me, sorry.

rus
Вобщем есть предложение снизить задержку между кастом для каждого скила, тогда НПС наложит эффекты за 1-10 секунд смотря на какое время сменим и соответственно быстрее вернется в исходное состояние, а игрок увидит анимацию каста вполне с нормальной скоростью.
Я НЕ УСПЕЛ ПРОТЕСТИТЬ!

Aspire 07.01.2006 19:47

Quote:

Originally Posted by cool_santino
i dont have that problem, if you have source code of ai it simple to correct this.. look at the source code, and you will see what wrong....

Мда, наверно если ты знаешь что нужно исправить, то помочь людям это сделать очень тяжело? Можно "намеками" и дальше оперировать, но проблема для многих с места не сдвинется.

Без обид.

cool_santino 08.01.2006 08:58

ну помочь то могу, тока вот пыжится с инглишом не хочу... есть там параметр типа @AMT_MOVE_TO_TARGET - его надо заменить на параметр, вот тока не помню как называется точно, не заострял на этом внимания, и исходников как назло нет рядом, в исходниках аи поищи на предмет функции с таким же параметром, там должен быть параметр вместо MOVE, что то насчет - стоять.... Короче изминив его, я добился того чтобы он не бегал за мной...

FidoW 08.01.2006 09:23

Quote:

Originally Posted by cool_santino
ну помочь то могу, тока вот пыжится с инглишом не хочу... есть там параметр типа @AMT_MOVE_TO_TARGET - его надо заменить на параметр, вот тока не помню как называется точно, не заострял на этом внимания, и исходников как назло нет рядом, в исходниках аи поищи на предмет функции с таким же параметром, там должен быть параметр вместо MOVE, что то насчет - стоять.... Короче изминив его, я добился того чтобы он не бегал за мной...

please... i'm spanish but i write english for all can understand me, can you speak english too ? at least... write in rusian and english... all people can read this info... translators are very bad.
Thanks.

PD: Can you translate your text ?

cool_santino 08.01.2006 09:35

replace all @AMT_MOVE_TO_TARGET with some parametr, but i dont remember that name, somthing about @AMT_STAY***( This parametr you can find in the sources of ai.obj.. just search in ai_script.txt functions with such parametrs.....

Aspire 08.01.2006 14:22

https://postpacific.mmorpg-game.onli...dcdd6f2cc076bd
За исходниками далеко ходить не надо, они на первой странице в самом нижнем посте, только они не рабочие для какого то из классов - влом было читать для какого именно, но помогут найти место в коде где надо сменить.

Here is the sourse codes, but this codes is incorrect for one of clases, i dont have time to read all posts to understand for witch one, but this codes helps you to find the buggy plase.

i hate english language :D

FidoW 08.01.2006 15:14

Quote:

Originally Posted by cool_santino
replace all @AMT_MOVE_TO_TARGET with some parametr, but i dont remember that name, somthing about @AMT_STAY***( This parametr you can find in the sources of ai.obj.. just search in ai_script.txt functions with such parametrs.....

thx!! i go to try...

Quote:

Originally Posted by Aspire
i hate english language :D

i too :wink: but... this is a english forum... and admins delete spanish section a few months ago.
A question for admins: Is posible to create forum again? I don't write a lot because i have a very bad english, but... if i can speak with others in spanish... all can do best things.

tasol 09.01.2006 14:08

Re: [Sharing] Npc buffer ai
 
Quote:

Originally Posted by Sauron
This is for the newbie guide, u need to insert this in his ai.
i used ask 2 reply 2 to start the check/buff. u may change to whatever u want :P

If someone know how to do this in a shoter way feel free to share it xD.

little explanation:
check level and category > start timer.
timer fired > load talker id from i_ai2 (since talker doenst exist in that handler) > counter increase each time skill is casted and timer is set again making a loop until the last skills is casted.

there is a 1.5seg delay between skills. It could have bugs, i only tested fighters buff b4 i changed all the L70xx stuff

Sauron this is great work !!but buff work only on elf, other classes human,orc,Delf,dwarf buf dont work! on human buff working Wind Walk and orc and Delf and dwarf too...=( what i forget ? all skills for newbie buff working on 100% !what im doing wrong?

Aspire 09.01.2006 16:12

use ai by lich

tasol 09.01.2006 20:08

Quote:

Originally Posted by Aspire
use ai by lich

Give me lin plz on thats ai :wink:

toolpunk 09.01.2006 20:18

CLICK MEEEEH!

Aspire 09.01.2006 21:49

Quote:

Originally Posted by tasol
Quote:

Originally Posted by Aspire
use ai by lich

Give me lin plz on thats ai :wink:

/rus/ е мое, ну вернись на 2-ю страничку, там и найдешь. /rus/

tasol 10.01.2006 09:31

Quote:

Originally Posted by Aspire
Quote:

Originally Posted by tasol
Quote:

Originally Posted by Aspire
use ai by lich

Give me lin plz on thats ai :wink:

/rus/ е мое, ну вернись на 2-ю страничку, там и найдешь. /rus/

со скриптом от лича такаяже петрушка как и была...работают все бафы токо на эльфах а на всех остальных только wind walk :cry:

IVB 10.01.2006 10:46

Quote:

Originally Posted by FidoW
Quote:

Originally Posted by Aspire
i hate english language :D

i too :wink: but... this is a english forum... and admins delete spanish section a few months ago.
A question for admins: Is posible to create forum again? I don't write a lot because i have a very bad english, but... if i can speak with others in spanish... all can do best things.

I also don't like english, but you not right asking different forums for different languages. For me bad english much better than spanish, and for you bad english much better than russian.

Speaking together in one forum we can do much more than in separate forums.

IVB 10.01.2006 10:51

Quote:

Originally Posted by tasol
со скриптом от лича такаяже петрушка как и была...работают все бафы токо на эльфах а на всех остальных только wind walk :cry:

Translation: script from lich works the same as script from Sauron: all buffs works only on humans, on other races works only WindWalk

cool_santino 10.01.2006 12:32

у меня на всех все баффы работают... странно.... правдо я сам переписывал аи.... может у тя ошибки в catergory.txt (или как там его)?

Reogent 10.01.2006 13:41

Quote:

Originally Posted by cool_santino
у меня на всех все баффы работают... странно.... правдо я сам переписывал аи.... может у тя ошибки в catergory.txt (или как там его)?

выложи свой аи

tasol 10.01.2006 13:56

Quote:

Originally Posted by Reogent
Quote:

Originally Posted by cool_santino
у меня на всех все баффы работают... странно.... правдо я сам переписывал аи.... может у тя ошибки в catergory.txt (или как там его)?

выложи свой аи

как бы странно это не звучало но всё заработало после прверки скиллов =)

ENG/ lich script work perfectly =) i have problems in my hands and my brains =) sorry for my nooooobness =) :wink:

lich 10.01.2006 14:58

Quote:

Originally Posted by tasol
ENG/ lich script work perfectly =) i have problems in my hands and my brains =) sorry for my nooooobness =) :wink:

No problem ^_^
This AI really has some mistakes, but I'm too lazy to correct them ^_^

Symbiosis 30.05.2006 14:44

/rus/ Парни чет я не могу врубиться куда код впихивать. Помогите пожалуйста. /rus/

nnightmare 06.03.2007 00:11

any ideas of how to make the npc buff player's summon too? i tryed seaching but only found an old post wich havent been answered.. so yeah.. any ideas?

EDIT: ahem* wrong npc buff thread.. anyways anyone knows?

Fot@r@s 13.05.2007 13:59

Any reshare of the code?


All times are GMT. The time now is 15:25.