-
Posts
22 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by monyet
-
thanks alot, then next script from base this script i will make trade City To City ^^
-
help me to corection my script or modification for all map but every 1 hour reset npc a and b deferent item : // NPC: Abas Eden Group (NPC Penjual Item Konsumsi) morocc,172,86,5 script Abas 56,{ mes "Berikut adalah harga pembelian kami saat ini:"; mes "^0000FFFried Grasshopper Legs^000000: "+.fried_grasshopper_price+" Zeny"; mes "^0000FFSteamed Crab Nippers^000000: "+.steamed_crab_price+" Zeny"; mes "^0000FFFrog Egg Squid Ink Soup^000000: "+.frog_egg_soup_price+" Zeny"; mes "^0000FFFried Monkey Tails^000000: "+.fried_monkey_tails_price+" Zeny"; mes "^0000FFSeasoned Sticky Webfoot^000000: "+.seasoned_sticky_webfoot_price+" Zeny"; mes "^0000FFAssorted Seafood^000000: "+.assorted_seafood_price+" Zeny"; mes "^0000FFSmooth Noodle^000000: "+.smooth_noodle_price+" Zeny"; mes "^0000FFBomber Steak^000000: "+.bomber_steak_price+" Zeny"; mes "^0000FFClam Soup^000000: "+.clam_soup_price+" Zeny"; mes "^0000FFTentacle Cheese Gratin^000000: "+.tentacle_cheese_gratin_price+" Zeny"; mes "^0000FFFried Sweet Potato^000000: "+.fried_sweet_potato_price+" Zeny"; mes "^0000FFSeasoned Jellyfish^000000: "+.seasoned_jellyfish_price+" Zeny"; mes "^0000FFLutie Cold Noodle^000000: "+.lutie_cold_noodle_price+" Zeny"; mes "^0000FFSteamed Ancient Lips^000000: "+.steamed_ancient_lips_price+" Zeny"; mes "^0000FFFried Scorpion Tails^000000: "+.fried_scorpion_tails_price+" Zeny"; mes "Silakan pilih item yang ingin kamu jual."; next; mes "Apa yang ingin kamu jual?"; switch(select( "^0000FFFried Grasshopper Legs^000000", "^0000FFSteamed Crab Nippers^000000", "^0000FFFrog Egg Squid Ink Soup^000000", "^0000FFFried Monkey Tails^000000", "^0000FFSeasoned Sticky Webfoot^000000", "^0000FFAssorted Seafood^000000", "^0000FFSmooth Noodle^000000", "^0000FFBomber Steak^000000", "^0000FFClam Soup^000000", "^0000FFTentacle Cheese Gratin^000000", "^0000FFFried Sweet Potato^000000", "^0000FFSeasoned Jellyfish^000000", "^0000FFLutie Cold Noodle^000000", "^0000FFSteamed Ancient Lips^000000", "^0000FFFried Scorpion Tails^000000", "^0000FFTidak Jadi^000000" )) { case 1: callfunc "SellItem", 12041, .fried_grasshopper_price, "Fried Grasshopper Legs"; break; case 2: callfunc "SellItem", 12051, .steamed_crab_price, "Steamed Crab Nippers"; break; case 3: callfunc "SellItem", 12056, .frog_egg_soup_price, "Frog Egg Squid Ink Soup"; break; case 4: callfunc "SellItem", 12066, .fried_monkey_tails_price, "Fried Monkey Tails"; break; case 5: callfunc "SellItem", 12042, .seasoned_sticky_webfoot_price, "Seasoned Sticky Webfoot"; break; case 6: callfunc "SellItem", 12052, .assorted_seafood_price, "Assorted Seafood"; break; case 7: callfunc "SellItem", 12057, .smooth_noodle_price, "Smooth Noodle"; break; case 8: callfunc "SellItem", 12043, .bomber_steak_price, "Bomber Steak"; break; case 9: callfunc "SellItem", 12053, .clam_soup_price, "Clam Soup"; break; case 10: callfunc "SellItem", 12058, .tentacle_cheese_gratin_price, "Tentacle Cheese Gratin"; break; case 11: callfunc "SellItem", 12068, .fried_sweet_potato_price, "Fried Sweet Potato"; break; case 12: callfunc "SellItem", 12054, .seasoned_jellyfish_price, "Seasoned Jellyfish"; break; case 13: callfunc "SellItem", 12059, .lutie_cold_noodle_price, "Lutie Cold Noodle"; break; case 14: callfunc "SellItem", 12069, .steamed_ancient_lips_price, "Steamed Ancient Lips"; break; case 15: callfunc "SellItem", 12070, .fried_scorpion_tails_price, "Fried Scorpion Tails"; break; case 16: mes "Baik, mungkin lain kali."; close; } OnInit: .fried_grasshopper_price = rand(200, 2500); .steamed_crab_price = rand(150, 2550); .frog_egg_soup_price = rand(200, 2500); .fried_monkey_tails_price = rand(200, 2500); .seasoned_sticky_webfoot_price = rand(200, 2500); .assorted_seafood_price = rand(200, 2500); .smooth_noodle_price = rand(200, 2500); .bomber_steak_price = rand(200, 2500); .clam_soup_price = rand(200, 2500); .tentacle_cheese_gratin_price = rand(200, 2500); .fried_sweet_potato_price = rand(200, 2500); .seasoned_jellyfish_price = rand(200, 2500); .lutie_cold_noodle_price = rand(200, 2500); .steamed_ancient_lips_price = rand(200, 2500); .fried_scorpion_tails_price = rand(200, 2500); initnpctimer(); end; OnTimer3600000: stopnpctimer(); donpcevent strnpcinfo(0)+"::OnInit"; announce "Pedagang Grup Eden Morocc: Harga telah diperbarui! Silakan cek barang yang ingin dijual.", bc_all; end; } // Function SellItem — penanganan jual item function script SellItem { .@item_id = getarg(0); .@price = getarg(1); .@item_name$ = getarg(2); if (countitem(.@item_id) < 1) { mes "Maaf, sepertinya kamu tidak memiliki "+.@item_name$+"!"; close; } mes "Berapa banyak "+.@item_name$+" yang ingin kamu jual?"; input .@amount; if (.@amount <= 0 || .@amount > countitem(.@item_id)) { mes "Mohon masukkan jumlah yang valid!"; close; } .@total_price = .@amount * .@price; mes "Kamu akan mendapatkan "+.@total_price+" Zeny untuk "+.@amount+" "+.@item_name$+"."; if (select("Jual:Batalkan") == 1) { delitem .@item_id, .@amount; set Zeny, Zeny + .@total_price; mes "Terima kasih telah menjual "+.@amount+" "+.@item_name$+" seharga "+.@total_price+" Zeny!"; } else { mes "Baik, mungkin lain kali."; } close; }
-
thanks alot
-
its make me interesting, i will try make it, then after last night i make 2 npc for that lol, for make milk and egg its have progses bar, with time 10 sec , and have change random failed or suces; sory my bad english This is an example of a trade map between cities, later I will make: 1, each city will have its own commodity goods 2, each item between cities will change its price like supply and demand, abundant goods will go down, few goods will go up 3. Players will escort the delivery of goods, and can be attacked by monsters, I think this script already exists but I forgot where, we add it when actively escorting goods, the teleport feature from Kafra will not work, except for storing goods and save points that are still working 4. The commodity goods are divided into those sold by NPCs, drop items, and brew items and crafting from NPCs that have been provided; 5. Most of me follow your ideas, my friend, but I make it my own way, maybe by adding or I don't know how it will turn out later. and all of that is very fun
-
Release: Hide announcements/broadcasts command @blockbc
monyet replied to pajodex's topic in Source Releases
update this script please -
can update this script because i have some conflic
-
need help about npc healer with buff agi + bless and buff soulinker
monyet posted a question in Scripting Support
Question : At modification this script have a mistake ? i want all player give buff soul linker //===== rAthena Script ======================================= //= Healer //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.1 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= Basic healer script. //===== Additional Comments: ================================= //= 1.0 Initial script. //= 1.1 Aligned coordinates with @go. //============================================================ - script Healer -1,{ .@Price = 0; // Zeny required for heal .@Buffs = 1; // Buff players (1: enabled permanently) .@Delay = 0; // Heal delay, in seconds if (@HD > gettimetick(2)) end; if (.@Price) { message strcharinfo(0), "Healing costs " + callfunc("F_InsertComma", .@Price) + " Zeny."; if (Zeny < .@Price) end; if (select("^0055FFHeal^000000:^777777Cancel^000000") == 2) end; Zeny -= .@Price; } // Heal effect specialeffect2 EF_HEAL2; percentheal 100, 100; // Apply buffs: Increase Agility and Blessing specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI, 240000, 10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING, 240000, 10; // Class-specific Soul Links switch(Class) { case Job_Alchemist: specialeffect2 EF_SOULLINK; sc_start SC_SPIRIT, 240000, SL_ALCHEMIST; // Alchemist Spirit@jo break; case Job_Monk: specialeffect2 EF_SOULLINK; sc_start SC_SPIRIT, 240000, SL_MONK; // Monk Spirit break; case Job_Sage: specialeffect2 EF_SOULLINK; sc_start SC_SPIRIT, 240000, SL_SAGE; // Sage Spirit break; case Job_Crusader: specialeffect2 EF_SOULLINK; sc_start SC_SPIRIT, 240000, SL_CRUSADER; // Crusader Spirit break; case Job_Knight: specialeffect2 EF_SOULLINK; sc_start SC_SPIRIT, 240000, SL_KNIGHT; // Knight Spirit break; case Job_Wizard: specialeffect2 EF_SOULLINK; sc_start SC_SPIRIT, 240000, SL_WIZARD; // Wizard Spirit break; case Job_Priest: specialeffect2 EF_SOULLINK; sc_start SC_SPIRIT, 240000, SL_PRIEST; // Priest Spirit break; case Job_Bard: case Job_Dancer: specialeffect2 EF_SOULLINK; sc_start SC_SPIRIT, 240000, SL_BARDDANCER; // Bard and Dancer Spirit break; case Job_Rogue: specialeffect2 EF_SOULLINK; sc_start SC_SPIRIT, 240000, SL_ROGUE; // Rogue Spirit break; case Job_Assassin: specialeffect2 EF_SOULLINK; sc_start SC_SPIRIT, 240000, SL_ASSASSIN; // Assassin Spirit break; case Job_Blacksmith: specialeffect2 EF_SOULLINK; sc_start SC_SPIRIT, 240000, SL_BLACKSMITH; // Blacksmith Spirit break; case Job_Hunter: specialeffect2 EF_SOULLINK; sc_start SC_SPIRIT, 240000, SL_HUNTER; // Hunter Spirit break; } // Delay handling if (.@Delay) @HD = gettimetick(2) + .@Delay; end; } // Duplicates //============================================================ alberta,25,240,6 duplicate(Healer) Healer#alb 909 aldebaran,135,118,6 duplicate(Healer) Healer#alde 909 amatsu,200,79,4 duplicate(Healer) Healer#ama 909 ayothaya,207,169,6 duplicate(Healer) Healer#ayo 909 comodo,184,158,6 duplicate(Healer) Healer#com 909 einbech,57,36,6 duplicate(Healer) Healer#einbe 909 einbroch,57,202,6 duplicate(Healer) Healer#einbr 909 geffen,115,72,6 duplicate(Healer) Healer#gef 909 gonryun,156,122,6 duplicate(Healer) Healer#gon 909 hugel,89,150,6 duplicate(Healer) Healer#hug 909 izlude,121,150,6 duplicate(Healer) Healer#izl 909 //Pre-RE: (125,118) jawaii,250,139,4 duplicate(Healer) Healer#jaw 909 lighthalzen,152,100,6 duplicate(Healer) Healer#lhz 909 louyang,226,103,4 duplicate(Healer) Healer#lou 909 manuk,272,144,6 duplicate(Healer) Healer#man 909 mid_camp,203,289,6 duplicate(Healer) Healer#mid 909 moc_ruins,72,164,4 duplicate(Healer) Healer#moc 909 morocc,153,97,6 duplicate(Healer) Healer#mor 909 moscovia,220,191,4 duplicate(Healer) Healer#mos 909 niflheim,212,182,5 duplicate(Healer) Healer#nif 909 payon,179,106,4 duplicate(Healer) Healer#pay 909 prontera,162,193,4 duplicate(Healer) Healer#prt 909 rachel,125,116,6 duplicate(Healer) Healer#rac 909 splendide,201,153,4 duplicate(Healer) Healer#spl 909 thor_camp,249,74,4 duplicate(Healer) Healer#thor 909 umbala,105,148,3 duplicate(Healer) Healer#umb 909 veins,217,121,4 duplicate(Healer) Healer#ve 909 xmas,143,136,4 duplicate(Healer) Healer#xmas 909 yuno,164,45,4 duplicate(Healer) Healer#yuno 909 // Duplicates (Renewal) //============================================================ brasilis,194,221,6 duplicate(Healer) Healer#bra 909 dewata,195,187,4 duplicate(Healer) Healer#dew 909 dicastes01,201,194,4 duplicate(Healer) Healer#dic 909 ecl_in01,45,60,4 duplicate(Healer) Healer#ecl 909 malangdo,132,114,6 duplicate(Healer) Healer#mal 909 malaya,227,204,6 duplicate(Healer) Healer#ma 909 mora,55,152,4 duplicate(Healer) Healer#mora 909 -
terimakasih banyak saya bisa menambah pengetahuan saya soal scriptnya ok saya akan praktekan, saya sangat terbantu sekali dengan penjelasannya
-
bagaimana script saya yang ini apakah bisa di buat lebih sederhana lagi ?
-
saya rasa, saya mencoba yang dasar dulu saja >.< dan pelan pelan step by step
-
bener jadi player nanti melihat kan dari semua perusahaan terdaftar mana yang paling banyak memberikan gaji , nah player sebagai pekerja dia akan memainkan mini game contohnya roulet atau tiktakto ataupun yang lain untuk minigamenya. Hingga nanti uang deposit yang di masukan oleh player selaku owner perusahaan habis uangnya dan ia wajib mengisi kembali ke npc tersebut
-
ok deh kalo begitu, sekarang lagi nyoba script selanjutnya NPC Embiroc Factory // namanya XD - saat berinteraksi NPC , NPC akan meminta nama perusahaan - Npc akan meminta barang apa yang hendak di produksi ( sesuai dengan list item yang tersedia ) - Deposit zeni untuk membayar gaji Karyawan ( karyawan disini adalah player lain ) - Bisa melihat list Perusahaan berapa gaji yang di berikan ( untuk pekerja ) - Item hasil produksi akan di kirim lewat E-mail - Karyawan mendapatkan gaji setelah dia selesai main mini game ( rencana menggunakan slot machine ) - Item hasil produksi itu random - Perusahaan yang bisa di daftarkan 1 player 1 aja, trus untuk ke seluruhan hanya ada 30 slot - pajak penghasilan tiap minggu berubah max 11 persen - jumblah hasil prokduksi random - Barang hasil produksi bisa di jual ke player lain, npc , atau npc Eden Group rencananya si gitu ternyata sulit juga buatnya tapi tetap gw lakuin, dan nanti mohon bantuanya dalam koreksi ^^ Hendra dan Harvin
-
Terimakasih banyak @hendra814 udah sangat terbantu Apakah mungkin jika npcnya saya cloning dan npc yang lain bisa jual item yagn berbeda ?
-
apa yang anda perbaiki saya sangat terlolong dan sangat berterimakasih, lalu disini saya menambhakn beberapa script untuk broadcaster global setiap perubahan harga item dengan script sebagai brikut : prontera,158,180,4 script Pedagang Grup Eden 100,{ mes "[VRO Asisten]"; mes "Halo! Apakah kamu ingin menjual Jellopy padaku? Saya membayar harga yang berbeda tergantung waktu!"; next; // Tampilkan harga yang saat ini ditawarkan mes "Saat ini, saya akan membeli Jellopy seharga "+.selected_price+" Zeny per buah."; announce "Pedagang Grup Eden: Harga Jellopy saat ini adalah " + .selected_price + " Zeny per buah!", bc_all; // Mengumumkan harga kepada semua pemain next; if (countitem(909) < 1) { mes "Tampaknya kamu tidak memiliki Jellopy!"; close; } mes "Berapa banyak Jellopy yang ingin kamu jual?"; .@selected_price = .selected_price; // Preserve price during user interaction input .@amount; if (.@amount <= 0 || .@amount > countitem(909)) { mes "Mohon masukkan jumlah yang valid!"; close; } .@total_price = .@amount * .selected_price; mes "Kamu akan mendapatkan "+ .@total_price +" Zeny untuk "+ .@amount +" Jellopy."; next; .@s = select("Jual:Ya,Tidak"); if (.@s == 1) { if (.@selected_price != .selected_price) { mes "Harga telah berubah, silahkan coba lagi!"; close; } delitem 909, .@amount; // Hapus Jellopy dari inventory pemain Zeny += .@total_price; // Berikan Zeny kepada pemain mes "Terima kasih telah menjual Jellopy-mu!"; } else { mes "Mungkin lain waktu!"; } close; OnInit: .selected_price = rand(1, 500); // Inisialisasi harga secara acak antara 1 dan 500 Zeny announce "Pedagang Grup Eden: Harga Jellopy saat ini adalah " + .selected_price + " Zeny per buah!", bc_all; // Mengumumkan harga awal kepada semua pemain initnpctimer(); end; OnTimer900000: // Perbarui harga setiap 15 menit. stopnpctimer(); .selected_price = rand(1, 500); announce "Pedagang Grup Eden: Harga Jellopy telah berubah! Harga baru adalah " + .selected_price + " Zeny per buah!", bc_all; initnpctimer(); end; } tapi disini setelah saya coba, setiap saya klick npc akan broadcast harganya, dan saya ingin disini walau player berinteraksi dengan NPC tidak akan broadcast berapa harga saat ini kecuali saat harga berubah saja, tolong bantu saya dimana salahnya.
-
prontera,158,180,4 script VRO Asisten 100,{ // Inisialisasi setarray .price[0], 10, 20, 30; // Array harga yang mungkin mes "[VRO Asisten]"; mes "Halo! Apakah kamu ingin menjual Jellopy padaku? Saya membayar harga yang berbeda tergantung waktu!"; next; // Menetapkan harga acak dari array .price set .selected_price, .price[rand(getarraysize(.price))]; // Tampilkan harga yang saat ini ditawarkan mes "Saat ini, saya akan membeli Jellopy seharga "+.selected_price+" Zeny per buah."; next; // Cek apakah pemain memiliki Jellopy if (countitem(909) > 0) { mes "Berapa banyak Jellopy yang ingin kamu jual?"; input .amount; if (.amount > 0 && .amount <= countitem(909)) { // Hitung total zeny yang akan diterima pemain .total_price = .amount * .selected_price; mes "Kamu akan mendapatkan "+.total_price+" Zeny untuk "+.amount+" Jellopy."; next; if (select("Jual:Ya,Tidak") == 1) { // Konfirmasi penjualan dan transaksi delitem 909, .amount; // Hapus Jellopy dari inventory pemain zeny += .total_price; // Berikan Zeny kepada pemain mes "Terima kasih telah menjual Jellopy-mu!"; } else { mes "Mungkin lain waktu!"; } } else { mes "Mohon masukkan jumlah yang valid!"; } } else { mes "Tampaknya kamu tidak memiliki Jellopy!"; } close; } 1. Disini saya pengen NPC akan merubah harga setiap 15 menit sekali sesuai waktu server 2. Di mapserv consol have error npc_event: event not found [VRO asisten: :OnTimerUpdatePrice] Maksudnya ini apa ya dan apa disini maksudnya kita harus membuat npc_event kah ? atau bagaimana ? Atas perhatianya terimakasih
-
Hi all im trying follow at tutorial wiki, forum and searching at google about my problen but still cant connect, at server no warning about error or lose connection
-
[Tutorial] How to Create Ragnarok Offline 2013 client [Tutorial]
monyet replied to cassiel's question in Client-side Support
i have problem if im add friend at game and my char disconnect and then at my map server have warning like this : how to fix it -
Masalah bahasa Korea ke Inggris atau Inggris ke Indonesia
monyet replied to monyet's question in Client & Patcher
semua atau hanya ada beberapa saja di file lua yang kita translate ?? -
Masalah bahasa Korea ke Inggris atau Inggris ke Indonesia
monyet posted a question in Client & Patcher
Begini saya menggunakan KRO nah mengikuti tutorial dari kemudian disini yang saya tanyakan saya mau rubah client saya ke Bhs indonesia itu gimana caranya agar semua yang ada di dalam game menjadi bahasa indonesia?? mohon pencerahanya -
[Tutorial] How to Create Ragnarok Offline 2013 client [Tutorial]
monyet replied to cassiel's question in Client-side Support
My problem is : Help me please