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.
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. Maybe in the next release I'll have the script hunt down and delete placeholders automatically.
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.
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/
* 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.
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.]
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).
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>
Joined: 10 Jun 2004 Posts: 560 Location: North West, England
Posted: Sat Nov 06, 2004 7:20 pm Post subject:
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'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. _________________ Current Site (2008) http://www.cuvou.com/
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/
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
can someone please help me set this up?? (instructions... tutorial) im lost and i really want to set one up!!
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
can someone please help me set this up?? (instructions... tutorial) im lost and i really want to set one up!!
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/