collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Bebot on external IIS server  (Read 3393 times)

0 Members and 1 Guest are viewing this topic.

Offline MAGE

  • BeBot Rookie
  • *
  • Posts: 13
  • Karma: +0/-0
Bebot on external IIS server
« on: March 06, 2012, 12:14:42 pm »
Hi,

I'm trying to use bebot on IIS webserver.

the bot is able to login but connection is lose after some minutes.

(after 5min) my browser show some errors like :
Code: [Select]
BotName [LOGIN] [STATUS] Authenticating
[Conan Login Server] Could not connect to aoc-eu-um.live.ageofconan.com:7000 Notice:
Could not connect to the Loginserver (aoc-eu-um.live.ageofconan.com:7000) in C:\inetpub\wwwroot\bot.cripi.org\www\bot\Sources\AOChat.php on line 494
MySQL database connection test successfull
BotName [CONN] [ERROR] Failed authenticating to server. Retrying in 60 seconds.
The bot is restarting.
Fatal error: Maximum execution time of 300 seconds exceeded in C:\inetpub\wwwroot\bot.cripi.org\www\bot\StartBot.php on line 106
humm i've  an oters error message normaly :(. with EOF error
But, the bot is connected to the chat (i can't see him in logged ppl), I can whisp him and I receive message from him. And after some minutes the bot is disconnected.

I'm using :
Server : IIS
PHP : 5.3.9
MySQL : 5.0.8-dev
botCharacter : one of my premium account.

Is better to create F2P account for the bot ?

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: Bebot on external IIS server
« Reply #1 on: March 12, 2012, 04:07:44 pm »
Stop what you're doing right now. BeBot is not to be run on y our webserver and served up as a web page. No webserver! Not only will it not work, but it creates a huge security issue due the the need for using sockets.

PHP is a flexible language, like other languages such as Perl, Python, Ruby, or even good old bash it can be used to make dynamic web pages or run as an interpreted scripting language. BeBot uses PHP as an interpreted scripting language.

What you need to do is install the PHP scripting environmental on your server/workstation/whatever and the StartBot.php that way. So instead of loading a webpage, you will open a command prompt and type:

php.exe StartBot.php.

Bebot will fire up and run in the DOS Window, and you'll get setup prompts and all that as expected.

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 280
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal