Vhabot.Forums

VhaBot => General Discussion => Topic started by: Vhab on May 19, 2007, 01:18:53 PM



Title: Getting Started
Post by: Vhab on May 19, 2007, 01:18:53 PM
Obtaining and Installing the files
1. Download the latest version of VhaBot CE by following the link in the newest post on the releases (http://forums.vhabot.net/index.php/board,16.0.html) board
2. Create a new empty directory (This can be anywhere, for example: C:\VhaBot\)
3. Unzip the contents of the zip package you just downloaded into the directory you just created
4. The directory should now contain several .exe and .dll files aswell as a directory called 'plugins' which should contain several .cs files
5. Install Microsoft .NET 2.0 if you're on windows, or mono 1.1 or higher if you're on linux/unix

Configure your AO account and bot character and start the bot
1. Start Configure.exe
2. Use this application to add 1 or more bots you wish to run
3. Remember to check the checkbox called "enabled" for each bot you wish to run
4. Also remember to fill in the name of the character you wish to use for the initial configuration ingame in the "admin" field
5. Close the application and answer "yes" when it asks you if you want to save the configuration
6. Run VhaBot.exe to start the bot
7. The bot should now appear ingame

Load and configure plugins
1. Execute the following command ingame or using aorc and replace "yourbot" with the name of your bot, /tell yourbot plugins
2. Open the window the bot gives back and use the install and/or load buttons to install/load the plugins you wish to use.
3. After loading the plugins use the following command: /tell yourbot config
4. Open the window the bot gives back and configure any plugin you may want to configure
5. Optional: Edit the requirementments for the commands of the loaded plugins by executing the following command: /tell yourbot commands
6. Execute the following command to read the help and learn about the possibilities of the bot: /tell yourbot help


Title: Re: Getting Started
Post by: Naturalistic on May 19, 2007, 06:23:57 PM
Any issues I'm sure I might be able to help :P


Title: Re: Getting Started
Post by: Warlord on May 19, 2007, 06:49:22 PM
Hi, i encounter a problem when i tried to run Configure.
It shows up a msg window saying VhabotConfig has stopped working.

I'm running on Windows Vista, not sure is that the issue.
Appreciate any help given.

Thanks


Title: Re: Getting Started
Post by: Vhab on May 19, 2007, 07:06:03 PM
Do you have .NET 2.0 installed?


Title: Re: Getting Started
Post by: Warlord on May 20, 2007, 03:32:19 AM
Solved the issue with renaming the config.xml.example to config.xml

Thanks for help.


Title: Re: Getting Started
Post by: Krabicka on May 21, 2007, 10:11:27 PM
Hello,
I get following error trying to run bot:

[0:04:00] [Core] Path set to: /home/ax/VhaBot
[0:04:01] [Core] Loaded configuration file: config.xml
[0:04:02] [Core] Registered czabotest (axthefroob@Atlantean) as czabotest@atlantean
[0:04:02] [Core] Registered remoting callbacks
[0:04:02] [Core] Registered remoting channel
[0:04:02] [Core] Registered remoting API
[0:04:02] [Core] Starting czabotest@atlantean
[0:04:04] [czabotest@atlantean] Connecting to VhaBot.Core on port 8422
[0:04:04] [czabotest@atlantean] An error occurred while connecting to VhaBot.Core
[0:04:04] [Core] czabotest@atlantean has shutdown and marked disabled

with this config file (password sanitized):

<?xml version="1.0"?>
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Core>
    <CentralServer>central.vhabot.net</CentralServer>
    <CentralAccount />
    <CentralPassword />
    <ConfigPath>config</ConfigPath>
    <PluginsPath>plugins</PluginsPath>
    <SkinsPath>skins</SkinsPath>
    <CachePath>xmlcache</CachePath>
    <Debug>false</Debug>
    <RemotePort>8422</RemotePort>
  </Core>
  <Bot>
    <Account>axthefroob</Account>
    <Password>password</Password>
    <Character>czabotest</Character>
    <Admin>Ervinos</Admin>
    <Dimension>Atlantean</Dimension>
    <Enabled>true</Enabled>
    <Master>false</Master>
  </Bot>
</Configuration>

Thats on debian/stable with mono-1.2.4


Title: Re: Getting Started
Post by: Vhab on May 22, 2007, 04:35:04 AM
hmm, that's odd.
I do see where it goes wrong, but I can't think of a why.
What happens is the core creates a remoting channel for the actual bots to communicate with, it seems here it fails to connect back to the core.
Will do some checking and see if I can find something out. I ran it successfully on debian/testing.
Can you check if you can telnet to 127.0.0.1:8422 while it's running?
I'm not very experienced with firewalls etc, but those aren't configured to block local stuff right?
Mono version I tested with was 1.2.2.1-2


Title: Re: Getting Started
Post by: Krabicka on May 22, 2007, 06:06:13 AM
hmm, that's odd.
I do see where it goes wrong, but I can't think of a why.
What happens is the core creates a remoting channel for the actual bots to communicate with, it seems here it fails to connect back to the core.
Will do some checking and see if I can find something out. I ran it successfully on debian/testing.
Can you check if you can telnet to 127.0.0.1:8422 while it's running?
Its quiet and closes communication after pressing enter three times.
ax@tukan:~$ telnet localhost 8422
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.



Connection closed by foreign host.
ax@tukan:~$
I'm not very experienced with firewalls etc, but those aren't configured to block local stuff right?
Firewall is flushed and there should be nothing preventing communication.


Title: Re: Getting Started
Post by: Vhab on May 22, 2007, 09:54:37 AM
kk, that means it does start correctly but the client fails to connect back for some reason.
I'll do some testing to figure out more after I get home.


Title: Re: Getting Started
Post by: Vhab on May 22, 2007, 02:24:31 PM
Looked over the code and can't think of anything that's causing it to fail to connect.
which mono packages do you have installed?
Also, how are you starting the bot? using an absolute path or a relative path, which directory are you currently in when executing the command, things like that


Title: Re: Getting Started
Post by: Krabicka on May 23, 2007, 01:37:28 PM
I installed mono-1.2.4_4-installer.bin from mono project pages, as I havent been able to figure out which packages to install.
i unzipped VhaBot 0.7.2 CE.zip into /home/ax/VhaBot and ran mono VhaBot.exe
fom the VhaBot directory

I managed once to get this:

[15:51:54] [Core] Path set to: /home/ax/vhabot
[15:51:56] [Core] Loaded configuration file: config.xml
[15:51:56] [Core] Registered czabotest (axthefroob@Atlantean) as czabotest@atlantean
[15:51:56] [Core] Registered remoting callbacks
[15:51:57] [Core] Registered remoting channel
[15:51:58] [Core] Registered remoting API
[15:51:58] [Core] Starting czabotest@atlantean
[15:52:00] [czabotest@atlantean] Connecting to VhaBot.Core on port 8422
[15:52:00] [czabotest@atlantean] An error occurred while connecting to VhaBot.Core
[15:52:01] [Core] czabotest@atlantean has terminated with the exit code 8
[15:52:01] [Core] Starting czabotest@atlantean
[15:52:02] [czabotest@atlantean] Connecting to VhaBot.Core on port 8422
[15:52:03] [czabotest@atlantean] An error occurred while connecting to VhaBot.Core
[15:52:03] [Core] czabotest@atlantean has shutdown and marked disabled

but I dont know how to repeat this.


Title: Re: Getting Started
Post by: Vhab on May 23, 2007, 03:28:40 PM
managed once?
what does it do when you try now, does it work or give some other issue?
I'm going to do a local install of that mono version and see if I can reproduce this.


Title: Re: Getting Started
Post by: Vhab on May 23, 2007, 03:39:58 PM
Managed to correctly run using a non-root account on debian/testing using the installer from the site.
Commands I used in order:

Code:
wget ftp://www.go-mono.com/archive/1.2.4/linux-installer/4/mono-1.2.4_4-installer.bin
chmod +x mono-1.2.4_4-installer.bin
./mono-1.2.4_4-installer.bin --mode text

-- completed the install by pretty much answering yes and default answers on the installer --

cd /home/vhab/vhabot
/home/vhab/mono-1.2.4/bin/mono VhaBot.exe


Title: Re: Getting Started
Post by: Iriche on May 23, 2007, 07:58:23 PM
I will try when I get my dev env up


Title: Re: Getting Started
Post by: Naturalistic on May 24, 2007, 03:59:40 AM
You mean when you take over the world? ;)


