Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 02:26

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Pre-Release] Would anyone want/need this? (live serverfeed)

Discussion on [Pre-Release] Would anyone want/need this? (live serverfeed) within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 07/12/2013, 11:58   #16
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
I honestly don't know what you mean. What exactly will cause the website to "hang effectively for several seconds before giving up".

Either you don't get how this works, or.. well, that's basically it.

I've had this run on a popular server for over 2 months, avarage online players 24/7 is about 100, the server was down for maintenance server times, etc etc etc. Never ever caused any problem, and I don't see why it would either.
_Emme_ is offline  
Old 07/12/2013, 16:03   #17
 
turk55's Avatar
 
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
Quote:
Originally Posted by 'Emil View Post
The point behind it is to make the CO websites a little better because right now the standard is ****.
I totally agree on this, I did write some stuff for multiple servers that would made the website a bit more interactive unlike the static stuff 99% of the websites have.

The last thing I was writing that was part of ingame was a live character status, with this I mean the status window that you have ingame on the website (with the backgrounds, buttons etc ). I never bothered finishing it though.
turk55 is offline  
Old 07/12/2013, 23:59   #18
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by Korvacs View Post
The gameserver which hosts the database, obviously. And those are great, however they will need to timeout as I said, making the website hang effectively for several seconds before giving up.

Also neither of those are implemented in this, so this is badly thought out as I said.
If the ajax times out it just won't populate data but it won't interfere with normal loading as it's an async request and does not block any other website functionality.

I think I get what you're describing (server db not being on website host and therefor the db connection timing out) but it's all easily handled in both the ajax request timeout (client side) and the php/mysql processing (server side)
pro4never is offline  
Old 07/13/2013, 04:59   #19
 
elite*gold: 0
Join Date: Nov 2012
Posts: 19
Received Thanks: 0
good job
iPwnYa" is offline  
Old 07/18/2013, 16:36   #20
 
elite*gold: 0
Join Date: Jul 2008
Posts: 98
Received Thanks: 6
I think its great for a website, so others can see the activity before donwloading the client. its also funny to see your name on a site when u killed someone =p
when will you release this?
alex4war is offline  
Old 08/10/2013, 02:55   #21
 
elite*gold: 0
Join Date: Jul 2013
Posts: 2
Received Thanks: 0
Quote:
Originally Posted by 'Emil View Post
Yup, very simple. Just save data to a record-table, if binaries you'll have to do it via cq_action I believe. Read the data with AJAX with an interval, if new data present it with an effect.

It's a really nice addon though and so far I haven't seen anyone have this, so why not.
any code released yet ? i am exited to know how it was implemented in the frontend side
BeshoSmile is offline  
Old 08/15/2013, 14:25   #22
 
elite*gold: 0
Join Date: Feb 2013
Posts: 26
Received Thanks: 2
great and awesome , i really like it
it's new idea and it will help a lot

it would be great to release it
+ thanks
!KrAToS! is offline  
Old 08/22/2013, 06:31   #23
 
elite*gold: 0
Join Date: May 2010
Posts: 21
Received Thanks: 1
waiting for the Release

Thanks ..
Dr.Vista is offline  
Old 09/05/2013, 03:52   #24
 
elite*gold: 0
Join Date: Feb 2013
Posts: 26
Received Thanks: 2
Maybe this will not be released
!KrAToS! is offline  
Old 09/06/2013, 19:57   #25
 
Deathmist's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 126
Received Thanks: 74
Nice that you implemented it on a wow website, I'm getting ****** off when I see 'programmers' or 'web developers' using wow websites.
Deathmist is offline  
Old 09/06/2013, 20:07   #26
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
It seems like this is never going to be released, so I'm going to move this to the discussions section. "Pre-releases" that are just showcases will no longer be allowed in the releases section.
Spirited is offline  
Old 09/07/2013, 00:30   #27
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Quote:
Originally Posted by Deathmist View Post
Nice that you implemented it on a wow website, I'm getting ****** off when I see 'programmers' or 'web developers' using wow websites.
The website used for the video was just for sake of the demo, from what I can remember it's the site TriumphCO used.

