Jump to content

hendra814

Members
  • Posts

    1281
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by hendra814

  1. thanks,, but still have issue ** Already solve by remove
  2. Please help, i want create usable custom item, but i get error like this here my custom import\item_db.yml Header: Type: ITEM_DB Version: 3 Body: - Id: 40000 AegisName: Cash_Chest Name: Cash Chest Type: Usable Weight: 1 AliasName: Cash_Box_ Script: | callfunc "F_CashChest";
  3. already tried it but it doesn't drop the item. Could you show how to put in the script. Edit: sorry already working, forget to change item reward.
  4. here my data and system folder, try use it. data.rarSystem.rar
  5. Selamat hari Raya Idul Fitri, mohon maaf lahir dan batin buat yang merayakan. Maaf saya mau tanya, kalau mau convert file official lub file menjadi file yang readable menggunakan tools apa?
  6. here my patch list and log files, try it. 2020_Translation new_inputs.db2020_Translation new.log
  7. try this, minimum GM level to start event 60 - script TownInvasion -1,{ OnClock0000: OnClock1130: OnClock1630: OnClock2230: ONInvasion: for(.@i = 0; .@i < 1; .@i++) { //Spawn on 4 towns .Town_Invade$ = .Town$[rand(getarraysize(.Town$))]; announce .Town_Invade$+" Guard: Help us! Our town is being invaded by Monster! Please Help us now!",bc_blue|bc_all; sleep 10000; announce .Town_Invade$+" Guard: Help us! Smash their Heads using your Weapon!!!",bc_blue|bc_all; sleep 8000; announce .Town_Invade$+" Guard: Come here!! Bring warrior! Kill these monsters!",bc_blue|bc_all; for(.@ix = 0; .@ix < 30; .@ix++) { //MvP spawner monster .Town_Invade$,0,0,"--ja--",.MvP[rand(getarraysize(.MvP))],1,strnpcinfo(1)+"::OnInvadeDeath"; } for(.@iy = 0; .@iy < 10; .@iy++) { //Mob spawner monster .Town_Invade$,0,0,"--ja--",-1,1,strnpcinfo(1)+"::OnMobsDeath"; } } end; OnInvadeDeath: .@RandMvP = rand(getarraysize(.Prize)); getitem .Prize[.@RandMvP],.PAmt[.@RandMvP]; end; OnMobsDeath: .@RandMob = rand(getarraysize(.Prize2)); getitem .Prize2[.@RandMob],.PAmt2[.@RandMob]; end; OnInit: bindatcmd "Invasion_start",strnpcinfo(0)+"::ONInvasion",60,99; //Towns to Invade setarray .Town$[0],"prontera","izlude","geffen","payon"; //MvPs to summon setarray .MvP[0],1196,1197,1483,1778; //Prize to give MVP setarray .Prize[0],7929; setarray .PAmt[0],10; //Prize to give Mobs setarray .Prize2[0],7929; setarray .PAmt2[0],10; end; }
  8. i'm sorry, i'm forget to tell you about that error. please change 0.05 into 0,05
  9. Try this prt_in,43,109,4 script Prontera Banker 105,{ OnInit: set .maxLoan, 10000000; set .interestRate, 0.05; set .bankName, "Prontera Bank Inc."; set .bankLocation, "Prontera"; addtimer 7200000, strnpcinfo(0) + "::OnAdvertise"; end; OnPCLoginEvent: if (#LOANAMOUNT > 0) { dispbottom "Banker: You have an outstanding loan of " + #LOANAMOUNT + " zeny. Please remember to pay it back with interest."; addtimer 3600000, strnpcinfo(0) + "::OnRemind"; addtimer 86400000, strnpcinfo(0) + "::OnBroadcast"; } end; OnAdvertise: announce "Visit " + .bankName + " located in " + .bankLocation + " for all your banking needs!", bc_all; addtimer 7200000, strnpcinfo(0) + "::OnAdvertise"; end; OnRemind: if (#LOANAMOUNT > 0) { dispbottom "Banker: You have an outstanding loan of " + #LOANAMOUNT + " zeny. Please remember to pay it back with interest."; addtimer 3600000, strnpcinfo(0) + "::OnRemind"; } end; OnBroadcast: if (#LOANAMOUNT > 0) { announce "Player " + strcharinfo(0) + " has failed to repay their loan of " + #LOANAMOUNT + " zeny within 24 hours!", bc_all; addtimer 1800000, strnpcinfo(0) + "::OnBroadcast"; } end; OnTalk: mes "[Banker]"; mes "Hello! I am the banker from " + .bankName + ". How can I help you today?"; next; switch(select("Loan Zeny:Pay Loan:Cancel")) { case 1: if (#LOANAMOUNT > 0) { mes "[Banker]"; mes "You already have an outstanding loan of " + #LOANAMOUNT + " zeny."; close; } mes "[Banker]"; mes "How much zeny would you like to loan? The maximum amount is " + .maxLoan + " zeny."; input .loanAmount; if (.loanAmount > .maxLoan) { mes "[Banker]"; mes "I'm sorry, but the maximum loan amount is " + .maxLoan + " zeny."; close; } #LOANAMOUNT = .loanAmount; Zeny += .loanAmount; mes "[Banker]"; mes "You have successfully loaned " + .loanAmount + " zeny. Please remember to pay it back with interest."; addtimer 3600000, strnpcinfo(0) + "::OnRemind"; addtimer 86400000, strnpcinfo(0) + "::OnBroadcast"; close; case 2: if (#LOANAMOUNT == 0) { mes "[Banker]"; mes "You do not have any outstanding loans."; close; } .paybackAmount = #LOANAMOUNT * (1 + .interestRate); if (Zeny < .paybackAmount) { mes "[Banker]"; mes "You do not have enough zeny to pay back your loan. You need " + .paybackAmount + " zeny."; close; } Zeny -= .paybackAmount; #LOANAMOUNT = 0; mes "[Banker]"; mes "You have successfully paid back your loan with interest. Thank you for your business!"; close; case 3: mes "[Banker]"; mes "Goodbye!"; close; } }
  10. you can try post at ratemyserver.net or post at facebook
  11. Can you guide me how to do that? i try open custom aura files but not showing the files. Note: i want create custome hat effect like in this post https://rathena.org/board/topic/132752-guide-add-new-hateffect-aura-style/#comment-413006
  12. Don't know how to change it into player sprite
  13. I think you miss the sprite rune knight riding, try add this files into your GRF file if your client read grf file. data.rar
  14. Thanks it's working now - script atcmd_noitem -1,{ OnInit: bindatcmd("getitem",strnpcinfo(3)+"::OnAtcommand"); setarray .item_restrict,7227,607; end; OnAtcommand: if (baselevel >= 99){ .@itemid = atoi(.@atcmd_parameters$[0]); if(!getgmlevel()){ if(inarray(.item_restrict,.@itemid) != -1){ message strcharinfo(0),"You cannot create this item."; end; } } if(getitemname(.@itemid) != "null"){ .@quantity = atoi( .@atcmd_parameters$[1] ); if ( .@quantity < 1 ) .@quantity = 1; getitem .@itemid,.@quantity; } } else mes "Only for character with level 99 and above"; end; } it's so powerful command, can by pass for create any item for non GM user. change into @getitem command, but using @item still can create any items
  15. please check using referal this post https://rathena.org/board/topic/132750-quest-list-npc-dialogue-in-2021-client/#comment-412710
  16. Sorry i didn't test the script, i will inform you later when i'm back home. Edit: already test the script, it's weird can't run as requested, don't know where the problem, maybe need someone to fix it. baselevel more than 99 and below 99 always show the same result.
  17. Hi, i want ask you a question, is it posible change custom aura (tga and bmp file) into str file
  18. try this - script atcmd_noitem -1,{ OnInit: bindatcmd("item",strnpcinfo(3)+"::OnAtcommand"); setarray .item_restrict,7227,607; end; OnAtcommand: if (baselevel >= 99){ .@itemid = atoi(.@atcmd_parameters$[0]); if(!getgmlevel()){ if(inarray(.item_restrict,.@itemid) != -1){ message strcharinfo(0),"You cannot create this item."; end; } } if(getitemname(.@itemid) != "null"){ .@quantity = atoi( .@atcmd_parameters$[1] ); if ( .@quantity < 1 ) .@quantity = 1; getitem .@itemid,.@quantity; } } mes "Only for character with level 99 and above"; end; }
  19. check your char_athena.conf , make sure you already enable login Ip and char Ip
  20. import the files (check at the link i give) from your ragnarok folder into your sql server https://github.com/rathena/rathena/tree/master/sql-files/upgrades
  21. try import file at your flux folder\data\schemas\charmapdb\cp_commands.20160608065501.sql if you don't have it you can trry download from this link https://github.com/rathena/FluxCP
×
×
  • Create New...