Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 23.05.2005, 13:55   #1
serjr
Архивный участник
 
Join Date: May 2005
Posts: 115
Default writing new quests and fixing old one

Всем привет! У меня небольшой вопрос по поводу правки квестов (использую Project C2 сервер), на сколько я понял после изменения скриптов в questsdata.txt етот файл както надо скомпилировать, вопрос чем и как? вродебы nasc.exe этим занимается, но чтото не могу его заставить скушать questsdata. Изивините за нюбский вопрос

Hello everybody! I have a question about questsdata.txt (project C2 server), As I understand after making changes in this file you need to compile it in ai.obj, can somebody say how to do it? Sorry for newbee question
serjr is offline  
Old 23.05.2005, 16:03   #2
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

Вообще-то ai.obj... Это основное.
Там еще хтмлки поправить надобно. Вот. Удачи.
А, ну да, еще pch там добавить новый ид и от этого плясать. В общем, принцип я изложил, но жара мешает думать. Всем спасибо, до новых встреч.

Actually, ai.obj is primary... And you need to edit htmls (or I should rather say "add"?)
Oh, almost forgot about pch. You need to add new quest id there.
So, that's main principle (sorry, but heat doesn't allow me to think cleary). That's all, thanks to everyone, see you next time.
Livid is offline  
Old 24.05.2005, 01:30   #3
gamedeveloper
Архивный участник
 
Join Date: Mar 2005
Posts: 77
Default Re: writing new quests and fixing old one

Quote:
Originally Posted by serjr
Всем привет! У меня небольшой вопрос по поводу правки квестов (использую Project C2 сервер), на сколько я понял после изменения скриптов в questsdata.txt етот файл както надо скомпилировать, вопрос чем и как? вродебы nasc.exe этим занимается, но чтото не могу его заставить скушать questsdata. Изивините за нюбский вопрос

Hello everybody! I have a question about questsdata.txt (project C2 server), As I understand after making changes in this file you need to compile it in ai.obj, can somebody say how to do it? Sorry for newbee question
У тебя есть рабочий nasc.exe? Вышли пожалуйста на мыло или скажи, где скачал?
gamedeveloper is offline  
Old 24.05.2005, 04:41   #4
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

Он в комплекте беты 3 был... Только он не пашет толком. Я вообще не понимаю, за каким дьяволом он может понадобиться. Вроде всё и без него отлично делается.

nasc.exe was in Beta-3 archive. But it doesn't work as it should. Actually, I don't understand why should we need it, cuz everything works even without usin' it.
Livid is offline  
Old 24.05.2005, 08:05   #5
serjr
Архивный участник
 
Join Date: May 2005
Posts: 115
Default

Quote:
Originally Posted by Livid
Вообще-то ai.obj... Это основное.
Там еще хтмлки поправить надобно. Вот. Удачи.
А, ну да, еще pch там добавить новый ид и от этого плясать. В общем, принцип я изложил, но жара мешает думать. Всем спасибо, до новых встреч.
ну про html понятно что надо править, меня интересует вопрос именно касательно ai.obj он скажем так не очень удобоварим для понятия и редактирования писать на скриптовом языке как .txt файлах гораздо проще, как проделать конвертацию изменений из .txt в ai.obj? А если такого способа нет то тогда зачем вообще .txt файлы???

About html i understud. About ai.obj i don't like its content becouse its to hard for me to understand, ilike much more .txt script language. Is any way to convert .txt script to ai.obj? and if no such way for what reason .txt files exists?
serjr is offline  
Old 24.05.2005, 12:20   #6
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

Гы. А ai.obj не повторяет тхтшки. Это отдельный элемент.
В тхтшках дефайны и параметры. А ai.obj - это реальный механизм обработки.

Heh. Ai.obj do not contain info in txts and vice versa. It is seperate element. Txts work mostly as static DB, while ai.obj actually works with this dbs.
Livid is offline  
Old 24.05.2005, 12:26   #7
serjr
Архивный участник
 
Join Date: May 2005
Posts: 115
Default

значит я не так понял буду разбираться дальше....

Oh I misunderstood, then will continue digging.
serjr is offline  
Old 02.06.2005, 08:01   #8
BuDDha
Архивный участник
 
Join Date: Jun 2005
Posts: 5
Default

Quote:
Originally Posted by Livid
Гы. А ai.obj не повторяет тхтшки. Это отдельный элемент.
В тхтшках дефайны и параметры. А ai.obj - это реальный механизм обработки.

Heh. Ai.obj do not contain info in txts and vice versa. It is seperate element. Txts work mostly as static DB, while ai.obj actually works with this dbs.
разве? ведь изначально questsdata.txt в сервере не используется, только ai.obj
ведь изначально спрашивали именно про questsdata.txt

what you mean? questsdata.txt use not on the server , only ai.obj determine the quests.
BuDDha is offline  
Old 02.06.2005, 11:38   #9
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

Гм. Покопался в файлах сервера, квестдаты не нашел
Вопрос: а откуда вы вообще такой файл взяли?

Hm. Looked thru server files... havent' found questdata. Where have you found that file?
Livid is offline  
Old 02.06.2005, 11:52   #10
serjr
Архивный участник
 
Join Date: May 2005
Posts: 115
Default

download with server l2C2 (c1 modifed) from internet
here example quest
Quote:
quest_begin
quest_id = 1
quest_name = [letters_of_love1]
quest_items = { [darings_letter], [rapunzels_kerchief], [darings_receipt], [bauls_potion] }

// ??? ?? ? ??
npc_begin
npc_name = [daring]

