[Point Blank] Parser goods store - Форум администраторов игровых серверов
Форум администраторов игровых серверов StormWall - Защита от DDos атак
Регистрация Мнения Справка Сообщество Календарь
Вернуться   Форум администраторов игровых серверов > MMO > Point Blank (Piercing Blow)

Point Blank (Piercing Blow)
Общие вопросы по написанию эмулятора. General questions on developing emulator. При поддержке: Lucera 2 - разработка Java Interlude

Ответ
Опции темы
Непрочитано 12.12.2016, 06:58   #1
Пользователь

Автор темы (Топик Стартер) Parser goods store

@Programmator, can you make the Parser goods store tool available to pointblank?

http://pbemu.ru/program/
TheBestGuy вне форума Ответить с цитированием
Непрочитано 12.12.2016, 17:30   #2
Аватар для PROGRAMMATOR
Администратор

По умолчанию Re: Parser goods store

Ther easiest way is to use PiercingShark

Need to write the script as following to the goods packet:

for (i = 0; i < count; i++)
{
	Struct.StartNode("Item");
 
	id = Struct.AddInt("Id");
	expirationType = Struct.AddByte("ExpirationType");
	aLevel = Struct.AddByte("AchievementLevel");
	aReq = Struct.AddByte("AchievementRequired");
	aId = Struct.AddShort("AchievementId");
 
	Struct.Write('ItemList.xml', '<Item Id="'+id+'" ExpirationType="'+expirationType+'" ALevel="'+aLevel+'"  AReq="'+aReq+'"  AId="'+aId+'" />');
 
	Struct.EndNode(false);
}
 
Code: C#

Press Update and you will get the file ItemList.xml with the following content:

<Item Id="103041" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103045" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103048" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103050" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103051" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103052" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103053" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103057" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103058" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103059" ExpirationType="1" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103060" ExpirationType="1" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103061" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
 
Code: XML

The same way is used for GoodsList.
__________________
composer require laravel/framework
yarn add vue
PROGRAMMATOR вне форума Отправить сообщение для PROGRAMMATOR с помощью ICQ Отправить сообщение для PROGRAMMATOR с помощью Skype™ Ответить с цитированием
Сказали спасибо:
Непрочитано 14.12.2016, 04:48   #3
Пользователь

Автор темы (Топик Стартер) Re: Parser goods store

Цитата:
Сообщение от PROGRAMMATOR Посмотреть сообщение
Ther easiest way is to use PiercingShark

Need to write the script as following to the goods packet:

for (i = 0; i < count; i++)
{
	Struct.StartNode("Item");
 
	id = Struct.AddInt("Id");
	expirationType = Struct.AddByte("ExpirationType");
	aLevel = Struct.AddByte("AchievementLevel");
	aReq = Struct.AddByte("AchievementRequired");
	aId = Struct.AddShort("AchievementId");
 
	Struct.Write('ItemList.xml', '<Item Id="'+id+'" ExpirationType="'+expirationType+'" ALevel="'+aLevel+'"  AReq="'+aReq+'"  AId="'+aId+'" />');
 
	Struct.EndNode(false);
}
 
Code: C#

Press Update and you will get the file ItemList.xml with the following content:

<Item Id="103041" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103045" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103048" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103050" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103051" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103052" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103053" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103057" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103058" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103059" ExpirationType="1" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103060" ExpirationType="1" ALevel="0"  AReq="0"  AId="0" />
<Item Id="103061" ExpirationType="2" ALevel="0"  AReq="0"  AId="0" />
 
Code: XML

The same way is used for GoodsList.
Thank you. I'll try to do.
TheBestGuy вне форума Ответить с цитированием
Ответ


Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход

Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
Parser Skill lCxAxAl Lineage II 20 05.01.2014 12:38
!store как сделать ? point Документация 1 25.07.2012 19:15
L2 Store на еврооффе Kos-Master Курилка / Yak floor 3 06.11.2011 18:24
Privat store Astend Игровой клиент 2 13.07.2010 13:01
Не работает Private Store Buy ilbuono Lineage II 4 08.12.2009 15:10


© 2007–2024 «Форум администраторов игровых серверов»
Защита сайта от DDoS атак — StormWall
Работает на Булке неизвестной версии с переводом от zCarot
Текущее время: 13:33. Часовой пояс GMT +3.

Вверх