Central Forums Helpbot
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  Show Posts
Pages: [1] 2 3 4 ... 8
1  VhaBot / Feature Requests / Re: neutnet plugin on: May 06, 2015, 04:38:53 PM
Wrote a generic botnet plugin for vhabot.  Limited testing, so hopefully it works.  Nobody has complained yet.  Probably because nobody is using it.

https://bitbucket.org/Llie/vhabot_plugins_llie/src/tip/ll_BotNet.cs?at=default
2  VhaBot / General Discussion / Re: !battle on: December 22, 2013, 04:14:13 AM
Oh, and if you already have a vhtowers.db3 file in your config directory, you should remove it and let the plug-in regenerate it, because I'm pretty sure I made changes that made my database incompatible.
3  VhaBot / General Discussion / Raspberry PI FYI on: December 20, 2013, 03:47:52 AM
My brother-in-law just ran my fork of VhaBot on a Raspberry PI.  He says it's a memory hog, but I was able to connect to it and issue commands.

Just in case anyone is interested, it's possible to host VhaBot on a Raspberry PI.  Just need to install Mono.
4  VhaBot / General Discussion / Re: !battle on: December 20, 2013, 03:45:44 AM
The !battle command in the 0.8.1 branch is roughly the same as it was back in the 0.7 days, and I don't think it ever really worked.

I don't know if Kilm made too many changes in his branch to prevent older plug-ins from working, but you could temporarily move aside your vh_Towers.cs file and try mine:

https://bitbucket.org/Llie/vhabot_plugins_default/raw/5ad13d3cedb8f51d92786b2e26b530d3c78c1635/vh_Towers.cs
5  VhaBot / Feature Requests / Handling org switching toons on: September 29, 2013, 06:01:31 AM
A common practice these days are members of one org who jump to other orgs for AI city farming, notum wars, etc...

It's wreaking havoc on tracking recruits, leavers, alts, etc...

Just starting a thread here to initiate some brainstorming.
6  VhaBot / Feature Requests / Re: Social plugin with AI on: September 25, 2013, 05:00:36 AM
Yup.  VhaBot can now be quite clever too:

https://bitbucket.org/Llie/llie_vhabot/src/tip/Plugins.AIML
7  VhaBot / General Discussion / Re: Howto: Installing Raid Core on: August 31, 2013, 03:50:37 PM
For your information, there is no point making feature requests for Helpbot on these forums.  I no longer have any affiliation with Helpbot or its maintainer/administrator nor does Helpbot maintainer/admin watch these forums.

As for setting up mySQL, it is not simple, but nor is it impossible to learn.  It's basically a (proper) SQL database service.  After you install the software, you need to create some users (or do everything through the root user).  If you use a user that you create, you need to grant that user some permissions.  There are separate permissions for creating/modifying tables from even just accessing the service (ie. some users are only allowed to connect to the service from some specific host or any host or local host).

Once you have permissions set up, most things (such as Vhabot Raid Core) will connect and create the tables it needs.
8  VhaBot / General Discussion / Re: Howto: Installing Raid Core on: August 26, 2013, 04:22:53 AM
Kilmanagh's instructions are very straight forward.  The username and password is for a user within mysql that you create.  All those settings are within mysql.  When you created the user, you must have granted it permission to access the database and tables via sockets.

Alternatively, I have a raffle plug-in that does not require raid core:

https://bitbucket.org/Llie/vhabot_plugins_llie/src/tip/ll_Raffle.cs?at=default
9  VhaBot / General Discussion / Re: scripting not related to bot on: July 17, 2013, 02:40:01 PM
this...
any simple way to dump .gifs from auno
(what a nitemare)

No.  You could probably try to get icon ids from the database yourself using a database parser, but most of them are broken in some way.

any similar files to this one in link?

Not that I know of, but that one seems to have all the GUI elements in it.  I don't think there many others if any.
10  VhaBot / General Discussion / Re: scripting not related to bot on: July 10, 2013, 04:13:16 AM
Simply go to xyphos or auno.

Look up the item you want.

Right click on the picture and select "View Image" (at least that's what it is in Firefox -- don't know about other browsers).

Look at the URL.  It will be something like: http://auno.org/res/aoicons/21142.gif

The number before the .gif is the icon number.
11  VhaBot / Developers / No new releases on: June 26, 2013, 12:58:58 AM
Yeah, I don't have a "New Topic" button when I visit the Releases subforum.
12  VhaBot / Developers / Re: Multithreaded Commands? on: June 26, 2013, 12:54:33 AM
Well, theoretically each command is now fired in its own thread so for slow commands such as PoRK queries, let's say you do two commands back-to-back.  The process used to be:

player issues !whois Player1
player issues !whois Player2
bot fires whois command for Player1
bot does html get on Player1
user waits
bot gets answer for Player1
bot formats and displays answer for Player1
bot fires whois command for Player2
bot does html get on Player2
user waits
bot gets answer for Player2
bot formats and displays answer for Player2

Now it will be:

