L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 01:21:16 AM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > BeBot 0.4 support > Topic: a Info file
Pages: [1]   Go Down
« previous next »
Print
Author Topic: a Info file  (Read 302 times)
0 Members and 1 Guest are viewing this topic.
Sorekill
Freshman
*
Offline Offline

Posts: 11


a Info file
« on: August 07, 2007, 09:56:57 PM »

I am still trying to figure out everything with this bot  Grin Anyways, I am wondering how I can take a text file and implement it into the bot where a member could call a command to pull up this text file in a window.

I know in old IGN, I could open a notepad window on the machine running the bot and copy and paste a text file and then able to call if in game from the bot...it was nice to post quest guides and whatnot so a person didn't have to alt tab all the time...just wondering if there is a way to do this in bebot and what the command is.

Thanks,
Sorekill
Logged
Blueeagle
Omnipotent
BeBot Developer
Expert
********
Offline Offline

Gender: Male
Posts: 313



Re: a Info file
« Reply #1 on: August 08, 2007, 09:20:35 AM »

I'm just guessing here at what you mean, but it would entail running an exec() on the client to open notepad and then, as far as I know, the user would have to manually copy/paste into the notepad window. Then save the file. It might be possible to pass the default AO location to notepad in an attempt to create the right file.

As for calling the textfiles in-game that would be done by placing the file in the right folder and then running a client-command to invoke the saved file.

However there are no guarantees that AO is located in the default install directory and there are no guarantees that everyone is using the same notepad.exe. Some might be using other "enhanced" notepads that don't accept filename as an argument when starting a new file (ie. notepad+).

What files are you thinking about saving on the client-side?
Logged

The only problem that can't be solved by adding another wrapper is having too many wrappers.
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 414



Re: a Info file
« Reply #2 on: August 08, 2007, 09:32:35 AM »

He means that he's running the bot and AO on the same computer.

IGN bot has a feature where you can issue the bot a command and it will launch notepad.exe with a specific file open on a Windows computer. The file was in the IGN bot's directory. Once the file was saved, you could make IGN bot display the text in game.

There is a fairly obvious flaw with this...it doesn't work on any platform except for Windows. As most Linux users will be running the bot in the background with no access to the display, simply launching an editor isn't going to work.

I personally doubt this would ever be an official feature of BeBot, though it is easy enough to create a module to do similar things. See APF Guides for an example.
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > BeBot 0.4 support > Topic: a Info file
« previous next »
 
Jump to:  

Recent
[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]

Bot not see Guild Chat
by Delvar
[November 28, 2008, 08:30:34 AM]

Starting Bot
by Allisande
[November 28, 2008, 07:08:21 AM]
Stats
Members
Total Members: 1243
Latest: Whackoeng
Stats
Total Posts: 11144
Total Topics: 1505
Online Today: 8
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 14
Total: 15
Whackoeng

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.241 seconds with 28 queries. (Pretty URLs adds 0.022s, 4q)
Loading...