![]() |
|
|
#1 |
|
Архивный участник
Join Date: Oct 2005
Posts: 102
|
0043AF28:6878DD4E00
This patch fix ShowSystemMessage() AI-function behavior. description: ShowSystemMessage(creature, nMsgNo) creature - talker, attacker, speller, .... nMsgNo - system message number from client-side systemmsg-e.txt file Without this patch, func ShowSystemMessage() send sysmsg with number 0 to l2client or may bring L2client to halt. fix and enjoy. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: May 2005
Posts: 99
|
big thx kvoxi
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
if this works, you rule.
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Feb 2005
Posts: 705
|
wooow this is great
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Jan 2006
Posts: 363
|
can someone explain more about this... please? :P i don't understand this fix
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Jul 2005
Posts: 42
|
Great!!
you know some function that from AI can be made an announcement global? Thanx |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Apr 2005
Posts: 599
|
I think it save client from error
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Aug 2005
Posts: 428
|
How to use this function?
Dont believe i can use messages from AI. Give example please... |
|
|
|
|
#9 |
|
Архивный участник
Join Date: Jul 2005
Posts: 42
|
ex:
shift_sp 1 push_event // talker push_const 32 add fetch_i push_const 347 func_call 44 // func[ShowSystemMessage] shift_sp -2 shift_sp -1 systemmsg msg_begin id=347 group=[error] color=[FFB09B79] sound=[] msg=[Incorrect item count.] c3_attr1=[] msg_end Bump: you know some function that from AI can be made an announcement global? |
|
|
|
|
#10 |
|
Архивный участник
Join Date: Aug 2005
Posts: 428
|
Cool, thks kvohi and erloko.
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Mar 2005
Posts: 475
|
thks fo share fukin leet for ssq!
|
|
|
|
|
#12 | |
|
Архивный участник
Join Date: Oct 2005
Posts: 102
|
Quote:
|
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: Aug 2005
Posts: 428
|
What means announcement global?
|
|
|
|
|
#14 | |
|
Архивный участник
Join Date: Jul 2005
Posts: 42
|
Quote:
kvoxi thanxs traders of mamon and other npc announces the arrival to the different town ^^ |
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Feb 2005
Posts: 705
|
ohhh, for announce global you mean like //announce ?, i was thinking in some systemmsg globals like "even seven signs started" or something like that, those msg anyone in the server can read it, is like the "siege started"
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
Good shit this can be very very handy thx!
|
|
|
|
|
#17 |
|
Архивный участник
Join Date: Aug 2005
Posts: 434
|
Heh..you can always add another line in the fstring.txt file ex: Preacher of Doom [number you want] right? Then look in npcdata like Lord Ishka or Queen Zyrna; see how the npc_ai ends and add the line to the Preacher of Doom's AI. Than it will talk. Mod it the way you want and also you can add a timer to repeat the line each 20 minutes. I've done it and worked.
|
|
|
|
|
#18 |
|
Архивный участник
Join Date: May 2005
Posts: 117
|
There is no function ShowSystemMessage in NASC...
|
|
|
|
|
#19 | |
|
Архивный участник
Join Date: Jul 2005
Posts: 96
|
Quote:
BTW thanks very much kvoxi, it's really very useful for quest writing. |
|
|
|
|
|
#20 | |
|
Архивный участник
Join Date: May 2005
Posts: 2
|
Quote:
|
|
|
|
|
|
#21 |
|
Архивный участник
Join Date: Apr 2006
Posts: 70
|
How about sending parameters to system message?
e.g. "$s1 already exists." |
|
|
|
|
#22 |
|
Архивный участник
Join Date: Apr 2006
Posts: 70
|
How about sending parameters to system message?
e.g. "$s1 already exists." |
|
|
|
|
#23 | |
|
Архивный участник
Join Date: Jun 2005
Posts: 143
|
Quote:
create a new function in the npc server, change the read function in the L2server to recieve a new packet from the npc server and call the SystemMessageS function |
|
|
|
|
|
#24 | |
|
Архивный участник
Join Date: Jun 2005
Posts: 143
|
Quote:
create a new function in the npc server, change the read function in the L2server to recieve a new packet from the npc server and call the SystemMessageS function |
|
|
|
|
|