Web Snooper [Archive] - Team17 Forum

PDA

View Full Version : Web Snooper

CyberShadow
24 Feb 2009, 09:54
Technically, I made this a few years ago (around January 2007) as part of HostingBuddy, which had and still has severe stability problems. Since HostingBuddy is mostly obsolete by now, I decided to move it to a separate IRC bot.
http://dump.thecybershadow.net/3582de2bb53e693e9840925cfcf86ca0/tc.png (http://snoop.worms2d.info/)
Advantages:
You only need a web browser to use this
You can see stuff that happened a few minutes before you opened the snooper
WormNET resource-friendly (the number of users doesn't affect WormNET performance)
Has that familiar look'n'feel ;)
Disadvantages:
#AnythingGoes only, at the moment (I'll add other channels if demand is high enough)
You can't send or receive PMs
No ignore/buddy lists (technically this is possible with cookies, will be added if demand is high enough)

raffie
24 Feb 2009, 11:13
Darn, thats awesome :)
lil comment: I notice the Player's list isnt sorted alphabetically nor by snooper/actual player like we've gotten used to in WA

bonz
24 Feb 2009, 13:33
Oh, very nice.
Think that beats Devoluti0n's iGoogle Mini Snooper.

Muzer
24 Feb 2009, 14:15
Vista? Ugh!

franpa
24 Feb 2009, 14:25
1) very easy to imitate other people.
2) can the game closed and game opened messages be hidden?
3) will there be PM support some time soon, do people get an automated message back saying you can't read there PM's?

MihaiS
24 Feb 2009, 14:28
4) Can WebSnoop>[User] get kicked/banned for flooding?

Muzer
24 Feb 2009, 14:52
Since Cyber didn't leave any instructions on if it's possible to ban individual users, and he's currently AFK, we've had to ban the whole snooper when a spammer was using it. Hosting/joining games still works, as that is part of the HTTP, not the IRC.
Also Cyber: You might want to make the snooper not DoS wormnet with connect requests if it does get banned :p

MihaiS
24 Feb 2009, 15:11
The guy with the fake league site made me think about it.

jsgnext
24 Feb 2009, 15:12
1) very easy to imitate other people.
I think thats the major problem with this.....but its still a good way to join games at wormnet.

MihaiS
24 Feb 2009, 15:17
It's easier to imitate people using the other snoopers, so I would not call it a major problem.

CyberShadow
24 Feb 2009, 16:52
Vista? Ugh!I don't mind it, and some of the W:A+Vista problems can't be reproduced in VMs...1) very easy to imitate other people.This is by design (no nickname reservation), but I can add something that prevents people talking from a nickname if someone talked from the same nickname N minutes ago but from another IP.2) can the game closed and game opened messages be hidden?They made more sense back when W:A didn't put game creation notices in quit messages. I might just get rid of them.3) will there be PM support some time soon, do people get an automated message back saying you can't read there PM's?Yes, they do get a message, but I'm not sure how to implement real PM support - people would have to specify to which nickname to send it to, etc.4) Can WebSnoop>[User] get kicked/banned for flooding?There's a per-IP rate limit imposed. I suppose that if a lot of users start flooding it, ChanServ will kick it, but it will reconnect automatically. (They'll get bored eventually, or I can firewall them if not.)

Devoluti0n
24 Feb 2009, 17:03
This is a great site, will definitly help people under school/job firewall. Thanks for them ! I give up my own snooper project as this one is working alot better than mine will ever do :).
I'll just stay with my minisnooper for now :D.

CyberShadow
24 Feb 2009, 19:34
This is by design (no nickname reservation), but I can add something that prevents people talking from a nickname if someone talked from the same nickname N minutes ago but from another IP.Done (N=5).
Also added some moderation support (banning from sending messages) in case of abuse.

CyberShadow
25 Feb 2009, 07:33
lil comment: I notice the Player's list isnt sorted alphabetically nor by snooper/actual player like we've gotten used to in WAIt was actually done to mimic the WormNET behavior of that day. The nickname list is sorted now.
You may also notice that it now remembers your nickname. The feature was there but I accidentally broke it a while ago.

Robi
26 Feb 2009, 18:51
Holy ****, Cybershadow, that's awesome.
Great Job !
Oh and, please, I beg you, allow #PT and #RH.
Thanks.

Scrub555
1 Mar 2009, 12:13
vn
thanks!

jsgnext
1 Mar 2009, 17:17
it doesnt work anymore for me....i wonder why?
It sez: "XMLHttpRequest StateChange[4] exception: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.statusText] (undefined)"

