Bu quest sayesinde oyun içinde kullanıcılarınıza ep verebileceksiniz...Kurulum:locale_tr/item_proto unpack edip çıkan xml'in en sonuna:[php width=500] [/php]yapıştırın.locale_tr/item_list.txt açıp en sonuna:[php width=300]35004 ETC icon/item/dragonticket.tga35005 ETC icon/item/dragonticket.tga35006 ETC icon/item/dragonticket.tga35007 ETC icon/item/dragonticket.tga[/php]yapıştırın.item_proto.sql açıp en sonuna:[php width=300]INSERT INTO `item_proto` VALUES ('35004', 0x45FE7961, 0x45FE7961, '18', '0', '0', '1', '0', '0', '128', '', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '60', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');INSERT INTO `item_proto` VALUES ('35005', 0x45FE7961, 0x45FE7961, '18', '0', '0', '1', '0', '0', '128', '', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '60', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');INSERT INTO `item_proto` VALUES ('35006', 0x45FE7961, 0x45FE7961, '18', '0', '0', '1', '0', '0', '128', '', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '60', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');INSERT INTO `item_proto` VALUES ('35007', 0x45FE7961, 0x45FE7961, '18', '0', '0', '1', '0', '0', '128', '', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '60', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');[/php]Son olarak bu linkteki dosyayı indirip cd /usr/game/share/locale/turkey/quest dizinine atın.
Linkleri görebilmek için Turkmmo Forumuna ÜYE olmanız gerekmektedir.
sonra puttye gelipcd /usr/game/share/locale/turkey/quest [ENTER]./qc epver.lua [ENTER]reboot atip gm çar ile /i 35004 /i 35005 /i 35006 /i 35007 yazıp itemi alabilirsiniz...Teşekkürler...
Son düzenleme:
Tamamen kendim yazdım. Kullananların işine yararsa ne mutlu bana.PHP:quest epveramca begin state start begin when 35004.use begin epveramca.epversene(5) end when 35005.use begin epveramca.epversene(10) end when 35006.use begin epveramca.epversene(15) end when 35007.use begin epveramca.epversene(20) end function epversene(miktar) local simdiki_ep = mysql_query("SELECT coins from account.account WHERE id='"..pc.get_account_id().."' LIMIT 1") local kill_up = mysql_query("UPDATE account.account SET coins ='"..(simdiki_ep.coins[1]+miktar).."' WHERE id ='"..pc.get_account_id().."' LIMIT 1") notice_all(""..pc.get_name().." EP Taşı Kıllanarak "..miktar.." EP Kazandı !") local enson_ep = mysql_query("SELECT coins from account.account WHERE id='"..pc.get_account_id().."' LIMIT 1") chat(""..pc.get_name().." Şu anda "..(enson_ep.coins[1]).." EP'in bulunmakta !") item.remove() end end end
questi böyle yapıstırınca olumlu bisey cıkmaz gibime geliyor html kodunu biraz büyütürsen daha faydalı olur quest için tesekkürler sıralama dizin hatası var
Kusura bakma kardeşquest epveramca begin state start begin when 35004.use begin epveramca.epversene(5) end when 35005.use begin epveramca.epversene(10) end when 35006.use begin epveramca.epversene(15) end when 35007.use begin epveramca.epversene(20) end function epversene(miktar) local simdiki_ep = mysql_query("SELECT coins from account.account WHERE id='"..pc.get_account_id().."' LIMIT 1") local kill_up = mysql_query("UPDATE account.account SET coins ='"..(simdiki_ep.coins[1]+miktar).."' WHERE id ='"..pc.get_account_id().."' LIMIT 1") notice_all(""..pc.get_name().." EP Taşı Kıllanarak "..miktar.." EP Kazandı !") local enson_ep = mysql_query("SELECT coins from account.account WHERE id='"..pc.get_account_id().."' LIMIT 1") chat(""..pc.get_name().." Şu anda "..(enson_ep.coins[1]).." EP'in bulunmakta !") item.remove() end end end
- Durum
- Üzgünüz bu konu cevaplar için kapatılmıştır...
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 2
- Görüntüleme
- 275
- Cevaplar
- 1
- Görüntüleme
- 794
- Cevaplar
- 5
- Görüntüleme
- 902
- Cevaplar
- 13
- Görüntüleme
- 3K