player issues !whois Player1
player issues !whois Player2
bot fires whois command for Player1
bot fires whois command for Player2
bot does html get on Player1
bot does html get on Player2
user waits, but bot is waiting on both queries
bot gets answer for Player1
bot formats and displays answer for Player1
bot gets answer for Player2
bot formats and displays answer for Player2

Very slight perceived improvement in performance.

I think this change is somewhat more straightforward than trying to make the bot asynchronous somewhere else. 

I mean, if you make the HTML.Get() asynchronous, you'd then need some way to be notified that your result has arrived and then parse and format output to the user.  That would be much harder to implement than just popping each command off in its own thread.
13  VhaBot / Developers / Re: Multithreaded Commands? on: June 20, 2013, 02:12:29 PM
Went ahead and pulled the change into my fork with an additional try/catch block to fall back to non-threaded command if a new thread can't be created.

I tested it with the AOU plug-in and for slow commands like these, at least I can shoot a couple of commands at the bot for it to work on.  I really haven't seen a noticeable difference in performance, but then again, it's not broken.  I'll have to figure out some way to do timing tests to see if there is an overall performance improvement.
14  VhaBot / Developers / Multithreaded Commands? on: June 07, 2013, 02:44:55 PM
Kilmanagh recently posted a major update to his fork that was intended to multithread commands.

It's my impression that VhaBot is already multithreaded.  My question is: what is currently already multithreaded in VhaBot?  And how important is Kilm's change?

Are individual plugins single-threaded, such that if 2 people issued the commands handled by the same plugin, the bot only answers one?  Is the command handling code single threaded so that the bot only ever handles one command at a time?

I'm interested in pulling them into my fork, but I wanted to know if it will significantly improve performance and won't significantly increase CPU usage on someone's hardware hosting the bot before I tried, because the number of changes are huge and merges like that are prone to breaking things.
15  VhaBot / Developers / Re: multibyte and garbage on: May 23, 2013, 03:49:19 AM
utf_8 encoding is supposed to have an extra character in front of each >>.  I'm okay with that, since I have no way of typing that character anyways.  I always just cut-n-paste it from another plug-in whenever I need it.

The BOM is simply unnecessary for utf_8.  I ridded my repo of them, and I'm happy now. ^.^
16  VhaBot / General Discussion / Re: error starting bot on: May 19, 2013, 02:22:46 PM
There are many things that might be problem here.  The thing you're seeing is definitely caused by the server merge.  Here are a few things you need to check:

1) You have to be using a version of VhaBot that supports the server merge.  That means you can't use the 0.7.9CE version.  It has to be after.  I posted a link with the latest versions of VhaBot in this forum post.

2) The new dimension is named "RubiKa".  Note that the capitalization and the lack of a hyphen is important.  The dimension line in your config.xml file should be exactly as follows:

Code:
<Dimension>RubiKa</Dimension>

The repeated attempt and failure to connect is expected if you are using an old version of VhaBot or if the dimension is incorrect on one of the new VhaBots (especially Vhab's 0.7.10 version -- if you mangle the dimension on my version of the bot, you'd still get connected, but all the XML look-up services, like !whois and !history, would be broken).
17  VhaBot / Feature Requests / Re: Mass raffle on: May 19, 2013, 12:57:48 AM
I think this feature is essentially added to my raffle plugin as "raidroll".

https://bitbucket.org/Llie/vhabot_plugins_llie/raw/tip/ll_Raffle.cs
18  VhaBot / Developers / Re: multibyte and garbage on: April 26, 2013, 02:38:03 PM
necro post, but I finally learned about this a couple of months ago so I figure I should share:

The mutibyte encoded file(s) are indeed UTF-16 and converting them to UTF-8 is the right thing to do.  I've since changed the text encoding of all the files in my project to UTF-8.

The multibyte "garbage" that I saw at the beginning of some of the files is a "Byte Order Mark" (BOM) (see: http://en.wikipedia.org/wiki/Byte_order_mark.  It is unneeded for UTF-8 (single bytes don't need byte ordering information) and was probably left over from some UTF-16 encoding conversion to UTF-8.  Can be safely removed if the file is correctly encoded as UTF-8.

I recommend for maximum compatibility of VhaBot (.NET on Windows and Mono everywhere else) all files should be encoded UTF-8. I've done some tests, and it's the only encoding where the >> character on VhaBot replies is ever encoded correctly everywhere you run the bot.
19  VhaBot / Unofficial Plugins / Re: !raffle on: March 14, 2013, 04:42:23 AM
My plug-ins can be downloaded from my BitBucket repository now:

https://bitbucket.org/Llie/vhabot_plugins_llie/src/tip/ll_Raffle.cs?at=default
20  VhaBot / Feature Requests / Re: !raffle - without MySQL possible? - * DONE on: March 14, 2013, 04:41:23 AM
Just to cross link why this feature request is marked as done: http://vhabot.unarmed-forces.co.uk/index.php/topic,6771.0.html
Pages: [1] 2 3 4 ... 8