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

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

Author Topic: Ported Modules  (Read 31095 times)

0 Members and 1 Guest are viewing this topic.

Offline glintz

  • BeBot Rookie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Ported Modules
« Reply #30 on: July 13, 2008, 07:57:50 pm »
I am working on the vent module.  My server seems to allow me to query we use ventrillo.net.  In dos if I query using ventrilo_status.exe and I get the information.  When i run the module I get no errors.  I have changed the location to ./extra/ since that is where my install is although I put it just about every where else as well.  Still no luck.  I do get the pop up in the game but my vent information is not there just the fields.  We do do not use a password and we are using ventilo 3.0 if that matters.

Thanks,

Glintz

Offline Vrykolas

  • BeBot Apprentice
  • ***
  • Posts: 100
  • Karma: +0/-0
Re: Ported Modules
« Reply #31 on: July 13, 2008, 08:34:10 pm »
Are you running the bot under windows or linux?

There seems to be an issue that means that it doesn't pick up the correct path to the executable that I haven't been able to figure out yet - I've been a bit busy working on converting the AoC bot to the latest release of BeBot, but I'll see if I can figure out what the issue is....

A work around is to edit the file and manually specify the full path to the ventrilo_status around line 320
Code: [Select]
$vent = shell_exec($command);
with
Code: [Select]
$command = 'path/to/ventrilo_status';
$vent = shell_exec($command);
(replace path/to with the full path to ventrilo_status)

« Last Edit: July 13, 2008, 08:38:26 pm by Vrykolas »

Offline Dookie

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: Ported Modules
« Reply #32 on: July 13, 2008, 09:33:50 pm »
My TS-Server ist Password-protected, but I want to use the TS-Module.
How can i define the passwort?
When I look at the sourcecode, it seems that its not intended to work with PW-protected TS-Servers...
Is there a possibility to use this nice module though?

Offline glintz

  • BeBot Rookie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Ported Modules
« Reply #33 on: July 13, 2008, 09:35:22 pm »
Thanks quick responses :)  I got it to work by taking the .exe off the file itself and leaving everything else stock lol.  Had no luck with trying to specify the location in the code although seems like that should have worked just as well and i did see some others get it to work that way in some posts.  Anyway amazing work on converting these bots so fast :)

Glintz

Offline Vrykolas

  • BeBot Apprentice
  • ***
  • Posts: 100
  • Karma: +0/-0
Re: Ported Modules
« Reply #34 on: July 13, 2008, 09:58:22 pm »
if you try the Teamspeak mod as it is you should see it display details of my server (which is password protected) if it doesn't work for you confirm this for me and I'll look into the problem further

Offline Dookie

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: Ported Modules
« Reply #35 on: July 15, 2008, 08:53:09 am »
No, even if i use your details (with your URL as IP, because localhost won't make sense to test with your TS-server) I get a nearly empty popup ingame, like this:
Code: [Select]
::::: Teamspeak Server Info :::::

Get the client:
nothing more.

The config looks like this now:
Code: [Select]
        var $bot;
        var $ip = "teamspeak.oasisavengers.com"; //Server IP
        var $queryport = "51234";                    //Query Port (51234 by default)
        var $serverport = "8767";                    //Server Port (8767 by default)
        var $servername = "Oasis Avengers";        // Server name
        var $displayhost = "teamspeak.oasisavengers.com"; //Display ip address

I hope you can help me?!

Offline kardsen

  • BeBot Apprentice
  • ***
  • Posts: 81
  • Karma: +0/-0
Re: Ported Modules
« Reply #36 on: July 15, 2008, 09:59:29 pm »
updated autogratz files

I'm PRETTY sure these are correct.
they haven't crashed my bot :)

Please backup  main.php  and Sources/bot.php just in case.

This will fix the /afk showing player offline  and should make the autogratz mod work again.

« Last Edit: July 16, 2008, 02:06:53 am by kardsen »

Offline Vrykolas

  • BeBot Apprentice
  • ***
  • Posts: 100
  • Karma: +0/-0
Re: Ported Modules
« Reply #37 on: July 15, 2008, 11:51:53 pm »
As you command Kard :D

Offline Vrykolas

  • BeBot Apprentice
  • ***
  • Posts: 100
  • Karma: +0/-0
Re: Ported Modules
« Reply #38 on: July 16, 2008, 01:24:29 am »
I hope you can help me?!

I'll do what I can, but I'm also writing an updated version of the TS module atm, so it may be worthwhile waiting for that...

Offline kardsen

  • BeBot Apprentice
  • ***
  • Posts: 81
  • Karma: +0/-0
Re: Ported Modules
« Reply #39 on: July 16, 2008, 01:34:27 am »
I THINK i did it right.... in 2 posts above...

Just waiting for someone to ding :)