Title: Re: Getting Started
Post by: Biggiewuff on June 07, 2007, 09:35:33 PM
Hi all,
I have installed and configurated my vhaBot and getting a login error, not sure why but I will paste the log here:

Code:
07-06-07 11:54:17 Connecting to VhaBot.Core on port 8422
07-06-07 11:54:18 Connected to VhaBot.Core (5964)
07-06-07 11:54:18 Received bot configuration for SANTBot (qvicksilver@Rimor)
07-06-07 11:54:18 Starting BotShell
07-06-07 11:54:18 [Configuration] Loaded config\santbot@rimor\users.db3
07-06-07 11:54:18 [Configuration] Loaded config\santbot@rimor\notify.db3
07-06-07 11:54:18 [Configuration] Loaded config\santbot@rimor\plugins.db3
07-06-07 11:54:18 [Plugins] Starting Plugin Scan...
07-06-07 11:54:26 [Plugins] Compiled: irc_Core.cs, irc_Queue.cs, raid_Auction.cs, raid_Check.cs, raid_Core.cs, raid_Database.cs, raid_Glyphs.cs, raid_History.cs, raid_MassInvite.cs, raid_Members.cs, raid_Merge.cs, raid_Points.cs, raid_PointsTicker.cs, raid_Raffle.cs, raid_Rules.cs, raid_Status.cs, vh_ApfTimer.cs, vh_BansManager.cs, vh_BeastDay.cs, vh_ChatLogger.cs, vh_CommonTools.cs, vh_FloodProt.cs, vh_Items.cs, vh_MembersManager.cs, vh_MembersViewer.cs, vh_News.cs, vh_Notify.cs, vh_NotifyManager.cs, vh_Online.cs, vh_PrivateGroup.cs, vh_RaidTools.cs, vh_Rally.cs, vh_RosterManager.cs, vh_Tasks.cs, vh_Teams.cs, vh_XmlServices.cs
07-06-07 11:54:27 [Plugins] Found 41 Plugins
07-06-07 11:54:27 [Configuration] Loaded config\santbot@rimor\configuration.db3
07-06-07 11:54:27 [Configuration] Loaded config\santbot@rimor\rights.db3
07-06-07 11:54:27 [Configuration] Loaded config\santbot@rimor\bans.db3
07-06-07 11:54:27 [Plugins] Loading Plugin (Commands Manager v100)
07-06-07 11:54:27 [Plugins] Loading Plugin (Configuration Manager v100)
07-06-07 11:54:27 [Plugins] Loading Plugin (The Core v100)
07-06-07 11:54:27 [Plugins] Loading Plugin (Help Manager v100)
07-06-07 11:54:27 [Plugins] Loading Plugin (Plugin Manager v103)
07-06-07 11:54:27 [Plugins] Loading Plugin (Version and Statistics v100)
07-06-07 11:54:27 [SANTBot] Connecting
07-06-07 11:54:28 [SANTBot] Login
07-06-07 11:54:28 [SANTBot] Error

The only thing I can think of is that I was logged in with another char on the same account, but if I remember correctly it's possible to be logged in with a character in the game and log in with bots just on the chatlink?

best regards // biggiewuff


