View Full Version : Giúp Giúp Chỉ cái này zới !!!
linh12347
04-02-10, 07:39 PM
Anh ơi em muốn thêm item zô Game nông trại thì làm sao VD: nhà, hạt giống,C|-|ó thì thì làm sao....??? chỉ em zới :| \:D/ thank nhé !!! :( Mong anh rick zới mấy mem chỉ zới
zombiecb
04-02-10, 09:04 PM
cái pác phải hỏi trực tiếp rick nhé ( hỏi qua YH ý )
kunno001
04-02-10, 09:07 PM
Để mình liên hệ với vina game hỏi thử coi sao :D
linh12347
04-02-10, 09:08 PM
Để mình liên hệ với vina game hỏi thử coi sao :D
ặc=D> đc ko đấy :)) #:-s#:-s#:-s#:-s#:-s#:-s
linh12347
04-02-10, 09:08 PM
cái pác phải hỏi trực tiếp rick nhé ( hỏi qua YH ý )
BẠn ơi nick của nhocrick là gì ????cho em biết đi:-??
Muốn thêm gì thì edit các file sau [Chỉ bản v3.0]
ini.xml
resources.xml
newfarm.php
newfarmjson.php
và sql :D
linh12347
04-02-10, 09:14 PM
Muốn thêm gì thì edit các file sau [Chỉ bản v3.0]
ini.xml
resources.xml
newfarm.php
newfarmjson.php
và sql :D
anh ơi có thể cho em xin nick chat ko
Có gì thì nói trên forum chứ mềnh không onl yh thường xuyên :D
linh12347
04-02-10, 10:11 PM
Có gì thì nói trên forum chứ mềnh không onl yh thường xuyên :D
ác anh có soft này thêm item ko chứ cái này thì em chịu em ko thêm item đc và cũng ko biết thêm anh chỉ em zới ;;);;)
Thêm = tay :| không có soft :|
Thì trước tiên phải có flash cái đã :|
Ví dụ mềnh làm item gift có id là 3010
Thì trước tiên phải mở file ini.xml
<gift>
<item id="3001" className="chaoshiMoonCake" giftName="潮式月饼" num="1" charm="40" />
<item id="3002" className="tanshaoMoonCake" giftName="炭烧月饼" num="1" charm="40" />
<item id="3003" className="guangshiMoonCake" giftName="广式月饼" num="1" charm="40" />
<item id="3004" className="bingpiMoonCake" giftName="冰皮月饼" num="1" charm="40" />
<item id="3005" className="sushiMoonCake" giftName="苏式月饼" num="1" charm="40" />
<item id="3006" className="CronCandy" giftName="糖果玉米" num="1" charm="20" />
<item id="3007" className="Roll" giftName="巧克力卷" num="1" charm="20" />
<item id="3008" className="Kisses" giftName="Kisses巧克力" num="1" charm="20" />
<item id="3009" className="BlackCat" giftName="黑猫南瓜" num="1" charm="20" />
<item id="3010" className="GoodBye2009" giftName="Good Bye 2009" num="1" charm="20" />
</gift>
Típ tục mở resources.xml và thêm
<file url="module/ui/main/exchang/Halloween.swf?v=0">
<item className="Kisses" type="SimpleSprite" width="68.6" height="90.0" />
<item className="Roll" type="SimpleSprite" width="120.1" height="35.0" />
<item className="CronCandy" type="SimpleSprite" width="81.5" height="65.0" />
<item className="BlackCat" type="SimpleSprite" width="70.6" height="90.0" />
<item className="GoodBye2009" type="SimpleSprite" width="81.6" height="90.0" />
Cái className phải giống như bên ini nhé
</file>
Edit farm.php
$tools = array(
"1" => array(
"tId" => 1,
"tName" => "\\u666e\\u901a\\u5316\\u80a5",
"list" => array(
"1" => array( "price" => 50, "FBPrice" => 0 ),
"10" => array( "price" => 450, "FBPrice" => 0 ),
"100" => array( "price" => 4000, "FBPrice" => 0 )
),
"timeLimit" => "0",
"effect" => "3600",
"depict" => "\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f41\\u5c0f\\ u65f6\\u3002",
"type" => 3
),
"2" => array(
"tId" => 2,
"tName" => "\\u9ad8\\u901f\\u5316\\u80a5",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 2 ),
"10" => array( "price" => 0, "FBPrice" => 12 ),
"100" => array( "price" => 0, "FBPrice" => 100 )
),
"timeLimit" => "0",
"effect" => "9000",
"depict" => "\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f42.5\\u5c0f \\u65f6\\u3002",
"type" => 3
),
"3" => array(
"tId" => 3,
"tName" => "\\u6781\\u901f\\u5316\\u80a5",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 5 ),
"10" => array( "price" => 0, "FBPrice" => 30 ),
"100" => array( "price" => 0, "FBPrice" => 250 )
),
"timeLimit" => "0",
"effect" => "19800",
"depict" => "\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f45.5\\u5c0f \\u65f6\\u3002",
"type" => 3
),
"7" => array(
"tId" => 7,
"tName" => "\\u98de\\u901f\\u5316\\u80a5",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 8 ),
"10" => array( "price" => 0, "FBPrice" => 72 ),
"100" => array( "price" => 0, "FBPrice" => 640 )
),
"timeLimit" => "0",
"effect" => "28800",
"depict" => "\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f48\\u5c0f\\ u65f6\\u3002",
"type" => 3
),
"8" => array(
"tId" => 8,
"tName" => "\\u795e\\u901f\\u5316\\u80a5",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 9 ),
"10" => array( "price" => 0, "FBPrice" => 81 ),
"100" => array( "price" => 0, "FBPrice" => 720 )
),
"timeLimit" => "0",
"effect" => "21600",
"depict" => "\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f46\\u5c0f\\ u65f6\\uff0c\\u4eba\\u54c1\\u597d\\u7684\\u8bdd\\u 8fd8\\u6709\\u66f4\\u795e\\u5947\\u7684\\u6548\\u6 79c\\u54e6\\uff01",
"type" => 3
),
"4" => array(
"tId" => 4,
"tName" => "\\u53cb\\u60c5\\u5316\\u80a5",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 2 ),
"10" => array( "price" => 0, "FBPrice" => 12 ),
"100" => array( "price" => 0, "FBPrice" => 100 )
),
"timeLimit" => "0",
"effect" => "5400",
"depict" => "\\u53ea\\u80fd\\u5bf9\\u597d\\u53cb\\u571f\\u5730\ \u4e0a\\u7684\\u4f5c\\u7269\\u4f7f\\u7528\\uff0c\\ u51cf\\u5c11\\u597d\\u53cb\\u4f5c\\u7269\\u5f53\\u 524d\\u72b6\\u60011.5\\u5c0f\\u65f6\\u65f6\\u95f4\ \u3002",
"type" => 3
),
"5" => array(
"tId" => 5,
"tName" => "\\u6253\\u72D7\\u68D2",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 2 ),
"10" => array( "price" => 0, "FBPrice" => 12 ),
"100" => array( "price" => 0, "FBPrice" => 100 )
),
"timeLimit" => "0",
"effect" => "180",
"depict" => "\\u53EF\\u4EE5\\u628A\\u597D\\u53CB\\u7684\\u5BA0\ \u7269\\u6253\\u6655\\uFF0C\\u518D\\u8FDB\\u884C\\ u5077\\u7A83\\uFF01",
"type" => 3
),
"9" => array(
"tId" => 9,
"tName" => "\\u57fa\\u56e0\\u5316\\u80a5",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 2 ),
"10" => array( "price" => 0, "FBPrice" => 12 ),
"100" => array( "price" => 0, "FBPrice" => 100 )
),
"timeLimit" => "0",
"effect" => "0",
"depict" => "\\u53ef\\u4ee5\\u968f\\u673a\\u6539\\u53d8\\u9c9c\ \u82b1\\u989c\\u8272\\u7684\\u795e\\u5947\\u5316\\ u80a5\\uff01",
"type" => 3
),
"6" => array(
"tId" => 6,
"tName" => "\\u5f3a\\u529b\\u6740\\u866b\\u5242",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 2 ),
"10" => array( "price" => 0, "FBPrice" => 12 ),
"100" => array( "price" => 0, "FBPrice" => 100 )
),
"timeLimit" => "0",
"effect" => "3",
"depict" => "\\u6bd4\\u666e\\u901a\\u6740\\u866b\\u5242\\u5a01\ \u529b\\u66f4\\u5927\\uff0c\\u4f46\\u662f\\u53ea\\ u80fd\\u4e13\\u6740\\u5927\\u866b\\u5b50\\u3002",
"type" => 3
),
"3006" => array(
"tId" => 3006,
"tName" => "\\u7CD6\\u679C\\u7389\\u7C73",
"list" => array(
"1" => array( "price" => 500, "FBPrice" => 0 ),
"10" => array( "price" => 4500, "FBPrice" => 0 ),
"100" => array( "price" => 40000, "FBPrice" => 0 )
),
"timeLimit" => "0",
"effect" => "0",
"depict" => "\\u4E0D\\u7ED9\\u7CD6\\u5C31\\u6363\\u4E71\\u3002\ \u8D76\\u5FEB\\u9001\\u7CD6\\u679C\\u7ED9\\u4F60\\ u7684\\u670B\\u53CB\\u5427,\\u5426\\u5219\\u4ED6\\ u4EEC\\u4F1A\\u6349\\u5F04\\u4F60\\u7684\\u5466\\u 3002",
"type" => 3
),
"3007" => array(
"tId" => 3007,
"tName" => "\\u5DE7\\u514B\\u529B\\u5377",
"list" => array(
"1" => array( "price" => 500, "FBPrice" => 0 ),
"10" => array( "price" => 4500, "FBPrice" => 0 ),
"100" => array( "price" => 40000, "FBPrice" => 0 )
),
"timeLimit" => "0",
"effect" => "0",
"depict" => "\\u4E0D\\u7ED9\\u7CD6\\u5C31\\u6363\\u4E71\\u3002\ \u8D76\\u5FEB\\u9001\\u7CD6\\u679C\\u7ED9\\u4F60\\ u7684\\u670B\\u53CB\\u5427,\\u5426\\u5219\\u4ED6\\ u4EEC\\u4F1A\\u6349\\u5F04\\u4F60\\u7684\\u5466\\u 3002",
"type" => 3
),
"3009" => array(
"tId" => 3009,
"tName" => "\\u5357\\u74DC\\u9ED1\\u732B",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 10 ),
"10" => array( "price" => 0, "FBPrice" => 60 ),
"100" => array( "price" => 0, "FBPrice" => 500 )
),
"3010" => array(
"tId" => 3010,
"tName" => "Good Bye 2009",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 10 ),
"10" => array( "price" => 0, "FBPrice" => 60 ),
"100" => array( "price" => 0, "FBPrice" => 500 )
),
Edit newfarmjson.php
echo "{\"3\":[{\"tId\":9,\"tName\":\"\\u57fa\\u56e0\\u5316\\u80a5\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":2},\"10\":{\"price\":0,\"FBPrice\":12},\"100\":{\"price\":0,\"FBPrice\":100}},\"timeLimit\":\"0\",\"effect\":\"0\",\"depict\":\"\\u53ef\\u4ee5\\u968f\\u673a\\u6539\\u53d8\\u9c9c\ \u82b1\\u989c\\u8272\\u7684\\u795e\\u5947\\u5316\\ u80a5\\uff01\",\"type\":3},{\"tId\":8,\"tName\":\"\\u5E7D\\u7075\",\"list\":{\"1\":{\"price\":\"0\",\"FBPrice\":\"35\"}},\"effect\":\"\",\"depict\":\"\\u4E07\\u5723\\u8282\\u5230\\u4E86\\uFF0C\\u53CB\ \u53CB\\u795D\\u5927\\u5BB6\\u73A9\\u5F00\\u5FC3\\ uFF0C\\u8FD9\\u91CC\\u732E\\u4E0A\\u4E00\\u53EA\\u 201C\\u9B3C\\u201D\\u5427\\u3002\",\"type\":4},{\"tId\":7,\"tName\":\"\\u82cf\\u683c\\u5170\\u7267\\u7f8a\\u72ac\",\"list\":{\"1\":{\"price\":\"0\",\"FBPrice\":\"59\"}},\"effect\":\"\",\"depict\":\"\\u5BA0\\u7269\\u53ef\\u4ee5\\u4fdd\\u62a4\\u4f60\ \u7684\\u519c\\u573a\\uff0c\\u9632\\u6b62\\u597d\\ u53cb\\u4f7f\\u574f\\u54e6~\\u8d2d\\u4e70\\u540c\\ u65f6\\u8d60\\u900110\\u5305\\u7CAE\\u98DF\",\"type\":4},{\"tId\":1,\"tName\":\"\\u666e\\u901a\\u5316\\u80a5\",\"list\":{\"1\":{\"price\":50,\"FBPrice\":0},\"10\":{\"price\":450,\"FBPrice\":0},\"100\":{\"price\":4000,\"FBPrice\":0}},\"timeLimit\":\"0\",\"effect\":\"3600\",\"depict\":\"\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f41\\u5c0f\\ u65f6\\u3002\",\"type\":3},{\"tId\":2,\"tName\":\"\\u9ad8\\u901f\\u5316\\u80a5\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":2},\"10\":{\"price\":0,\"FBPrice\":12},\"100\":{\"price\":0,\"FBPrice\":100}},\"timeLimit\":\"0\",\"effect\":\"9000\",\"depict\":\"\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f42.5\\u5c0f \\u65f6\\u3002\",\"type\":3},{\"tId\":3,\"tName\":\"\\u6781\\u901f\\u5316\\u80a5\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":5},\"10\":{\"price\":0,\"FBPrice\":30},\"100\":{\"price\":0,\"FBPrice\":250}},\"timeLimit\":\"0\",\"effect\":\"19800\",\"depict\":\"\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f45.5\\u5c0f \\u65f6\\u3002\",\"type\":3},{\"tId\":7,\"tName\":\"\\u98de\\u901f\\u5316\\u80a5\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":8},\"10\":{\"price\":0,\"FBPrice\":72},\"100\":{\"price\":0,\"FBPrice\":640}},\"timeLimit\":\"0\",\"effect\":\"28800\",\"depict\":\"\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f48\\u5c0f\\ u65f6\\u3002\",\"type\":3},{\"tId\":501,\"tName\":\"\\u7CAE\\u98DF\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":2},\"10\":{\"price\":0,\"FBPrice\":15},\"100\":{\"price\":0,\"FBPrice\":130}},\"timeLimit\":\"0\",\"effect\":\"0\",\"depict\":\"\\u5BA0\\u7269\\u997F\\u4E86\\u5C31\\u6CA1\\u6CD5\ \u5DE5\\u4F5C\\u4E86\\u54DF\\uFF0C\\u8D76\\u5FEB\\ u7ED9\\u5BA0\\u7269\\u5582\\u98DF\\u5427\",\"type\":3},{\"tId\":8,\"tName\":\"\\u795e\\u901f\\u5316\\u80a5\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":9},\"10\":{\"price\":0,\"FBPrice\":81},\"100\":{\"price\":0,\"FBPrice\":720}},\"timeLimit\":\"0\",\"effect\":\"21600\",\"depict\":\"\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f46\\u5c0f\\ u65f6\\uff0c\\u4eba\\u54c1\\u597d\\u7684\\u8bdd\\u 8fd8\\u6709\\u66f4\\u795e\\u5947\\u7684\\u6548\\u6 79c\\u54e6\\uff01\",\"type\":3},{\"tId\":4,\"tName\":\"\\u53cb\\u60c5\\u5316\\u80a5\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":2},\"10\":{\"price\":0,\"FBPrice\":12},\"100\":{\"price\":0,\"FBPrice\":100}},\"timeLimit\":\"0\",\"effect\":\"5400\",\"depict\":\"\\u53ea\\u80fd\\u5bf9\\u597d\\u53cb\\u571f\\u5730\ \u4e0a\\u7684\\u4f5c\\u7269\\u4f7f\\u7528\\uff0c\\ u51cf\\u5c11\\u597d\\u53cb\\u4f5c\\u7269\\u5f53\\u 524d\\u72b6\\u60011.5\\u5c0f\\u65f6\\u65f6\\u95f4\ \u3002\",\"type\":3},{\"tId\":5,\"tName\":\"\\u6253\\u72D7\\u68D2\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":2},\"10\":{\"price\":0,\"FBPrice\":12},\"100\":{\"price\":0,\"FBPrice\":100}},\"timeLimit\":\"0\",\"effect\":\"18\",\"depict\":\"\\u8BA9\\u5BA0\\u7269\\u66553\\u5206\\u949F\",\"type\":3},{\"tId\":6,\"tName\":\"\\u5F3A\\u529B\\u6740\\u866B\\u5242\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":2},\"10\":{\"price\":0,\"FBPrice\":12},\"100\":{\"price\":0,\"FBPrice\":100}},\"timeLimit\":\"0\",\"effect\":\"3\",\"depict\":\"\\u6BD4\\u666E\\u901A\\u6740\\u866B\\u5242\\u5A01\ \u529B\\u66F4\\u5927\\uFF0C\\u4F46\\u662F\\u53EA\\ u80FD\\u4E13\\u6740\\u5927\\u866B\\u5B50\\u3002\",\"type\":3},{\"tId\":3006,\"tName\":\"\\u7CD6\\u679C\\u7389\\u7C73\",\"list\":{\"1\":{\"price\":500,\"FBPrice\":0}},\"timeLimit\":\"0\",\"effect\":\"0\",\"depict\":\"\\u4E0D\\u7ED9\\u7CD6\\u5C31\\u6363\\u4E71\\u3002\ \u8D76\\u5FEB\\u9001\\u7CD6\\u679C\\u7ED9\\u4F60\\ u7684\\u670B\\u53CB\\u5427,\\u5426\\u5219\\u4ED6\\ u4EEC\\u4F1A\\u6349\\u5F04\\u4F60\\u7684\\u5466\\u 3002\",\"type\":3},{\"tId\":3007,\"tName\":\"\\u5DE7\\u514B\\u529B\\u5377\",\"list\":{\"1\":{\"price\":500,\"FBPrice\":0}},\"timeLimit\":\"0\",\"effect\":\"0\",\"depict\":\"\\u4E0D\\u7ED9\\u7CD6\\u5C31\\u6363\\u4E71\\u3002\ \u8D76\\u5FEB\\u9001\\u7CD6\\u679C\\u7ED9\\u4F60\\ u7684\\u670B\\u53CB\\u5427,\\u5426\\u5219\\u4ED6\\ u4EEC\\u4F1A\\u6349\\u5F04\\u4F60\\u7684\\u5466\\u 3002\",\"type\":3},{\"tId\":3008,\"tName\":\"Kisses\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":5}},\"timeLimit\":\"0\",\"effect\":\"0\",\"depict\":\"\\u4E0D\\u7ED9\\u7CD6\\u5C31\\u6363\\u4E71\\u3002\ \u8D76\\u5FEB\\u9001\\u7CD6\\u679C\\u7ED9\\u4F60\\ u7684\\u670B\\u53CB\\u5427,\\u5426\\u5219\\u4ED6\\ u4EEC\\u4F1A\\u6349\\u5F04\\u4F60\\u7684\\u5466\\u 3002\",\"type\":3},{\"tId\":3009,\"tName\":\"\\u5357\\u74DC\\u9ED1\\u732B\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":10}},\"timeLimit\":\"0\",\"effect\":\"0\",\"depict\":\"\\u9001\\u5357\\u74DC\\u9ED1\\u732B\\u7ED9\\u4F60\ \u7684\\u670B\\u53CB\\u5427\\uFF0C\\u8FD9\\u4E00\\ u5B9A\\u4F1A\\u7ED9\\u4ED6\\u4EEC\\u5E26\\u53BB\\u 597D\\u8FD0\\u7684\\u3002\",\"type\":3},{\"tId\":3010,\"tName\":\"Good Bye 2009",\"list\":{\"1\":{\"price\":0,\"FBPrice\":10}},\"timeLimit\":\"0\",\"effect\":\"0\",\"depict\":\"Test test",\"type\":3}]
Xong rồi
Riêng cái gift làm rất dễ \:D/
mutaynguyen.tk
04-02-10, 11:19 PM
web này up lên host kiểu gì đây.có bác nào việt hóa chưa shen cho em với
linh12347
05-02-10, 10:11 AM
Thêm = tay :| không có soft :|
Thì trước tiên phải có flash cái đã :|
Ví dụ mềnh làm item gift có id là 3010
Thì trước tiên phải mở file ini.xml
<gift>
<item id="3001" className="chaoshiMoonCake" giftName="潮式月饼" num="1" charm="40" />
<item id="3002" className="tanshaoMoonCake" giftName="炭烧月饼" num="1" charm="40" />
<item id="3003" className="guangshiMoonCake" giftName="广式月饼" num="1" charm="40" />
<item id="3004" className="bingpiMoonCake" giftName="冰皮月饼" num="1" charm="40" />
<item id="3005" className="sushiMoonCake" giftName="苏式月饼" num="1" charm="40" />
<item id="3006" className="CronCandy" giftName="糖果玉米" num="1" charm="20" />
<item id="3007" className="Roll" giftName="巧克力卷" num="1" charm="20" />
<item id="3008" className="Kisses" giftName="Kisses巧克力" num="1" charm="20" />
<item id="3009" className="BlackCat" giftName="黑猫南瓜" num="1" charm="20" />
<item id="3010" className="GoodBye2009" giftName="Good Bye 2009" num="1" charm="20" />
</gift>
Típ tục mở resources.xml và thêm
<file url="module/ui/main/exchang/Halloween.swf?v=0">
<item className="Kisses" type="SimpleSprite" width="68.6" height="90.0" />
<item className="Roll" type="SimpleSprite" width="120.1" height="35.0" />
<item className="CronCandy" type="SimpleSprite" width="81.5" height="65.0" />
<item className="BlackCat" type="SimpleSprite" width="70.6" height="90.0" />
<item className="GoodBye2009" type="SimpleSprite" width="81.6" height="90.0" />
Cái className phải giống như bên ini nhé
</file>
Edit farm.php
$tools = array(
"1" => array(
"tId" => 1,
"tName" => "\\u666e\\u901a\\u5316\\u80a5",
"list" => array(
"1" => array( "price" => 50, "FBPrice" => 0 ),
"10" => array( "price" => 450, "FBPrice" => 0 ),
"100" => array( "price" => 4000, "FBPrice" => 0 )
),
"timeLimit" => "0",
"effect" => "3600",
"depict" => "\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f41\\u5c0f\\ u65f6\\u3002",
"type" => 3
),
"2" => array(
"tId" => 2,
"tName" => "\\u9ad8\\u901f\\u5316\\u80a5",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 2 ),
"10" => array( "price" => 0, "FBPrice" => 12 ),
"100" => array( "price" => 0, "FBPrice" => 100 )
),
"timeLimit" => "0",
"effect" => "9000",
"depict" => "\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f42.5\\u5c0f \\u65f6\\u3002",
"type" => 3
),
"3" => array(
"tId" => 3,
"tName" => "\\u6781\\u901f\\u5316\\u80a5",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 5 ),
"10" => array( "price" => 0, "FBPrice" => 30 ),
"100" => array( "price" => 0, "FBPrice" => 250 )
),
"timeLimit" => "0",
"effect" => "19800",
"depict" => "\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f45.5\\u5c0f \\u65f6\\u3002",
"type" => 3
),
"7" => array(
"tId" => 7,
"tName" => "\\u98de\\u901f\\u5316\\u80a5",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 8 ),
"10" => array( "price" => 0, "FBPrice" => 72 ),
"100" => array( "price" => 0, "FBPrice" => 640 )
),
"timeLimit" => "0",
"effect" => "28800",
"depict" => "\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f48\\u5c0f\\ u65f6\\u3002",
"type" => 3
),
"8" => array(
"tId" => 8,
"tName" => "\\u795e\\u901f\\u5316\\u80a5",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 9 ),
"10" => array( "price" => 0, "FBPrice" => 81 ),
"100" => array( "price" => 0, "FBPrice" => 720 )
),
"timeLimit" => "0",
"effect" => "21600",
"depict" => "\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f46\\u5c0f\\ u65f6\\uff0c\\u4eba\\u54c1\\u597d\\u7684\\u8bdd\\u 8fd8\\u6709\\u66f4\\u795e\\u5947\\u7684\\u6548\\u6 79c\\u54e6\\uff01",
"type" => 3
),
"4" => array(
"tId" => 4,
"tName" => "\\u53cb\\u60c5\\u5316\\u80a5",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 2 ),
"10" => array( "price" => 0, "FBPrice" => 12 ),
"100" => array( "price" => 0, "FBPrice" => 100 )
),
"timeLimit" => "0",
"effect" => "5400",
"depict" => "\\u53ea\\u80fd\\u5bf9\\u597d\\u53cb\\u571f\\u5730\ \u4e0a\\u7684\\u4f5c\\u7269\\u4f7f\\u7528\\uff0c\\ u51cf\\u5c11\\u597d\\u53cb\\u4f5c\\u7269\\u5f53\\u 524d\\u72b6\\u60011.5\\u5c0f\\u65f6\\u65f6\\u95f4\ \u3002",
"type" => 3
),
"5" => array(
"tId" => 5,
"tName" => "\\u6253\\u72D7\\u68D2",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 2 ),
"10" => array( "price" => 0, "FBPrice" => 12 ),
"100" => array( "price" => 0, "FBPrice" => 100 )
),
"timeLimit" => "0",
"effect" => "180",
"depict" => "\\u53EF\\u4EE5\\u628A\\u597D\\u53CB\\u7684\\u5BA0\ \u7269\\u6253\\u6655\\uFF0C\\u518D\\u8FDB\\u884C\\ u5077\\u7A83\\uFF01",
"type" => 3
),
"9" => array(
"tId" => 9,
"tName" => "\\u57fa\\u56e0\\u5316\\u80a5",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 2 ),
"10" => array( "price" => 0, "FBPrice" => 12 ),
"100" => array( "price" => 0, "FBPrice" => 100 )
),
"timeLimit" => "0",
"effect" => "0",
"depict" => "\\u53ef\\u4ee5\\u968f\\u673a\\u6539\\u53d8\\u9c9c\ \u82b1\\u989c\\u8272\\u7684\\u795e\\u5947\\u5316\\ u80a5\\uff01",
"type" => 3
),
"6" => array(
"tId" => 6,
"tName" => "\\u5f3a\\u529b\\u6740\\u866b\\u5242",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 2 ),
"10" => array( "price" => 0, "FBPrice" => 12 ),
"100" => array( "price" => 0, "FBPrice" => 100 )
),
"timeLimit" => "0",
"effect" => "3",
"depict" => "\\u6bd4\\u666e\\u901a\\u6740\\u866b\\u5242\\u5a01\ \u529b\\u66f4\\u5927\\uff0c\\u4f46\\u662f\\u53ea\\ u80fd\\u4e13\\u6740\\u5927\\u866b\\u5b50\\u3002",
"type" => 3
),
"3006" => array(
"tId" => 3006,
"tName" => "\\u7CD6\\u679C\\u7389\\u7C73",
"list" => array(
"1" => array( "price" => 500, "FBPrice" => 0 ),
"10" => array( "price" => 4500, "FBPrice" => 0 ),
"100" => array( "price" => 40000, "FBPrice" => 0 )
),
"timeLimit" => "0",
"effect" => "0",
"depict" => "\\u4E0D\\u7ED9\\u7CD6\\u5C31\\u6363\\u4E71\\u3002\ \u8D76\\u5FEB\\u9001\\u7CD6\\u679C\\u7ED9\\u4F60\\ u7684\\u670B\\u53CB\\u5427,\\u5426\\u5219\\u4ED6\\ u4EEC\\u4F1A\\u6349\\u5F04\\u4F60\\u7684\\u5466\\u 3002",
"type" => 3
),
"3007" => array(
"tId" => 3007,
"tName" => "\\u5DE7\\u514B\\u529B\\u5377",
"list" => array(
"1" => array( "price" => 500, "FBPrice" => 0 ),
"10" => array( "price" => 4500, "FBPrice" => 0 ),
"100" => array( "price" => 40000, "FBPrice" => 0 )
),
"timeLimit" => "0",
"effect" => "0",
"depict" => "\\u4E0D\\u7ED9\\u7CD6\\u5C31\\u6363\\u4E71\\u3002\ \u8D76\\u5FEB\\u9001\\u7CD6\\u679C\\u7ED9\\u4F60\\ u7684\\u670B\\u53CB\\u5427,\\u5426\\u5219\\u4ED6\\ u4EEC\\u4F1A\\u6349\\u5F04\\u4F60\\u7684\\u5466\\u 3002",
"type" => 3
),
"3009" => array(
"tId" => 3009,
"tName" => "\\u5357\\u74DC\\u9ED1\\u732B",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 10 ),
"10" => array( "price" => 0, "FBPrice" => 60 ),
"100" => array( "price" => 0, "FBPrice" => 500 )
),
"3010" => array(
"tId" => 3010,
"tName" => "Good Bye 2009",
"list" => array(
"1" => array( "price" => 0, "FBPrice" => 10 ),
"10" => array( "price" => 0, "FBPrice" => 60 ),
"100" => array( "price" => 0, "FBPrice" => 500 )
),
Edit newfarmjson.php
echo "{\"3\":[{\"tId\":9,\"tName\":\"\\u57fa\\u56e0\\u5316\\u80a5\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":2},\"10\":{\"price\":0,\"FBPrice\":12},\"100\":{\"price\":0,\"FBPrice\":100}},\"timeLimit\":\"0\",\"effect\":\"0\",\"depict\":\"\\u53ef\\u4ee5\\u968f\\u673a\\u6539\\u53d8\\u9c9c\ \u82b1\\u989c\\u8272\\u7684\\u795e\\u5947\\u5316\\ u80a5\\uff01\",\"type\":3},{\"tId\":8,\"tName\":\"\\u5E7D\\u7075\",\"list\":{\"1\":{\"price\":\"0\",\"FBPrice\":\"35\"}},\"effect\":\"\",\"depict\":\"\\u4E07\\u5723\\u8282\\u5230\\u4E86\\uFF0C\\u53CB\ \u53CB\\u795D\\u5927\\u5BB6\\u73A9\\u5F00\\u5FC3\\ uFF0C\\u8FD9\\u91CC\\u732E\\u4E0A\\u4E00\\u53EA\\u 201C\\u9B3C\\u201D\\u5427\\u3002\",\"type\":4},{\"tId\":7,\"tName\":\"\\u82cf\\u683c\\u5170\\u7267\\u7f8a\\u72ac\",\"list\":{\"1\":{\"price\":\"0\",\"FBPrice\":\"59\"}},\"effect\":\"\",\"depict\":\"\\u5BA0\\u7269\\u53ef\\u4ee5\\u4fdd\\u62a4\\u4f60\ \u7684\\u519c\\u573a\\uff0c\\u9632\\u6b62\\u597d\\ u53cb\\u4f7f\\u574f\\u54e6~\\u8d2d\\u4e70\\u540c\\ u65f6\\u8d60\\u900110\\u5305\\u7CAE\\u98DF\",\"type\":4},{\"tId\":1,\"tName\":\"\\u666e\\u901a\\u5316\\u80a5\",\"list\":{\"1\":{\"price\":50,\"FBPrice\":0},\"10\":{\"price\":450,\"FBPrice\":0},\"100\":{\"price\":4000,\"FBPrice\":0}},\"timeLimit\":\"0\",\"effect\":\"3600\",\"depict\":\"\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f41\\u5c0f\\ u65f6\\u3002\",\"type\":3},{\"tId\":2,\"tName\":\"\\u9ad8\\u901f\\u5316\\u80a5\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":2},\"10\":{\"price\":0,\"FBPrice\":12},\"100\":{\"price\":0,\"FBPrice\":100}},\"timeLimit\":\"0\",\"effect\":\"9000\",\"depict\":\"\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f42.5\\u5c0f \\u65f6\\u3002\",\"type\":3},{\"tId\":3,\"tName\":\"\\u6781\\u901f\\u5316\\u80a5\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":5},\"10\":{\"price\":0,\"FBPrice\":30},\"100\":{\"price\":0,\"FBPrice\":250}},\"timeLimit\":\"0\",\"effect\":\"19800\",\"depict\":\"\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f45.5\\u5c0f \\u65f6\\u3002\",\"type\":3},{\"tId\":7,\"tName\":\"\\u98de\\u901f\\u5316\\u80a5\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":8},\"10\":{\"price\":0,\"FBPrice\":72},\"100\":{\"price\":0,\"FBPrice\":640}},\"timeLimit\":\"0\",\"effect\":\"28800\",\"depict\":\"\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f48\\u5c0f\\ u65f6\\u3002\",\"type\":3},{\"tId\":501,\"tName\":\"\\u7CAE\\u98DF\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":2},\"10\":{\"price\":0,\"FBPrice\":15},\"100\":{\"price\":0,\"FBPrice\":130}},\"timeLimit\":\"0\",\"effect\":\"0\",\"depict\":\"\\u5BA0\\u7269\\u997F\\u4E86\\u5C31\\u6CA1\\u6CD5\ \u5DE5\\u4F5C\\u4E86\\u54DF\\uFF0C\\u8D76\\u5FEB\\ u7ED9\\u5BA0\\u7269\\u5582\\u98DF\\u5427\",\"type\":3},{\"tId\":8,\"tName\":\"\\u795e\\u901f\\u5316\\u80a5\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":9},\"10\":{\"price\":0,\"FBPrice\":81},\"100\":{\"price\":0,\"FBPrice\":720}},\"timeLimit\":\"0\",\"effect\":\"21600\",\"depict\":\"\\u6bcf\\u4e2a\\u9636\\u6bb5\\u53ea\\u80fd\\u4f7f\ \u7528\\u4e00\\u6b21\\uff0c\\u51cf\\u5c11\\u8be5\\ u9636\\u6bb5\\u6210\\u957f\\u65f6\\u95f46\\u5c0f\\ u65f6\\uff0c\\u4eba\\u54c1\\u597d\\u7684\\u8bdd\\u 8fd8\\u6709\\u66f4\\u795e\\u5947\\u7684\\u6548\\u6 79c\\u54e6\\uff01\",\"type\":3},{\"tId\":4,\"tName\":\"\\u53cb\\u60c5\\u5316\\u80a5\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":2},\"10\":{\"price\":0,\"FBPrice\":12},\"100\":{\"price\":0,\"FBPrice\":100}},\"timeLimit\":\"0\",\"effect\":\"5400\",\"depict\":\"\\u53ea\\u80fd\\u5bf9\\u597d\\u53cb\\u571f\\u5730\ \u4e0a\\u7684\\u4f5c\\u7269\\u4f7f\\u7528\\uff0c\\ u51cf\\u5c11\\u597d\\u53cb\\u4f5c\\u7269\\u5f53\\u 524d\\u72b6\\u60011.5\\u5c0f\\u65f6\\u65f6\\u95f4\ \u3002\",\"type\":3},{\"tId\":5,\"tName\":\"\\u6253\\u72D7\\u68D2\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":2},\"10\":{\"price\":0,\"FBPrice\":12},\"100\":{\"price\":0,\"FBPrice\":100}},\"timeLimit\":\"0\",\"effect\":\"18\",\"depict\":\"\\u8BA9\\u5BA0\\u7269\\u66553\\u5206\\u949F\",\"type\":3},{\"tId\":6,\"tName\":\"\\u5F3A\\u529B\\u6740\\u866B\\u5242\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":2},\"10\":{\"price\":0,\"FBPrice\":12},\"100\":{\"price\":0,\"FBPrice\":100}},\"timeLimit\":\"0\",\"effect\":\"3\",\"depict\":\"\\u6BD4\\u666E\\u901A\\u6740\\u866B\\u5242\\u5A01\ \u529B\\u66F4\\u5927\\uFF0C\\u4F46\\u662F\\u53EA\\ u80FD\\u4E13\\u6740\\u5927\\u866B\\u5B50\\u3002\",\"type\":3},{\"tId\":3006,\"tName\":\"\\u7CD6\\u679C\\u7389\\u7C73\",\"list\":{\"1\":{\"price\":500,\"FBPrice\":0}},\"timeLimit\":\"0\",\"effect\":\"0\",\"depict\":\"\\u4E0D\\u7ED9\\u7CD6\\u5C31\\u6363\\u4E71\\u3002\ \u8D76\\u5FEB\\u9001\\u7CD6\\u679C\\u7ED9\\u4F60\\ u7684\\u670B\\u53CB\\u5427,\\u5426\\u5219\\u4ED6\\ u4EEC\\u4F1A\\u6349\\u5F04\\u4F60\\u7684\\u5466\\u 3002\",\"type\":3},{\"tId\":3007,\"tName\":\"\\u5DE7\\u514B\\u529B\\u5377\",\"list\":{\"1\":{\"price\":500,\"FBPrice\":0}},\"timeLimit\":\"0\",\"effect\":\"0\",\"depict\":\"\\u4E0D\\u7ED9\\u7CD6\\u5C31\\u6363\\u4E71\\u3002\ \u8D76\\u5FEB\\u9001\\u7CD6\\u679C\\u7ED9\\u4F60\\ u7684\\u670B\\u53CB\\u5427,\\u5426\\u5219\\u4ED6\\ u4EEC\\u4F1A\\u6349\\u5F04\\u4F60\\u7684\\u5466\\u 3002\",\"type\":3},{\"tId\":3008,\"tName\":\"Kisses\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":5}},\"timeLimit\":\"0\",\"effect\":\"0\",\"depict\":\"\\u4E0D\\u7ED9\\u7CD6\\u5C31\\u6363\\u4E71\\u3002\ \u8D76\\u5FEB\\u9001\\u7CD6\\u679C\\u7ED9\\u4F60\\ u7684\\u670B\\u53CB\\u5427,\\u5426\\u5219\\u4ED6\\ u4EEC\\u4F1A\\u6349\\u5F04\\u4F60\\u7684\\u5466\\u 3002\",\"type\":3},{\"tId\":3009,\"tName\":\"\\u5357\\u74DC\\u9ED1\\u732B\",\"list\":{\"1\":{\"price\":0,\"FBPrice\":10}},\"timeLimit\":\"0\",\"effect\":\"0\",\"depict\":\"\\u9001\\u5357\\u74DC\\u9ED1\\u732B\\u7ED9\\u4F60\ \u7684\\u670B\\u53CB\\u5427\\uFF0C\\u8FD9\\u4E00\\ u5B9A\\u4F1A\\u7ED9\\u4ED6\\u4EEC\\u5E26\\u53BB\\u 597D\\u8FD0\\u7684\\u3002\",\"type\":3},{\"tId\":3010,\"tName\":\"Good Bye 2009",\"list\":{\"1\":{\"price\":0,\"FBPrice\":10}},\"timeLimit\":\"0\",\"effect\":\"0\",\"depict\":\"Test test",\"type\":3}]
Xong rồi
Riêng cái gift làm rất dễ \:D/
ac rắc rối quá hjc hjc anh chỉ gọn hơn đi và cho em biết chi tiết đi hjc hjc em đang muốn thêm cái cây tình yêu :(( chỉ em zới :-s:-s
linh12347
05-02-10, 11:39 AM
ac anh ơi sau khi em alm2 cái iten 3010 của anh thì em zô lại cái nông trại nó bị như zdầy nè hjc hjc :((
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
hjc hjc !!!!!!!!!!!!! :((:(( chẳng hiểu tạo sao ?? :-??:-??
linh12347
05-02-10, 07:31 PM
Anh rick ơi chỉ em cách sửa lại cái tên font UTF-8 đi hjc hjc nó cứ để 棺棺棺棺棺棺 hjc hjc em sửa ini.xml ở bài " Nông Trại Vịêt Hóa" hướng dẫn rồi mà ko đc em làm như vậy nè mở file newfarmjson.php => Ctrl + H => Ô Find What điền UCS-2 => Ô Replace with điền UCS-2BE mà em find UCS-2 ko có hjc hjc anh chỉ em cấch sửa name nhân vật nhé
Powered by vBulletin® Version 4.2.0 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.