Рейтинг темы:
  • 0 Голос(ов) - 0 в среднем
  • 1
  • 2
  • 3
  • 4
  • 5
Parser goods store
#1
@Programmator, can you make the Parser goods store tool available to pointblank?

http://pbemu.ru/program/
Ответ
#2
Ther easiest way is to use PiercingShark

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

[SRC="csharp"]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);
}
[/SRC]


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

[SRC="xml"]<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" />
[/SRC]


The same way is used for GoodsList.
Ответ
#3
PROGRAMMATOR Написал:Ther easiest way is to use PiercingShark

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

[SRC="csharp"]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);
}
[/SRC]


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

[SRC="xml"]<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" />
[/SRC]


The same way is used for GoodsList.

Thank you. I'll try to do.
Ответ


Перейти к форуму:


Пользователи, просматривающие эту тему: 1 Гость(ей)