|
You last visited: Today at 05:27
Advertisement
[Requests] Who needs ... ?
Discussion on [Requests] Who needs ... ? within the Dekaron Private Server forum part of the Dekaron category.
10/09/2009, 18:22
|
#1
|
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,891
|
[Requests] Who needs ... ?
who needs a script in php that they want for there site / server ?
if there is something that you may need and that is USEFULL post it here
it will be written in PHP !
let me know
|
|
|
10/09/2009, 18:45
|
#2
|
elite*gold: 20
Join Date: Dec 2007
Posts: 1,451
Received Thanks: 840
|
Write me a script that will give me milk and cookies =3
Heh, just kidding. I was thinking of making a thread like this too, because I was bored, so how about this:
If anyone asks here, I will make the script too, how I make it, and we will see who makes it better
It will be like a competition, ok? ^^
|
|
|
10/09/2009, 19:15
|
#3
|
elite*gold: 0
Join Date: Aug 2009
Posts: 2
Received Thanks: 0
|
How about a script that shows how many users are online atm. That would be fantastic
|
|
|
10/09/2009, 19:17
|
#4
|
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,891
|
Quote:
Originally Posted by icehac
How about a script that shows how many users are online atm. That would be fantastic 
|
PHP Code:
<?php
$mssql = array(
'host' => "localhost",
'user' => "sa",
'pass' => "server"
);
echo "<center>Player Online List<br><br>";
echo "<table border='1'>
<tr>
<td align='center'>Character Name</td>
<td align='center'>Level</td>
<td align='center'>Map</td>
<td align='center'>Login</td>
</tr>";
$con = mssql_connect($mssql['host'],$mssql['user'],$mssql['pass']);
$result1 = mssql_query("SELECT user_no FROM account.dbo.USER_PROFILE WHERE login_flag = '1100'",$con);
while($row1 = mssql_fetch_row($result1)) {
$result2 = mssql_query("SELECT character_name,wLevel,wMapIndex,login_time FROM character.dbo.user_character WHERE user_no = '".$row1[0]."' ORDER by login_time DESC",$con);
$row2 = mssql_fetch_row($result2);
echo "<tr>
<td align='left'>".$row2[0]."</td>
<td align='center'>".$row2[1]."</td>
<td align='center'>".$row2[2]."</td>
<td align='center'>".$row2[3]."</td>
</tr>";
}
echo "</table></center>";
?>
DONE! i win, zombe
|
|
|
10/09/2009, 19:21
|
#5
|
elite*gold: 20
Join Date: Dec 2007
Posts: 1,451
Received Thanks: 840
|
No way, I didn't even start...
And the competition is like who makes it better, not who makes it faster.
Your scripts don't look like ****, but mine are... Well, they are more stable, kind of...
For example: ur OsDs control panel with 1/2 functions working
|
|
|
10/09/2009, 19:54
|
#6
|
elite*gold: 0
Join Date: Jul 2009
Posts: 700
Received Thanks: 228
|
janiver double posting xD
did not reported fix it b4 trane come XD
|
|
|
10/09/2009, 20:03
|
#7
|
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,891
|
some one deleted his post and makes me look like a double poster
|
|
|
10/09/2009, 20:06
|
#8
|
elite*gold: 0
Join Date: Aug 2009
Posts: 1,297
Received Thanks: 928
|
Quote:
Originally Posted by Zombe
No way, I didn't even start...
And the competition is like who makes it better, not who makes it faster.
Your scripts don't look like ****, but mine are... Well, they are more stable, kind of...
For example: ur OsDs control panel with 1/2 functions working 
|
why dont u guys team up and fix the other half?
|
|
|
10/09/2009, 20:30
|
#9
|
elite*gold: 0
Join Date: Sep 2009
Posts: 48
Received Thanks: 3
|
well ur pros ?
make for me aloken create script on web
O_o Not Joking
|
|
|
10/09/2009, 20:30
|
#10
|
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,891
|
good idea, dunno if he can keep up with me 
ye we are pro's 
aloken script ?
more info plz
|
|
|
10/09/2009, 20:34
|
#11
|
elite*gold: 0
Join Date: Sep 2009
Posts: 48
Received Thanks: 3
|
Quote:
Originally Posted by janvier123
good idea, dunno if he can keep up with me 
aloken script ?
more info plz
|
Well .
-Good Flash Button:
~Create Aloken Character~
-Clicks On It Will Opens :
Aloken Character Name :
For Example : lol2k1
-After That Click " Create " Or " Finish "
-Aloken Character Created Have Fun Playing
-You Go In Game And You See That U Have Aloken Character With The Name You Wrote On WebSite .
I'll Leave Thanks If You Make That
  
