Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   AI- QUESTS and MEMOS (https://postpacific.loc-online.com/showthread.php?t=3502)

Kirikups 28.02.2006 03:35

AI- QUESTS and MEMOS
 
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

Re: AI- QUESTS and MEMOS
 
Quote:

Originally Posted by Kirikups
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

Re: AI- QUESTS and MEMOS
 
Quote:

Originally Posted by kvoxi
Quote:

Originally Posted by Kirikups
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

Quote:

Originally Posted by archy
Funny, i always thought chached.exe handled the db saving...

cached handle DB saving by the L2Server requests

archy 28.02.2006 18:51

Quote:

Originally Posted by kvoxi
Quote:

Originally Posted by archy
Funny, i always thought chached.exe handled the db saving...

cached handle DB saving by the L2Server requests

Quote:

Originally Posted by kvoxi
L2server.exe save USER data in L2WORLD DB

Get your facts straight..

kvoxi 28.02.2006 19:28

Quote:

Originally Posted by archy
Funny, i always thought chached.exe handled the db saving...

Quote:

Originally Posted by archy
Get your facts straight..

And what about "AI- QUESTS and MEMOS"?
Ofcourse, it is easier to flooding than answer to question.
good luck


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