本文主要是介绍【PHP源码】2.0熊猫乐园签到,任务,玩游戏一键完成源代码,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
每天都要签到啥的,麻烦的很,而且有时候可能忘记,干脆封装成写出php代码,宝塔新定时任务,每天00:00自动运行✅,妥妥省心~
2.0更新
🎉首页.竹子浇水
🎉首页.竹子种植
🎉首页.竹子收获
🎉首页.水滴领取
🎉餐厅.自动工作
🎉任务.分享完成
<?php
$user = $_REQUEST['u'];
$cookie = array( "M7mCN+T3sr9nP+U97beXNFuDwKtaw0paS5NVKrNfxxx;", "M7mCN+T3sr9nP+U97beXNFuDwKtaxxx;", "M7mCN+T3sr9nP+U97beXNFuDwKtaw0paxxxx;");if($user=="") {echo date("Y-m-d H:i:s")."<br>";for ($i = 0; $i < count($cookie); $i++) {//init_current($cookie[$i]);xddGameGGGGGGGGGG($cookie[$i]);}echo date("Y-m-d H:i:s");return;
}
//1打开获取id 2查询今日是否完成任务 3开始任务保存记录
for ($i = 0; $i < count($cookie); $i++) {//xddGameGGGGGGGGGG($cookie[$i]);
}
$CMCCSCUTT = $cookie[0];
$CMCCSCUTT = $cookie[1];
$CMCCSCUTT = $cookie[2];
//qindaoCall($CMCCSCUTT);
//doneMT($CMCCSCUTT,"TASK_PAD_LLMXZJL");padMsgWork_XDD($CMCCSCUTT);//餐厅打工
// pad_takeWater($CMCCSCUTT);//8小时领取水滴
// babGad_XDD($CMCCSCUTT);//竹子_浇水//补签卡 id=23
//经验卡 id=22 20个
//channel=jtapp&timeMills=1694995175631&flowId=&id=22&num=20
//商品兑换
function exother($CMCCSCUTT,$spID,$spCoun=1){$url = "https://wap.sc.10086.cn/scmccMiniWap/pandaExV2/exother";$form= "channel=jtapp&timeMills=1694112525117&flowId=&id=".$spID."&num=".$spCoun;//channel=jtapp&timeMills=1694112525117&flowId=&id=23&num=1";//channel=jtapp&timeMills=1694995175631&flowId=&id=22&num=20$ret = Httppost_IOS($url,$form,$CMCCSCUTT);echo "exother=".$ret."<br>";return $ret;
}
function qindaoCall($CMCCSCUTT) {$sjjson = SignNewinit($CMCCSCUTT);$jsobj = json_decode($sjjson);// json解析返回信息$snumber = $jsobj->obj->signInfo->allPrize;//obj.signInfo.allPrize[0].canRec//echo count($snumber);//obj.signInfo.isSign$isSign = $jsobj->obj->signInfo->isSign;//isSign: trueecho " signDays=".$jsobj->obj->signInfo->signDays;//signDays: 7echo " bqkNum=".$jsobj->obj->signInfo->bqkNum;//bqkNum: 0 补签卡echo " isSign=";echo $isSign=="1"?"已签":"未签";echo "<br>";for ($i = 0; $i < count($snumber); $i++) {$canRec = $snumber[$i]->canRec;//0可领 1.已领 2未完成$prizeType = $snumber[$i]->F_PRIZE_TYPE;//F_PRIZE_TYPE=3echo "canRec=".$canRec. " prizeType=".$prizeType."<br>";if($canRec == "0") {receive($CMCCSCUTT,$prizeType);//领取累计3,7,15,30天奖励}}
}function babGad_XDD($CMCCSCUTT) {//seed” ' 竹子_播种//water” ' 竹子_浇水//gather” ' 竹子_收货$sjjson = babGad_Coer($CMCCSCUTT,"water");$jsobj = json_decode($sjjson);// json解析返回信息$status = $jsobj->obj->status;//{"code":502,"info":"浇水失败,水滴值不足","obj":{"lv":3,"status":0,"totalWater":4,"remainWater":2},"extra":null}//-1 未播种 0 ok 1 已成熟 if($status == -1){babGad_Coer($CMCCSCUTT,"seed");}else if($status == 0){echo "竹子_浇水...oooook...<br>";//2h}else if($status == 1){babGad_Coer($CMCCSCUTT,"gather");}}
//竹子操作
function babGad_Coer($CMCCSCUTT,$key) {$url = "https://wap.sc.10086.cn/scmccMiniWap/panda/babGad/".$key;$form= "channel=jtst" ;//$ret = Httppost_IOS($url,$form,$CMCCSCUTT);echo "babGad.$key=".$ret."<br>";return $ret;
}
/
这篇关于【PHP源码】2.0熊猫乐园签到,任务,玩游戏一键完成源代码的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!