Форум администраторов игровых серверов

Форум администраторов игровых серверов (https://forum.zone-game.info/TT.php)
-   Point Blank (Piercing Blow) (https://forum.zone-game.info/forumdisplay.php?f=204)
-   -   [Point Blank] Help me Mission and Quest (https://forum.zone-game.info/showthread.php?t=40995)

BallDev 07.07.2016 16:58

Help me Mission and Quest
 
I have problems with the mission and quest please help me :)

http://i.hizliresim.com/3o3WvA.jpg

Awiion 07.07.2016 18:18

Re: Help me Mission and Quest
 
PROTOCOL_BASE_GET_MYINFO_ACK

PROGRAMMATOR 07.07.2016 18:27

Re: Help me Mission and Quest
 
https://forum.zone-game.info/showthread.php?t=39884

BallDev 11.07.2016 06:42

Re: Help me Mission and Quest
 
Structure ?

Awiion 11.07.2016 10:31

Re: Help me Mission and Quest
 
BallDev,
Код:

1 byte active mission(mission of a beginner, for example)
4 byte - map is active(number of active cards from 0 to 9)
Then 20 bytes, 2 bytes on the card(boxes of tasks in the map, 1 byte for the first two tasks, the second byte for the 3rd and 4th tasks, Oh, those Koreans):

Код:

// Result passing
ushort result = 0;
 
// Job card
for (int t = 0; t < 4; t++)
{
        var task = card.Tasks[t];
 
        if (task.IsComplete)
        {
                result |= (ushort)(0x0f << 4 * t);
        }
}
 
WriteH(result);


BallDev 11.07.2016 14:52

Re: Help me Mission and Quest
 
http://i.hizliresim.com/YbyqYE.jpg

PROGRAMMATOR 11.07.2016 22:00

Re: Help me Mission and Quest
 
BallDev, show the source code of packet PROTOCOL_BASE_GET_MYINFO_ACK.

BallDev 12.07.2016 14:11

Re: Help me Mission and Quest
 
Hidden Packet

PROGRAMMATOR 12.07.2016 16:01

Re: Help me Mission and Quest
 
Цитата:

writeC((byte)account.getMissionId()); // Активная миссия?
As far as I remember it is quests' count.

BallDev 12.07.2016 16:22

Re: Help me Mission and Quest
 
http://i.hizliresim.com/1dbz9Y.jpg
Amendment ?


Текущее время: 06:47. Часовой пояс GMT +3.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot