Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 03:17

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

Advertisement



[Release] Private Servers Sites (Good Feautures) + [Learning] Basics(Beginners)[LONG]

Discussion on [Release] Private Servers Sites (Good Feautures) + [Learning] Basics(Beginners)[LONG] within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
danielachraf's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 958
Received Thanks: 494
[Release] Private Servers Sites (Good Feautures) + [Learning] Basics(Beginners)[LONG]

I am releasing that because i saw many ppl don't know anything about html/php and need pages for them servers .. so i decided to release that and they can learn and build their pages easy ... maybe will be big release but ok.
This page is bad and poorly made i know because i am working on mine now (Good one) so you must for some tips and make it good, Also search in google for CSS tut .. etc and you will find good things.

Site Feautures
- Link back
- Register Page
- Patches Page
- ChatBox
- Voting Page
- Forum (Yours)
- Learning Some basics
- Editable (easy)

Works on
- LOFT
- CoEmu
- Hybirb
- For testing the page you can type in your browser 127.0.0.1/Conquer/register.php
(You must edit it (Will show how) to make it on different sources)

ScreenShot For the HomePage


Learning
- First in each page (.php) you need to search for
PHP Code:
$link=mysql_connect ("localhost""root""123") or die ('Error: ' mysql_error());
mysql_select_db ("coproj"); 
(root and 123) User name and pass you can change them , coproj is the name of DB (you can change it to conqueremu if you want it to work on CoEmu source , or hybird..)
-----
About link back , i put the image of epvpers in images folder and i will tell you how to make it link back . the code is :
PHP Code:
<a href="http://www.elitepvpers.com/" target="_blank"><img alt="Elitepvpers" border="0" src="Images/elitepvpers.gif" ></a
You see the site of epvpers .. When you click on the (Images/elitepvpers.gif) the image directory it will direct you to epvpers
-----
in register, First i will talk in small thing, How can you make what you type in password box show *******. i won't explain , i will show you the code only..you should understand.
PHP Code:
Username: <input type="text" name="username" size="30" /></br>
Password: <input type="password" name="password" size="30" /></br>
EmailAdr: <input type="text" name="email" size="30" /></br
-----
Make Register page From loft to CoEmu or whatever , first you will look at this part
PHP Code:
$check mysql_query("SELECT * FROM accounts WHERE AccountID = '$username'");
$check2 mysql_num_rows($check);
if(
$check2 != '0') {
die(
"Username: '".$username."' is in use!");

if you know mysql good you will understand , if not .. FROM accounts means the table name (You can change it) (This part isn't important)
Look now at this part
PHP Code:
mysql_query("INSERT INTO accounts (AccountID,LogonType,Email) VALUES ('$username','2','$email')"); 
die(
"Username '".$username."' successfully registered!"); } 
I said INSERT INTO accounts means will put something in this table, (AccountID,LogonType,Email) The fields where you will put the info and ('$username','2','$email')"); will insert in AccountID field what you write in username box .. look
PHP Code:
<input type="text" name="[SIZE="4"]username[/SIZE]" size="30" /> 
and 2 will insert in LogonType 2 automatic .. and so on
-----
Let's talk about link ,you want to enter Patches page from the register page or whatever.. You will need to put this code anywhere.
PHP Code:
<a href="patches.php" id="b2">Patches</a
patches.php means which page you want to go.. and Patches means the name of link in the page. was that hard ?!
-----
How to make a Direct download link ?, Ok Put the file anywhere for example a patch .. look at this code, it like a link but there's a Trick..
PHP Code:
<a href="patches/patch1.exe" id="b2">Download Now</a
patches/patch1.exe means in www folder , pathces folder and patch1.exe <- the patch .. The link will direct you to a page but this will direct you to patch , means will download it .. You must change the patches to your patches
Download Test1.rar and open test.php and look arround to know and learn
-----
Adding forum link, in every page you will find
PHP Code:
<li><a href="#" id="b2">Forum</a></li
Replace # with or whatever .. also # means no website
-----
Changing Votes links,in register.php search for
PHP Code:
<a href="http://www.elitepvpers.com/" target="_blank"><img alt="Vote" border="0" src="images/vote.jpg" ></a
and replace with yours , and go to Vote.php and replace all to yours ...
-----
Adding ChatBox page... and other pages (Already did), You can make new .php file (name of the page) and copy all things in patches.php and then delete :
PHP Code:
Patch 1001: <a href="patches/1001.exe" target="_blank"><img alt="Direct Mirror" border="0" src="images/download.gif" ></a></br>
Patch 1002: <a href="patches/1002.exe" target="_blank"><img alt="Direct Mirror" border="0" src="images/download.gif" ></a>
</
br>Patch 1003: <a href="patches/1003.exe" target="_blank"><img alt="Direct Mirror" border="0" src="images/download.gif" ></a
and between <center></center> add your chatbox code
-----
Some codes you may use in typing .. fonts .. etc ..
PHP Code:
<b></b>  <u></u>  <i></i
Right, Left, Center
PHP Code:
<div align=right></div> or left, <center></center
-----
I know this guide maybe not in conquer but will stop useless questions about Sites
if you have any problem please post here..
If you want to know more about html/php add me i have alot of free time tommorow , also i am not good designer (making images and banners)
Press thanks if this post helped you..
Attached Files
File Type: rar Website.rar (165.5 KB, 160 views)
File Type: rar Test1.rar (162.3 KB, 106 views)
danielachraf is offline  
Thanks
6 Users
Old 07/29/2009, 06:03   #2
 
elite*gold: 0
Join Date: Oct 2008
Posts: 430
Received Thanks: 176
I'd throw on a password verification, just to be safe. A lot of people type fast, and are very likely to make a mistake, last thing you want is a ton of unused database entries due to the fact that people don't take their time. Of course, that's simply if you don't have a system for retrieving lost passwords.
Incariuz is offline  
Old 07/29/2009, 13:54   #3
 
danielachraf's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 958
Received Thanks: 494
Quote:
Originally Posted by Incariuz View Post
I'd throw on a password verification, just to be safe. A lot of people type fast, and are very likely to make a mistake, last thing you want is a ton of unused database entries due to the fact that people don't take their time. Of course, that's simply if you don't have a system for retrieving lost passwords.
I'll update it For loft .. not hard , after making input and box you can look here
PHP Code:
if(isset($_POST['Submit'])) {
if(!
$_POST['username']) {
die(
'You must fill in all of the fields!');

, also retrieving passwords is easy .. we can talk on msn
danielachraf is offline  
Thanks
1 User
Old 07/29/2009, 14:26   #4
 
Michael Emil's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 18
Received Thanks: 0
WOW... good job man
Michael Emil is offline  
Old 07/29/2009, 16:01   #5
 
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,000
+T for including the elitepvers banner/link, lol.
tanelipe is offline  
Old 07/29/2009, 16:34   #6
 
elite*gold: 0
Join Date: Jul 2009
Posts: 548
Received Thanks: 52
lol if you saw hybrids about this kind of stuff, using LOTF this would be wrong =]]



f0am is offline  
Old 08/08/2009, 22:49   #7

 
elite*gold: 169
Join Date: Jan 2009
Posts: 1,567
Received Thanks: 509
Nice
Xanrry is offline  
Old 08/08/2009, 23:27   #8
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
"SELECT * FROM accounts WHERE AccountID = '$username'"
=
"SELECT * FROM accounts WHERE AccountID = ''; DROP ALL /*'"
when $username = "'; DROP ALL /*"
have fun with that.
_tao4229_ is offline  
Old 08/09/2009, 01:02   #9
 
elite*gold: 0
Join Date: Aug 2006
Posts: 323
Received Thanks: 14
Sorry if you did, but I dont believe you made this.
On the register page you included a password box that doesnt do anything too...
killermickle is offline  
Reply


Similar Threads Similar Threads
Private servers? (Good)
02/03/2009 - RF Online - 9 Replies
I need a good private server Anyone know a private server in which you start at level 55 *Heehee* Or no quest to level 50-55 or something :P Or just an amazing server :P
How long does this sites hack work?
04/22/2008 - Cabal Hacks, Bots, Cheats, Exploits & Macros - 4 Replies
I was saying when does hacks/bots like these usually get patched, so do they last more than 2 weeks or even a month? Ty to whoever answers = ]
Good private servers?
06/15/2007 - Conquer Online 2 - 0 Replies
Since Qonquer seems to have been completely fucked by lag for months now.. Are there any promising private servers that have normal or close to normal leveling speed? Getting bored of the normal co which is seeming pointless, if i bot it's just watching gears rise, if i don't well i'll be crap compared to others.
ne good free private servers?
02/06/2006 - WoW Private Server - 0 Replies
Sorry if this has been repeated but i cant read most of what u said cause u write it in dutch so.. if there is any good private server for WOW plz let me know by replaying or PMing me



All times are GMT +2. The time now is 03:17.


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.