You last visited: Today at 06:04
Advertisement
Social Empires and Social Park Script PHP
Discussion on Social Empires and Social Park Script PHP within the Facebook forum part of the Browsergames category.
01/03/2014, 12:38
#1
elite*gold: 0
Join Date: Dec 2013
Posts: 35
Received Thanks: 37
Social Empires and Social Park Script PHP
==============================================
-> Social Empires
PHP Code:
<script> function otomatis(){ if(document.getElementById("paket").value == "1"){ document.getElementById("cash").value=3000; document.getElementById("gold").value=500000; }else if(document.getElementById("paket").value == "2"){ document.getElementById("cash").value=6000; document.getElementById("gold").value=1000000; }else if(document.getElementById("paket").value == "3"){ document.getElementById("cash").value=21000; document.getElementById("gold").value=1500000; }else if(document.getElementById("paket").value == "4"){ document.getElementById("cash").value=42000; document.getElementById("gold").value=3000000; }else if(document.getElementById("paket").value == "5"){ document.getElementById("cash").value=60000; document.getElementById("gold").value=5000000; }else{ document.getElementById("cash").value=0; document.getElementById("gold").value=0; } } </script> <body> <center> <form method="post"> <p> <label>FB-ID</label> <input type="number" name="fbid" class="input-large" placeholder="Masukkan FB-ID" value="<?PHP echo $_POST [ 'fbid' ] ?> "/> </p> <p> <label>UserKey</label> <input type="number" name="ukey" class="input-large" placeholder="Masukkan UserKey" value="<?PHP echo $_POST [ 'ukey' ] ?> "/> </p> <p> Paket <select name=paket id=paket onChange="otomatis();" class="uniformselect"> <option value=0 id=0>Select Packet</option> <option value=1 id=1>3000 Cash & 500K Gold</option> <option value=2 id=2>6000 Cash & 1M Gold</option> <option value=3 id=3>21000 Cash & 15M Gold</option> <option value=4 id=4>42000 Cash & 3M Gold</option> <option value=5 id=5>60000 Cash & 5M Gold</option> </select> </p> <p> <label>CASH</label><input type="number" name="cash" id=cash value="<?PHP echo $_POST [ 'cash' ] ?> "/> <label>GOLD</label><input type="number" name="gold" id=gold value="<?PHP echo $_POST [ 'gold' ] ?> "/> </p> <input type="submit" name="proces" value="Proces Now !" /> </form><?php if(isset( $_POST [ 'proces' ]) and isset( $_POST [ 'fbid' ])){ $jumlah_cash = $_POST [ 'cash' ]; $jumlah_gold = $_POST [ 'gold' ]; $cid = round ( rand () * 0x40000000 ); $postdata =array( 'neighbors' => "" , 'client_id' => $cid ); $result = sendPost ( "http://dynamic01.socialpointgames.com/appsfb/socialempires/srvempires/get_player_info.php?USERID= $_POST [ fbid ] &user_key= $_POST [ ukey ] &spdebug=1" , $postdata ); $payload = explode ( ';' , $result ); $data = json_decode ( $payload [ 1 ], true ); $str = '' ; $str .= "=========BEFORE=========<br/>" ; $str .= "FB-ID : " . $data [ 'playerInfo' ][ 'pid' ]. "<br/>" ; $str .= "=========================<br/>" ; $str .= "NAME : " . $data [ 'playerInfo' ][ 'name' ]. "<br/>" ; $str .= "CASH : " . number_format ( $data [ 'playerInfo' ][ 'cash' ], 0 , ',' , '.' ). "<br/>" ; $str .= "GOLD : " . number_format ( $data [ 'map' ][ 'coins' ], 0 , ',' , '.' ). "<br/>" ; $str .= "=========AFTER=========<br/>" ; $cmd []=array( 'cmd' => 'tournament_refund_resources' , 'args' =>array( 'c' , $_POST [ 'cash' ])); $cmd []=array( 'cmd' => 'tournament_refund_resources' , 'args' =>array( 'g' , $_POST [ 'gold' ])); $res = sendCommand ( $_POST [ 'fbid' ], $_POST [ 'ukey' ], '1.4.05' , $cid , $cmd ); //if($res){ $result = sendPost ( "http://dynamic01.socialpointgames.com/appsfb/socialempires/srvempires/get_player_info.php?USERID= $_POST [ fbid ] &user_key= $_POST [ ukey ] &spdebug=1" , $postdata ); $payload = explode ( ';' , $result ); $data = json_decode ( $payload [ 1 ], true ); $str .= "FB-ID : " . $data [ 'playerInfo' ][ 'pid' ]. "<br/>" ; $str .= "=========================<br/>" ; $str .= "NAME : " . $data [ 'playerInfo' ][ 'name' ]. "<br/>" ; $str .= "CASH : " . number_format ( $data [ 'playerInfo' ][ 'cash' ], 0 , ',' , '.' ). "<br/>" ; $str .= "GOLD : " . number_format ( $data [ 'map' ][ 'coins' ], 0 , ',' , '.' ). "<br/>" ; $str .= "=========================<br/>" ; //} echo $str ; } function sendPost ( $url , $data = null ){ if( $data != null ){ $postdata = http_build_query ( $data ); $opts = array( 'http' => array( 'method' => 'POST' , 'timeout' => 30 , 'header' => "Content-type: application/x-www-form-urlencoded\r\n" . "Content-Length: " . strlen ( $postdata ). "\r\n" , 'content' => $postdata ) ); }else $opts = array( 'http' =>array( 'timeout' => 30 )); $result = file_get_contents ( $url , false , stream_context_create ( $opts )); return $result ; } function sendCommand ( $fbid , $ukey , $flash , $cid , $cmd ){ $cmd = json_encode (array( 'publishActions' => "0" , 'commands' => $cmd , 'first_number' => 1 , 'tries' => 1 , 'ts' => time ())); $hash = hash_hmac ( 'sha256' , $cmd , '3m0d3pwiupoetn7ysa02' ); $cmd =array( 'data' => $hash . ';' . $cmd , 'client_id' => $cid ); $result = sendPost ( "http://dynamic01.socialpointgames.com/appsfb/socialempires/srvempires/command.php?USERID= $_POST [ fbid ] &user_key= $_POST [ ukey ] &spdebug=1" , $cmd ); $result = json_decode ( $result , true ); return $result ; } ?>
==============================================
-> Social Park
<html><head><title>Social Park By N1sterz</title></head><body>
<form method="post">
<p>
ID FB:<br/>
<input name="fbid" value="<?PHP echo $_POST['fbid']?>"/>
</p></br>
<p>
GEMS:<br/>
<input name="gems" value="<?PHP echo $_POST['gems']?>"/>
</p></br>
<p>
GOLD:<br/>
<input name="gold" value="<?PHP echo $_POST['gold']?>"/>
</p></br>
<p>
EXP:<br/>
<input name="xp" value="<?PHP echo $_POST['xp']?>"/>
</p></br>
<p>
LEVEL:<br/>
<input name="level" value="<?PHP echo $_POST['level']?>"/>
</p></br>
<input type="submit" name="kirim" value="Kirim" />
</form>
<?php
if(isset($_POST['kirim'])){
$jumlah_gem=$_POST['gems'];
$jumlah_gold=$_POST['gold'];
$jumlah_xp=$_POST['xp'];
$jumlah_level=$_POST['level'];
$result=sendPost("http://dynamic.socialpoint.es/appsfb/socialpark/srv/get_player_info.php?USERID=".$_POST['fbid'],null);
$data = json_decode($result,true);
$str='';
//$str=$payload[1].'<br/>';
$str .= "PENGISIAN SUKSES <br/>";
$str .= "<br/>==============BEFORE==============<br/>";
$str .= "NAME : ".$data['playerInfo']['name']."<br/>";
$str .= "GEMS : ".number_format($data['playerInfo']['cash'],0,',','.')."<br/>";
$str .= "GOLD : ".number_format($data['playerInfo']['coins'],0,',','.')."<br/>";
$str .= "XP : ".number_format($data['playerInfo']['xp'],0,',','.')."<br/>";
$str .= "LEVEL : ".number_format($data['playerInfo']['level'],0,',','.')."<br/>";
$cmd[]=array('cmd'=>'set_variables','args'=>array($data['playerInfo']['coins']+$jumlah_gold,$data['playerInfo']['cash']+$jumlah_gem,$data['playerInfo']['xp']+$jumlah_xp,$jumlah_level));
$res=sendCommand($_POST['fbid'],$cmd);
//if($res){
$result=sendPost("http://dynamic.socialpoint.es/appsfb/socialpark/srv/get_player_info.php?USERID=".$_POST['fbid'],null);
$data = json_decode($result,true);
$str .= "<br/>==============AFTER==============<br/>";
$str .= "NAME : ".$data['playerInfo']['name']."<br/>";
$str .= "GEMS : ".number_format($data['playerInfo']['cash'],0,',','.')."<br/>";
$str .= "GOLD : ".number_format($data['playerInfo']['coins'],0,',','.')."<br/>";
$str .= "XP : ".number_format($data['playerInfo']['xp'],0,',','.')."<br/>";
$str .= "LEVEL : ".number_format($data['playerInfo']['level'],0,',','.')."<br/>";
$str .= "====================================<br/>";
$str .= "Recharge Complete, Please Check Your Account : .".$data['accountInfo']['publicState']['name']."<br/>";
//}
echo $str;
}
function sendPost($url,$data=null){
if($data!=null){
$postdata=http_build_query($data);
$opts = array('http' =>
array(
'method' => 'POST',
'timeout' => 30,
'header' => "Content-type: application/x-www-form-urlencoded\r\n"."Content-Length: ".strlen($postdata)."\r\n",
'content' => $postdata
)
);
}else $opts = array('http'=>array('timeout'=>30));
$result=file_get_contents($url,false,stream_contex t_create($opts));
return $result;
}
function sendCommand($fbid,$cmd){
$cmd = json_encode(array('commands'=>$cmd,'tries'=>1,'fir st_number'=>1));
$cmd=array('data'=>$cmd);
$result=sendPost("http://dynamic.socialpoint.es/appsfb/socialpark/srv/command.php?USERID=".$fbid,$cmd);
$result = json_decode($result,true);
return $result;
}
?>
==============================================
if don't work msg me with the problem
Click thanks if it works! [ if you have Social Wars Script Message me ]
01/03/2014, 18:00
#2
elite*gold: 0
Join Date: Dec 2012
Posts: 54
Received Thanks: 5
no longer be able to play social park?
01/03/2014, 19:57
#3
elite*gold: 0
Join Date: Jul 2013
Posts: 17
Received Thanks: 24
have you social War php script please ???
01/04/2014, 05:02
#4
elite*gold: 0
Join Date: Dec 2013
Posts: 35
Received Thanks: 37
Quote:
Originally Posted by
mamislimen
have you social War php script please ???
sorry i don't have..
01/04/2014, 18:41
#5
elite*gold: 0
Join Date: Jun 2013
Posts: 48
Received Thanks: 6
u have script dragon city ???
01/05/2014, 10:41
#6
elite*gold: 0
Join Date: Jul 2013
Posts: 96
Received Thanks: 20
here an social wars cash only try it
link
http://21cheater.96.lt/test.php
NOTE IF THIS WORK I WILL GIVE YOU THE SCRIPT
01/05/2014, 15:03
#7
elite*gold: 0
Join Date: Dec 2013
Posts: 10
Received Thanks: 6
please send me script social war
01/05/2014, 15:39
#8
elite*gold: 77
Join Date: Jan 2013
Posts: 56
Received Thanks: 1
thank for sharing the script
but how to use it?
01/06/2014, 16:19
#9
elite*gold: 0
Join Date: Dec 2013
Posts: 35
Received Thanks: 37
Quote:
Originally Posted by
silenxer
thank for sharing the script
but how to use it?
Save it to your webhosting...with .php format
02/19/2014, 12:32
#10
elite*gold: 0
Join Date: Aug 2013
Posts: 1
Received Thanks: 0
n1sterz
i'm simo media khalil
u always the best
01/24/2015, 19:46
#11
elite*gold: 0
Join Date: Jan 2015
Posts: 3
Received Thanks: 0
social park not working script has some problem fix it
01/25/2015, 23:39
#12
elite*gold: 0
Join Date: Jul 2014
Posts: 179
Received Thanks: 236
Social Wars
All Resources Hack!
03/21/2015, 14:04
#13
elite*gold: 0
Join Date: Mar 2015
Posts: 1
Received Thanks: 0
cheat for dragon no download
10/07/2016, 17:44
#14
elite*gold: 0
Join Date: Jul 2015
Posts: 1
Received Thanks: 0
Work social empire script
For work go 3x.ro create website and put in filezila script.php and work.
11/29/2016, 17:11
#15
elite*gold: 0
Join Date: Dec 2012
Posts: 14
Received Thanks: 1
where can i download a script?
All times are GMT +2. The time now is 06:07 .