AnyWay It Was On PServer Of Dekaron Thailand if u remamber that
|
|
|
10/09/2009, 20:51
|
#12
|
elite*gold: 0
Join Date: Feb 2008
Posts: 185
Received Thanks: 57
|
Your script is listing who is online, which might be desirable to some. But why throw count() in there and add a total player count to the top right corner of the screen?
|
|
|
10/09/2009, 21:44
|
#13
|
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,891
|
Quote:
Originally Posted by lol2k1
Well .
-Good Flash Button:
~Create Aloken Character~
-Clicks On It Will Opens :
Aloken Character Name :
For Example : lol2k1
-After That Click " Create " Or " Finish "
-Aloken Character Created Have Fun Playing
-You Go In Game And You See That U Have Aloken Character With The Name You Wrote On WebSite .
|
i said USEFULL comments !
not retarded ones
PHP Code:
$q = "SELECT * FROM account.dbo.USER_PROFILE WHERE login_flag = '1100'";
$r = mssql_query($q);
$sad = mssql_num_rows($r);
echo "<div align=left>Total Characters Online: $sad";
like that ?
srr i use my own code, i know there are other ways
|
|
|
10/09/2009, 22:05
|
#14
|
elite*gold: 0
Join Date: Sep 2008
Posts: 231
Received Thanks: 151
|
Janvier, I could really use some php help from you.
I could use a password changing script that asks to verify username, email address, and password.
I have this script that asks for username and pw, but I keep getting an error on it.
Code:
//Connection Infos
$account_odbc = odbc_connect($db_account,$db_sa,$db_sa_pw);
//Get Infos of existing Acc
$strSql="select * from Tbl_user where user_id='$pusername'";
$user_result=odbc_do($account_odbc,$strSql);
$result_query=odbc_fetch_row($user_result);
$pwdsql="select user_pwd from user_profile where user_id='$pusername'";
$pwd_result=odbc_do($account_odbc,$pwdsql);
$pwd_result_query=odbc_fetch_row($pwd_result);
if (odbc_result($pwd_result,2)=="$oldpw")
{
//Chicking for forbidden signs
if(!preg_match("/^[0-9a-zA-Z]{6,12}$/i", $_POST[newpw])) $errors[]="Your new password mustn't consist of other characters than 1-9 or A-Z!";
//Checkig Password-Characters
if(preg_match("/^[0-9]{6,12}$/i",$_POST[newpw])) $errors[]="Your new password must have at least one character form A-Z in it";
//Checking Password-length
if(strlen($_POST[newpw])<6) $errors[] = "Your password must have at least 6 characters";
if(strlen($_POST[newpw])>12) $errors[] = "Your password cannot have more than 12 characters";
//Checking if Passwords match to each other
if($_POST[newpw2]!=$_POST[newpw]) $errors[] = "Your new passwords aren't the same!";
//Errors
if(sizeof($errors)>0)
{
$errorStr .= "<br><font>";
$errorStr .= "Mistakes:";
foreach($errors as $error)
$errorStr .= "<li>$error</li>";
$errorStr .= "</font><br><br>";
}
else
{
$password=md5($_POST[newpw]);
$repasswd_query="UPDATE user_profile SET user_pwd='$password' WHERE user_id='$pusername'";
$repasswd_query2="UPDATE Tbl_user SET user_pwd='$pnewpwd2' WHERE user_id='$pusername'";
$dk_account_result=odbc_do($account_odbc,$repasswd_query);
$dk_account_result=odbc_do($account_odbc,$repasswd_query2);
odbc_close($account_odbc);
}
return $errorStr;
}
echo "$errorStr";
echo "<form action='index.php' method='post'><input type='submit' name='change' value='Back'></form>";
echo "<form action='index.php' method='post'><input type='submit' value='To Startpage'></form>";
?>
|
|
|
10/10/2009, 07:21
|
#15
|
elite*gold: 0
Join Date: Aug 2007
Posts: 554
Received Thanks: 136
|
I done a search and didn't see it so how about a coin.php simple nothing fancy
setup like accntname and ammount of coins to send. or if you already have one made post it up
|
|
|
 |
|
Similar Threads
|
Few Requests
10/25/2008 - CO2 Private Server - 2 Replies
hey all i tried to make my own job center and the npcs but i have problems with the npcs so does anyone has the full working code for the job npcs
2nd request how can u make more rbs then 2 ? like that someone can rb 3-4 or more times ?
i'll appreciate every helpfull post
u can post it here or add my msn [email protected]
|
Some Requests
04/27/2008 - Conquer Online 2 - 0 Replies
First i need To Know Whats Should I Do With The Petals And White Flowers I get From The Second Reb Quest
Second My Friend Tell me That He Upgrade The Lvl Of His Super Bow From Lvl 115 To 120 With Just 31 Meteors Not Db Is That Right
|
Requests---PLEASE D:
01/26/2008 - CO2 Weapon, Armor, Effects & Interface edits - 1 Replies
Ok. Im getting pretty bored with the blue stuff from cyclone. I know someone has made a cyclone mod before but i didnt like it :/ It had these weird wings and it sortve ruined it. I was wondering if someone would make me a red/green cyclone which was like the winged one in this forum (cant remember what page it was-it was an old one though...).
I also play a Fire Taoist and a Trojan (hence the cyclone). Do you, the reader, think that you could make a mod that makes Taoist's Backswords glow?...
|
2 Requests
10/24/2006 - World of Warcraft - 3 Replies
Also ich weiss nicht, wie genau das abläuft, aber ich möchte fragen, ob es geht, dass wenn ich meinen Char spiele und egal welches Equip Teil ich habe, jedesmal das gleiche andere angezeigt wird.
Also zB bei meinem Jäger.. Wenn ich nun T0 anhab, soll T1 angezeigt werden, aber auch wenn ich T2 oder was ganz anderes anhab. Und für meinen Schurken hätte ich gerne ganzes T1. Wäre toll wenn mir da jemand was machen könnte, wenn es überhaupt umsetzbar ist. Wichtiger ist mir btw der Schurke. :)
...
|
All times are GMT +1. The time now is 05:31.
|
|