PDA

View Full Version : AI- QUESTS and MEMOS


Kirikups
28.02.2006, 03:35
Hello,

i try to make some quests but i have some problems saving memos, i use:

SetMemo(talker,quest_id);
SetMemoState(talker, quest_id, 1);

and if i exit/reload my client it is ok, the char have his memo in ALT+U

but if server crashs and i look again in ALT+U my memo disapeared :/

Any help is welcome :idea:

Kirikups
28.02.2006, 11:16
maybe i found my error in quest quest_pch2.txt and quest_pch.txt ...

kvoxi
28.02.2006, 15:26
Hello,

i try to make some quests but i have some problems saving memos, i use:

SetMemo(talker,quest_id);
SetMemoState(talker, quest_id, 1);

and if i exit/reload my client it is ok, the char have his memo in ALT+U

but if server crashs and i look again in ALT+U my memo disapeared :/

Any help is welcome :idea:
SetMemo and other func (SetMemoState, SetJournal) set some parameters in USER data structure. When user logout from server then L2server.exe save USER data in L2WORLD DB. If L2server crash, then USER data is not saved
Thats all.

archy
28.02.2006, 17:53
Funny, i always thought chached.exe handled the db saving...

Kirikups
28.02.2006, 18:04
Hello,

i try to make some quests but i have some problems saving memos, i use:

SetMemo(talker,quest_id);
SetMemoState(talker, quest_id, 1);

and if i exit/reload my client it is ok, the char have his memo in ALT+U

but if server crashs and i look again in ALT+U my memo disapeared :/

Any help is welcome :idea:
SetMemo and other func (SetMemoState, SetJournal) set some parameters in USER data structure. When user logout from server then L2server.exe save USER data in L2WORLD DB. If L2server crash, then USER data is not saved
Thats all.

arf lol, then players need quest items as checkpoints to not have to re talk to x npcs if server crashes ???

kvoxi
28.02.2006, 18:42
Funny, i always thought chached.exe handled the db saving...
cached handle DB saving by the L2Server requests

archy
28.02.2006, 18:51
Funny, i always thought chached.exe handled the db saving...
cached handle DB saving by the L2Server requests

L2server.exe save USER data in L2WORLD DB

Get your facts straight..

kvoxi
28.02.2006, 19:28
Funny, i always thought chached.exe handled the db saving...
Get your facts straight..
And what about "AI- QUESTS and MEMOS"?
Ofcourse, it is easier to flooding than answer to question.
good luck