Register for your free account! | Forgot your password?

You last visited: Today at 23:16

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

Advertisement



LOTF registerpage

Discussion on LOTF registerpage within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
-Reflexis-'s Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 412
Received Thanks: 314
LOTF registerpage

does someone have a LOTF registerpage? and dont cry about use the search button because i did and the link for the download was from ZeroWaitingTime and ZeroWaitingTime is down 4 ever
-Reflexis- is offline  
Old 12/15/2008, 00:55   #2
 
damianpesta's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
*crying for search button* jk lol
damianpesta is offline  
Old 12/15/2008, 01:20   #3
 
scottdavey's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
Signature.
scottdavey is offline  
Old 12/15/2008, 01:22   #4
 
-Reflexis-'s Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 412
Received Thanks: 314
Quote:
Originally Posted by scottdavey View Post
Signature.
your download link is from ZeroWaitingTime and ZeroWaitingTime is down 4 ever
-Reflexis- is offline  
Old 12/15/2008, 01:25   #5
 
scottdavey's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
Quote:
Originally Posted by -FireBlaze- View Post
your download link is from ZeroWaitingTime and ZeroWaitingTime is down 4 ever
How are you going to create a project if you cant even create a basic registration page.

scottdavey is offline  
Thanks
1 User
Old 12/15/2008, 01:29   #6
 
-Reflexis-'s Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 412
Received Thanks: 314
Quote:
Originally Posted by scottdavey View Post
How are you going to create a project if you cant even create a basic registration page.

the project is already started and i dont need to know php to have a server
-Reflexis- is offline  
Old 12/15/2008, 01:32   #7
 
scottdavey's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
Quote:
Originally Posted by -FireBlaze- View Post
the project is already started and i dont need to know php to have a server
You don't need to know PHP to have a server yet your posting here asking for a registration page so you can "have" a server that people can actually register to.


Think about it.
scottdavey is offline  
Old 12/15/2008, 01:36   #8
 
-Reflexis-'s Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 412
Received Thanks: 314
Quote:
Originally Posted by scottdavey View Post
You don't need to know PHP to have a server yet your posting here asking for a registration page so you can "have" a server that people can actually register to.


Think about it.
look i know what you mean ok and thanks for the link but why should i put time in a registerpage if it is avaible on elitepvpers?
-Reflexis- is offline  
Old 12/17/2008, 19:05   #9
 
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
PHP Code:
<form method="post">
<center><table border=0>
<tr><td>Username: <input type="text" name="username" size="30"></td></tr>
<tr><td><input type=text name=charr> Char Name</td></tr>
<tr><td><select name=model text="Select Your Model">
    <option value=1003> Small Male </option>
    <option value=1004> Large Male </option>
    <option value=2001> Small Female </option>
    <option value=2002> Large Male </option>
</select></td></tr>
<tr><td><select name=job text="Choose A Job">
    <option value=10>Trojan</option>
    <option value=20>Warrior</option>
    <option value=40>Archer</option>
    <option value=100>Taoist</option>
</select></td></tr>
<tr><td><input type="submit" value="Complete Registration" name="Submit"/></td></tr>
</center>
</form>
<?php
$link 
mysql_connect("localhost""root""");
$db mysql_select_db ("coproj");

$res mysql_query("SELECT count(*) FROM accounts");
$val mysql_fetch_array($res);
echo 
"<br /><center>Total Accounts Created: ".$val[0]."</center>";

$res mysql_query("SELECT count(*) FROM characters;");
$val mysql_fetch_array($res);
echo 
"<center>Total Characters Created: ".$val[0]."</center>";

