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

Форум администраторов игровых серверов (https://forum.zone-game.info/TT.php)
-   Tools (https://forum.zone-game.info/forumdisplay.php?f=205)
-   -   Piercing Shark - сниффер пакетов (https://forum.zone-game.info/showthread.php?t=41000)

PROGRAMMATOR 15.04.2017 23:28

Re: Piercing Shark - сниффер пакетов
 
Plz attache .psb file

agdamian 16.04.2017 17:56

Re: Piercing Shark - сниффер пакетов
 
link psb:https://www.sendspace.com/file/4cwcg6

Awiion 18.04.2017 03:37

Re: Piercing Shark - сниффер пакетов
 
agdamian, WinPcap refresh.

just_me 20.11.2017 14:02

Re: Piercing Shark - сниффер пакетов
 
@PROGRAMMATOR, can you update #1 post please, because most of the image not showing when spoiler open or add it as attachment i think is a better option

PROGRAMMATOR 20.11.2017 15:28

Re: Piercing Shark - сниффер пакетов
 
just_me, And how is it now?

just_me 20.11.2017 16:40

Re: Piercing Shark - сниффер пакетов
 
still the same, not showing image but its ok, I can understand some of what you describe there

this is a noob question :lick:
i'm trying to get opcode 527 structure (GAME VER : 1.15.42.171031006)

Код:

totalCount=Struct.AddInt("TotalCount");
Struct.AddInt("unk");
Struct.AddInt("unk1");

 for  ( i =  0 ; i < 741 ; i ++ )
{
  shopId= Struct.AddInt("shopId "+i);
  itemId=  Struct.AddInt("itemId");
  quantity= Struct.AddInt("quantity");
}

i try to put this to loop
Код:

Struct.Write("527.txt", itemId);
but it write item id only(obviously :P)

the question is how can i get all of the value(shopId, itemId, quantity) and write it into a single text file ? i mean like this

Код:

shopId=123, itemId=456, quantity=1
totalCount is reading 13000++ id and if i put max value>741 in loop it throw an exception, does loop have a limit in this case?

PROGRAMMATOR 20.11.2017 17:04

Re: Piercing Shark - сниффер пакетов
 
Struct.Write("Goods.txt", "goodsId="+goodsId+", itemId="+itemId+", quantity="+quantity);
Code: C#

just_me 20.11.2017 17:14

Re: Piercing Shark - сниффер пакетов
 
Цитата:

Сообщение от PROGRAMMATOR (Сообщение 429020)
Struct.Write("Goods.txt", "goodsId="+goodsId+", itemId="+itemId+", quantity="+quantity);
Code: C#

dang ! never thought about it :banan:

Цитата:

Сообщение от just_me (Сообщение 429019)
totalCount is reading 13000++ id and if i put max value>741 in loop it throw an exception, does loop have a limit in this case?

ahhh... i feel like an idiot answering my own question
but i got it, 741 is the limit (unk value), i just put it here in case someone else getting confused just like i do :D

just_me 22.11.2017 10:56

Re: Piercing Shark - сниффер пакетов
 
is this a bug or something wrong with my connection ? because when i enter channel it stops logging inbound packets, PS: no packet ignored
it just happened today , GAME VER : 1.15.42.171114007

https://i.imgur.com/xeu9uWC.png

here's some screenshot from the other day when it logging
https://i.imgur.com/vBv20q6.png

PROGRAMMATOR 22.11.2017 21:23

Re: Piercing Shark - сниффер пакетов
 
Sometimes i noticed it, but i did not find out the principle of it.


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

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