Devoluti0n
1 Mar 2009, 17:50
it doesnt work anymore for me....i wonder why?
It sez: "XMLHttpRequest StateChange[4] exception: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.statusText] (undefined)"
I don't have any problem, that's weird, but what you describe is obviously coming from google and not the gadget itself. Try to reinstall it to see if it works (add a new gadget, search for snooper then add it).

CyberShadow
1 Mar 2009, 18:38
it doesnt work anymore for me....i wonder why?
It sez: "XMLHttpRequest StateChange[4] exception: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.statusText] (undefined)"
Does it still not work for you? Can you open http://snoop.worms2d.info:17030/messages?0 ?

Muzer
1 Mar 2009, 18:44
I don't have any problem, that's weird, but what you describe is obviously coming from google and not the gadget itself. Try to reinstall it to see if it works (add a new gadget, search for snooper then add it).
Wrong thread :p

Devoluti0n
1 Mar 2009, 19:04
Wrong thread :p
Lmfao ! You are right, sorry for the useless flood xD !

jsgnext
1 Mar 2009, 20:10
Does it still not work for you? Can you open http://snoop.worms2d.info:17030/messages?0 ?
It works now without problems.....it was weird -_-....thx!

Devoluti0n
6 Mar 2009, 16:16
Just a quick question : How is it possible to open games with firefox trough WormKit ? When I want to join a game with it, it just says :
Failed to start w:a + wormkit.
Check that you have admin privileges and that all dlls are in place.
It works fine with prosnoop so I guess it's a browser issue. Any tips ? ;)

CyberShadow
6 Mar 2009, 18:26
You need to make wa:// links open WormKit.exe WA.exe wa://link-goes-here. You can edit the HKEY_CLASSES_ROOT\wa\shell\open\command key's default value to achieve this. Note that you may need to protect the key from modification, otherwise W:A will overwrite it once you run it.

Devoluti0n
6 Mar 2009, 22:39
Thank you, I did the trick and I ticked to refuse total control to this key to admins.
But when I want to join a game, I've to choose what .exe will handle the link.
I've to choose between wa.exe and wormkit.exe indeed.
But even with the modification, I still get this error with wormkit. did I do something wrong ?

CyberShadow
7 Mar 2009, 06:32
Not sure, might be something to do with your browser or the new file association additions in XP/Vista.

Rubin_x
7 Mar 2009, 13:33
Just a quick question : How is it possible to open games with firefox trough WormKit ? When I want to join a game with it, it just says :
Failed to start w:a + wormkit.
Check that you have admin privileges and that all dlls are in place.
I have the same problem in all browsers (Opera / FireFox / IE).
You need to make wa:// links open WormKit.exe WA.exe wa://link-goes-here. You can edit the HKEY_CLASSES_ROOT\wa\shell\open\command key's default value to achieve this.
It seems that something's wrong with arguments passed to WormKit.exe command line.
I tried these, but always got an error message:
"E:\Gry\Worms Armageddon\WormKit.exe" /dir "E:\Gry\Worms Armageddon" %1
"E:\Gry\Worms Armageddon\WormKit.exe" /dir "E:\Gry\Worms Armageddon" "%1"
"E:\Gry\Worms Armageddon\WormKit.exe" %1
"E:\Gry\Worms Armageddon\WormKit.exe" "%1"
But line without any parameters works:
"E:\Gry\Worms Armageddon\WormKit.exe"(of course it only runs wormkit without joining to game)
How should exactly the command line look like?

franpa
7 Mar 2009, 14:01
try
"E:\Gry\"Worms Armageddon"\WormKit.exe" %1

CyberShadow
7 Mar 2009, 14:05
Like I said, WormKit's first argument should be the name of W:A's executable (WA.exe).

Rubin_x
7 Mar 2009, 16:01
Like I said, WormKit's first argument should be the name of W:A's executable (WA.exe).
Oh yes, you said that. I missed it, sorry :( Works fine, Thank You!
"E:\Gry\Worms Armageddon\WormKit.exe" "E:\Gry\Worms Armageddon\WA.exe" "%1"

Explorer
4 May 2009, 12:22
CyberShadow, are you going to put this thing to your homepage?
(worms.thecybershadow.net)
I'm asking because I would like so.

CyberShadow
5 May 2009, 00:47
You mean, link it or in a frame?
I don't mind people framing it, as long as it doesn't look like they made it :)

Explorer
5 May 2009, 13:46
I mean:
Make a link on the upper right corner of your page.(the place where WormKit, WormNAT, MyWormNET, and the other "tabs" are)

CyberShadow
6 May 2009, 04:41
Ok, I added it :rolleyes:

Seep
10 Jun 2009, 16:48
i wonder can there be someday option to disable quit\join\part msg

