更新11.2后自己种的菜成熟后不能收,kufun说的要在等1小时的,望kufun有空解决下,玩家是不会知道还要在等一 ...
jy198136 发表于 2009-11-3 03:41
这是所有农场的BUG,第二茬的作物只要上了化肥,就不会马上收获的,因为设置的时间计算错了,好象是要多等一小时...几十种作物啊,每个作物五个阶段,我看着就怕了.
ini.xml里的类似这样的...- <crop id="40" className="Grass" offsetX="0" offsetY="0" seed="GrassSeed" harvestNum="2">
- <insect position="0,0,0,0,0,0|65,-5,80,-35,120,-24|65,-5,80,-35,120,-24|0,0,0,0,0,0" />
- <nextText value="种子,发芽,小叶子,大叶子,成熟,成熟,已成熟" />
- <cropGrow value="7200,14400,21600,28800,28805,90000000" />
- </crop>
-
- <crop id="1" className="Strawberry" offsetX="35" offsetY="-60" seed="StrawberrySeed" harvestNum="3">
- <insect position="0,0,0,0,0,0|110,-45,70,-10,55,-49,80,-35|110,-45,60,-10,115,-30,80,-35|0,0,0,0,0,0"/>
- <nextText value="种子,发芽,小叶子,大叶子,开花,成熟,已成熟"/>
- <cropGrow value="14400,28800,46800,64800,86405,90000000"/>
- </crop>
- <crop id="2" className="Radish" offsetX="35" offsetY="-63" seed="RadishSeed" harvestNum="2">
- <insect position="0,0,0,0,0,0|61,0,97,-10,112,27,77,-5|61,0,97,-10,112,27,77,-5|0,0,0,0,0,0"/>
- <nextText value="种子,发芽,小叶子,大叶子,成熟,成熟,已成熟"/>
- <cropGrow value="7200,14400,25200,36000,36005,90000000"/>
- </crop>
复制代码 7200,14400,25200,36000,36005,90000000这些就是了,要算时间啊,首先得知道这个作物原来每个阶段是几小时,然后减8小时,得出剩余时间再乘以3600秒,得出上面每个阶段剩余多少秒.....
然后是newfarmjson.php里类似:- $cropstime = array(
- "1" => array( 14400, 28800, 46800, 64800, 86405, 90000000 ),
- "40" => array( 7200, 14400, 21600, 28800, 28805, 90000000 ),
- "2" => array( 7200, 14400, 25200, 36000, 36005, 90000000 ),
- "3" => array( 7200, 18000, 32400, 46800, 46805, 90000000 ),
- "4" => array( 7200, 14400, 25200, 36000, 50405, 90000000 ),
- "5" => array( 7200, 14400, 25200, 39600, 54005, 90000000 ),
- "6" => array( 7200, 18000, 28800, 43200, 57605, 90000000 ),
- "7" => array( 7200, 18000, 32400, 46800, 61205, 90000000 ),
- "8" => array( 10800, 21600, 32400, 46800, 64805, 90000000 ),
- "9" => array( 10800, 25200, 39600, 54000, 72005, 90000000 ),
- "10" => array( 10800, 25200, 43200, 61200, 79205, 90000000 ),
- "11" => array( 14400, 28800, 43200, 57600, 75605, 90000000 ),
- "12" => array( 14400, 32400, 54000, 72000, 93600, 90000000 ),
复制代码 这些个也要对应ini.xml里修改过的修改,这眼都看花了,还怎么改?等高手来解决吧
现在所有农场版本还有个问题就是:牧草收获后在仓库看不到.... |