talk_selected_event_begin
condition = [HaveMemo(talker, @letters_of_love1)==0 &&
GetOneTimeQuestFlag(talker, @letters_of_love1)==0]
choice_string = 0000101
handler(fhtml0, talker) =
[
if (GetMemoCount(talker)<16)
{
if (talker.level > 1)
{
FHTML_SetFileName(fhtml0, "daring_q0001_02.htm");
FHTML_SetInt(fhtml0, "quest_id", @letters_of_love1);
ShowFHTML(talker, fhtml0);
}
else
ShowPage(talker, "daring_q0001_01.htm");
}
else
ShowPage(talker, "fullquest.htm");
]
talk_selected_event_end

talk_selected_event_begin
condition = [HaveMemo(talker, @letters_of_love1)==0 &&
GetOneTimeQuestFlag(talker, @letters_of_love1)==1]
choice_string = 0000101
handler(fhtml0, talker) =
[
ShowPage(talker, "finishedquest.htm");
]
talk_selected_event_end

quest_accepted_event_begin
handler(talker, quest_id) =
[
talker.quest_last_reward_time = 0;
SetMemo(talker, quest_id);
SoundEffect(talker, "ItemSound.quest_accept");
if(OwnItemCount(talker, @darings_letter) == 0)
GiveItem1(talker, @darings_letter, 1);
ShowPage(talker, "daring_q0001_06.htm");
]
quest_accepted_event_end
npc_end

// Now, Memo state = 1 !!!

This kind of scripting is much more understable then ai.obj for me
serjr is offline  
Old 02.06.2005, 12:28   #11
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

Просьба послать весь файл. А, еще ai_script.txt было бы неплохо.
I would like you to send me the whole file. And, one more, ai_script.txt would be nice.

[email protected]
Livid is offline  
Old 02.06.2005, 12:34   #12
serjr
Архивный участник
 
Join Date: May 2005
Posts: 115
Default

Here it is
serjr is offline  
Old 02.06.2005, 13:04   #13
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

Hey, do you have files like "ai_script.txt", "ai_macro.txt"?
Livid is offline  
Old 02.06.2005, 13:06   #14
serjr
Архивный участник
 
Join Date: May 2005
Posts: 115
Default

i will try to find if you now what to do with them
serjr is offline  
Old 02.06.2005, 13:13   #15
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

Very blurry... K... what I got so far that QuestDataChecker requires ai_script and nasc wishes something gone out from MacroDataChecker. I need more info to get it work =) May be we'll do it.
Livid is offline  
Old 02.06.2005, 13:58   #16
serjr
Архивный участник
 
Join Date: May 2005
Posts: 115
Default

Hmm can't find ai_*.txt will try to search maybe tomorrow will find something
serjr is offline  
Old 03.06.2005, 14:15   #17
BuDDha
Архивный участник
 
Join Date: Jun 2005
Posts: 5
Default

Quote:
Originally Posted by Livid
Гм. Покопался в файлах сервера, квестдаты не нашел
Вопрос: а откуда вы вообще такой файл взяли?

Hm. Looked thru server files... havent' found questdata. Where have you found that file?
ну не все сидят на глючных С2
мы работаем с обычным немодифицированным С1
questsdata.txt идет в составе утилиты L2import и предназначена для компиляции через Л2импорт в ai.obj читаемый сервером

Well not everyone use on bagged c2
we work with usual not modified C1
questsdata.txt goes in structure of utility L2import and is intended for compilation through l2import in ai.obj readable by a server
BuDDha is offline  
Old 07.06.2005, 08:52   #18
BuDDha
Архивный участник
 
Join Date: Jun 2005
Posts: 5
Default

ну неправильно выразился
компилируется через nasc.exe, только довольно глючно
ладно, я сам уже разобралчся как работает аи.обж
BuDDha is offline  
Old 09.06.2005, 12:59   #19
serjr
Архивный участник
 
Join Date: May 2005
Posts: 115
Default found compiler

found compiler with ai_*.txt but can't attach it ;(

файл доступен по адресу: webfile.ru/345271 до 16:53 xx.xx.2005.
serjr is offline  
Old 09.06.2005, 13:59   #20
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

Да, я нашел уже. Только толку не много от него. Квестдата, макросы и тп не достают даже до уровня С1. Мне проще работать и дальше с ai.obj чем переписывать на скрипты еще 2 метра кода. Вот так.
Livid is offline  
Old 13.06.2005, 22:34   #21
Sauron
Архивный участник
 
Join Date: Feb 2005
Posts: 357
Default

here u ve

http://www.gamersx.com.ar/sauron/sources.rar
Sauron is offline  
Old 14.06.2005, 11:18   #22
TuMBLer
Архивный участник
 
Join Date: Apr 2005
Posts: 127
Default

i cant understand how it works =(
maybe som1 share sercet ?
how to edit ai.obj ?

looks like its only requests to other files...

Я никак не могу понять как это работает =(
Может поделитесь секретом как редактировать этот ai.obj

там похоже только ссылки на переменные.
TuMBLer is offline  
Old 15.06.2005, 19:56   #23
Sauron
Архивный участник
 
Join Date: Feb 2005
Posts: 357
Default

u can edit ai.obj like everyone have been doing or modify sources and compile a newone, then copy the code and paste it on actual ai.obj, coz those sources al pretty old.
Sauron is offline  
Old 03.08.2005, 08:54   #24
2Rain
Архивный участник
 
Join Date: Aug 2005
Posts: 194
Default

Cдаётся мне, что serjr запостил сюда кусок файла из ява-эмулятора.
2Rain is offline  
Old 03.08.2005, 08:58   #25
serjr
Архивный участник
 
Join Date: May 2005
Posts: 115
Default

сам ты ява, ето все есть в beta3final
serjr 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 20:27.