neowutran / ShinraMeter

Tera DPS Meter
https://neowutran.ovh/updates/?C=M;O=D
MIT License
114 stars 80 forks source link

[Bug] Randomly stops recording #39

Closed Roukanken42 closed 8 years ago

Roukanken42 commented 8 years ago

I see no pattern in this, it simply randomly stops reading packets sometimes. Happened several times already, mostly in middle of fight.

Is there any log or something I can provide with info the next time this happens ?

neowutran commented 8 years ago

you are using raw socket or winpcap?

Gl0 commented 8 years ago

Happend to me several times before fix buffer size in KD when killing all mobs before keilvan at one time. May be it was enough for me, but not for all?

neowutran commented 8 years ago

idk, 8mo buffer seem pretty huge to me

Roukanken42 commented 8 years ago

Happened using raw socket. Probably not buffer issue - last time it stopped in middle of fighting Darkan .

Gl0 commented 8 years ago

Actually in raw sockets mode buffersize is left as it was, 65536 bytes, and when parsing received packet - program buffer is 131072 bytes

neowutran commented 8 years ago

That should be fixed now. Maybe Tell me if you see this bug again

Kagashini commented 8 years ago

I see this bug again. I think, need to reset the counter after 2-5 dungeons and save previous dungeons. I changed my 1 character to 2 character and meter stopped.

neowutran commented 8 years ago

Since I m not able to see this bug on my computer, I will add one messagebox for the next release. If that messagebox show up and the dps meter stop recording, that would mean I found out at what line the problem is. But that will take me more time to understand how to fix it ^^

neowutran commented 8 years ago

messagebox added with 0.71. Tell me if when the meter stop recording you see a messagebox. This information will help me to debug

neowutran commented 8 years ago

I think I can close that, never seen that problem again