![]() |
[HEX] L2NPC.EXE (for AI developers)
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. |
big thx kvoxi
|
if this works, you rule. :o
|
wooow this is great :D
|
can someone explain more about this... please? :P i don't understand this fix
|
Great!!
you know some function that from AI can be made an announcement global? Thanx |
I think it save client from error :)
|
How to use this function?
Dont believe i can use messages from AI. Give example please... |
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? |
Cool, thks kvohi and erloko.
|
thks fo share fukin leet for ssq!
|
Quote:
|
What means announcement global?
|
Quote:
kvoxi thanxs traders of mamon and other npc announces the arrival to the different town ^^ |
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"
|
Good shit this can be very very handy thx!
|
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.
|
There is no function ShowSystemMessage in NASC...
|
Quote:
BTW thanks very much kvoxi, it's really very useful for quest writing. |
Quote:
|
How about sending parameters to system message?
e.g. "$s1 already exists." |
How about sending parameters to system message?
e.g. "$s1 already exists." |
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 |
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 |
| All times are GMT. The time now is 21:51. |