Title: Re: Getting Started
Post by: Vhab on June 08, 2007, 04:21:54 AM
That means it failed to login which can only be caused by bad account details.
Double check your account and character details in the config and check for the right casing aswell


Title: Re: Getting Started
Post by: Biggiewuff on June 08, 2007, 08:27:20 AM
haha thanks, that was it... now, don't I feel like a froob :D


Title: Re: Getting Started
Post by: Kyyron [rk1] on June 13, 2007, 09:29:46 PM
Ok, I had this problem also.  All characters start with an uppercase letter......   In the configuration you must explicitly enter the first letter of the bot characters name as upper case.


Title: Re: Getting Started
Post by: frigin on August 26, 2007, 05:12:59 AM
I'm using XP x64 with .net 2.0 and 3.0 x64 bit editions. so that may be the problem. though i dont think it really should. I get the following errors.

26-08-07 01:48:42 Connecting to VhaBot.Core on port 8422
26-08-07 01:48:44 Connected to VhaBot.Core (3728)
26-08-07 01:48:45 Received bot configuration for BOTNAME (USERNAME@Atlantean)
26-08-07 01:48:45 Starting BotShell
26-08-07 01:48:48 [Error] Unable to load configuration file: config\BOTNAME@atlantean\users.db3
26-08-07 01:49:48 [Error] Unable to load configuration file: config\BOTNAME@atlantean\notify.db3
26-08-07 01:50:47 [Error] Unable to load configuration file: config\BOTNAME@atlantean\plugins.db3
26-08-07 01:51:17 [Plugins] Starting Plugin Scan...
26-08-07 01:51:21 [Plugins] Compiled: irc_Core.cs, irc_Queue.cs, raid_Auction.cs, raid_Check.cs, raid_Core.cs, raid_Database.cs, raid_Glyphs.cs, raid_History.cs, raid_MassInvite.cs, raid_Members.cs, raid_Merge.cs, raid_Points.cs, raid_PointsTicker.cs, raid_Raffle.cs, raid_Rules.cs, raid_Status.cs, vh_ApfTimer.cs, vh_AutoMember.cs, vh_BansManager.cs, vh_BeastDay.cs, vh_Bio.cs, vh_ChatLogger.cs, vh_City.cs, vh_CommonTools.cs, vh_FloodProt.cs, vh_Items.cs, vh_Levels.cs, vh_Links.cs, vh_MembersManager.cs, vh_MembersViewer.cs, vh_Motd.cs, vh_News.cs, vh_Notify.cs, vh_NotifyManager.cs, vh_Online.cs, vh_PrivateGroup.cs, vh_RaidTools.cs, vh_Rally.cs, vh_RosterManager.cs, vh_Social.cs, vh_Tasks.cs, vh_Teams.cs, vh_Timers.cs, vh_XmlServices.cs
26-08-07 01:51:37 [Plugins] Found 49 Plugins
26-08-07 01:51:38 [Error] Unable to load configuration file: config\BOTNAME@atlantean\configuration.db3
26-08-07 01:52:07 [Error] Unable to load configuration file: config\BOTNAME@atlantean\rights.db3


I've made sure my user name is capp'd properly eg 'Botname' not 'botname'

this is a new install of VHA


it also does not have ANYTHING in the .\config\BOTNAME@atlantean\ directory


Title: Re: Getting Started
Post by: Vhab on August 26, 2007, 08:12:21 AM
My current guess it's somehow having trouble with the sqlite libs.
I'll go see if there's something 64x specific about them.
Don't have a 64x setup here atm to test with, but is it possible for you to force it to run under 32bit mode?


Title: Re: Getting Started
Post by: frigin on August 26, 2007, 08:19:03 AM
have not been able to do so.  I also ran it on another machine here. I am 99% sure somthing with the firewall on that machine was the problem. I really would like to upg our ORG from buda to you. but ill look again.


Title: Re: Getting Started
Post by: Vhab on August 26, 2007, 08:24:36 AM
Did it run fine on the other machine?
Firewall sounds a bit unlikely as this error generally comes from either being unable to create the file or an error occurring while it attempts to access the sqlite lib.
I've understood Windows 64x has 2 program files dirs, one for 64x and 32bit. Try placing the entire bot in a sub directory of the 32bit program files dir.

Edit: to be more exact: \Program Files(x86) you should place em there


Title: Re: Getting Started
Post by: frigin on August 26, 2007, 08:27:24 AM
its in root/vhabot/ ... but am trying now in program files


Title: Re: Getting Started
Post by: Vhab on August 26, 2007, 08:28:44 AM
From what I'm reading here, anything placed in \Program Files(x86)\ will be forced to run in x86 (32bit) mode.


Title: Re: Getting Started
Post by: frigin on August 26, 2007, 08:41:36 AM
tried under root/, program files/, program files (86), and every other config. ive even told the os to run vhabot.exe and vhabot.shell.exe to run in XP compatability mode. i think it has to do with .net 2.0... its x64 bit version on my pc. thats all i can think that is different. still doesnt download the php's to config directory. just remains empty.


Title: Re: Getting Started
Post by: Vhab on August 26, 2007, 08:48:33 AM
There's no PHP involved.
The reason the config dir stays empty is the same reason it throws the error, it's unable to create the sqlite db files.
Atm I can't think of any solutions.
Would a normal .NET 2.0 install run on XP 64x?


Title: Re: Getting Started
Post by: frigin on August 26, 2007, 08:50:06 AM
no, M$ has made it impossible to do anything useful with x64. My problem is with work all i can use is x64 at home if i want to connect.


Title: Re: Getting Started
Post by: Vhab on August 26, 2007, 09:01:11 AM
Hmm, maybe a really last resort would be trying to install Mono (which includes the sqlite libs I use and should be used before the ones shipped with the bot, with possible better success).
But I can understand it would be a hassle.
I'm sorry I'm out of suggestions I can think about.


Title: Re: Getting Started
Post by: frigin on August 26, 2007, 09:18:16 AM
googlin mono now


Title: Re: Getting Started
Post by: frigin on August 26, 2007, 09:39:54 AM
k its installed. not sure what to do now. but will start workin on figuring it out.


Title: Re: Getting Started
Post by: Vhab on August 26, 2007, 09:55:32 AM
Ooh, reminds me I forgot to mention the version, it should be 1.2.4, didn't notice there were 2 on the download site.
http://www.mono-project.com/Mono:Windows should include some instructions on how to start the bot using mono.
Open a command prompt and use the following 2 commands:
cd /path/to/your/bot
mono VhaBot.exe


Title: Re: Getting Started
Post by: frigin on August 26, 2007, 10:01:22 AM
yeah i have 1.2.4 installed.
I tried mono vhabot.exe in my directory and didnt produce any results.

went to:

C:\Program Files (x86)\Mono-1.2.4\bin

and ran

mono c:\075\vhabot.exe

produced a connection to vhabot and still same results. is this looping back to connect to itself to make the config files and then run the server? or is it actually connecting to a server and creating files that way. seems like theres somthing simple were missing.


Title: Re: Getting Started
Post by: Vhab on August 26, 2007, 10:11:13 AM
hmm, actually, you might want to try it the following order:
cd \075\
mono VhaBot.exe

The config files are created by the client.
The callback to the server is used to fetch the configuration, to let the core know the client is still alive and to exchange messages from the core and/or messages from other bots on the same core.

If this doesn't work, I'm really out of options :(


Title: Re: Getting Started
Post by: frigin on August 26, 2007, 10:13:26 AM
for giggles i did

mono vhabot.lite.exe

it connected. created the db's and was online for like 10 seconds.. then it crashed and the db's are still there but it wont connect again

copied the dbs to another directoy and reran .lite.exe and im connected.. tho on a wrong char.. lets see what makes from this


Title: Re: Getting Started
Post by: Vhab on August 26, 2007, 10:16:34 AM
aah, I think I get it.
when starting mono VhaBot.exe it does run the core under mono, but the client processes aren't running under mono.
VhaBot.Lite.exe will start the first bot in the config (and only that bot, regardless of enabled/disabled/whatever).
Can you tell me anything about the crash?

edit: If you manage to get it running without crashing using VhaBot.Lite I can probebly get the core+clients fixed up to run properly on mono on windows.


Title: Re: Getting Started
Post by: frigin on August 26, 2007, 10:51:07 AM
I didn't change anything. i deleted the directory. copied all the .db3 items that got created in that fateful connection to the proper directory of a fresh install. created a batch file that ran

C:\Progra~2\Mono-1.2.4\bin\mono.exe C:\tes\075\vhabot.lite.exe

and its running stable so far. fingers crossed.

note the "progra~2" since mono will by default be in the x86 program files directory.

Maybe as a temp post a blank copy of the db3 files in a temp directory of new release.

BTW now that i have the db3 files i have not tried to temp the devil and just run vha w/o mono.  Also it only seems to want to work with vhabot.lite.exe


thanks for the gr8 hlp m8


Title: Re: Getting Started
Post by: frigin on August 26, 2007, 10:58:57 AM
ok its runnin but the reason i went to vhabot was that i was told !online worked for yall :P

do you have to create the db's because whois works. but online doesnt.


Title: Re: Getting Started
Post by: Vhab on August 26, 2007, 11:02:03 AM
Committed a few new assemblies that should make the core (VhaBot.exe) run on mono on windows aswell. (Links are in the svn thread)
Reason I don't include clean .db3 files is because they should be created by the bot itself, if the bot is unable to create them it'll run into problems somewhere sooner or later eitherway.

Before online starts working you need to load the Roster Manager, add your organization and do !roster update


Title: Re: Getting Started
Post by: LordMarshalAryte on September 27, 2007, 02:09:30 AM
Hey, I know I'm gonna sound fr00b and newbish, but I moved my Vhabot from one computer to another. We copied the files and program directly from one, and pasted to another. Now, as I run it, I'm getting this:

Path set to E:\Ao_vhabot
Loaded configuration file: config.xml
Registered "bot" (<account>@Atlantean) as "bot"@atlantean
Registered remoting callbacks
Registered remoting channel
Registered remoting API


And that's it. It just sits there, as if it's thinking really hard as to what to do next. Either it's connecting -amazingly- slow, or something is missing. Any suggestions?


Title: Re: Getting Started
Post by: Xinc [rk1] on September 27, 2007, 06:41:41 PM
E:\ im going to assume is your cd drive yes? Might want to move it to C:\ and check and make sure the config files are for the proper directory since I think they modify upon running that setup thing.


Title: Re: Getting Started
Post by: LordMarshalAryte on October 24, 2007, 03:10:36 AM
Okay guys, here's a problem I'm getting from Vhabot. It was on another computer, and I have installed/configured from scratch.

[10:04:15 PM] [Core] BOTt@atlantean has terminated with the exit code 1024
[10:04:15 PM] [Core] Starting BOT@atlantean
[10:04:15 PM] [BOT@atlantean] Connecting to VhaBot.Core on port 8422
[10:04:57 PM] [BOT@atlantean] Unhandled exception: System.Net.Sockets.Socke
tException: A connection attempt failed because the connected party did not prop
erly respond after a period of time, or established connection failed because co
nnected host has failed to respond
[10:04:57 PM] [BOT@atlantean] Server stack trace:
[10:04:57 PM] [BOT@atlantean]    at System.Net.Sockets.Socket.DoConnect(End
Point endPointSnapshot, SocketAddress socketAddress)
[10:04:57 PM] [BOT@atlantean]    at System.Net.Sockets.Socket.Connect(EndPo
int remoteEP)
[10:04:57 PM] [BOT@atlantean]    at System.Runtime.Remoting.Channels.Remote
Connection.CreateNewSocket(EndPoint ipEndPoint)
[10:04:57 PM] [BOT@atlantean]    at System.Runtime.Remoting.Channels.Remote
Connection.CreateNewSocket()
[10:04:57 PM] [BOT@atlantean]    at System.Runtime.Remoting.Channels.Socket
Cache.GetSocket(String machinePortAndSid, Boolean openNew)
[10:04:57 PM] [BOT@atlantean]    at System.Runtime.Remoting.Channels.Tcp.Tc
pClientTransportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders reques
tHeaders, Stream requestStream)
[10:04:57 PM] [BOT@atlantean]    at System.Runtime.Remoting.Channels.Tcp.Tc
pClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeade
rs, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseSt
ream)
[10:04:57 PM] [BOT@atlantean]    at System.Runtime.Remoting.Channels.Binary
ClientFormatterSink.SyncProcessMessage(IMessage msg)
[10:04:57 PM] [BOT@atlantean] Exception rethrown at
  • :
  • [10:04:57 PM]