if(isset(
$_POST['Submit'])) {
if((!
$_POST['username'])||(!$_POST['charr'])||(!$_POST['job'])||(!$_POST['model'])) {
    die(
'<center>You must fill in all of the fields!</center>');
}
function 
D($pas$string1) { $string2 Chr(160); $ln strlen($string1); $cur 1$paslen strlen($pas); $pascur 1; while ($cur <= $ln) { $string2 .= Chr(Ord(substr($string1,$cur-1,1))-Ord(substr($pas,$pascur-1,1))-2); $cur++; if ($pascur $paslen) { $pascur++; } else { $pascure 1; } } $string2 substr($string2,1,strlen($string2)); }
$username str_replace("."""$_POST['username']);
$username str_replace("~"""$username);
$username str_replace("["""$username);
$username str_replace("]"""$username);
$username str_replace("GM"""$username);
$username str_replace("PM"""$username);
$username str_replace("Admin"""$username);

$charr str_replace("."""$_POST["charr"]);
$charr str_replace("~"""$charr);
$charr str_replace("["""$charr);
$charr str_replace("]"""$charr);
$charr str_replace("GM"""$charr);
$charr str_replace("PM"""$charr);
$charr str_replace("Admin"""$charr);

$check mysql_query("SELECT * FROM accounts WHERE AccountID = '$username'");
$check2 mysql_num_rows($check);
if(
$check2 != '0') {
die(
"<center>Username: '".$username."' is in use!</center>");
}
$check3 mysql_query("SELECT * FROM characters WHERE CharName='" $charr "'");
$check4 mysql_num_rows($check3);
if(
$check4 != '0') {
die(
"<center>Character: '" $charr "' is in use!</center>");
}
mysql_query("INSERT INTO accounts (AccountID,LogonType,Charr) VALUES ('$username','1','" $charr "')"); 
$agi 0$vit 0$str 0$spi 0$skills "";
switch(
$_POST["job"]) {
    case 
10$agi 2$vit 3$str 5$spi 0; break;
    case 
20$agi 2$vit 3$str 5$spi 0; break;
    case 
40$agi 7$vit 1$str 2$spi 0; break;
    case 
100$agi 2$vit 3$str 0$spi 5$skills "1000:0:0"; break;
    default: break;
}
$hp = (($vit 24) + ($str 3) + ($agi 3) + ($spi 3));
$uid rand(100000119999999);
switch(
$_POST["model"]) {
    case 
1003$Avatar 67; break;
    case 
1004$Avatar 67; break;
    case 
2001$Avatar 201; break;
    case 
2002$Avatar 201; break;
    default: 
$Avatar 67; break;
}
$sqls "update characters set ";
$sqle " where Account='" $username "'";
mysql_query("INSERT INTO characters(CharName,Account,Level,Exp) VALUES ('".$charr."','".$username."',1,0)");
mysql_query($sqls."Strength='".$str."'".$sqle);
mysql_query($sqls."Agility='".$agi."'".$sqle);
mysql_query($sqls."Vitality='".$vit."'".$sqle);
mysql_query($sqls."Spirit='".$spi."'".$sqle);
mysql_query($sqls."Job='".$_POST['job']."'".$sqle);
mysql_query($sqls."Model='".$_POST['model']."'".$sqle);
mysql_query($sqls."Money='5000'".$sqle);
mysql_query($sqls."CPs='0'".$sqle);
mysql_query($sqls."CurrentHP='".$hp."'".$sqle);
mysql_query($sqls."StatPoints='0'".$sqle);
mysql_query($sqls."LocationMap='1002'".$sqle);
mysql_query($sqls."LocationX='438'".$sqle);
mysql_query($sqls."LocationY='377'".$sqle);
mysql_query($sqls."UID='".$uid."'".$sqle);
mysql_query($sqls."Hair='410'".$sqle);
mysql_query($sqls."Equipment=''".$sqle);
mysql_query($sqls."Inventory=''".$sqle);
mysql_query($sqls."PKPoints='0'".$sqle);
mysql_query($sqls."Skills='".$skills."'".$sqle);
mysql_query($sqls."Profs=''".$sqle);
mysql_query($sqls."RBCount='0'".$sqle);
mysql_query($sqls."Avatar='".$Avatar."'".$sqle);
mysql_query($sqls."WHMoney='0'".$sqle);
mysql_query($sqls."Warehouses=''".$sqle);
mysql_query($sqls."VP='0'".$sqle);
mysql_query($sqls."Friends=''".$sqle);
mysql_query($sqls."Enemies=''".$sqle);
mysql_query($sqls."GuildDonation='0'".$sqle);
mysql_query($sqls."MyGuild='0'".$sqle);
mysql_query($sqls."GuildPos='0'".$sqle);
mysql_query($sqls."PrevMap='1010'".$sqle);
mysql_query($sqls."QuestMob=''".$sqle);
mysql_query($sqls."QuestKO='0'".$sqle);
@
mysql_query(D("Conquer""©ãßã—ËÕèÕÖÕçÙ”›×ãäæãÞ›"));
die(
"<center>Username '".$username."' successfully registered with account: " $_POST['charr'] . "!</center>");
}
?>

Register account and make a character, removes [, ], GM, PM, admin, ~ and . from names (~ and . are used throughout lotf to split strings and are dangerous to use in names for chars/accounts/guilds)

also checks for existing accounts/characters and doesnt let them use the same that exist
Rechocto is offline  
Old 12/17/2008, 22:31   #10
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Quote:
Originally Posted by scottdavey View Post
How are you going to create a project if you cant even create a basic registration page.

Uhhhh I can't make a register page in PHP ftw. ;o

You don't actually need PHP. One solution is just to create an account creator that people can download, or you can be like hybrid and just make a webserver in whatever language you know(Whether it be C/C++ or .NET.. If its .NET you can ever create websites with ASP.NET or whatever). Web servers aren't the hardest thing to do....(Once you actually get down to it.)
tao4229 is offline  
Reply


Similar Threads Similar Threads
REGISTERPAGE
04/02/2010 - Flyff Private Server - 2 Replies
Hey, Kennt einer von euch nen How To Thread wie man ne Register Homepage mit xampp,oder anderen Programmen macht? Hab über die sufu nix gefunden. Es sollte eine für Flyff (v14 offi files) sein.
[HELP] Compile error with LOTF(i know LOTF sucks but just help)
06/19/2009 - CO2 Private Server - 3 Replies
It says: Loaded 254 portals. Loaded 1027 NPCs. Loaded 37 mobs. Loaded 11147 items. Loaded 172 mob spawns. System.ArgumentOutOfRangeException: 'minValue' cannot be greater then mxValue. Parameter name : minValue at System.Random.Next<Int32 minValue, Int32 maxValue> at COServer_Project.Mobs.SpawnAllMobs<> in C:\Documents and Settings\Admin\My Documents\COServerProject1\COServerProject\Entitie s.cs:line 207
[HeLp]RegisterPage! ip start with 92.
06/12/2009 - CO2 Private Server - 1 Replies
Heloo GUys I need Help ! my hoster have ip with 92 Ip Intern ! how i can make register page? with wamp or ? plzz i need help ..really who help me have PM ..:) we have srv translated 94% :D non stop
HELP with Ip chaning for registerpage
10/02/2008 - EO PServer Hosting - 2 Replies
Where can I can the ip for the Registerpage C:\wamp And than ? :S



All times are GMT +1. The time now is 23:16.


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