Pokemon-Area Source (Discussion, Share and Support)
Since the original topic has been closed (which I agree with 100%) to open this topic would also support and discussion will take place.
Dispute and Showoff excluded. These users will be reported to the moderator.
Original Forum Thread: http://forum.ragezone.com/f705/relea...r-game-897861/
Thanks.
Re: Pokemon-Area Source (Discussion, Share and Support)
I'm sorry, in the last thread i shared some not perfect Code.
With this, you can prevent players from seeing pages in your game, if their pokemon are defeated.
This is a better version of the "Player Pokémon Alive?" script:
The problem was, if 1 pokemon in team was defeated, you also got send to pokemoncenter, although other pokemon in your team has some life left.
Now this should be fixed, i can't find any issue..
Have fun with this
Re: Pokemon-Area Source (Discussion, Share and Support)
Is there any option to make faster "account leveling" ? I cant find it..
Re: Pokemon-Area Source (Discussion, Share and Support)
check the database "rank" table and edit "punten"
Re: Pokemon-Area Source (Discussion, Share and Support)
Quote:
Originally Posted by
felixcruzer
check the database "rank" table and edit "punten"
No. Open includes/ingame.inc.php and search this line and edit.
Code:
#Kijken wat speler gedaan heeft
if($soort == "race") $soort = 1;
elseif($soort == "werken") $soort = 2;
elseif($soort == "whoisitquiz") $soort = 2;
elseif($soort == "attack") $soort = 3;
elseif($soort == "jail") $soort = 3;
elseif($soort == "trainer") $soort = 4;
elseif($soort == "gym") $soort = 5;
elseif($soort == "duel") $soort = 5;
//Kijken als speler niet boven de max zit.
$spelerrank = mysql_fetch_assoc(mysql_query("SELECT `username`, `land`, `rankexp`, `rankexpnodig`, `rank` FROM `gebruikers` WHERE `user_id`='".$_SESSION['id']."'"));
$rank = rank($spelerrank['rank']);
$uitkomst = round((($rank['ranknummer']/0.11)*$soort)/3);
mysql_query("UPDATE `gebruikers` SET `rankexp`=`rankexp`+'".$uitkomst."' WHERE `user_id`='".$_SESSION['id']."'");
Re: Pokemon-Area Source (Discussion, Share and Support)
What Kiru said, you can also build in an double exp event in that line of code :-)
Re: Pokemon-Area Source (Discussion, Share and Support)
@KiruHoshino
check your messages its important its about moving maps
its about whoever who is using soulless / Planet's map as base...
please check
Re: Pokemon-Area Source (Discussion, Share and Support)
@felixcruzer
You will provide the player on mobile system or it will not be made available to the public?
Re: Pokemon-Area Source (Discussion, Share and Support)
Re: Pokemon-Area Source (Discussion, Share and Support)
New Admin feature - Account Delete
Code:
<?php
include("includes/security.php");
if($gebruiker['admin'] < 3) header("Location: index.php?page=home");
if(isset($_POST['delete'])){
$user_id = $_POST['id'];
if($icon == "none"){
$msg = '<div class="red"><img src="http://forum.ragezone.com/images/icons/red.png"> Nem választottál ki senkit.</div>';
}else{
mysql_query("DELETE FROM `gebruikers` WHERE `user_id`='".$user_id."'");
mysql_query("DELETE FROM `gebruikers_item` WHERE `user_id`='".$user_id."'");
mysql_query("DELETE FROM `gebruikers_badges` WHERE `user_id`='".$user_id."'");
mysql_query("DELETE FROM `pokemon_speler` WHERE `user_id`='".$user_id."'");
mysql_query("DELETE FROM `pokemon_gezien` WHERE `user_id`='".$user_id."'");
mysql_query("DELETE FROM `transferlijst` WHERE `userid`='".$user_id."'");
$msg = '<div class="green">Fiók rörölve!</div>';
}
}
?>
<center><img src="http://forum.ragezone.com/images/layout/logo.png"></br><h2>Fiók törlése</h2><hr></center>
<?php echo $msg; ?>
<form method="post">
<table width="350">
<td><select name="id" class="text_select">
<option value="none">Válasz</option>
<?php
$usersql = mysql_query("SELECT user_id, username FROM gebruikers WHERE `account_code`='1' ORDER BY username ASC");
while($user = mysql_fetch_array($usersql)){
echo '<option value="'.$user['user_id'].'">'.$user['username'].'</option>';
}
?>
</select></td>
<td><input type="submit" name="delete" value="Törlés" class="button" /></td>
</table>
</form>
Have nice day.
Re: Pokemon-Area Source (Discussion, Share and Support)
how do we up the exp u earn from battle for pokemon
Re: Pokemon-Area Source (Discussion, Share and Support)
Quote:
Originally Posted by
Roy Rakestraw
how do we up the exp u earn from battle for pokemon
open "attack/attack.inc.php"search for this line and edit it:
PHP Code:
$ret['exp'] = round(((($computer_info['base_exp']*$computer_info['level'])*$extra_exp*1)/7)/$aantal);
Re: Pokemon-Area Source (Discussion, Share and Support)
Quote:
Originally Posted by
KiruHoshino
New Admin feature - Account Delete
Have nice day.
Nice exploitable code!
Re: Pokemon-Area Source (Discussion, Share and Support)
How the javascript request[X] in the wild-attack file are working?
From where do the requests come from?
//got it
Re: Pokemon-Area Source (Discussion, Share and Support)
Ever heard of switch? my god those if statements killing me