[BOT@atlantean]    at System.Runtime.Remoting.Proxies.RealPro
xy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
[10:04:57 PM] [BOT@atlantean]    at System.Runtime.Remoting.Proxies.RealPro
xy.PrivateInvoke(MessageData& msgData, Int32 type)
[10:04:57 PM] [BOT@atlantean]    at VhaBot.Communication.ClientCommunicatio
n.get_CoreID()
[10:04:57 PM] [BOT@atlantean]    at VhaBot.Shell.Program.Main(String[] args
)
[10:04:58 PM] [Core] BOT@atlantean has terminated with the exit code 1024
[10:04:58 PM] [Core] Starting BOT@atlantean
[10:04:58 PM] [BOT@atlantean] Connecting to VhaBot.Core on port 8422


As you can see, it repeats itself over and over. Never connecting. Again, it's from scratch. All downloads, and properly configed. Any suggestions?


Title: Re: Getting Started
Post by: Naturalistic on October 24, 2007, 06:22:15 AM
Need more info than that. :P

What OS?
Linux -> What version mono?
Windows -> Which one?
Windows -> Got .NET 2.0?
Any firewalls?

For starters anyways.

I'm sure I'm missing a question, but that's all I can think of atm. :P


Title: Re: Getting Started
Post by: LordMarshalAryte on October 24, 2007, 08:28:20 PM
Sorry about that, forgot OS system.

Windows XP Home ed.


I miss anything else?


Title: Re: Getting Started
Post by: Naturalistic on October 25, 2007, 04:35:46 AM
Did you download .NET 2.0 ? Should be included with the Windows Updates if you have done those. But make sure to check that.

Also, do you have firewalls that might stop incoming/outgoing traffic?


Title: Re: Getting Started
Post by: LordMarshalAryte on October 26, 2007, 09:48:44 PM
.Net 2.0? What is that? An Internet service like IE? I'm running IE 8? Whatever the latest one is. And as for firewalls? No, I have them turned off.


Title: Re: Getting Started
Post by: Naturalistic on October 27, 2007, 01:15:12 AM
.NET 2.0 is a "decoder" pretty much.

Any programs that are coded under the .net 2.0 framework requires that to allow the program to run.

Goto Microsoft Update, and try downloading it from there.

Or google .NET 2.0 Framework download... might be a "free" version so-to-speak out there.


Title: Re: Getting Started
Post by: mdk00420 on June 18, 2008, 03:42:07 AM
I seem to be having a problem... it keeps say [bot] connecting, [bot] login, bot [reconnecting]. anyone know why?


Title: Re: Getting Started
Post by: Naturalistic on June 19, 2008, 10:24:22 AM
Don't make multiple posts about the same subject.

You probably mistyped the account name or character name. Has to be exactly how it is when you log ingame. Capitals matter.


Title: Re: Getting Started
Post by: natedog5994 on July 19, 2008, 11:38:58 PM
when i turn on bot it keepsdoing this...
[6:43:21 PM] [mdebot@rimor] [Mdebot] Login
[6:43:21 PM] [mdebot@rimor] [Mdebot] CharacterSelect
[6:43:21 PM] [mdebot@rimor] [Mdebot] Connected
[6:43:21 PM] [mdebot@rimor] [Mdebot] Reconnecting
[6:43:21 PM] [mdebot@rimor] [Mdebot] Connecting
[6:43:21 PM] [mdebot@rimor] [Mdebot] Login
[6:43:21 PM] [mdebot@rimor] [Mdebot] CharacterSelect
[6:43:21 PM] [mdebot@rimor] [Mdebot] Connected
[6:43:21 PM] [mdebot@rimor] [Mdebot] Reconnecting
[6:43:21 PM] [mdebot@rimor] [Mdebot] Connecting
[6:43:21 PM] [mdebot@rimor] [Mdebot] Login
[6:43:21 PM] [mdebot@rimor] [Mdebot] CharacterSelect
[6:43:21 PM] [mdebot@rimor] [Mdebot] Connected
[6:43:21 PM] [mdebot@rimor] [Mdebot] Reconnecting
[6:43:23 PM] [mdebot@rimor] [Mdebot] Connecting
[6:43:23 PM] [mdebot@rimor] [Mdebot] Login
[6:43:23 PM] [mdebot@rimor] [Mdebot] CharacterSelect
[6:43:23 PM] [mdebot@rimor] [Mdebot] Connected
[6:43:25 PM] [mdebot@rimor] [Mdebot] Reconnecting
[6:43:29 PM] [mdebot@rimor] [Mdebot] Connecting
[6:43:29 PM] [mdebot@rimor] [Mdebot] Login
[6:43:29 PM] [mdebot@rimor] [Mdebot] CharacterSelect
[6:43:29 PM] [mdebot@rimor] [Mdebot] Connected
[6:43:29 PM] [mdebot@rimor] [Mdebot] Reconnecting

