[Release] Pokemon-Area based browser game

Page 54 of 78 FirstFirst ... 444464748495051525354555657585960616264 ... LastLast
Results 796 to 810 of 1163
  1. #796
    Account Upgraded | Title Enabled! Raftaar is offline
    MemberRank
    Apr 2013 Join Date
    274Posts

    Re: [Release] Pokemon-Area based browser game

    i know that i have done all that .. the only prob is that the user is not getting any pokemon .. it shows you have got you Charmander or something .. but he never gets it

    - - - Updated - - -

    and i Will trade the work for work :/

    - - - Updated - - -

    New funny stuff -> http://prntscr.com/2b428r
    http://prntscr.com/2b42g6
    http://prntscr.com/2b42lr
    http://prntscr.com/2b42rq

    - - - Updated - - -

    http://prntscr.com/2b42xy

    - - - Updated - - -

    http://prntscr.com/2b43c5

    - - - Updated - - -

    http://prntscr.com/2b43sx

    - - - Updated - - -

    http://prntscr.com/2b441a

    - - - Updated - - -

    Just working on the mobile version

    - - - Updated - - -

    If you wanna trade a script for a script or help me out in the development then feel free to pm me

  2. #797
    Enthusiast SimaoMP is offline
    MemberRank
    Dec 2013 Join Date
    26Posts

    Re: [Release] Pokemon-Area based browser game

    i don't know very much, but i think u have then to refresh the db like write over the db idk the right command for that. That really don't do nothing, have to have another command for update like, charmander have a 0 and then connect to db to put a 1 to that one, i think it's that the way to be done ;)


    read the pokemon name
    mysql_query("UPDATE ".TB_PREFIX."users SET `pokemon` = `pokemon`+1 WHERE id =".$session->uid."")or die(mysql_error());
    /\ /\
    Last edited by SimaoMP; 15-12-13 at 02:04 AM.

  3. #798
    Michael Jackson ♥ Sphinx is offline
    MemberRank
    Aug 2010 Join Date
    In your bed :3Location
    906Posts

    Re: [Release] Pokemon-Area based browser game

    Need some mysql help!

    English:
    Spoiler:
    I'm making a "Latest captured pokemon" and almost everything works.

    I got:
    $pokemoninfox = mysql_query("SELECT pokemon_speler.*, pokemon_speler.wild_id, pokemon_speler.user_id, pokemon_speler.gevongenmet
    FROM pokemon_speler
    ORDER BY pokemon_speler.id DESC LIMIT 1");

    while($pokemon = mysql_fetch_array($pokemoninfox)){
    $userid = $pokemon['user_id'];
    echo $userid;
    }
    And when i use $wildid = $pokemon['user_id']; i get the user's id but i want to get his name through the id but don't know how.
    Help please!
    Dutch:
    Spoiler:
    Ik maak een "Laatst gevangen pokemon" en bijna alles werkt, ik heb:

    $pokemoninfox = mysql_query("SELECT pokemon_speler.*, pokemon_speler.wild_id, pokemon_speler.user_id, pokemon_speler.gevongenmet
    FROM pokemon_speler
    ORDER BY pokemon_speler.id DESC LIMIT 1");

    while($pokemon = mysql_fetch_array($pokemoninfox)){
    $userid = $pokemon['user_id'];
    echo $userid;
    }
    En wanneer ik $wildid = $pokemon['user_id']; gebruik krijg ik de gebruiker zijn id maar ik wil zijn naam krijgen d.m.v die id maar weet niet hoe.
    Help please!

  4. #799
    Enthusiast SimaoMP is offline
    MemberRank
    Dec 2013 Join Date
    26Posts

    Re: [Release] Pokemon-Area based browser game

    just put $nameuser anything like that and i think it works variable in the mysql for the name of the user like

    echo$user
    echo$nameuser
    echo$username

    good luck with that, i will sleep xD

  5. #800
    Account Upgraded | Title Enabled! Raftaar is offline
    MemberRank
    Apr 2013 Join Date
    274Posts

    Re: [Release] Pokemon-Area based browser game

    User_id = Users's session id

    - - - Updated - - -

    Make pokemon['user_id'] to gebruiker['user_id'] and it will echo the user's user id

    - - - Updated - - -

    Quote Originally Posted by SimaoMP View Post
    i don't know very much, but i think u have then to refresh the db like write over the db idk the right command for that. That really don't do nothing, have to have another command for update like, charmander have a 0 and then connect to db to put a 1 to that one, i think it's that the way to be done ;)


    read the pokemon name
    mysql_query("UPDATE ".TB_PREFIX."users SET `pokemon` = `pokemon`+1 WHERE id =".$session->uid."")or die(mysql_error());
    /\ /\
    I have done that .. But users are not getting the pkmn .. Pm me and I will show U the script

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

    Re: [Release] Pokemon-Area based browser game

    Quote Originally Posted by KiruHoshino View Post
    Code:
    <div id="menu">
                        <div class="top"><h2>Esemény</h2><img src="http://forum.ragezone.com/images/icons/ball.gif" alt="<?php echo $txt['title_statistics']; ?>" /></div>
                        <div class="content">
                        	<div class="pokemon_hand_box">
    						<ul>
    						<?php
    						$pokeinfo = mysql_fetch_assoc(mysql_query("SELECT * FROM pokemon_wild AS pw INNER JOIN pokemon_speler AS ps ON ps.wild_id = pw.wild_id WHERE ps.user_id && gehecht = 0 ORDER BY ps.id DESC LIMIT 1"));
    						$pokeinfo2 = mysql_fetch_assoc(mysql_query("SELECT gebruikers.username, gebruikers.user_id, ps.user_id FROM pokemon_speler AS ps INNER JOIN gebruikers AS gebruikers ON ps.user_id = gebruikers.user_id WHERE ps.user_id ORDER BY ps.id DESC LIMIT 1"));
    						$pokeinfo['user_id'] == $gebruiker['user_id'];
    						if($pokeinfo['shiny'] == 1){
    						echo '<center><img src="/images/shiny/'.$pokeinfo['wild_id'].'.gif">';
    						}else{
    						echo '<center><img src="/images/pokemon/'.$pokeinfo['wild_id'].'.gif">';
    						}
    						echo '<hr>Last catched pokemon: <strong>';
    						if($pokeinfo['shiny'] == 1){
    						echo 'Shiny '.$pokeinfo['naam'].'</strong></br>';
    						}else{
    						echo ''.$pokeinfo['naam'].'</strong></br>';
    						}
    						echo '<strong>Owner:</strong> <a rel="nofollow" href="?page=profile&player='.$pokeinfo2['username'].'">'.$pokeinfo2['username'].'</a></br>
    						<strong>Poke ball:</strong> '.$pokeinfo['gevongenmet'].'
    						</center>';
    						?>
    						</ul>
                          </div>
                          </div>
                        <div class="bottom"></div>
                    </div>
    Copy the code in the index.php file under the team section.

    Attachment 131470
    Here my work.

  7. #802
    Account Upgraded | Title Enabled! Raftaar is offline
    MemberRank
    Apr 2013 Join Date
    274Posts

    Re: [Release] Pokemon-Area based browser game

    Quote Originally Posted by KiruHoshino View Post
    Here my work.
    kiruhoshino .. He means that the last Pokemon caught by the session user ...not the overall

    Anyways sphinx can edit yours a bit and make it work

    - - - Updated - - -

    Sorry guys .. I have emptied my inbox ... Sorry

    - - - Updated - - -

    WHY DO WE HAVE TO REFRESH EVERYTIME FOR THE BATTLES

  8. #803
    Account Upgraded | Title Enabled! Raftaar is offline
    MemberRank
    Apr 2013 Join Date
    274Posts

    Re: [Release] Pokemon-Area based browser game

    Can anyone give me a fixed battles for a bug free items page

    Note : Items page contains bugs like
    Unlimited Items
    Any item
    Unlimited ICs GOld to all users
    and many more bugs

  9. #804
    Account Upgraded | Title Enabled! felixcruzer is offline
    MemberRank
    May 2012 Join Date
    GermanyLocation
    289Posts

    Re: [Release] Pokemon-Area based browser game

    Respect Point System:
    Spoiler:



  10. #805
    Account Upgraded | Title Enabled! Raftaar is offline
    MemberRank
    Apr 2013 Join Date
    274Posts

    Re: [Release] Pokemon-Area based browser game

    Respect point system is easy as shit

    - - - Updated - - -

    Transferlist for gold -> http://prntscr.com/2bbn40

  11. #806
    Account Upgraded | Title Enabled! felixcruzer is offline
    MemberRank
    May 2012 Join Date
    GermanyLocation
    289Posts

    Re: [Release] Pokemon-Area based browser game

    Quote Originally Posted by Raftaar View Post
    Respect point system is easy as shit

    - - - Updated - - -

    Transferlist for gold -> Screenshot by Lightshot
    transfer for gold too:-P

  12. #807
    Account Upgraded | Title Enabled! Raftaar is offline
    MemberRank
    Apr 2013 Join Date
    274Posts

    Re: [Release] Pokemon-Area based browser game

    @felixcruzer check your messages

    - - - Updated - - -
    @felixcruzer reply

    - - - Updated - - -

    There is a bug by which we can unban ourselves ..

    - - - Updated - - -
    @felixcruzer this is your site right ?? Screenshot by Lightshot

  13. #808
    Account Upgraded | Title Enabled! felixcruzer is offline
    MemberRank
    May 2012 Join Date
    GermanyLocation
    289Posts

    Re: [Release] Pokemon-Area based browser game

    Quote Originally Posted by Raftaar View Post
    @felixcruzer check your messages

    - - - Updated - - -
    @felixcruzer reply

    - - - Updated - - -

    There is a bug by which we can unban ourselves ..

    - - - Updated - - -
    @felixcruzer this is your site right ?? Screenshot by Lightshot
    no it's a very old test site where i tried to edit the design i dont touch this site xD

  14. #809
    Account Upgraded | Title Enabled! Raftaar is offline
    MemberRank
    Apr 2013 Join Date
    274Posts

    Re: [Release] Pokemon-Area based browser game

    LOL okay but message me

  15. #810
    Michael Jackson ♥ Sphinx is offline
    MemberRank
    Aug 2010 Join Date
    In your bed :3Location
    906Posts

    Re: [Release] Pokemon-Area based browser game

    I actually meant what Kiro posted. Thx.



Advertisement