Archive > 0.2.x Custom/Unofficial Modules

Ventrilo Display

<< < (2/7) > >>

Xenixa:
I thought it a typo as the .= means its a concat of a string into a var and assumed that was the first instance of the $inside var.

That and I was half asleep when looking over the code. :p

Dabaron:
Ok, changed to the new module you put in here, I am starting my bot via php -c . start.php, I do have the ventrilo_status.exe in the /extras directory (even did the prgpath command with the exact path even though its in the bots /extras directory just to make 100% sure that wasn't the issue).

Current error:

'.' is not recognized as an internal or external command,
operable program or batch file.

Warning: Invalid argument supplied for foreach() in C:\BeBot\Beerraid\modules\Ventrilo.php on line 209

Warning: Invalid argument supplied for foreach() in C:\BeBot\Beerraid\modules\Ventrilo.php on line 154

Glarawyn:
The error is that the module is not finding the ventrilo status program.

Is the file named ventrilo_status.exe? I didn't actually look at the windows Ventrilo stuff, I just assumed it would be the same name with a .exe. :)

What version of Windows are you running? It could be that the code that is detecting Windows or not windows isn't detecting Windows, thus the Ventrilo executable is being set to ventrilo_status not ventrilo_status.exe (this happens automatically.)

I'll see if I can duplicate the issue on my Windows machine.

Glarawyn:
I've fixed the issues on Windows so this will work on both Windows and Unix machines now. You may want to delete your existing Ventrilo settings as I've added click options for common locations for the ventrilo_status program. Slashes (/) for Unix machines, backslashes (\) for Windows...

Also, you'll want to grab the latest Module Settings (2.0.3 or higher) for BeBot 0.2.

Dabaron:
Deleted all old module settings, put in new module for ventrilo, tried every setting you had in there for program location, still same thing.  Errors on lines 227 and 172 in the for each loops.

Anything else I could be doing wrong here?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version