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)
-   -   [SHARE] Buffer NPC C4 (https://postpacific.mmorpg-game.online/showthread.php?t=6407)

KOC2000 15.12.2006 20:13

Thanx FidoW

ismael66 15.12.2006 20:39

Quote:

Originally Posted by Genes2 (Post 74126)
it's good , or not ?
HTML Code:

class buffer_npc : default_npc
{
parameter:
        string        fnHi = "buffer_npc001.htm";
        string        fnYouAreChaotic = "buffer_npc002.htm";
        string        fnNotEnoughAdena = "buffer_npc003.htm";
        string        fnWait = "buffer_npc004.htm";
        int        ItemBuff = 57;
        int        Amount = 20000;
        int        Delay = 500;

handler:
        EventHandler CREATED()
        {
                myself.i_ai0 = 0;
        }

        EventHandler TALKED(talker)
        {
                if( talker.karma > 0 )
                {
                        myself->ShowPage(talker,fnYouAreChaotic);
                }
                else
                {
                        myself->ShowPage(talker,fnHi);
                }
        }

        EventHandler MENU_SELECTED(talker,ask,reply)
        {
                if( ask == -201 && myself->OwnItemCount(talker,ItemBuff) >= Amount )
                {
                        if( myself.i_ai0 == 0 )
                        {
                                myself.i_ai0 = 1;
                                myself->DeleteItem1(talker,ItemBuff,Amount);
                                myself->AddUseSkillDesire(talker,reply,1,1,1000000);
                                myself->ShowPage(talker,fnHi);
                                myself->AddTimerEx(1,Delay);
                        }
                        else
                        {
                                myself->ShowPage(talker,fnWait);
                        }
                }
                else
                {
                        myself->ShowPage(talker,fnNotEnoughAdena);
                }
        }

        EventHandler TIMER_FIRED_EX(timer_id)
        {
                if( ask == -201 )
                {
                        if( reply == 273411 )
                        {
                                myself->ShowPage(talker,"buffer_npc001.htm");
                        }
                        else if( reply == 266243 )
                        {
                                myself->ShowPage(talker,"buffer_npc001.htm");
                        }
                        else if( reply == 275715 )
                        {
                                myself->ShowPage(talker,"buffer_npc001.htm");
                        }
                        else if( reply == 308226 )
                        {
                                myself->ShowPage(talker,"buffer_npc001.htm");
                        }
                        else if( reply == 317443 )
                        {
                                myself->ShowPage(talker,"buffer_npc001.htm");
                        }
                        else if( reply == 278275 )
                        {
                                myself->ShowPage(talker,"buffer_npc001.htm");
                        myself.i_ai0 = 0;
                }
        }

}



I suggest you start with l2j

Genes2 16.12.2006 00:27

loool i don't know but explain me lol .

can you wright some lines for exemple ?

RetaL 16.12.2006 07:25

Thx,will be useful in future ;)

Genes2 16.12.2006 10:40

it's not cool (((

Genes2 17.12.2006 16:43

it's not cool ((( :p

plz help me
i can pay a guy for create 1 npc buffer for me .

Genes2 19.12.2006 16:22

i have a little problem... why when i click on the buffer npc , the window open but nothing on ...

The link it's good i see ===> buffer_npc001.htm

can you explain me , plz ?

dirkr 19.12.2006 16:32

uhm most of the time its cause the htm isnt saved in unicode..

FidoW 19.12.2006 16:44

Damm, the fucking same questions that has been answered 2 hundred times in this forum, Genes2, use search, read the forum ,spent some days learning by yourself, and later, when you have some problem and isnt in the forum, ok, start making questions, but for now.. stop spamming the forum and specially my thread, the code works good, the HTMLs are OK, i think, your problem is like dirkr say... you dont save HTML in UNICODE but.. thats the first thing you need to learn before do anything with L2OFF because ALL FILES are in UNICODE format.

Genes2 20.12.2006 12:56

so ......

thx for you explain . i have resolve my problem very very big thx ^^

scrap512 20.12.2006 14:28

lol thats what happens when people dont read the topic

Fileburner 09.01.2007 23:25

thanx fidow for sharing ^^
just a little question is it possible to be made for dances and songs or whatever buff ?

Guaresnay 10.01.2007 00:30

Quote:

Originally Posted by Fileburner (Post 75825)
thanx fidow for sharing ^^
just a little question is it possible to be made for dances and songs or whatever buff ?

look at htmls...

tera 11.01.2007 23:32

boys I have done all what surrender beside me not чево was not got help send me who that
ai html npcdata pls
zip
tavakalov@mail.ru

tera 11.01.2007 23:33

boys I have done all what surrender beside me not what was not got help send me who that
zip
tavakalov@mail.ru
sty me eng (

Namenlos 12.01.2007 01:36

Dear tera, you are MyDak!
Wrong forum ban him!

Aikeleer 12.01.2007 06:48

Wow, didn't know so many people don't have a clue about how the server works. Thanks FidoW, manually compiling AI code is really shitty work, I know.

tera 12.01.2007 12:50

(
 
Quote:

Originally Posted by Namenlos (Post 75948)
Dear tera, you are MyDak!
Wrong forum ban him!

ti eto sledi za slovami
kto daval prova tebe govarit takie slova
esli y neznau kak eto delat ne daey yebe pravo banit menya i obzivat
ludwe pomagi mne

Lirix 12.01.2007 17:43

ppc. sorry ppl from my english, but, tera, DoLpAeB :D

tera 12.01.2007 21:20

hi
 
Quote:

Originally Posted by Lirix (Post 75985)
ppc. sorry ppl from my english, but, tera, DoLpAeB :D


you mather ok ?)))

kin 12.01.2007 23:08

Lirix - nice! :D

tera 13.01.2007 09:50

yes steep fun you has said I so long laughed it is necessary you

tera 14.01.2007 20:17

FidoW big senks
all good work
respect you



too Lirix - A nas4et dalbaebov dalbaet ti kupi o4ki novie sebe ))))

TehUb3r 06.02.2007 10:25

woot, thanks for sharing this , realy needed that.
btw is there anyway to fix that html exploit mentioned before on this thread?

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
sample.rar — 4270 байт

HyperViper© 18.02.2007 18:01

Is changing this buffers race and sex all client side? For ex if I wanted to make a stationary imp as the NPC.


All times are GMT. The time now is 16:20.