Welcome to the RaGEZONE - MMORPG development forums.

Another full PHP website package

This is a discussion on Another full PHP website package within the MU Releases forums, part of the MU Online category; TaKaShi^^ thats not what i need. Might wanna get on msn (lil_west_side@hotmail.com) and ill do remote assistance to show u?? ...

Page 4 of 12 FirstFirst 123456789101112 LastLast
Results 46 to 60 of 173
  1. #46
    Member
    Rank
    Member
    Join Date
    Dec 2004
    Posts
    51
    Liked
    0
    Click
    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

  2. #47
    Member
    Rank
    Member
    Join Date
    Dec 2004
    Posts
    51
    Liked
    0
    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>";**
    Last edited by floridasucks; 26-12-04 at 04:10 PM.

  3. #48
    Member
    Rank
    Member
    Join Date
    Dec 2004
    Posts
    51
    Liked
    0
    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> &nbsp;
    <a href='http://fragfrog.mine.nu/wing/reset.php'>WINGS</a> &nbsp;
    <a href='http://fragfrog.mine.nu/weapon/reset.php'>WEAPON</a> &nbsp;
    </center>
    TO
    <center>
    <a href='http://your ip or dns/armor/reset.php'>ARMOR</a> &nbsp;
    <a href='http://your ip or dns/wing/reset.php'>WINGS</a> &nbsp;
    <a href='http://your ip or dns/weapon/reset.php'>WEAPON</a> &nbsp;
    </center>

  4. #49
    Fear Me.
    Rank
    Legend
    Join Date
    Aug 2004
    Location
    The Netherlands
    Posts
    5,726
    Liked
    15
    Quote Originally Posted by floridasucks
    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> &nbsp;
    <a href='http://fragfrog.mine.nu/wing/reset.php'>WINGS</a> &nbsp;
    <a href='http://fragfrog.mine.nu/weapon/reset.php'>WEAPON</a> &nbsp;
    </center>
    TO
    <center>
    <a href='http://your ip or dns/armor/reset.php'>ARMOR</a> &nbsp;
    <a href='http://your ip or dns/wing/reset.php'>WINGS</a> &nbsp;
    <a href='http://your ip or dns/weapon/reset.php'>WEAPON</a> &nbsp;
    </center>

    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 ;))

  5. #50
    Member
    Rank
    Member
    Join Date
    Dec 2004
    Posts
    51
    Liked
    0
    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?

  6. #51
    Member
    Rank
    Member
    Join Date
    Nov 2004
    Posts
    25
    Liked
    0
    ---- 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?
    Last edited by FragFrog; 27-12-04 at 12:37 PM.
    I am 80% addicted to Porn.
    I am 70% addicted to Counter-strike.
    What about you?

  7. #52
    Fear Me.
    Rank
    Legend
    Join Date
    Aug 2004
    Location
    The Netherlands
    Posts
    5,726
    Liked
    15
    Quote Originally Posted by floridasucks
    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?
    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:

  8. #53
    Member
    Rank
    Member
    Join Date
    Nov 2004
    Posts
    25
    Liked
    0
    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?
    Last edited by >>xtasy<<; 27-12-04 at 01:42 PM.
    I am 80% addicted to Porn.
    I am 70% addicted to Counter-strike.
    What about you?

  9. #54
    Fear Me.
    Rank
    Legend
    Join Date
    Aug 2004
    Location
    The Netherlands
    Posts
    5,726
    Liked
    15
    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:
    Last edited by FragFrog; 27-12-04 at 09:04 PM.

  10. #55
    Member
    Rank
    Member
    Join Date
    Nov 2004
    Posts
    25
    Liked
    0
    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?
    Last edited by >>xtasy<<; 28-12-04 at 09:23 AM.
    I am 80% addicted to Porn.
    I am 70% addicted to Counter-strike.
    What about you?

  11. #56
    sagma
    Guest
    A big THANKS to all for this

  12. #57
    Member
    Rank
    Member
    Join Date
    Dec 2004
    Posts
    51
    Liked
    0
    FragFrog u made a little mistake .

    open ranking.php

    search for top_vit and add .php to it

  13. #58
    Member
    Rank
    Member
    Join Date
    Nov 2004
    Posts
    25
    Liked
    0
    can sum1 plz check if my syte works?
    http://royal.no-ip.info/Home
    I am 80% addicted to Porn.
    I am 70% addicted to Counter-strike.
    What about you?

  14. #59
    o_O
    Rank
    Member +
    Join Date
    Nov 2004
    Location
    Heaven
    Posts
    1,260
    Liked
    0
    Quote Originally Posted by >>xtasy<<
    can sum1 plz check if my syte works?
    http://royal.no-ip.info/Home

    Hmm are it supposed to be http://royal.no-ip.info/Website[/QUOTE]
    than http://royal.no-ip.info/Home[/QUOTE]

  15. #60
    Member
    Rank
    Member
    Join Date
    Mar 2004
    Location
    Lisboa
    Posts
    45
    Liked
    0
    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>

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •