Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 15.12.2006, 20:13   #26
KOC2000
Архивный участник
 
Join Date: Jun 2006
Posts: 100
Default

Thanx FidoW
KOC2000 is offline  
Old 15.12.2006, 20:39   #27
ismael66
Архивный участник
 
Join Date: Sep 2006
Posts: 122
Default

Quote:
Originally Posted by Genes2 View Post
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
ismael66 is offline  
Old 16.12.2006, 00:27   #28
Genes2
Архивный участник
 
Join Date: Dec 2006
Posts: 207
Default

loool i don't know but explain me lol .

can you wright some lines for exemple ?
Genes2 is offline  
Old 16.12.2006, 07:25   #29
RetaL
Архивный участник
 
Join Date: Mar 2006
Posts: 53
Default

Thx,will be useful in future
RetaL is offline  
Old 16.12.2006, 10:40   #30
Genes2
Архивный участник
 
Join Date: Dec 2006
Posts: 207
Default

it's not cool (((
Genes2 is offline  
Old 17.12.2006, 16:43   #31
Genes2
Архивный участник
 
Join Date: Dec 2006
Posts: 207
Default

it's not cool (((

plz help me
i can pay a guy for create 1 npc buffer for me .
Genes2 is offline  
Old 19.12.2006, 16:22   #32
Genes2
Архивный участник
 
Join Date: Dec 2006
Posts: 207
Default

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 ?
Genes2 is offline  
Old 19.12.2006, 16:32   #33
dirkr
Архивный участник
 
Join Date: Nov 2006
Posts: 204
Default

uhm most of the time its cause the htm isnt saved in unicode..
dirkr is offline  
Old 19.12.2006, 16:44   #34
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

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.
FidoW is offline  
Old 20.12.2006, 12:56   #35
Genes2
Архивный участник
 
Join Date: Dec 2006
Posts: 207
Default

so ......

thx for you explain . i have resolve my problem very very big thx ^^
Genes2 is offline  
Old 20.12.2006, 14:28   #36
scrap512
Архивный участник
 
Join Date: Jul 2006
Posts: 77
Default

lol thats what happens when people dont read the topic
scrap512 is offline  
Old 09.01.2007, 23:25   #37
Fileburner
Архивный участник
 
Join Date: Jun 2006
Posts: 8
Default

thanx fidow for sharing ^^
just a little question is it possible to be made for dances and songs or whatever buff ?
Fileburner is offline  
Old 10.01.2007, 00:30   #38
Guaresnay
Архивный участник
 
Join Date: Oct 2005
Posts: 113
Default

Quote:
Originally Posted by Fileburner View Post
thanx fidow for sharing ^^
just a little question is it possible to be made for dances and songs or whatever buff ?
look at htmls...
Guaresnay is offline  
Old 11.01.2007, 23:32   #39
tera
Архивный участник
 
Join Date: Jan 2007
Posts: 30
Default

boys I have done all what surrender beside me not чево was not got help send me who that
ai html npcdata pls
zip
[email protected]
tera is offline  
Old 11.01.2007, 23:33   #40
tera
Архивный участник
 
Join Date: Jan 2007
Posts: 30
Default

boys I have done all what surrender beside me not what was not got help send me who that
zip
[email protected]
sty me eng (
tera is offline  
Old 12.01.2007, 01:36   #41
Namenlos
Архивный участник
 
Join Date: Mar 2006
Posts: 160
Default

Dear tera, you are MyDak!
Wrong forum ban him!
Namenlos is offline  
Old 12.01.2007, 06:48   #42
Aikeleer
Архивный участник
 
Join Date: Jun 2005
Posts: 374
Default

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.
Aikeleer is offline  
Old 12.01.2007, 12:50   #43
tera
Архивный участник
 
Join Date: Jan 2007
Posts: 30
Default (

Quote:
Originally Posted by Namenlos View Post
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
tera is offline  
Old 12.01.2007, 17:43   #44
Lirix
Архивный участник
 
Join Date: Nov 2006
Posts: 203
Default

ppc. sorry ppl from my english, but, tera, DoLpAeB
Lirix is offline  
Old 12.01.2007, 21:20   #45
tera
Архивный участник
 
Join Date: Jan 2007
Posts: 30
Default hi

Quote:
Originally Posted by Lirix View Post
ppc. sorry ppl from my english, but, tera, DoLpAeB

you mather ok ?)))
tera is offline  
Old 12.01.2007, 23:08   #46
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

Lirix - nice!
kin is offline  
Old 13.01.2007, 09:50   #47
tera
Архивный участник
 
Join Date: Jan 2007
Posts: 30
Default

yes steep fun you has said I so long laughed it is necessary you
tera is offline  
Old 14.01.2007, 20:17   #48
tera
Архивный участник
 
Join Date: Jan 2007
Posts: 30
Default

FidoW big senks
all good work
respect you



too Lirix - A nas4et dalbaebov dalbaet ti kupi o4ki novie sebe ))))
tera is offline  
Old 06.02.2007, 10:25   #49
TehUb3r
Архивный участник
 
Join Date: Feb 2007
Posts: 26
Default

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 байт
TehUb3r is offline  
Old 18.02.2007, 18:01   #50
HyperViper©
Архивный участник
 
Join Date: Feb 2007
Posts: 7
Default

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 21:06.