[经验] QQ农场 初始化16级、150W、12块地[高手免入]
用记事本打开happyfarm\happyfarm.php文件,找到 //新用户初始化数据,然后往下找到
$_SGLOBAL['db']->query( "INSERT INTO ".tname( "happyfarm_config" )." (uid,Message,setting1,setting2,setting3,setting4,setting5,setting6,exchange,pf) VALUES(".$UID.",'".$Message."'
修改为:
$_SGLOBAL['db']->query( "INSERT INTO ".tname( "happyfarm_config" )." (uid,money,Message,setting1,setting2,setting3,setting4,setting5,setting6,exchange,pf) VALUES(".$UID.",1500000,'".$Message."'
这样就有了150W的金币;
然后再往下几行就会看到$exp = 0;把0改成想要的经验值即可,我的改为16级经验就设置为27200;
再往下就看到{"a":0,"b":0,"c":0,"d":0,"e":1,"f":0,"g":0,"h":1,"i":100,"j":0,"k":0,"l":0,"m":0,"n":[],"o":0,"p":[],"q":0,"r":1251351725}这样的数据,每增加一个 ,{"a":0,"b":0,"c":0,"d":0,"e":1,"f":0,"g":0,"h":1,"i":100,"j":0,"k":0,"l":0,"m":0,"n":[],"o":0,"p":[],"q":0,"r":1251351725}就增加一块空地(注意{前有个逗号哦),然后再往下找到
$_SGLOBAL['db']->query( "INSERT INTO ".tname( "happyfarm_nc" )." (uid,Status,exp,taskid,tools,decorative,Weed,pest,repertory,log,healthmode,package,fruit) VALUES(".$UID.",'".$Status.
改为
$_SGLOBAL['db']->query( "INSERT INTO ".tname( "happyfarm_nc" )." (uid,reclaim,Status,exp,taskid,tools,decorative,Weed,pest,repertory,log,healthmode,package,fruit) VALUES(".$UID.",12,'".$Status.
12表示初始有几块地。
OK,改完咯,呵呵,对于高手来说这些都是小意思,高手们手下留情啊。 |