Raised This Month: $51 Target: $400
 12% 

ChatLog v1.3.7 (Extended)


Post New Thread Reply   
 
Thread Tools Display Modes
NaRyan
Member
Join Date: Jan 2010
Location: United Kingdom
Old 02-04-2010 , 12:00   Re: ChatLog v1.3.7 (Extended)
Reply With Quote #91

Installed this today on my 3 servers (L4D1, L4D2 & GMOD)
Only issue I'm having is in L4D1&2 it's showing player connect/disconnect twice.

Quote:
04/Feb 16:448 Player =[Half-Pint]= connected
04/Feb 16:448 Player =[Half-Pint]= connected

04/Feb 16:53:28 Player =[Half-Pint]= disconnected (Disconnect by user.)
04/Feb 16:53:28 Player =[Half-Pint]= disconnected (Disconnect by user.)
NaRyan is offline
cybersquare420
Veteran Member
Join Date: Nov 2008
Old 02-04-2010 , 13:24   Re: ChatLog v1.3.7 (Extended)
Reply With Quote #92

how difficult would it be to send chat information in the other direction? i.e. chat to the server from the web interface...
__________________
cybersquare420 is offline
anon666
Member
Join Date: Apr 2009
Location: south east asia
Old 02-04-2010 , 16:18   Re: ChatLog v1.3.7 (Extended)
Reply With Quote #93

Quote:
Originally Posted by cybersquare420 View Post
how difficult would it be to send chat information in the other direction? i.e. chat to the server from the web interface...
It can be achieved by using any PHP Rcon implementation and issuing the console "say" command.
anon666 is offline
cybersquare420
Veteran Member
Join Date: Nov 2008
Old 02-04-2010 , 20:20   Re: ChatLog v1.3.7 (Extended)
Reply With Quote #94

that would work, but i want it open to the public on our clan website... i don't think giving johnny Pub the rcon connection would be a very good idea... lol

im thinking maybe something with irq
__________________
cybersquare420 is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 02-04-2010 , 20:53   Re: ChatLog v1.3.7 (Extended)
Reply With Quote #95

Well basically all you need to give them is a text box to type in.

Using a server-side private script (ie, not viewable/downloadable by the client) you can automatically login and add the contents of that box to "rcon say " and all they will be able to do is say stuff.

You can also append a name to the beginning of it so it doesn't just say "Console:" it'll say "Console: Johnny: " instead, for example.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
cybersquare420
Veteran Member
Join Date: Nov 2008
Old 02-04-2010 , 21:09   Re: ChatLog v1.3.7 (Extended)
Reply With Quote #96

/me head in hands...

Man, i wish i had taken a class in php in college... took VB instead... fat lot of good that has done me... lol

ok... ima gonna need to find a decent php tutorial and brush up a it i guess...

thank you for your insight
__________________
cybersquare420 is offline
anon666
Member
Join Date: Apr 2009
Location: south east asia
Old 02-05-2010 , 06:55   Re: ChatLog v1.3.7 (Extended)
Reply With Quote #97

Quote:
Originally Posted by anon666 View Post
I have came across http://ruckman.net/blog/download.php?view.4. It is basically an RCON panel and I think it can improved to include captcha or other authentication methods to prevent spamming. At the moment, I managed to modify the codes from the package to have a basic chat panel (without authentication at all, and using the hardcoded IP/PASS in the php).
I never bothered to include authentication. Credit goes to Ruckman. I stripped all of the commands except the say command. Put your server ip/port/pass in rcon.php and you'll be good to go. Feel free to modify or improve it. Sorry if it is a bit messy. I have no programming background except reading a bit of tutorials on W3Schools & PHP.net
Attached Files
File Type: rar rcon.rar (2.7 KB, 104 views)
anon666 is offline
cybersquare420
Veteran Member
Join Date: Nov 2008
Old 02-05-2010 , 10:20   Re: ChatLog v1.3.7 (Extended)
Reply With Quote #98

well, i got the page up and running, but i still cannot get it to send to the servers... i have tried many different versions of my url just to be sure... (with and without http://... with and without trailing slash... etc) i think something is not quite right with the code (but i am not sure) a friend who is better with code than me is gonna look it over for me later... ill post back what i find out...
did you test this? not saying u didnt... just trying to figure out if it is my setup or not is all...
anyhow thank you much your efforts... it has at least given me a starting point.
__________________
cybersquare420 is offline
anon666
Member
Join Date: Apr 2009
Location: south east asia
Old 02-05-2010 , 14:06   Re: ChatLog v1.3.7 (Extended)
Reply With Quote #99

I've been using that since L4D, and it does work on my L4D2 server.

Screenshot

Last edited by anon666; 02-05-2010 at 14:09.
anon666 is offline
anon666
Member
Join Date: Apr 2009
Location: south east asia
Old 02-06-2010 , 01:41   Re: ChatLog v1.3.7 (Extended)
Reply With Quote #100

By the way, if the gameserver and the webserver is on the same machine or in the same subnet, you might want to try putting the gameserver's LAN IP in the php script instead of its public IP.
anon666 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode