Creating a Live stream

VaginaMuncher

Chilling with me bitch Fiona
Mar 17, 2013
447
58
VdkahoR.png

I am fully aware that this has a reference to Habbo so don't point out the obvious...
So why did I post it here? Because no one else would respond the Habbo community is mostly noobs who couldn't fix a markup in HTML. So I figured as this would be visible to more users I'd take the opportunity
This is infact a Roleplay server and I have it all up and running, custom emulator & cms design.
Do not get thrown of by the fact its habbo as it will have nothing much to do with it. I want to pull a live stream which would be like as follows:

Example; a user kills another user, (Fred vs Brad, Fred wins and kills him)
So it would show a picture of Fred's head saying "Fred 'killed' Brad"

Not just for hitting etc, would be general list of wanted people so when you become wanted you get put on instantly automatically.
 

Kaz

BooYah
Staff member
Nov 16, 2010
3,064
1,025
You will need to modify the server code, so when a user is killed, it pulls the killers name (preferably by id incase of a name change) along with their look. (you would then need to do this for all actions you wish to log)
From this you will then insert this into a database table, lets say live_feed
Id, user, action, time

I have added action in there, so you can specify what happens (user killed, user dead, user arrested) this way you can then maybe have a 'sort by' for the live feed allowing users to see various logs
 

VaginaMuncher

Chilling with me bitch Fiona
Mar 17, 2013
447
58
Are these actions stored in your database?
No they're not

You will need to modify the server code, so when a user is killed, it pulls the killers name (preferably by id incase of a name change) along with their look. (you would then need to do this for all actions you wish to log)
From this you will then insert this into a database table, lets say live_feed
Id, user, action, time

I have added action in there, so you can specify what happens (user killed, user dead, user arrested) this way you can then maybe have a 'sort by' for the live feed allowing users to see various logs
Wow that seems complicated
 

Donkjam

Professional Moderator
Contributor
Nov 20, 2010
1,610
1,605
the way i thought to do this is like Kaz said, everytime a user kills somebody, write this to the database then simply (jquery?) on the live feed which shows this data from the database
 

Users who are viewing this thread

Top