it started this after
[6:41:47 PM] [mdebot@rimor] Starting BotShell
[6:41:47 PM] [mdebot@rimor] [Configuration] Loaded config\mdebot@rimor\users.db3

[6:41:47 PM] [mdebot@rimor] [Configuration] Loaded config\mdebot@rimor\notify.db
3
[6:41:47 PM] [mdebot@rimor] [Configuration] Loaded config\mdebot@rimor\plugins.d
b3
[6:41:47 PM] [mdebot@rimor] [Plugins] Starting Plugin Scan...
[6:41:48 PM] [mdebot@rimor] [Plugins] Compiled: irc_Core.cs, irc_Queue.cs, raid_
Auction.cs, raid_Check.cs, raid_Core.cs, raid_Database.cs, raid_Glyphs.cs, raid_
History.cs, raid_MassInvite.cs, raid_Members.cs, raid_Merge.cs, raid_Points.cs,
raid_PointsTicker.cs, raid_Raffle.cs, raid_Rules.cs, raid_Status.cs, vh_AiArmor.
cs, vh_AiGeneral.cs, vh_ApfTimer.cs, vh_AutoMember.cs, vh_BansManager.cs, vh_Bea
stDay.cs, vh_Bio.cs, vh_ChatLogger.cs, vh_City.cs, vh_CommonTools.cs, vh_FloodPr
ot.cs, vh_Inspect.cs, vh_Items.cs, vh_Levels.cs, vh_Links.cs, vh_MembersManager.
cs, vh_MembersViewer.cs, vh_Motd.cs, vh_News.cs, vh_Notify.cs, vh_NotifyManager.
cs, vh_Online.cs, vh_PocketBoss.cs, vh_PrivateGroup.cs, vh_RaidTools.cs, vh_Rall
y.cs, vh_RosterManager.cs, vh_Social.cs, vh_Tasks.cs, vh_Teams.cs, vh_Timers.cs,
 vh_XmlServices.cs
[6:41:48 PM] [mdebot@rimor] [Plugins] Found 53 Plugins
[6:41:48 PM] [mdebot@rimor] [Configuration] Loaded config\mdebot@rimor\configura
tion.db3
[6:41:48 PM] [mdebot@rimor] [Configuration] Loaded config\mdebot@rimor\rights.db
3
[6:41:48 PM] [mdebot@rimor] [Configuration] Loaded config\mdebot@rimor\bans.db3
[6:41:48 PM] [mdebot@rimor] [Plugins] Loading Plugin (Commands Manager v100)
[6:41:48 PM] [mdebot@rimor] [Plugins] Loading Plugin (Configuration Manager v100
)
[6:41:48 PM] [mdebot@rimor] [Plugins] Loading Plugin (The Core v100)
[6:41:48 PM] [mdebot@rimor] [Plugins] Loading Plugin (Help Manager v100)
[6:41:48 PM] [mdebot@rimor] [Plugins] Loading Plugin (Plugin Manager v103)
[6:41:48 PM] [mdebot@rimor] [Plugins] Loading Plugin (Version and Statistics v10
0)


Title: Re: Getting Started
Post by: natedog5994 on July 19, 2008, 11:48:44 PM
still does it


Title: Re: Getting Started
Post by: Vhab on July 20, 2008, 12:26:00 AM
It usually does that when you have 2 bots running on the same character or you're currently logged on using that character.


Title: Re: Getting Started
Post by: sunrisebot on October 08, 2008, 10:24:39 AM
im getting some trouble loading my bot up i have used it before and i have done the same as i did beforer but it comes up with this when i run vhabot.exe
i am going to attach a screen shot of what it says.


thanks



Title: Re: Getting Started
Post by: Foodor on October 09, 2008, 11:36:12 AM

I did have that same problem and then I realize that your character name in bot configs need to start with capital letter


Title: Re: Getting Started
Post by: sunrisebot on October 09, 2008, 03:56:59 PM
thanks alot mate thats what i need :P
  8)
now im all up and running


Title: Re: Getting Started
Post by: daryy on December 31, 2008, 02:00:04 PM
I'm running on Windows Vista, not sure is that the issue.
Appreciate any help given.Get the AC parts like AC Compressor, AC Condenser, AC Evaporator and more parts ... Mazda, Mercedes Benz, Mercury, Mitsubishi, Nissan AC Parts (http://www.discountacparts.com/Nissan-AC-Parts/), Oldsmobile, Plymouth, ...Welcome to the Volvo Parts Store!Free Shipping Shop for Volvo S60 Parts (http://www.carpartswarehouse.com/carmodels/CP14/Volvo/S60.html) from Car Parts Warehouse at wholesale price online. Visit Car Parts Warehouse to buy  quality replacement Volvo Parts




Title: Re: Getting Started
Post by: Naturalistic on January 01, 2009, 02:47:52 AM
daryy: we're not mind-readers, so you need to give us details as to what you're even asking.

The bot doesn't load up? Errors? Run as admin? setup the configure options? Have .NET 2.0 or better installed? etc.

If you need help, explain the situation, otherwise you won't be helped.


Title: Re: Getting Started
Post by: Ciya on April 29, 2009, 06:40:59 AM
Hello, so I am completely new at this, and I have skimmed through a few hunred post and cant find it, we are trying to set up the vha bot to have admin besides the super admin? Someone who can do notify commands and the like that doesnt have config power. Is that possible, and how do I do it?


Title: Re: Getting Started
Post by: Vhab on April 29, 2009, 06:41:27 PM
!plugins
!commands

That's all you should need.
The first one allows you to install plugins. (including members manager and such to promote users to leader/admin/etc)
The second one allows you to configure the access rights. Though the default should be fine usually.


Title: Re: Getting Started
Post by: Valvs on November 17, 2009, 08:54:20 PM
I've downloaded the latest community edition, and can't get it started.
Here is what happenes:
Code:
[22:23:51] [Core] Path set to: C:\AO\VhaBot
[22:23:52] [Core] Loaded configuration file: config.xml
[22:23:52] [Core] Registered Xenichka ([account name edited out]@Rimor) as xenichka@rimor
[22:23:52] [Core] Registered remoting callbacks
[22:23:52] [Core] Registered remoting channel
[22:23:52] [Core] Registered remoting API
[22:23:52] [Core] Starting xenichka@rimor
[22:23:52] [xenichka@rimor] Connecting to VhaBot.Core on port 8422
[22:23:53] [xenichka@rimor] Connected to VhaBot.Core (3252)
[22:23:53] [xenichka@rimor] Received bot configuration for Xenichka ([account name edited out]@Rimo
r)
[22:23:53] [xenichka@rimor] Starting BotShell
[22:23:53] [xenichka@rimor] [Configuration] Loaded config\xenichka@rimor\users.d
b3
[22:23:53] [xenichka@rimor] [Configuration] Loaded config\xenichka@rimor\notify.
db3
[22:23:53] [xenichka@rimor] [Configuration] Loaded config\xenichka@rimor\plugins
.db3
[22:23:53] [xenichka@rimor] [Plugins] Starting Plugin Scan...
[22:23:55] [xenichka@rimor] [Plugins] Compiled: irc_Core.cs, irc_Queue.cs, raid_
Auction.cs, raid_Check.cs, raid_Core.cs, raid_Database.cs, raid_Glyphs.cs, raid_
History.cs, raid_MassInvite.cs, raid_Members.cs, raid_Merge.cs, raid_Points.cs,
raid_PointsTicker.cs, raid_Raffle.cs, raid_Rules.cs, raid_Status.cs, vh_AiArmor.
cs, vh_AiGeneral.cs, vh_ApfTimer.cs, vh_AutoMember.cs, vh_BansManager.cs, vh_Bea
stDay.cs, vh_Bio.cs, vh_ChatLogger.cs, vh_City.cs, vh_CommonTools.cs, vh_FloodPr
ot.cs, vh_Inspect.cs, vh_Items.cs, vh_Levels.cs, vh_Links.cs, vh_MembersManager.
cs, vh_MembersViewer.cs, vh_Motd.cs, vh_News.cs, vh_Notify.cs, vh_NotifyManager.
cs, vh_Online.cs, vh_PocketBoss.cs, vh_PrivateGroup.cs, vh_RaidTools.cs, vh_Rall
y.cs, vh_RosterManager.cs, vh_Social.cs, vh_Tasks.cs, vh_Teams.cs, vh_Timers.cs,
 vh_XmlServices.cs
[22:23:55] [xenichka@rimor] [Plugins] Found 53 Plugins
[22:23:55] [xenichka@rimor] [Configuration] Loaded config\xenichka@rimor\configu
ration.db3
[22:23:55] [xenichka@rimor] [Configuration] Loaded config\xenichka@rimor\rights.
db3
[22:23:55] [xenichka@rimor] [Configuration] Loaded config\xenichka@rimor\bans.db
3
[22:23:55] [xenichka@rimor] [Plugins] Loading Plugin (Commands Manager v100)
[22:23:55] [xenichka@rimor] [Plugins] Loading Plugin (Configuration Manager v100
)
[22:23:55] [xenichka@rimor] [Plugins] Loading Plugin (The Core v100)
[22:23:55] [xenichka@rimor] [Plugins] Loading Plugin (Help Manager v100)
[22:23:55] [xenichka@rimor] [Plugins] Loading Plugin (Plugin Manager v103)
[22:23:55] [xenichka@rimor] [Plugins] Loading Plugin (Version and Statistics v10
0)
[22:23:55] [xenichka@rimor] [Xenichka] Connecting
[22:23:56] [xenichka@rimor] [Xenichka] Reconnecting
[22:24:01] [xenichka@rimor] [Xenichka] Connecting
[22:24:03] [xenichka@rimor] [Xenichka] Reconnecting
[22:24:08] [xenichka@rimor] [Xenichka] Connecting
...
and then this connecting/reconnecting thing goes on and on.
I am running it under XP Home. The firewal does not block vhabot.exe. I followed the config instructions to the letter, an I made sure that the bot character name starts with a capital letter in the config. The account name and password have been double and triple checked and then checked again. What else should I do to make it run?
Update: never mind. Apparently, I didn't have the latest version. Downloaded 0.7.7, and it works/


Title: Re: Getting Started
Post by: veremit on November 22, 2009, 06:54:21 PM
Yes, FC changed the server addresses and ports for the chat servers .. and hence the bot wouldn't have been able to find the correct server to connect to .. hence causing repeated reconnection attempts.

Glad you got it fixed!


Title: Re: Getting Started
Post by: Carablu on November 22, 2009, 08:08:51 PM
22-11-09 12:34:37 Connecting to VhaBot.Core on port 8422
22-11-09 12:34:38 Connected to VhaBot.Core (3488)
22-11-09 12:34:38 Received bot configuration for Sensualbot (Emokrysta@Atlantean)
22-11-09 12:34:38 Starting BotShell
22-11-09 12:34:38 [Error] Unable to load configuration file: config\sensualbot@atlantean\users.db3
22-11-09 12:35:37 [Error] Unable to load configuration file: config\sensualbot@atlantean\notify.db3

i can't seem to even get the bot to work with the configs hehe


Title: Re: Getting Started
Post by: veremit on November 23, 2009, 01:04:08 AM
22-11-09 12:34:37 Connecting to VhaBot.Core on port 8422
22-11-09 12:34:38 Connected to VhaBot.Core (3488)
22-11-09 12:34:38 Received bot configuration for Sensualbot (Emokrysta@Atlantean)
22-11-09 12:34:38 Starting BotShell
22-11-09 12:34:38 [Error] Unable to load configuration file: config\sensualbot@atlantean\users.db3
22-11-09 12:35:37 [Error] Unable to load configuration file: config\sensualbot@atlantean\notify.db3

i can't seem to even get the bot to work with the configs hehe

If you open the bot folder, open the config, are those two .db3 files present and not read-only.
If they are present, and its a new install, you can delete them and let the bot re-create them.
Otherwise .. can you tell us where the bot is installed, and what OS you are using please.


Title: Re: Getting Started
Post by: Carablu on November 23, 2009, 08:22:19 AM
bot is currently installed to my desktop and im running vista hehe and did you mean config folder? because int he config folder is the folder for the bot name profile if you will but nothing is inside that folder


Title: Re: Getting Started
Post by: veremit on November 23, 2009, 02:49:10 PM
bot is currently installed to my desktop and im running vista hehe and did you mean config folder? because int he config folder is the folder for the bot name profile if you will but nothing is inside that folder

Ok, the problem lies in loading the sqlite library (the database backend) or else it would have created the .db3 files in the 'profile' subdirectory of the config folder. I'm not sure whether there is any Vista-specific advice out there .. all I -do- know is there are problems with the 64-bit editions of windows.

I trust the bot folder/subfolders have appropriate write-access and the bot is running with Reasonable user privileges?


Title: Re: Getting Started
Post by: Naturalistic on November 23, 2009, 04:44:13 PM
I already posted the fixed sqlite under x86 or x64 releases.



Title: Re: Getting Started
Post by: Rylexteo on December 06, 2009, 08:41:32 AM
Im currently having a problem getting the bot to connect, i have all the account info correct

Heres the log:(http://img690.imageshack.us/img690/8605/15317322.th.jpg) (http://img690.imageshack.us/i/15317322.jpg/)

I have Vista and have Net 2.0 installed


Title: Re: Getting Started
Post by: Vhab on December 06, 2009, 09:19:47 AM
Get the latest version :)
http://forums.vhabot.net/index.php/topic,6782.0.html


Title: Re: Getting Started
Post by: Rylexteo on December 06, 2009, 06:41:17 PM
I downloaded the latest one and now i get

06-12-09 12:34:33 Connecting to VhaBot.Core on port 8422
06-12-09 12:34:34 Connected to VhaBot.Core (3820)
06-12-09 12:34:34 Received bot configuration for Darkhbot (Devildog19925@Rimor)
06-12-09 12:34:34 Starting BotShell
06-12-09 12:34:34 [Error] Unable to load configuration file: config\darkhbot@rimor\users.db3
06-12-09 10:07:46 Connecting to VhaBot.Core on port 8422
06-12-09 10:07:47 Connected to VhaBot.Core (3492)
06-12-09 10:07:47 Received bot configuration for Darkhbot (Devildog19925@Rimor)
06-12-09 10:07:47 Starting BotShell
06-12-09 10:07:47 [Error] Unable to load configuration file: config\darkhbot@rimor\users.db3

I installed mono and tried to use it that way but couldnt make heads or tails of how to use it :-\


Title: Re: Getting Started
Post by: Vhab on December 06, 2009, 11:02:54 PM
Did you get the right one?
There's one for 64bit windows and one for 32bit (x86).


Title: Re: Getting Started
Post by: Rylexteo on December 06, 2009, 11:20:54 PM
i feel stupid now, i downloaded the 64bit

thank you!


Title: Re: Getting Started
Post by: Riatin on December 12, 2009, 09:36:53 PM
k, so. This is my first time attempting to run a bot and I'm havin' difficulty..

It keeps going like;

Connecting
Reconnecting
over and over ;(


Title: Re: Getting Started
Post by: veremit on December 12, 2009, 10:11:06 PM
Are you using the newest version 0.7.7 available here http://forums.vhabot.net/index.php/topic,6782.0.html ?

Make sure you get the correct version for your OS - 32-bit (x86) or 64-bit!


Title: Re: Getting Started
Post by: Jeshiran on December 14, 2009, 02:57:53 PM
Question: If I have two bots in an org, and I want Vhabot to ignore the other bot, and not show it in !online, how do I do? Currently I just banned the other bot... is there anything more simple that I haven't done  ???


Title: Re: Getting Started
Post by: veremit on December 14, 2009, 03:04:53 PM
The only thing you can do on the Vhabot side is:

Code:
!notify remove <other bot> - will take the entry of the other bot out of the list
and !members remove <other bot> - (so that it doesn't get tied into any knots with commands/etc)

I recommend setting the Other bots ignore list or bots list to include the Vhabot .. or they will get upset with each other spamming messages to and fro - as each will respond to the other's replies!!


Title: Re: Getting Started
Post by: Vhab on December 14, 2009, 03:36:18 PM
Banning is the proper method actually.
It's just a different name from ignore.

and like veremit said, !notify remove will take care of the rest :)

Logging in the bot and using /ignore won't help though. That only works for the AO client.


Title: Re: Getting Started
Post by: veremit on December 14, 2009, 03:52:54 PM
I didn't think 'banning' did anything tbh ...


Title: Re: Getting Started
Post by: Vhab on December 14, 2009, 06:27:41 PM
Banning is effectively an ignore.
Banning someone causes the bot to ignore that person, or at least it should.


Title: Re: Getting Started
Post by: veremit on December 14, 2009, 07:07:55 PM
Banning is effectively an ignore.
Banning someone causes the bot to ignore that person, or at least it should.

... Famous Last Words .. :P


Title: Re: Getting Started
Post by: Trussel on October 08, 2010, 06:09:30 PM
Issue resolved - EBK&U