Offline elvyne

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Ported Modules
« Reply #40 on: July 16, 2008, 06:19:19 pm »
I have a question regarding the guides module

ive set it up and it is working, however i have a vistrix raid info txt stored. So when i use !guides vistrix it shows up as

Guide :: ">click to view

However, my question is. Is there a way to have "click to view"  say the actuall name of the txt file?

Offline Vrykolas

  • BeBot Apprentice
  • ***
  • Posts: 100
  • Karma: +0/-0
Re: Ported Modules
« Reply #41 on: July 16, 2008, 07:00:42 pm »
Elvyne: short answer - yes

longer part: here's how

in the function make_guide replace
Code: [Select]
            return "Guide :: " . $this -> bot -> core("tools") -> make_blob("click to view", $content);
with
Code: [Select]
            return "Guide :: " . $this -> bot -> core("tools") -> make_blob($guide, $content);

Offline elvyne

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Ported Modules
« Reply #42 on: July 16, 2008, 07:37:58 pm »
aah thank you very much

Offline Azrac

  • BeBot Rookie
  • *
  • Posts: 19
  • Karma: +0/-0
Re: Ported Modules
« Reply #43 on: July 17, 2008, 01:32:53 pm »
In regards to the "Guides" module I hope someone can help me.

I'll admit im a complete noob when it comes to html and coding and have so far managed to get short bits to work simply by using some logic.

I can make the ingame "guide" list display up to 2 guides by editing the guides.lst file and simply adding a new identical line and a <br> to seperate them, but whenever I try to add a 3'rd, things mess up completely.

Could any kind soul please show me how I can make a list of guides, so it will look something like this.

Guide1
Guide2
Guide3
Guide4
Guide5
Guide6 and so on.

I got the part with making individual guide text files to work fine and the click-link works, but I can't add more than 2....

Im sure it's something terribly basic but im at a loss.

Thanks in advance, both for the help and for the nice modules :)

Offline Sorekill

  • BeBot Rookie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: Ported Modules
« Reply #44 on: July 17, 2008, 04:40:14 pm »
in the guide.lst which is in the guide folder with all the guide.txt should look something like this:

Code: [Select]
<font color=#4169e1>General Guides:</font>

<a href='chatcmd:///tell <botname> <pre>guide 1'>LINK</a> 1 - Guild Website Link
<a href='chatcmd:///tell <botname> <pre>guide 2'>LINK</a> 2 - Ventrilo Server Info
<a href='chatcmd:///tell <botname> <pre>guide 3'>LINK</a> 3 - Gem Cutting Guide
<a href='chatcmd:///tell <botname> <pre>guide 4'>LINK</a> 4 - City Building Guide
<a href='chatcmd:///tell <botname> <pre>guide 5'>LINK</a> 5 - Weapon Smithing Guide
<a href='chatcmd:///tell <botname> <pre>guide 6'>LINK</a> 6 - Crafting Items for Alchemy
<a href='chatcmd:///tell <botname> <pre>guide 7'>LINK</a> 7 - A Guide to Harvesting

When a person pulls it up in game they will see:
LINK 1 - Guild Website
LINK 2 - Ventrilo Server Info
and so on...and able to call them up....and the more guides u want to add you just put another line in                                                               

 

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


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


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


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 670
  • 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