PHP-MySQL Live Server Console [Kinda like Custom IRC]
#1

I build a console from scratch using nothing but PHP, MySQL and some JavaScript to refresh it. It got up to a point where there was no lag and I'm pretty proud of it . It also allows you to talk in-game with the players!!

Thought you guys & gals might like it, it's on my website's UCP so you need to log in:

Username: samp_test
Password: 1234

(it will auto-redirect you after you log in)

Website: http://www.stunt-planet.com/ucp/?pg=console

What you see is a live feed from our server, you can type in text in the input box to chat, admins can also see bans, kicks, etc .. and can talk in the admin chat (on 3 different levels) using the console. Regular players can only chat in the main chat.

I'm not trying to promote my website ... I just haven't seen this anywhere else yet so I thought it would be cool to show it's possible to build an actual IRC from just mysql and php.

Suggestions are always welcome
Reply
#2

Not really suitable, consider using the sockets plugin for greater usage.
Reply
#3

Quote:
Originally Posted by Lorenc_
View Post
Not really suitable, consider using the sockets plugin for greater usage.
Could you explain what it does? Never really used it before :/
Reply
#4

I can't even display the website, it seems to be down?
Reply
#5

Omg this is awesome !
Reply
#6

nice one and the website is running fine
Reply
#7

It's pretty nice, but maybe you should use jQuery to update the page so it wouldn't flicker, but rather fade in new entries(kindof like youtube automatically updated comments).
Reply
#8

AJAX calls would be better, so that the page doesn't even look like it's refreshing or nothing.
Reply
#9

I'll look into the AJAX, the fading is a really great idea
Reply
#10

Quote:
Originally Posted by [UE]Milan
View Post
nice one and the website is running fine
By the time i wrote that the website didnt run fine.

OP:
Rather use AJAX or Jquery to reload the content.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)