I just love how you put programmer/web developer in quotation marks btw.

@Fang
It's on my laptop and I cba booting it up.
_Emme_ is offline  
Old 09/09/2013, 13:31   #28

 
Novakhan's Avatar
 
elite*gold: 15
Join Date: Dec 2008
Posts: 332
Received Thanks: 137
First, This was not implemented on a WoW website, But on a flyff php based template, which can be seen . And it's not triumphco one. It's mine. The conquer version of this template is not and won't be released.
Novakhan is offline  
Old 09/10/2013, 11:42   #29
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Quote:
Originally Posted by elhermanos View Post
First, This was not implemented on a WoW website, But on a flyff php based template, which can be seen . And it's not triumphco one. It's mine. The conquer version of this template is not and won't be released.
Sorry, mixed it up with TriumphCO (which is a WoW template). The live serverfeed has nothing to do with the template what-so-ever, you can run it on a blank page if you so wish, I just grabbed a template quickly to get some styling onto it.


jQuery code (on top of my head, don't have it on this computer)
Code:
$(document).ready(function() {
  setInterval(function() {
	$.ajax({
		type:"POST",
		url:"/ajax/feed.php",
		dataType:"json",
		success:function(response) {
			if($("ul.feed li:first").html() != response)
			{
				$("ul.feed").prepend('<li>' + response + '</li>').find("li:first").hide().show("blind", {percent: 100}, 350);
				$("ul.feed li:last").remove();
			}
		});
    }, 2500);
});
Will fetch data from feed.php every 2.5 seconds, which should return the latest happening. If it's already the latest one, it won't update.


feed.php should just grab the latest object from a database template, and echo it out.
If you're implementing this, use MySqli.
Code:
//setup your connection
$item = mysql_fetch_assoc(mysql_query("SELECT * FROM happenings ORDER BY id DESC LIMIT 0,1"));
echo $item['content'];
HTML:
Code:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<ul class="feed">

</ul>
CSS:
Code:
.feed {
	height: 240px;
}
.feed li {
	padding: 12px;
	border-bottom: 1px solid #122;
	width: 90%;
	margin-left: 5px;
	color: #b19e7a;
}
Then the rest takes place in the source. At the event you wish to add to the database (such as loot a DB, login/logout etc) simply just add a row to the table, simple as that.
_Emme_ is offline  
Old 09/11/2013, 14:33   #30
 
elite*gold: 0
Join Date: Mar 2007
Posts: 27
Received Thanks: 2
i was more interested in the C# aspect of this, I could easily handle the web dev side but when it comes to C# i get lost haha regardles, nice release. Thanks.
mike12255 is offline  
Reply


Similar Threads Similar Threads
S3 Release jetzt gerade live !
05/04/2012 - Smartphones - 2 Replies
hey, hier ist der Live-Ticker zum neuen Samsung Galaxy SIII Galaxy-S3-Event: Was hat Samsung alles im Gepäck? - Handy - Bild.de mfg. Azzzlack
World of Live - Not your Real Live, Just your Play Live!
05/11/2011 - Metin2 PServer Advertising - 176 Replies
http://img821.imageshack.us/img821/4219/vorwortf.p ng Hallo Com! Ich stelle euch heute den Server World of Live vor! Er war schon mal Online, jedoch ging er down, da es unzuverlässige GameMaster gab. Jetzt versuchen wir es erneut! http://img42.imageshack.us/img42/4508/serverkonze pt.png Der Server bietet Euch ein perfektes PvP sowohl auch PvM System an!
[RELEASE] Live Users (PHP)
12/10/2010 - Dekaron Private Server - 1 Replies
Here is a small script to list all user_id's that are currently online WARNING! - THIS PULLS 1 QUERY EVERY 3 SECONDS - - Thats 20 query's in 1min - Thats 1200 every hour! You can change the time, on line 21 (in online.html) you'll find: 3000 = 3 sec



All times are GMT +1. The time now is 02:26.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.