CyberShadow
14 Sep 2009, 04:58
Several WormNET bots received an update tonight (mostly internal overhaul). There were many internal changes, but the only bot that has new functionality is the Web Snooper (http://forum.team17.co.uk/showthread.php?t=38249). You can now switch channels using the bar at the top.
Please let me know if you notice any unusual behavior with WebSnooper/HostingBuddy/Help/SheriffBot.

MihaiS_v2
14 Sep 2009, 09:10
Please let me know if you notice any unusual behavior with WebSnooper/HostingBuddy/Help/SheriffBot.
http://fc08.deviantart.com/fs11/i/2006/168/7/b/Surprised_O_o_smiley_by_t_d0G.gif HostingBuddy is French... http://fc00.deviantart.com/fs41/f/2009/026/5/0/Dude__by_Breakfast_Cereal.gif

CyberShadow
14 Sep 2009, 09:18
Is that new? Well, it is running on a server in France now...

guhe
18 Sep 2009, 06:27
what a pity i still cant chat in chinese by websnooper

CyberShadow
18 Sep 2009, 09:04
what a pity i still cant chat in chinese by websnooper
Even if you could, W:A users wouldn't be able to read your messages, so that would be a mostly pointless waste of time.

guhe
18 Sep 2009, 13:41
yes i know.but now many chinese wa players would like to use websnooper or prosnooper to connect to wormnet1 because they know little about schemes and rules.they dont run the game so that they can do other things before they see chinese game.u know they could hardly learn those rules with their poor english.if can chat in chinese by websnooper or in game that would be great.
of course thats just what i hope.

Sirmabus
19 Sep 2009, 01:39
Good work.
Ehh, no PM's here?
Hey CyberShadow, long time no see on sroot IRC.
And where is ViruX?
We be looking for you..

Explorer
19 Sep 2009, 02:49
if can chat in chinese by websnooper or in game that would be great.
That's impossible because the WA encoding does not allow Chinese characters. (It would support Chinese if WA were unicode-based.)

b1llygo4t
19 Sep 2009, 15:44
how about a 3rd party chat server for chinese. they could go there and find people to play with, then host on wormnet. even integrate hosting into it.

guhe
21 Sep 2009, 05:28
how about a 3rd party chat server for chinese. they could go there and find people to play with, then host on wormnet. even integrate hosting into it.
that's a good idea

b1llygo4t
21 Sep 2009, 12:44
mIRC supports chinese (wormnet is part irc). instructions to enable are:
In Tools > Options > Message, Enable both multibyte options, and Font linking.
In View > Font, Set UTF-8 to display and encode.
i think it will work in any channel, so go to gamesurge and make #wormsChinese. you could have some short acronym that chinese players put in their hosted games name on wormnet so everyone knows the game is for chinese players and arrange the games in mirc
set up a bot that has a welcome message and a link to a site that has translated rules, a chinese forum, and descriptions/links for womkit and other tools. then spread it around.
:D it would be cool to see some chinese clans

Nando
31 May 2010, 20:54
Hey :)
Just wanted to ask if it's possible to make the list of games be sorted the way it is in-game, i.e. with the most recent games at the top. Right now, it's just the other way round.
Also, can someone tell me how to make the web snooper open up game links using WormKit instead of the original WA executable?

CyberShadow
1 Jun 2010, 06:45
Just wanted to ask if it's possible to make the list of games be sorted the way it is in-game, i.e. with the most recent games at the top. Right now, it's just the other way round.OK, fixed.
Also, can someone tell me how to make the web snooper open up game links using WormKit instead of the original WA executable?That's only possible by editing the registry at the moment.

franpa
1 Jun 2010, 08:24
OK, fixed.
But won't that cause the whole list to move up/down a lot more often making it more likely to misclick the game you intend to play?

CyberShadow
1 Jun 2010, 08:54
But won't that cause the whole list to move up/down a lot more often making it more likely to misclick the game you intend to play?Mathematically speaking, about thrice more often - however, considering a game is hosted (and deleted) once every 18.15 seconds on average, and assuming the time window for a mis-double-click to be 0.5 seconds, it would still happen only about 4% of the time.
Unlike the game (which does this anyway), your browser should ask for a confirmation before it launches W:A to join the game.

Nando
1 Jun 2010, 09:38
OK, fixed.
Thanks a lot. Good job on the web snooper by the way, I love it. :)
That's only possible by editing the registry at the moment.
Is there a page about this on the WKB? If so, a link would be much appreciated. ;)
But won't that cause the whole list to move up/down a lot more often making it more likely to misclick the game you intend to play?
Either the whole list moves down when a new game is created, or the whole list moves up when an old game is closed. Where's the difference? ;)

franpa
1 Jun 2010, 12:44
Every time a new game is made, the entire list shifts down, when a game is closed only the games listed below that particular game shift up.

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