TaKaShi^^ thats not what i need. Might wanna get on msn (lil_west_side@hotmail.com) and ill do remote assistance to show u?? thnx
Printable View
TaKaShi^^ thats not what i need. Might wanna get on msn (lil_west_side@hotmail.com) and ill do remote assistance to show u?? thnx
takashi omgg.. im talking about the reset script look i have made a table and i added the columns i tried reset and it says that the login does not exist in the databse .. now i open the resets table in all rows i see nothing but columns? help? how do u make it show name of characters jus like Character Table
(im not having a problem with the site but jus the reset script.. i can browse the site.. jus only the reset script not working >.< if i didnt set the config.php how could i browse it den.. and did u read my problem its about the login problem plz stop copy/paste ive read the guide
i found out wheres the error from in the reset_reward_done.php
elseif ($username_check <= 0){
echo "Your Login does not exist in our database. Please go back and try again.<br>";**
rofl i found out why.. check the opties_reset.php the link to Wing , Armor , Weapon goes to fragfrog.mine.nu lolol he didnt say that on guide so guys go to opties_reset.php
Change
<center>
<a href='http://fragfrog.mine.nu/armor/reset.php'>ARMOR</a>
<a href='http://fragfrog.mine.nu/wing/reset.php'>WINGS</a>
<a href='http://fragfrog.mine.nu/weapon/reset.php'>WEAPON</a>
</center>
TO
<center>
<a href='http://your ip or dns/armor/reset.php'>ARMOR</a>
<a href='http://your ip or dns/wing/reset.php'>WINGS</a>
<a href='http://your ip or dns/weapon/reset.php'>WEAPON</a>
</center>
Quote:
Originally Posted by floridasucks
ROFL :icon6:
Sorry.. I dubbelchecked EVERY file for this kind'a thing, obviously missed one... :D
Will be fixing it when I get back (Christmas @ parents ;))
I found out a bug using the reset script and weapon as reward. It gives the weapon but it doesnt count as a reset and doesnt add an option to it. I kno that coz a player in my server did like 30 resets and told me that. Wings and armors is working.btw i found out that the reset_reward_done.php of wing and armor are same (43kb) and weapon one is (10kb)missing info?
---- Modbreak ----
You really had to quote all that?!
Now you can extract the files from Website(FragFrog)New Package(Extract to C:appserv/www/here
3. Configure Webcenter and/or your SQL server so they work with each other
After extracting the files, let's open config.php in notepad.
where do i find da files?
I already told that weapon script only gives you the same weapon with 1 option, prolly upgrade this somewhere in the near future. You're right about the not counting it as a reset though :eh:Quote:
Originally Posted by floridasucks
wow great ive done it!!
but how do i change the pictures on the syte?
btw, how do i find out wats my SQL server IP?
is it my normal or is it different one?
1. all images are stored in the... /img/ directory! So changing them there is all you have to do :)
2. your SQL server is usually the same PC as your webserver, so you can leave its IP at 127.0.0.1
A bit offtopic: I'd really like to see your website if you've adjusted my scripts, so please post the url's here people! :icon6:
http://royal.no-ip.info/Home
dats mine,still making modifications on it =]
ppl have told me dat dey cant connect to my syte y?
A big THANKS to all for this
FragFrog u made a little mistake .
open ranking.php
search for top_vit and add .php to it
can sum1 plz check if my syte works?
http://royal.no-ip.info/Home
Quote:
Originally Posted by >>xtasy<<
Hmm are it supposed to be http://royal.no-ip.info/Website[/QUOTE]
than http://royal.no-ip.info/Home[/QUOTE]
i need this script with sql inject check anybody can do that for me?
Code:<style type="text/css">
<!--
.style1 {
color: #FF0000;
font-size: 14px;
**
-->
</style>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="1" style="border-left:1px solid #666666;border-right:1px solid #666666"></td>
</tr>
</table>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="img/css.css" rel="stylesheet" type="text/css">
<p>
<style type="text/css">
<!--
.style1 {color: #FF0000 **
.style2 {color: #FF0000 **
.Estilo5 {color: #666666**
.Estilo6 {font-size: larger**
.Estilo8 {color: #FF0000; font-weight: bold**
-->
</style><body leftmargin="0" topmargin="0">
<?php
require 'config.php';
$name = stripslashes($_POST['name']);
$login = stripslashes($_POST['login']);
$lvlreq = 349;
$newlvl = 1;
$exp = 0;
$money = 50000000
?>
<?php
$conn = mssql_connect("$dbhost","$dbuser","$dbpasswd");
mssql_select_db('MuOnline', $conn);
$query_reset = mssql_query("SELECT * FROM Character WHERE Name = '".$_POST['name']."' AND AccountID = '".$_POST['login']."'");
while($row_reset = mssql_fetch_array($query_reset))
{
$resetcount = $row_reset['Resets'];
$resetplus = $resetcount + 1;
$value_points = 350 * $resetplus;
$stat_points = 26;
**
if (mssql_num_rows(mssql_query("SELECT * FROM Character WHERE Name = '".$_POST['name']."' AND AccountID = '".$_POST['login']."'")) > 0) {
$row = mssql_fetch_array(mssql_query("SELECT * FROM Character WHERE Name = '".$_POST['name']."' AND AccountID = '".$_POST['login']."'"));
if ($row['cLevel'] > '349') {
if ($row['Money'] > $money) {
$money_total = $row['Money'] - $money ;
$query = mssql_query("
UPDATE Character SET cLevel = '$newlvl' WHERE Name = '".$_POST['name']."' AND AccountID = '".$_POST['login']."'
UPDATE Character SET money = '$money_total' WHERE Name = '".$_POST['name']."' AND AccountID = '".$_POST['login']."'
UPDATE Character SET Experience = '$exp' WHERE Name = '".$_POST['name']."' AND AccountID = '".$_POST['login']."'
UPDATE Character SET LevelUpPoint = '$value_points' WHERE Name = '".$_POST['name']."' AND AccountID = '".$_POST['login']."'
UPDATE Character SET Strength = '$stat_points' WHERE Name = '".$_POST['name']."' AND AccountID = '".$_POST['login']."'
UPDATE Character SET Dexterity = '$stat_points' WHERE Name = '".$_POST['name']."' AND AccountID = '".$_POST['login']."'
UPDATE Character SET Vitality = '$stat_points' WHERE Name = '".$_POST['name']."' AND AccountID = '".$_POST['login']."'
UPDATE Character SET Energy = '$stat_points' WHERE Name = '".$_POST['name']."' AND AccountID = '".$_POST['login']."'
UPDATE Character SET Resets = Resets+1 WHERE Name = '".$_POST['name']."' AND AccountID = '".$_POST['login']."'");
if (!$query) {
echo "<font color='0099FF'><font size='2'>Character Reset could not be properly preformed. Database threw an error.";
** else {
echo "<font color='0099FF'><font size='2'>".$_POST['name']." is successfully Reseted..";
**
** else {
echo "<font color='0099FF'><font size='2'>Character Reset could not be preformed. Not enough zen.";
echo "<br>Actual (".$row['Money'].") - Needed ($money)";
**
** else {
echo "<font color='0099FF'><font size='2'>Character Reset could not be preformed. Your not Level 350.";
**
** else {
echo "<font color='0099FF'><font size='2'>Character Reset could not be performed. Character ".$_POST['name']." or the Login given do not match.";
**
?>
</p>
<div align="center">
<table width="67%" height="339" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<tr>
</td>
</tr>
</table>
</div>
</body>
</html>
</body>
</html>