Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 28.02.2006, 03:35   #1
Kirikups
Архивный участник
 
Join Date: Oct 2005
Posts: 175
Default 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 is offline  
Old 28.02.2006, 11:16   #2
Kirikups
Архивный участник
 
Join Date: Oct 2005
Posts: 175
Default

maybe i found my error in quest quest_pch2.txt and quest_pch.txt ...
Kirikups is offline  
Old 28.02.2006, 15:26   #3
kvoxi
Архивный участник
 
Join Date: Oct 2005
Posts: 102
Default 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.
kvoxi is offline  
Old 28.02.2006, 17:53   #4
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

Funny, i always thought chached.exe handled the db saving...
archy is offline  
Old 28.02.2006, 18:04   #5
Kirikups
Архивный участник
 
Join Date: Oct 2005
Posts: 175
Default 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 ???
Kirikups is offline  
Old 28.02.2006, 18:42   #6
kvoxi
Архивный участник
 
Join Date: Oct 2005
Posts: 102
Default

Quote:
Originally Posted by archy
Funny, i always thought chached.exe handled the db saving...
cached handle DB saving by the L2Server requests
kvoxi is offline  
Old 28.02.2006, 18:51   #7
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

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..
archy is offline  
Old 28.02.2006, 19:28   #8
kvoxi
Архивный участник
 
Join Date: Oct 2005
Posts: 102
Default

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
kvoxi is offline  
 


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 18:05.