TM-FORUM

The TrackMania universal forum ^_^
It is currently 01 Jul 2016 21:41

All times are UTC + 1 hour




Post new topic Reply to topic  [ 85 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
 Post subject: Re: Big Geordie
PostPosted: 14 Nov 2010 16:20 
Offline
wheelbarrow operator
wheelbarrow operator
User avatar

Joined: 03 Sep 2009 17:57
Posts: 17
Owned TM-games: TMU
El Fuego wrote:
Hmm. That suggests either $message or $k2 are empty values. $message is the chat text, and $k2 is an element from the array of words to check for.

Does it work OK if you stop and restart Xaseco?

What about if you try this?

Code:
if ( stristr ($message, $k2) === true ) {


Have you edited the array of words/responses? ($bgarr) It may be that you've made an error here.


Hy,El Fuego
I did what you said, and I corrected the mistakes shown by Ant,
and nothing has changed.

with this line, bot does not answer, but the warning is still in the log files
Code:
if ( stristr ($message, $k2) === true ) {


Now,I started again in the original code, to make changes until the warning appears in the log.
Thanks for quick response

_________________
Image


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: 14 Nov 2010 18:51 
Offline
wheelbarrow operator
wheelbarrow operator
User avatar

Joined: 03 Sep 2009 17:57
Posts: 17
Owned TM-games: TMU
Problem solved. :3
It was a big fat comma. my fault :roflol:

in this line should be
Code:
'salut Kratos,sal Kratos,hi Kratos,hy Kratos ' => array (


instead of
Code:
'salut Kratos,sal Kratos,hi Kratos,hy Kratos ,' => array (



Thanks for help, Ant & El Fuego :1

_________________
Image


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: 14 Nov 2010 19:43 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: 01 Dec 2007 18:04
Posts: 1845
Location: London, England
Owned TM-games: TMN, TMUF, TM Wii
no problem, glad its working for u now man :thumbsup:

_________________
My TMF Hub --- Server


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: 04 Jan 2011 03:57 
Offline
cyclist
cyclist

Joined: 10 Jul 2009 05:27
Posts: 39
Owned TM-games: TMNF, TMN:ESWC, TMU
Come say hi to "Luna" in LOL Fun 2, located in USA, New Jersey!

_________________
Join my FreeZone!

[server=gravedig24x]FreeZone LOL Fun 2[/server]


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: 04 Jan 2011 11:03 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: 01 Dec 2007 18:04
Posts: 1845
Location: London, England
Owned TM-games: TMN, TMUF, TM Wii
I looked, but can't find a server by that name there - maybe give a link ?
tmtp://#join=YourServerLogin

_________________
My TMF Hub --- Server


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: 07 Dec 2011 22:19 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: 01 Dec 2007 18:04
Posts: 1845
Location: London, England
Owned TM-games: TMN, TMUF, TM Wii
I just realised the link in the original post is broken, so anyone who still wants this can get it here http://xxx-ant.letsrock-tm.com/downloads/Biggeordie_Chatbot.rar

_________________
My TMF Hub --- Server


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: 08 Dec 2011 16:39 
Offline
Pit Crew
Pit Crew
User avatar

Joined: 25 Feb 2009 17:43
Posts: 286
Location: Brabant, Netherlands
Owned TM-games: TMU(F), TMN(F), TM2
Ant wrote:
I just realised the link in the original post is broken, so anyone who still wants this can get it here http://xxx-ant.letsrock-tm.com/downloads/Biggeordie_Chatbot.rar

The link in the startpost seems to be working?

_________________
Dutch ManiaPlanet Moderator
Founder and developer of the MLEPP Project
Image
Image


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: 08 Dec 2011 18:13 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: 01 Dec 2007 18:04
Posts: 1845
Location: London, England
Owned TM-games: TMN, TMUF, TM Wii
So it is, it definitely wasn't working when I posted that though. Even when I signed into the webspace where that was uploaded to, I couldn't access the uploaded files - maybe it was a temporary problem with webs.com - sorry for the confusion.

_________________
My TMF Hub --- Server


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: 08 Dec 2011 23:26 
Offline
Pit Crew
Pit Crew

Joined: 19 Aug 2007 13:58
Posts: 5581
Owned TM-games: TMN, TMU, TMF, TM²
Regardless of any confusion around the original link, there's always a mirror too: http://plugins.xaseco.org/info.php?id=72 :wink:

_________________
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub


Top
 Profile  
 
 Post subject: Re: Big Geordie
PostPosted: 09 Jan 2013 00:00 
Offline
sunday driver
sunday driver

Joined: 27 Apr 2010 18:30
Posts: 60
Owned TM-games: TMU
El Fuego wrote:

Quote:
if ( !stristr ($message, '/bgbot') && $loginname != 'elfuegouk') { // Make sure we don't catch BOT calls or server messages


Is it possible from this ^^ then that I can make it listen to server messages ??
I am wanting to add a little description of some tracks when the message appears that a particular track is coming on next or when it is jukeboxed.

I have created a server with just Speed drifting tracks. I want to add info of my own about each track.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 85 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group