User Control Panel
Advertisements

HELP US, HELP YOU!

CKS Juggernaut 4.0
Goto page 1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    Bot Depot Forum Index -> Templates
View unanswered posts
Author Message
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Thu Nov 04, 2004 11:19 pm    Post subject: Reply with quote

Firstly: don't complain about how the version numbers jump around. Okay: when you make a first program, you call it 1.0 - make a small change, call it 1.1, Make a big yet not TOO big change, jump it up to 1.5, make a HUGE change, jump it up to 2.0 - that's how version numbers work.
____________________

Here is the 4.0 release of CKS Juggernaut.

Change Log
Quote:
3.6 to 4.0

   Included strict and warnings, Juggernaut's code is now more efficient (or better form, anyway).
   Updated the sub &get_date, now it can return any string by filtering in information. For more details:
       &get_date (, [,


Also another kind of minor change, when I was programming the ChaosML brain I accidentally overwrote files of the Eliza brain, making Eliza not work recently. I fixed that in this version. Smile

Hmm... the change log just about covers the major changes. I enabled the ability to sort commands into subfolders because I soon plan to add a new category to the menu, "Multiplayer Games," and I already had 140 commands as it was and it would get even worse adding a new category. Just note that the folders don't make the categories, folders are just methods of sorting the files.

Plans for Next/Future Releases
¤ I'll reprogram the GUI to make it more efficient.
¤ Possibly get those threads to work, and join the HTTP server with the messenger bots.
¤ Add some (more) multiplayer games... and some subroutines (or a module) as a template for multiplayer interactions, to make creation of P4 games and commands very easy.
¤ I might remake the help file, so instead of WinHelp it will use the HtmlHelp engine.

Placeholders!
There are a few files named "placeholder" - these are only there to hold the folder's place in the zipped file. A key one you'll discover is in "data/blocks" - delete the placeholder in that folder, and that will take care of the panics on startup. Anywhere else you find a placeholder, delete them, they're useless. Smile Maybe in the next release I'll have the script hunt down and delete placeholders automatically. Wink

As again, if you're upgrading take a look around at some files that may have changed. I don't know if any of the major ones have changed but you can never tell. Best to be on the safe side.

And also as again, don't post compliments here. Number one way to get on my hit list. Don't do it. Razz

Hm... if you run into any issues or problems, reply here. This uses the same MSN module as Juggernaut 3.6 did (the MSN 2.0), so get the SSL updates and whatever else that module required. Also, you should be able to easily upgrade to the newer MSN module that Mojave recently released without too many problems.

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
Addict
Not Yet a God
Not Yet a God


Joined: 21 Jan 2004
Posts: 473

Reputation: 34.4Reputation: 34.4Reputation: 34.4

PostPosted: Fri Nov 05, 2004 2:47 am    Post subject: Reply with quote

Wow! This is cool! + in a few days!
Back to top
TriggerDunpoe
Senior Member
Senior Member


Joined: 14 Mar 2004
Posts: 176

Reputation: 29.7Reputation: 29.7Reputation: 29.7

PostPosted: Fri Nov 05, 2004 4:08 am    Post subject: Reply with quote

Quote:
A version number like "6.2.3.1407" means:

    * major version 6
    * minor version 2
    * patch 3
    * build 1407

The major version number is only incremented when significant changes are made. In practice, "significant" means "changes that make this version's data/configuration/whatever impossible for older versions to read". ...

Minor version numbers are what most people think of as releases. If you've added a few new features, changed part of the GUI, etc., you increment the minor version number and throw it to customers.

Patches are things that don't have their own installers. If, for example, you need to change one HTML form, or one DLL, you will often just mail that out to customers, along with instructions about where to put it, rather than creating a new installer. You should still give it a number, though, and make an entry in your release log [1].

The build number is incremented every time you create a new version of the product for QA to test. Build numbers are never reset, i.e. you don't go from 5.2.2.1001 to 6.0.0.0, but from 5.2.2.1001 to 6.0.0.1002, and so on. Build numbers are what developers care about: they're often only matched up with version numbers after the fact (i.e. you create build #1017, QA says, "Yeah, it looks good," so you say, "All right, this'll be 6.1.0," and voila, you have 6.1.0.1017.)


Just a little something I found when I was in vb class.
Back to top
I-Robot
Senior Member
Senior Member


Joined: 30 Aug 2004
Posts: 268
Location: uk / southampton
Reputation: 26.3Reputation: 26.3Reputation: 26.3

PostPosted: Fri Nov 05, 2004 8:43 am    Post subject: Reply with quote

Nice template again lol Razz
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Fri Nov 05, 2004 12:45 pm    Post subject: Reply with quote

I was going by the definition provided at htmlgoodies.com about HTML 4.0:

Quote:
     Now might be a good time to discuss what all these version numbers mean. There are no hard or fast rules to this, but here's the generally accepted method for giving version numbers to software:

If there is a major change to the product, step up the number by one.
If there are tweaks to the product, add a point "something" number.

     With good writing like that, it's a wonder I wasn't hired on at Microsoft years ago, huh? For instance:
     I create a software program that counts the number of times you curse at your computer screen while writing HTML code. I call it "Curser". The first version out of the gate is version 1.0. I offer that version for free over the Net so I can get fine people like you to test it out for free. You will be my *lazy*&D (research and development) team. This is what companies call a "beta version." It's something they assume will be replaced by a better version. Kind of like beta videotape. Remember that?
     You play with it and find a few bugs. I fix the bugs. Now I have Curser Version 1.1. This is probably the one I sell.
     Six months later, I decide I hate the interface (the look of the screen) and decide to make major changes to my Curser program. I change the look completely, add a Recycle Bin, and call it Curser 95! Just kidding. But, the changes are substantial, so I change the version number. I now have Curser 2.0. Again with the beta testing. You find a few bugs, I fix them. Ta *lazy*! Curser 2.1. But wait! You suggest an extra function for the program. I add it. We now have Curser Version 2.2. Get it?
[Accordingly, HTML 4.01 is a relatively minor enhancement to the original HTML4.0 specification.]


http://www.htmlgoodies.com/tutors/html4.html

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Fri Nov 05, 2004 8:46 pm    Post subject: Reply with quote

Sorry for the double post.
_________________

I've made an update to the Server.pl file, for those of you who actually run it. With this update, you can access /stats.txt and get some statistics from the bot (I had to do this now since my site isn't hosted on my computer anymore, I needed a way to get my bot's statistics). It does most of the statistic-getting, except it doesn't return a reply count (if you REALLY want that you can program it yourself).

Sample output:
Code:
X JnautVersion 4.0 X<br /><br />X OnlineStatus 1 X<br />X OnlineTime 0:0:48:40 X<br /><br />X BotsCount 4 X<br />X Commands 140 X<br />X Clients 861 X<br /><br />X WarnersCount 30 X<br />X WarnersPercent 3.484% X<br />X BlockedCount 5 X<br />X BlockedPercent 0.580% X<br />X BlackCount 689 X<br />X BlackPercent 80.023% X


So it's easy to parse through. And for an example of something that actually DOES parse through it, here's the source to my site's "cks.status" page (where $cks{content} is being the page content, which in independent use could be replaced with print, etc.)

Code:
<b class="header">:: CKS Current Statistics</b><br><br><br /><br />Here are live statistics from the CKS bots:<br><br><br /><br /><perl><br /># Get the Juggernaut stats.<br />$jnaut_stats = LWP::Simple::get "http://68.61.139.249:2001/stats.txt";<br />@stats = split (/\n/, $jnaut_stats);<br /><br /># Go through the stats.<br />$step = 1;<br />my %status = ();<br />foreach $line (@stats) {<br />     next if length $line == 0;<br />     ($a,$var,$value,$b) = split(/\s/, $line, 4);<br /><br />     if ($var eq 'OnlineTime') {<br />          ($days,$hours,$mins,$secs) = split(/:/, $value, 4);<br />          $status{days} = $days;<br />          $status{hours} = $hours;<br />          $status{mins} = $mins;<br />          $status{secs} = $secs;<br />     }<br />     else {<br />          $status{$var} = $value;<br />     }<br />}<br /><br />$cks{content} .= "<b class=\"header\">:: General Statistics</b>\n"<br />     . "<blockquote>\n"<br />     . "<b>Juggernaut Version:</b><br>\n"<br />     . "$status{JnautVersion}<br><br>\n"<br />     . "<b>Activity</b> (Within last 60 seconds):<br>\n";<br />if ($status{OnlineStatus} == 1) {<br />     $cks{content} .= "<font color=\"#0000FF\"><b>Online</b></font> "<br />          . "for $status{days} days $status{hours} hours $status{mins} minutes and "<br />          . "$status{secs} seconds.";<br />}<br />else {<br />     $cks{content} .= "<font color=\"#FF0000\"><b>Offline</b></font>";<br />}<br />$cks{content} .= "</blockquote><br><br>\n"<br />     . "<b class=\"header\">:: Item Counts</b>\n"<br />     . "<blockquote>\n"<br />     . "<b>Number of Bots Connected:</b><br>\n"<br />     . "$status{BotsCount}<br><br>\n\n"<br />     . "<b>Number of Commands:</b><br>\n"<br />     . "$status{Commands}<br><br>\n\n"<br />     . "<b>Number of Clients (Users):</b><br>\n"<br />     . "$status{Clients}</blockquote><br><br>\n"<br />     . "<b class=\"header\">:: User Statistics</b>\n"<br />     . "<blockquote>\n"<br />     . "<b>Number of Warners:</b><br>\n"<br />     . "$status{WarnersCount} ($status{WarnersPercent} of all clients)<br><br>\n\n"<br />     . "<b>Number of Blocked Users:</b><br>\n"<br />     . "$status{BlockedCount} ($status{BlockedPercent} of all clients)<br><br>\n\n"<br />     . "<b>Number of Blacklisted Users:</b><br>\n"<br />     . "$status{BlackCount} ($status{BlackPercent} of all clients)\n"<br />     . "</blockquote>";<br /></perl>


Attached.

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
purcelly
God Like
God Like


Joined: 10 Jun 2004
Posts: 560
Location: North West, England
Reputation: 35.1Reputation: 35.1Reputation: 35.1Reputation: 35.1

PostPosted: Sat Nov 06, 2004 7:20 pm    Post subject: Reply with quote

im getting this error

when i run bot.bat

Quote:
Can't locate Win32/GUI.pm in @INC (@INC contains: ./lib C:/Perl/lib C:/Perl/site
/lib .) at ./commands/botmasters/dos.pl line 32.
BEGIN failed--compilation aborted at ./commands/botmasters/dos.pl line 32.
Compilation failed in require at ./subroutines/load_commands.pl line 46.
:: Indexing Commands... Press any key to continue . . .


can you help?
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Sat Nov 06, 2004 10:15 pm    Post subject: Reply with quote

QUOTE(purcelly-tech @ Nov 6 2004, 02:20 PM)
im getting this error

when i run bot.bat

Quote:
Can't locate Win32/GUI.pm in @INC (@INC contains: ./lib C:/Perl/lib C:/Perl/site
/lib .) at ./commands/botmasters/dos.pl line 32.
BEGIN failed--compilation aborted at ./commands/botmasters/dos.pl line 32.
Compilation failed in require at ./subroutines/load_commands.pl line 46.
:: Indexing Commands... Press any key to continue . . .


can you help?

Follow these directions:

QUOTE(Windows)
1. Click your Start button
2. Choose Run...
3. Type in ppm and hit Enter
4. At the ppm> prompt, type: install Win32-GUI
5. Hit Enter.


And that will install it correctly. Smile

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
purcelly
God Like
God Like


Joined: 10 Jun 2004
Posts: 560
Location: North West, England
Reputation: 35.1Reputation: 35.1Reputation: 35.1Reputation: 35.1

PostPosted: Sun Nov 07, 2004 10:53 am    Post subject: Reply with quote

i did that but im still getting this error#

Quote:
ppm> install Win32-GUI
Error: No valid repositories:
Error: 500 Can't connect to ppm.ActiveState.com:80 (Bad protocol 'tcp')
Error: 500 Can't connect to ppm.ActiveState.com:80 (Bad protocol 'tcp')
ppm>


should i uninstall and reinstall perl?
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Sun Nov 07, 2004 2:19 pm    Post subject: Reply with quote

It looks like you have some kind of firewall issue stopping you from connecting to the PPD thing.

If you can't manage to install Win32::GUI, you'll have to sacrifice a command: in the "commands/botmasters" folder, delete "dos.pl" - it's the !dos command, which allows you to show/hide the DOS window. If you can live without it, delete that command, and then you won't get errors about requiring Win32::GUI.

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
purcelly
God Like
God Like


Joined: 10 Jun 2004
Posts: 560
Location: North West, England
Reputation: 35.1Reputation: 35.1Reputation: 35.1Reputation: 35.1

PostPosted: Mon Nov 08, 2004 9:47 am    Post subject: Reply with quote

But if i do that will i loosed any needed data?

When i get home i will unistall and re-install and see fi that works

my computer does not ahve any firewall installed!
Back to top
squip
Newbie
Newbie


Joined: 22 Nov 2004
Posts: 17

Reputation: 18.1Reputation: 18.1

PostPosted: Mon Nov 22, 2004 9:06 am    Post subject: Reply with quote

Hey i am kind of a newbie to all this and i need some help configureing the bot but it wont set up all i get is this...
Quote:
:: Loading Configuration "startup.cfg"... Done!
:: Loading Configuration "substitution.cfg"... Done!
:: Loading Local Library... Done!
:: Indexing Commands...

can someone please help me set this up?? (instructions... tutorial) im lost and i really want to set one up!! Sad
Back to top
alienz
Almost An Agent
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Mon Nov 22, 2004 9:24 am    Post subject: Reply with quote

What you posted is the normal startup routine for the bot, it should continue on loading a few more things then go through the signon process.
_________________
Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com
Back to top
eltomo
Newbie
Newbie


Joined: 06 Aug 2004
Posts: 3

Reputation: 21.4Reputation: 21.4

PostPosted: Tue Dec 14, 2004 7:42 pm    Post subject: Reply with quote

QUOTE(squip @ Nov 22 2004, 01:06 AM)
Hey i am kind of a newbie to all this and i need some help configureing the bot but it wont set up all i get is this...
Quote:
:: Loading Configuration "startup.cfg"... Done!
:: Loading Configuration "substitution.cfg"... Done!
:: Loading Local Library... Done!
:: Indexing Commands...

can someone please help me set this up?? (instructions... tutorial) im lost and i really want to set one up!! Sad

From My (Limited) experience, you need to delete the "dos.pl" command.
If you don't need to execute dos commands get rid of it as it could also pose as a security hole.
Then start the bot. Viola!

Now, I need help.
When i start up my bot i get this:
Quote:
Connection recieved!
Authenticating
SERVER ERROR: Authentication Error: No expected reply recieved
SERVER ERROR: unknown error : 1

Then after a while, It crashes.
Any ideas?
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Tue Dec 14, 2004 7:51 pm    Post subject: Reply with quote

QUOTE(eltomo @ Dec 14 2004, 02:42 PM)
QUOTE(squip @ Nov 22 2004, 01:06 AM)
Hey i am kind of a newbie to all this and i need some help configureing the bot but it wont set up all i get is this...
Quote:
:: Loading Configuration "startup.cfg"... Done!
:: Loading Configuration "substitution.cfg"... Done!
:: Loading Local Library... Done!
:: Indexing Commands...

can someone please help me set this up?? (instructions... tutorial) im lost and i really want to set one up!! Sad

From My (Limited) experience, you need to delete the "dos.pl" command.
If you don't need to execute dos commands get rid of it as it could also pose as a security hole.
Then start the bot. Viola!

Now, I need help.
When i start up my bot i get this:
Quote:
Connection recieved!
Authenticating
SERVER ERROR: Authentication Error: No expected reply recieved
SERVER ERROR: unknown error : 1

Then after a while, It crashes.
Any ideas?

First of all, that is not what the !dos command does.

The usage of the !dos command is:
!dos

Using "!dos on" will make the DOS window visible. Typing "!dos off" will hide the window.

Secondly, Juggernaut does well with security. The !dos command, and other major commands that "work outside the box", are always set to "Master Only" - only a list of usernames defined as the masters are allowed to use it.

Furthermore, anywhere in the help files when it talks about the Master permission, it states (usually in bold and/or red text) how you should NEVER give Master powers to anybody other than yourself, and gives fair warning about what a Master is capable of.
__________________________

Secondly, from your "experience" I'll bet you mean something about the error "Can't locate Win32/GUI.pm in @INC" - you should learn a little about Perl and the PPM (Perl Package Manager). That module can be installed in as few steps as typing out "install Win32-GUI"
__________________________

And as for your authentication error with the MSN bot, you need to install the SSL updates. They can be found within this forum.

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Templates All times are GMT
Goto page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group