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 01, 2008, 02:03:33 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Coding and development discussion > Topic: Website Chat to ingame Chat.
Pages: [1]   Go Down
« previous next »
Print
Author Topic: Website Chat to ingame Chat.  (Read 581 times)
0 Members and 1 Guest are viewing this topic.
lazarus
Rookie
**
Offline Offline

Posts: 25


Website Chat to ingame Chat.
« on: August 08, 2007, 09:30:27 AM »

Hey all ur genius people.
have anyone every made a scipt that can communicate thro a website to the ingame chat?
i would do working just like the guest channel.
as the bot is the one type in ingame chat.
like
[org][bot][web]nick: Hey yo all

but for this to work I will need to have the bot log all the chat into the database.
and then just a php script that update a window with info from this database.

This last step is the easy part, but the bot coding is alittle over my head I think.
Thro I have not looked to much into it.

Where do I hook the chat input in the bot?
Logged
Ebag333
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 132


Re: Website Chat to ingame Chat.
« Reply #1 on: August 08, 2007, 10:27:54 AM »

It's fairly easy actually.

  • Pick an IRC server and create an org channel.
  • Connect the bot to the IRC channel.
  • Setup something on a webpage to connect to the IRC channel (IE: a java or PHP based web based IRC client).
Logged
lazarus
Rookie
**
Offline Offline

Posts: 25


Re: Website Chat to ingame Chat.
« Reply #2 on: August 09, 2007, 08:12:29 AM »

Well I dont use IRC.

I was thinking on having a log table and a queue table.
Then the bot run a script to write the queued to the org chat, and by that get into the log table.

The log table is then showing to the website user.

ofcause the users would have to logon to the webpage and from that the username will be extracted.

 
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Re: Website Chat to ingame Chat.
« Reply #3 on: August 09, 2007, 08:53:27 AM »

there is a module called AutoMsg but not the 1 i posted
this module checks a table for entires and then relay to gc or wateva if anything is found
then all u need to do is have your site make the entires
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
lazarus
Rookie
**
Offline Offline

Posts: 25


Re: Website Chat to ingame Chat.
« Reply #4 on: August 20, 2007, 03:42:51 AM »

Nice Smiley but how do i get the ingame chat to the database? Smiley
anyone have made a logger to database? Smiley
Logged
Ebag333
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 132


Re: Website Chat to ingame Chat.
« Reply #5 on: August 20, 2007, 10:47:39 AM »

Logging chat to the database would be rather slow, and eat up a lot of processing/etc.

Writing to a text file is quicker and probably better.

You could write a module to capture all GC chat, write to a text file, then have your webpage script pick that up, and output it.
Logged
lazarus
Rookie
**
Offline Offline

Posts: 25


Re: Website Chat to ingame Chat.
« Reply #6 on: August 23, 2007, 06:04:37 AM »

What if I had a dedicated bot to only log the GC chat? with a continued open connection to the SQL?
or the text thing is better?
Logged
Ebag333
BeBot Contributor
Apprentice
*******
Offline Offline

Posts: 132


Re: Website Chat to ingame Chat.
« Reply #7 on: August 23, 2007, 10:29:57 AM »

Every time you write to SQL, it's expensive.

No one's saying you can't do it, just that it won't be that fast.
Logged
Lawbrkr
Freshman
*
Offline Offline

Posts: 2


Re: Website Chat to ingame Chat.
« Reply #8 on: August 23, 2007, 06:43:48 PM »

You really you should look into http://www.pjirc.com/main.php , It works well and can be integrated into a forum or web page quite nicely. I have it set up on my forums using SMF. Certainly less complex than any other method I can come up with.
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Coding and development discussion > Topic: Website Chat to ingame Chat.
« previous next »
 
Jump to:  

Recent
[request] Raid timers
by Alreadythere
[Today at 11:42:32 AM]

Shared DB online list
by Temar
[Today at 01:55:47 AM]

relay colors
by Temar
[Today at 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: 11143
Total Topics: 1505
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 15
Total: 16

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.269 seconds with 28 queries. (Pretty URLs adds 0.026s, 4q)
Loading...