ProSnooperFX real Game ID issues [Archive] - Team17 Forum

PDA

View Full Version : ProSnooperFX real Game ID issues

GrO
17 Jan 2011, 04:48
So I've discovered, why people are getting "Incorrect Game ID" error, when joining to my (or someone's else) Game hosted with ProSnooperFX.
It's a really rondom issue, which may be related to some incompatibility of W:A v31 and ProSnooperFX.
Few minutes ago I've hosted 3 games in a row and I was checking in-game /url, and Game's details in ProSnooperFX. That's what i got:
1) IN-GAME - wa://MY_IP?Scheme=Pf,Be&ID=7021180
IN PS - Game ID: 7021180
2) IN-GAME - wa://MY_IP?Scheme=Pf,Be&ID=AFUCDHMMIMOOCOIL
IN PS - Game ID: 7021182
3) IN-GAME - wa://MY_IP?Scheme=Pf,Be&ID=7021182
IN PS - Game ID: 7021184
Any ideas, where the problem is?
EDIT:
Release Fixed by CyberShadow: Download Here (https://github.com/downloads/CyberShadow/ProSnooper/ProSnooper-2011.01.18.7z)

CyberShadow
17 Jan 2011, 06:25
ProSnooper (and ProSnooperFX) seems to use a pretty stupid way (https://github.com/lookias/ProSnooper/blob/master/hostform.pas#L97) of getting the Game ID - after sending the request, it requests the game list and finds the game with the same IP and name. I made a patch (https://github.com/CyberShadow/ProSnooper/commit/3e052babe85d4063db3cbc789e92e8873f6e0c68) to get it to use the proper method, maybe Lookias will merge it into ProSnooperFx.

GrO
17 Jan 2011, 07:17
ProSnooper (and ProSnooperFX) seems to use a pretty stupid way (https://github.com/lookias/ProSnooper/blob/master/hostform.pas#L97) of getting the Game ID - after sending the request, it requests the game list and finds the game with the same IP and name. I made a patch (https://github.com/CyberShadow/ProSnooper/commit/3e052babe85d4063db3cbc789e92e8873f6e0c68) to get it to use the proper method, maybe Lookias will merge it into ProSnooperFx.
Man You're great. I'll try to compile it, if I'm allowed for self use only?

CyberShadow
17 Jan 2011, 07:34
It's open-source, so of course you can.
By the way, the reason why it's failing is because the game list is cached for a few seconds. This is a relatively recent change, which is why it wasn't a problem at the time when ProSnooper was released.

GrO
17 Jan 2011, 08:13
It's open-source, so of course you can.
By the way, the reason why it's failing is because the game list is cached for a few seconds. This is a relatively recent change, which is why it wasn't a problem at the time when ProSnooper was released.
I see. Thanks again for the problem fixing and explanation. I'm going to compile it then.

franpa
17 Jan 2011, 13:27
Can't a compiled copy of the patch be made available if it is open source?

GrO
18 Jan 2011, 03:21
Can't a compiled copy of the patch be made available if it is open source?
Would be nice, cause I've failed with compiling it. I've installed required MS Update for Win7 64, used Delphi 7 Personal, but I got few errors, which made a proper running of Delphi 7 and compiling impossible.
EDIT:
I'll try again with some newer versions of Delphi and if I succeed, I'll share it here.
So I recieved the exact same errors with the latest version of Delphi XE 2011:
ERROR 1 (http://img121.imageshack.us/img121/4651/71527520.png)
ERROR 2 (http://img841.imageshack.us/img841/5158/25721137.png)
CyberShadow can You help?
EDIT II:
I'm stupid, I just need to import the components from the project folder.
EDIT III:
I've successfully imported 2 of 3 Components. I recieve an error when adding "vortex.pas":
Error creating form Class
Maybe I'll try something else again, but I'm thinking about giving up with this. I don't like to give up, but I'm not a coder at all and using google just confuses me more.
Can anyone help with compiling it or nobody cares?

CyberShadow
18 Jan 2011, 03:30
Check your e-mail.
Why do you keep deleting and reposting your messages instead of using the Edit button?

GrO
18 Jan 2011, 03:44
Check your e-mail.
Why do you keep deleting and reposting your messages instead of using the Edit button?
I wanted to merge my double posts, but I didn't need to delete all 2 posts and repost, as one, sorry.
I did it to be more noticable, as new post was added.

CyberShadow
18 Jan 2011, 03:50
In case anyone else wants it, I uploaded it here: https://github.com/downloads/CyberShadow/ProSnooper/ProSnooper-2011.01.17.7z

GrO
18 Jan 2011, 03:54
In case anyone else wants it, I uploaded it here: https://github.com/downloads/CyberShadow/ProSnooper/ProSnooper-2011.01.17.7z
Just a good job. I'm really greatful for this, thanks.

GrO
18 Jan 2011, 04:56
Well, I've tested it now and Game ID works, as it should, but PS is unable to get my IP from W:A.
I even tried in-game "Force IP" feature, but it doesn't help:
http://img843.imageshack.us/img843/9056/capturenf.png
Is there any ProSnooper.exe Start Parameter, which can set my IP, or something else is going on, cause it worked with PSFX.

CyberShadow
18 Jan 2011, 05:25
https://github.com/downloads/CyberShadow/ProSnooper/ProSnooper-2011.01.18.7z

GrO
18 Jan 2011, 05:28
https://github.com/downloads/CyberShadow/ProSnooper/ProSnooper-2011.01.18.7z
Your "Shadow" is in danger, cause You work at the speed of "Light".
Thanks again, going to test it.
EDIT:
Yeah! This can be called by the Final Version. Works great.

GrO
20 Mar 2011, 01:21
Can some Mod move this topic to the regular Worms Armageddon section, so it would be more visible for people?
Also changing topic's title to i.e. "ProSnooper (Fixed version)" would be a good idea.

vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.