JazzJackrabbit Community Forums

JazzJackrabbit Community Forums (http://www.jazz2online.com/jcf/index.php)
-   General Jazz Jackrabbit Talk (http://www.jazz2online.com/jcf/forumdisplay.php?f=4)
-   -   JJ2 GIP mIRC Script. (http://www.jazz2online.com/jcf/showthread.php?t=13815)

UNKNOWNFILE Sep 22, 2005 04:02 PM

JJ2 GIP mIRC Script.
 
Well, I have recently decided to release my JJ2 GIP mIRC script. It has its advantages and disadvantages.

Let it be noted this script doesn't join #monobot then state monobot gip. Its source code is free to edit.

Note: If you OR your bot joins #jj2 and this command gets triggered (resulting in you getting asked to remove the bot/script or kickbanned) I am not to be held responsible.

Differences between it and Monobot's GIP script (which is not readily avaliable):

- Monobot's reads every packet received - mine only reads three lines and is then disconnected

- mine has a MotD option, but it's subject to limitations of the above.

- mine reads from the server lists directly, keeping all formatting as used by the listservers - Monolith's formats the headings correctly, with uptime in proper seconds, amount of games up, etc.

- mine has a j2i generating script

It is avaliable for download here.

Nimrod Sep 22, 2005 06:20 PM

Good work, well worth a look. :)

You happy with upgrades being made and being made public on JCF?

Stijn Sep 22, 2005 10:13 PM

I still like this better than all those bots.

Slaz Sep 23, 2005 06:41 AM

I think you did great UNKOWNFILE, Maybe I will take a look also. But I don't use bots like this in general.

shaney Sep 23, 2005 08:27 AM

Quote:

Originally Posted by Slaz
I think you did great UNKOWNFILE, Maybe I will take a look also. But I don't use bots like this in general.



i must agree UF , that gip script was one of the many things that helped me ,


TY very much UF now Kingdav3 has been launched 3 weeks before it should

UNKNOWNFILE Sep 23, 2005 03:01 PM

Quote:

Originally Posted by Nimrod
Good work, well worth a look. :)

You happy with upgrades being made and being made public on JCF?

Sure, go ahead.

UNKNOWNFILE Oct 10, 2005 07:55 AM

I fixed the script up a bit. It now uses a bit of code from monobot's gip script for retrieving server information, but other than that, it's my code.

Here are changes made:

- removed the IP function and j2i retrieval to protect against possible exploitation.
- fixed up the gip function
- trimmed motds to 3 lines at max

Oh, and one last thing:
if you are going to modify this, DONT delete the following lines in the main sockread:

Code:

  if (%protect == %temp) { halt }
  /set %protect %temp

Code:

  if ($1 == $null) { halt }
If these are removed, mIRC will either get a flood disconnection or freeze up.

Message me on Quakenet if you want the update.

Nimrod Oct 10, 2005 09:47 AM

Quote:

Originally Posted by UNKNOWNFILE
- removed the IP function and j2i retrieval to protect against possible exploitation.

Thanks for doing this, this was one request I was going to make directly to you via PM after someone brought it to my attention as openly relaying IP's to users (disregarding if there banned or not from accessing the list).

I guess someone else mentioned it to you already for you to make the change.

UNKNOWNFILE Oct 10, 2005 11:54 AM

OK the latest version is up:

GIP script o' doom!

Thanks to Skeven for bugfixing and Monolith for the packet variable commands.

My todos for the next version:

- do a health support (to get %age of players on the server and create a title for it, but as of now I think it will only work on 32 player limited servers.)
- fix up stuff and make it spiffier.
- adjust bans according to server lists and block access to banned users.


All times are GMT -8. The time now is 11:36 AM.

Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
JCF © 2001-Infinity Jazz2Online