Register for your free account! | Forgot your password?

You last visited: Today at 18:34

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

Advertisement



PHP Source

Discussion on PHP Source within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2010
Posts: 7
Received Thanks: 0
PHP Source

Anyone here can develop Basic PHP Source Code For CO Server?
maxlovely is offline  
Old 12/09/2014, 18:43   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Running a full server coded in PHP would be pretty pointless imo... I mean yes, you could prob do it without too many issues but 'why'? I assume it's because you want to be able to host your server using a web host rather than needing a vps/dedi server but they will likely have harsh cpu/ram limits for your web host making it nearly impossible/pointless.

OR you misspoke and you're looking for web scripts (online count, server status, registration, etc) in which case there's some in the release section.
pro4never is offline  
Old 12/09/2014, 18:47   #3
 
elite*gold: 0
Join Date: Aug 2010
Posts: 7
Received Thanks: 0
I want just basic PHP source has some kinds of log in packets,npcs ..etc.so I will be able to run server on any system such UNIX
maxlovely is offline  
Old 12/09/2014, 19:09   #4
 
turk55's Avatar
 
elite*gold: 130
Join Date: Oct 2007
Posts: 1,652
Received Thanks: 700
Why don't you pick another language and use it for what it is meant for. The idea behind PHP is to create a dynamic website and not a gameserver. If you want to support multiple platforms I suggest you to look into COPS v7.
turk55 is offline  
Old 12/09/2014, 19:12   #5
 
elite*gold: 0
Join Date: Aug 2010
Posts: 7
Received Thanks: 0
I saw pointblank PHP EMU so I tried to make CO PHP Source But I can't I never handle pakets
maxlovely is offline  
Old 12/09/2014, 19:29   #6
 
donn's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 485
Received Thanks: 272
COPS V7 is developed in C++/Qt and can run on any Unix platform, why don't you give it a try?
donn is offline  
Old 12/09/2014, 19:35   #7
 
elite*gold: 0
Join Date: Aug 2010
Posts: 7
Received Thanks: 0
Quote:
Originally Posted by donn View Post
COPS V7 is developed in C++/Qt and can run on any Unix platform, why don't you give it a try?
I C++ is so hard but I can code with PHP
maxlovely is offline  
Old 12/09/2014, 20:01   #8
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Quote:
Originally Posted by maxlovely View Post
I C++ is so hard but I can code with PHP
You obviously cannot if you cannot even handle a socket connection properly in it...

It's a REALLY poor idea (no benefit, tons of drawbacks) but if you insist on doing it it's not really any different from coding a pserver in any other language that supports socket.

Keep a socket connection open and send/receive information over that connection. Anything past that is just a matter of logic/data processing (encryption, authentication sequence, game logic)
pro4never is offline  
Old 12/09/2014, 20:19   #9
 
elite*gold: 0
Join Date: Aug 2010
Posts: 7
Received Thanks: 0
But I can pay to any one can make it for me
maxlovely is offline  
Old 12/09/2014, 22:02   #10
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
I strongly doubt you want to pay enough to make it worth someone's time to write you a php based server.

You'd be writing everything from scratch with no php related examples. You'd be looking at hundreds of dollars to pay enough for someone's time to write even just basic login functionality (let alone anything past that)
pro4never is offline  
Old 12/09/2014, 22:24   #11


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,146
PHP is not designed to run a game server. Doing one in PHP would be really stupid. If the only reason is to have a cross-platform source or because you don't know other languages, well, that's pretty bad reasons...

COPS v7 is the only source on this forum that I'm aware of to be designed with cross-platform support in mind. It will work on any UNIX-like system (Unix, GNU/Linux, OS X) and on Windows systems. Also, it should work on any processor architecture (tested at least with Intel (i386, x86_64), PowerPC (ppc, ppc64) and ARM). Although I don't recommend it, you could run it on a Raspberry Pi...

COPS v6 could work with Mono with some minor modifications (I have a working version).
CptSky is offline  
Old 12/11/2014, 11:10   #12
 
InsomniacPro's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 397
Received Thanks: 205
This section must have turned into humor posting.
InsomniacPro is offline  
Thanks
1 User
Old 12/11/2014, 15:01   #13
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 946
Quote:
Originally Posted by CptSky View Post
PHP is not designed to run a game server. Doing one in PHP would be really stupid. If the only reason is to have a cross-platform source or because you don't know other languages, well, that's pretty bad reasons...

COPS v7 is the only source on this forum that I'm aware of to be designed with cross-platform support in mind. It will work on any UNIX-like system (Unix, GNU/Linux, OS X) and on Windows systems. Also, it should work on any processor architecture (tested at least with Intel (i386, x86_64), PowerPC (ppc, ppc64) and ARM). Although I don't recommend it, you could run it on a Raspberry Pi...

COPS v6 could work with Mono with some minor modifications (I have a working version).
My D source too, unfortunately I've only released the sockets so far though.


I've only finished the auth server of my source though, but I expect to be able to finish the login sequence and basics, the release first revision of it.
Super Aids is offline  
Old 12/11/2014, 15:40   #14


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
We've been through this before, not the first time someone decided to try and write a source in PHP.

Don't do it, don't even attempt it you are literally wasted your time on it.
Korvacs is offline  
Old 12/12/2014, 04:12   #15
 
x[t]c's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 33
Received Thanks: 6
If your bound determined to code one in PHP, you can start here:



Nobody is going to code one for you, and one doesn't exist, so you will have to start on your own.
x[t]c is offline  
Reply


Similar Threads Similar Threads
[WTS] Steam ACC - Counter Strike Source, Day of Defeat: Source und Half-Life 2: Death
12/12/2010 - Counter-Strike Trading - 1 Replies
Delete.
[Request]Black&White Source or other source for version 5065 or 5095
04/11/2009 - CO2 Private Server - 22 Replies
I need Source Black and White or from other server i wanna Start a server.. All who help me will got Pm or Gm on my server.. ________
[Release]How To Make Tq Source Work + Working Source + Server ByBass + Commands
12/08/2008 - CO2 PServer Guides & Releases - 15 Replies
1: How To Make The Server Work In fact, before other people did not just let ACC now with hi EACC Columbia landing on the settlement of the issue, and the rest is our own how to improve the content of those interested can improve the next. MY MY set and the same. INI MAP INI files and MAP with the client-to-date coverage of the account. server.dat ! And then as long as the client will be able to modify server.dat! 127.0.0.1 192.168.0.1 192.168.1.1 IP。 Please do generally use...



All times are GMT +1. The time now is 18:34.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.