Jump to content

cook1e

Members
  • Posts

    129
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by cook1e

  1. Try this one. - shop fame_shop -1,501:-1,502:-1,503:-1,504 prontera,156,168,5 script fame shop 123,{ query_sql "SELECT `fame` FROM `char` WHERE `fame`>0", [email protected]; if ([email protected]) { callshop "fame_shop"; }else{ dispbottom "you don't have fame points."; } end; }
  2. //new_1-4,145,179,4 script Freebies Reward 691,{ [email protected]_unique_id$ = get_unique_id(); if(getd("$ID_" + [email protected]_unique_id$) > 0 || #N > 0){ mes "[ Reward NPC ]"; mes "You have already claimed your reward."; close; } mes "[ Reward NPC ]"; mes "Here's your reward. Have a nice day!"; setd "$ID_" + [email protected]_unique_id$,1; #N = 1; $reward_count -= 1; for([email protected] = 0; [email protected] < getarraysize(.rewards); [email protected] += 2) getitem .rewards[[email protected]],.rewards[[email protected]+1]; if($reward_count == 0) $reward_status = 1; end; OnInit: setarray .rewards,50000,1,12535,20,12534,20,13550,20,3100,100,13758,1; while (1) { showscript "Freebies Rental NPC!"; sleep 1000; } end; } I think changing the unique_id variable can solve your problem, try it.
  3. You can change in your msgstringtable.txt https://github.com/llchrisll/ROenglishRE/blob/master/Client Support/Renewal/2020-09-02/data/msgstringtable.txt#L3458 Line #3458 replace it for a #
  4. Made by @crazyarashi https://github.com/crazy-arashi/Rathena-Script-Collection
  5. When I try to attack an enemy from the other team, I can't do it without pressing the SHIFT key, sometimes it lets me attack. the moment he lets me attack the enemy emblem starts to appear / disappear repeatedly. Only problem I have seen so far (Using the latest revision June 22, 2021) Second bug, when a player get disconnected for being AFK in Battleground map-server crash It has to be something related to the emblem, any fixes?
  6. prontera,170,181,3 script Lotti Girl 714,{ mes "[Lotti Girl]"; mes "Hello Sir! Are you out"; mes "shopping in the city?!"; next; mes "[Lotti Girl]"; mes "I'm Lotti! I'll exchange cool"; mes "random prizes for every"; if(.LottoID && .LottoAmt) mes "^ff0000"+.LottoAmt+" "+getitemname(.LottoID)+"^000000."; if(.ZenyPay) mes "^ff0000"+callfunc("F_InsertComma",.ZenyPay)+"z"; next; mes "[Lotti Girl]"; if(getarraysize(.P1)<4){ mes "Our Grand prize is:"; mes "^ff0000"+.P1[2]+" "+getitemname(.P1[1])+"^000000"; } else { mes "Random Grand prize:"; for([email protected]=1;[email protected]<getarraysize(.P1);[email protected]+=2) mes "^ff0000"+.P1[[email protected]+1]+" "+getitemname(.P1[[email protected]])+"^000000"; } if(getarraysize(.P2)<4){ mes "Special prize is:"; mes "^ff0000"+.P2[2]+" "+getitemname(.P2[1])+"^000000"; } else { mes "Random Special prize:"; for([email protected]=1;[email protected]<getarraysize(.P2);[email protected]+=2) mes "^ff0000"+.P2[[email protected]+1]+" "+getitemname(.P2[[email protected]])+"^000000"; } next; mes "[Lotti Girl]"; mes "You can still get random item"; mes "if you failed to get the grand"; mes "prize and special prizes."; if(.LottoID && .LottoAmt && (countitem(.LottoID) < .LottoAmt)) close; if(.Zeny && Zeny < .Zeny) close; next; if(select("Deal me in!:No way...")==2) close; L_Roll: if (Zeny < .ZenyPay) { mes "[Lotti Girl]"; mes "You don't have enough zeny."; close; } mes "[Lotti Girl]"; mes "Here we go..."; if(.LottoID && .LottoAmt) delitem .LottoID,.LottoAmt; if(.ZenyPay) Zeny -= .ZenyPay; set [email protected], rand(1,.Total); set [email protected],rand(10000); for([email protected]=.Total;[email protected]>=1;[email protected]) if( getd(".P"[email protected]+"[0]") >= [email protected]) [email protected] = [email protected]; next; if ( [email protected] > getd(".P"[email protected]+"[0]")){ [email protected] = rand(getarraysize(.Default)/2); setarray [email protected],.Default[([email protected]*2)],.Default[(([email protected]*2)+1)]; } else { [email protected] = rand(getarraysize(getd(".P"[email protected]))/2); setarray [email protected],getd(".P"[email protected]+"["+(([email protected]*2)+1)+"]"),getd(".P"[email protected]+"["+(([email protected]*2)+2)+"]"); } close2; getitem [email protected][0],[email protected][1]; if(inarray(.AnnouncedID,[email protected]) >=0 ) announce "Congratulations! "+strcharinfo(0)+" just received "+getitemname([email protected][0])+" x "[email protected][1]+" from Lotti Girl ("+.map$+" "+.x+" "+.y+")!",0; specialeffect2 248; if(.LottoID && .LottoAmt && (countitem(.LottoID) < .LottoAmt)) close; if(.Zeny && Zeny < .Zeny) close; next; mes "[Lotti Girl]"; mes "Want to roll again?"; if(select("Roll again:Nope, No luck!")==1){ clear(); goto L_Roll; } close; OnInit: //No need to edit the main script. all editable are here. .ZenyPay = 100000; //Zeny to Pay [0 = Disable] .LottoID = 0; //ItemID to Roll [0 = Disable] .LottoAmt = 0; //Amount of LottoID Per Roll[0 = Disable] set .Total,4; setarray .AnnouncedID,501,502,512,513; //To reduce announcement. let's not announce common items. //setarray .P#[0],<% chance(1-10000)>,<ItemID>,<Amount> setarray .P1[0],100,501,1; //Grand Prize setarray .P2[0],1000,502,1,512,2,513,3; //Special Prizes setarray .P3[0],5000,503,1; setarray .P4[0],7500,504,1,514,4; setarray .Default[0],505,5,506,1; getmapxy(.map$,.x,.y,BL_NPC); end; }
  7. Cualquier problema no dudes en mandarme un mensaje.
  8. sp_cor,113,130,3 script Rebellion#cor_02 4_M_REBELLION3,{ if(ep_illusion < 47){ mes "[ Rebellion ]"; mes "Oh, you're the adventurer? It's been a too long. Did you come to see me?"; next; select("Do you know me?:No..."); mes "[ Rebellion ]"; mes "Oh, it's cold adventurer. Too cold. I don't like the cold."; mes "I'm in charge here, but I don't know anyone."; next; mes "[ Rebellion ]"; mes "But the adventurer knows me well, thank you for passing by!"; mes "I also brought the right weapons and armor for the job, I'm wearing warm clothes~!"; close; } switch(checkquest(16377,PLAYTIME)){ case -1: break; case 0: case 1: mes "[ Rebellion ]"; mes "Mina is feeling more relaxed."; mes "Mina's lovely children are resting?"; next; classchange(4_EP17_ELYUMINA,"Elyumina#os_merchant",bc_self); cutin "ep171_elyumina03",0; mes "[ Elyumina ]"; mes "... the security devices that summon monsters are still at lower power. Don't touch them the can overheat."; npctalk "Elyumina : Argh.. please, despicable title, don't call me that, don't!","Elyumina#os_merchant",bc_self; next; cutin "",255; mes "[ Rebellion ]"; mes "If Mina's children needs to rest, you can come back in the morning after dawn!"; next; cutin "ep171_elyumina02",0; mes "[ Elyumina ]"; mes "After dawn, they will have charged up enough so that you can go back!"; unittalk getcharid(3),strcharinfo(0) + " : She handles this surprisingly well...",bc_self; close3; case 2: erasequest 16377; break; } switch(checkquest(16376)){ case -1: mes "[ Rebellion ]"; mes "Oh, adventurer. I haven't seen you in a while! I wanted to ask you something. It's about Mina..."; unittalk getcharid(3),strcharinfo(0)+ " : Mina?",bc_self; next; classchange(4_EP17_ELYUMINA,"Elyumina#os_merchant",bc_self); cutin "ep171_elyumina03",0; mes "[ Elyumina ]"; mes "Here, I'll explain. My children who attacked you the last time you followed me..."; npctalk "Elyumina : Hey, don't call me that. It's such a terrible nickname!","Elyumina#os_merchant",bc_self; unittalk getcharid(3),strcharinfo(0)+ " : Oh, he meant you.",bc_self; next; cutin "",255; mes "[ Rebellion ]"; mes "Yep, remember Mina's kids you catched last time? They were sleeping."; next; cutin "ep171_elyumina02",0; mes "[ Elyumina ]"; mes "Mine! Machines and traps! In emergencies, they go in stealth mode and low power mode. And they stay like that for a while. I'll be back soon and see them."; next; cutin "",255; mes "[ Rebellion ]"; mes "That's right, Mina..."; unittalk getcharid(3),strcharinfo(0)+ " : ... you made them, you can just turn them off.",bc_self; next; cutin "ep171_elyumina02",0; mes "[ Elyumina ]"; mes "No! I can't. They have a state of the art machine learning module."; mes "You guys on that day were the strongest data they had ever seen."; next; cutin "ep171_elyumina03",0; mes "[ Elyumina ]"; mes "Well...! They don't recognize me as their master now. Just as I expected..."; mes "The best way is to slowly consume their energy, weaken them slowly and neutralize them."; npctalk "Rebellion : So we should go with Mina...","",bc_self; next; mes "[ Elyumina ]"; mes "That's all I can do... for now, you are the only one who can defeat EL1-A17T. Of course, I'm coming too, but I'm just going to collect more data on my children."; next; cutin "",255; mes "[ Rebellion ]"; mes "I want to follow along, but somehow Mina is stubborn. Is she worried I will be in danger?"; next; cutin "ep171_elyumina03",0; mes "[ Elyumina ]"; mes "Anyway, it may be best for you to bring friends along."; mes "It will be a hard journey and I'm still a detainee."; npctalk "Elyumina : Absolutely not!!!","Elyumina#os_merchant",bc_self; next; cutin "",255; mes "[ Rebellion ]"; mes "So there will be me and Mina, along with you and..."; next; cutin "ep171_elyumina02",0; mes "[ Elyumina ]"; mes "I will give you detailed explanation inside!!! Come on, tell me you're going!!!"; mes "Please do it before he kills me!"; setquest 16376; completequest 16376; next; cutin "",255; break; case 2: mes "[ Rebellion ]"; mes "It's time for Mina's children to wake up, adventurer!"; mes "Will they patiently wait this time around?"; next; classchange(4_EP17_ELYUMINA,"Elyumina#os_merchant",bc_self); cutin "ep171_elyumina03",0; mes "[ Elyumina ]"; mes "... they're no longer on low power and the security devices are operation again."; next; cutin "ep171_elyumina02",0; mes "[ Elyumina ]"; mes "Will you meet with Cor again and will you collect more data?"; mes "Let me know please, I want to get away from this guy."; next; cutin "",255; break; } [email protected]_name$ = "Cor Mission"; [email protected]_id = getcharid(1); [email protected]_name$ = getpartyname([email protected]_id); mes "[ Rebellion ]"; mes "That's too bad, adventurer. To participate in the operation, you must prepare a party."; next; mes "[ Rebellion ]"; mes "After the memorial dungeon is created, once all the party members enter the operation, the adventurer can start sending the signal~"; next; [email protected] = select((!instance_id(IM_PARTY)?"Create operation.":""),(!instance_id(IM_PARTY)?"":"Enter operation.")); switch([email protected]){ case 1: switch(instance_create([email protected]_name$,IM_PARTY)){ case -1: mes "^0000ff"[email protected]_name$+" ^000000 - Reservation Failed!"; mes "Unknown Error Has Occurred."; end; case -2: mes "[ Rebellion ]"; mes "Well? Mina says it will be difficult on her own. Come back with a party, adventurer."; close; case -3: mes "[ Rebellion ]"; mes "You already have an instance active. Please cancel it before proceeding."; close; case -4: mes "^0000ff"[email protected]_name$+" ^000000 - Reservation Failed!"; mes "^0000ff"[email protected]_name$+" ^000000 is currently full."; end; default: mes "[ Rebellion ]"; mes "Okay, when everyone is ready. Please talk to me again and choose 'Enter'"; npctalk "Eheh, I'm not afraid of you.","",bc_self; end; } case 2: switch(instance_enter([email protected]_name$)){ case 3: mes "An unknown error has occurred."; end; case 2: case 1: mes "^ff0000Character doesn't have an instance reserved.^000000"; end; case 0: mapannounce "sp_cor", strcharinfo(0) + " of the party, "+ [email protected]_name$ +", is entering the " + [email protected]_name$ + ".", bc_map, "0x00FF99"; setquest 16363; setquest 16377; @mission_type = 1; end; } } end; } sp_cor,180,169,3 script Elena Bolkova#cor_op 4_F_ELENA,{ switch(ep_illusion){ case 41: cutin "162elena_01",2; mes "[ Elena Bolkova ]"; mes "You're a little late. Well, we're all late."; mes "Elyumina is missing. The battle was very quick and we got knocked out."; mes "Damn it!"; next; mes "[ Elena Bolkova ]"; mes "I won't stop until we catch her, although we should probably rest first."; next; mes "[ Elena Bolkova ]"; mes "After discussing this with the Rebellion captains, we decided to search the area by bringing an entire troop of elites."; next; mes "[ Elena Bolkova ]"; mes "The president and Kaya have also agreed with our plan."; next; mes "[ Elena Bolkova ]"; mes "Among the USU and the Rebellion only the elite members have been chosen, and I'm in command. The rest of the Rebellion will block and surround the entrance and other nearby areas."; next; mes "[ Elena Bolkova ]"; mes "This operation, of course, also includes your support adventurer. I strongly recommend that you prepare first. Will you join us?"; next; select("Of course."); mes "[ Elena Bolkova ]"; mes "Okay!"; mes "For now, I have selected those who can act alone, including myself."; mes "You will need to make a ^0000FFparty of 1^000000 and come back to me."; ep_illusion = 42; completequest 16353; setquest 16354; questinfo_refresh(); close3; case 42: [email protected]_id = getcharid(1); [email protected]_name$ = "Cor Mission"; [email protected]_name$ = getpartyname([email protected]_id); if([email protected]_id){ cutin "162elena_01",2; mes "[ Elena Bolkova ]"; mes "For now, I have selected those who can act alone, including myself."; mes "You will need to make a ^0000FFparty of 1^000000 and come back to me."; close3; } classchange 4_M_REBELLION3,"Rebellion#cor_ms_0",bc_self; classchange 4_M_GONY,"Rebellion#cor_ms_1",bc_self; classchange 4_F_REBELLION3,"Rebellion#cor_ms_2",bc_self; classchange 4_F_ANYA,"Rebellion#cor_ms_3",bc_self; classchange 4_M_ILYA,"Rebellion#cor_ms_4",bc_self; classchange 4_F_REBELLION2,"Rebellion#cor_ms_5",bc_self; cutin "162elena_01",2; mes "[ Elena Bolkova ]"; mes "The blockage of the area is over."; mes "Let's start the mission!"; mes "It's not too late. Gentlemen, get ready!"; next; mes "[ Elena Bolkova ]"; mes "Good, among the elite of the brave Rebellion, your specific goal will be to capture the researcher."; npctalk "Elena Bolkova : She's the one who holds all the key information, we have to capture her.","",bc_self; npctalk "I'm ready!","Rebellion#cor_ms_0",bc_self; npctalk ".....","Rebellion#cor_ms_1",bc_self; npctalk "I'm ready!","Rebellion#cor_ms_2",bc_self; npctalk "I'm ready!","Rebellion#cor_ms_3",bc_self; npctalk "I'm ready!","Rebellion#cor_ms_4",bc_self; npctalk "I'm ready!","Rebellion#cor_ms_5",bc_self; next; cutin "162elena_02",2; mes "[ Elena Bolkova ]"; mes "Adventurer, choose 'Create' and wait a moment when you want to go."; mes "Choose 'Enter' after."; npctalk "Elena Bolkova : Alright, ready? These bastards will face us.","",bc_self; npctalk "If they don't mind...","Rebellion#cor_ms_0",bc_self; npctalk ".....","Rebellion#cor_ms_1",bc_self; npctalk "It won't be easy, will it?","Rebellion#cor_ms_2",bc_self; npctalk "The time has come for us to show off!","Rebellion#cor_ms_3",bc_self; npctalk "Time for us to go!","Rebellion#cor_ms_4",bc_self; npctalk "Why are you smiling?","Rebellion#cor_ms_5",bc_self; next; [email protected] = select((!instance_id(IM_PARTY)?"Create 'Cor Mission'.":""),(!instance_id(IM_PARTY)?"":"Enter 'Cor Mission'.")); switch([email protected]){ case 1: switch(instance_create([email protected]_name$)){ case -1: mes "^0000ff"[email protected]_name$+" ^000000 - Reservation Failed!"; mes "Unknown Error Has Occurred."; end; case -2: mes "^0000ff"[email protected]_name$+" ^000000 - Reservation Failed!"; mes "Party Is Non-Existent."; end; case -3: mes "^0000ff"[email protected]_name$+" ^000000 - Reservation Failed!"; mes "Player already have instance."; end; case -4: mes "^0000ff"[email protected]_name$+" ^000000 - Reservation Failed!"; mes "^0000ff"[email protected]_name$+" ^000000 is currently full."; end; default: mes "[ Elena Bolkova ]"; mes "Talk to me again when you're ready. The operation is going to start soon."; end; } end; case 2: getpartymember [email protected]_id,3; if([email protected] != 1){ cutin "162elena_01",2; mes "[ Elena Bolkova ]"; mes "For now, I have selected those who can act alone, including myself."; mes "You will need to make a ^0000FFparty of 1^000000 and come back to me."; close3; } switch(instance_enter([email protected]_name$)){ case 3: mes "An unknown error has occurred."; end; case 2: case 1: mes "^ff0000Character doesn't have an instance reserved.^000000"; end; case 0: mapannounce "sp_cor", strcharinfo(0) + " of the party, "+ [email protected]_name$ +", is entering the " + [email protected]_name$ + ".", bc_map, "0x00FF99"; end; } } end; case 43: cutin "162elena_02",2; mes "[ Elena Bolkova ]"; mes "So much trouble! Aha, these guys are all so trustworthy."; mes "Of course, the adventurer is too!"; next; cutin "162elena_01",2; mes "[ Elena Bolkova ]"; mes "Elyumina was captured safely. Now that the attacks have stopped, this should be a safe place."; next; mes "[ Elena Bolkova ]"; mes "The Secret Wings and Lucky are ready to interrogate her."; mes "It looks like they're organizing a meeting place where we defeated the scrap metal machine."; next; mes "[ Elena Bolkova ]"; mes "I'm not getting involved there because I'd squeeze my target rather than listening to what they're saying.."; mes "Gonie will also observe the interrogation."; next; mes "[ Elena Bolkova ]"; mes "Join them on that <NAVI>[side]<INFO>sp_cor,136,210,0,101,0</INFO></NAVI>."; mes "Lucky will be asking the questions."; ep_illusion = 44; completequest 16357; setquest 16358; getitem 25723,5; getitem 25668,1; questinfo_refresh(); close3; case 44: case 45: cutin "162elena_01",2; mes "[ Elena Bolkova ]"; mes "Join them on that <NAVI>[side]<INFO>sp_cor,136,210,0,101,0</INFO></NAVI>."; mes "Lucky will be asking the questions."; close3; case 46: case 47: cutin "162elena_01",2; mes "[ Elena Bolkova ]"; mes "Hey. Are you busy?"; mes "I'll have to go through a lot of things and then the Rebellion will be going back home."; next; mes "[ Elena Bolkova ]"; mes "It's quite hard to manage the Rebellion, especially in places like these."; next; cutin "162elena_01",2; mes "[ Elena Bolkova ]"; mes "When things have calmed down, come to Clana Nemieri and let's have a drink."; mes "I'd rather fight you than this machines."; emotion ET_KIK; close3; default: cutin "162elena_01",2; mes "[ Elena Bolkova ]"; mes "Well? Adventurer. Don't go too far alone. I know you're skilled, but the others are nervous."; next; mes "[ Elena Bolkova ]"; mes "There may be other equipments or evidence left behind from the people who ran away in a hurry."; next; cutin "162elena_02",2; mes "[ Elena Bolkova ]"; mes "Me? Why am I alone? Are you worried about me? Ahahaha!"; close3; } end; OnInit: questinfo QTYPE_QUEST,QMARK_YELLOW,"ep_illusion == 41"; questinfo QTYPE_QUEST,QMARK_YELLOW,"ep_illusion == 42"; questinfo QTYPE_QUEST,QMARK_YELLOW,"ep_illusion == 43"; end; } sp_cor,177,165,1 script Rebellion#cor_ms_0 HIDDEN_WARP_NPC,{ end; } sp_cor,180,165,1 script Rebellion#cor_ms_1 HIDDEN_WARP_NPC,{ end; } sp_cor,183,165,1 script Rebellion#cor_ms_2 HIDDEN_WARP_NPC,{ end; } sp_cor,177,163,1 script Rebellion#cor_ms_3 HIDDEN_WARP_NPC,{ end; } sp_cor,180,163,1 script Rebellion#cor_ms_4 HIDDEN_WARP_NPC,{ end; } sp_cor,183,163,1 script Rebellion#cor_ms_5 HIDDEN_WARP_NPC,{ end; } // Funciones function script instance_hide { if(getarg(1)) hideonnpc instance_npcname(getarg(0)); else hideoffnpc instance_npcname(getarg(0)); return; } function script instance_enable { if(getarg(1)) enablenpc instance_npcname(getarg(0)); else disablenpc instance_npcname(getarg(0)); return; }
  9. Podrias compartir tu script por aqui? Si lo compartes asegurate de enviarlo dentro de codebox.
  10. No debes cambiar instance_hide por hideonnpc Solo debes agregar esas funciones a tu servidor como un NPC normal y listo.
  11. Espero que esto solucione tu error. function script instance_hide { if(getarg(1)) hideonnpc instance_npcname(getarg(0)); else hideoffnpc instance_npcname(getarg(0)); return; } function script instance_enable { if(getarg(1)) enablenpc instance_npcname(getarg(0)); else disablenpc instance_npcname(getarg(0)); return; }
  12. - script govip_atcmd FAKE_NPC,{ OnAtcommand: switch( select("Warp to VIP Room?:No, Thanks") ) { case 1: if (vip_status(1)) { warp "prontera",154,172; // change map and coords to your VIP Room. }else { mes "Only vips can warp to VIP Room."; } break; case 2: break; } OnInit: bindatcmd "govip",strnpcinfo(3)+"::OnAtcommand"; end; }
  13. If this work let me know. Go to src/config/packets.hpp and comment these lines with //. Original. #define PACKET_OBFUSCATION // Define these inside src/custom/defines_pre.hpp or src/custom/defines_post.hpp //#define PACKET_OBFUSCATION_KEY1 <key1> //#define PACKET_OBFUSCATION_KEY2 <key2> //#define PACKET_OBFUSCATION_KEY3 <key3> /// Comment this to disable warnings for missing client side encryption #define PACKET_OBFUSCATION_WARN Commented. //#define PACKET_OBFUSCATION // Define these inside src/custom/defines_pre.hpp or src/custom/defines_post.hpp //#define PACKET_OBFUSCATION_KEY1 <key1> //#define PACKET_OBFUSCATION_KEY2 <key2> //#define PACKET_OBFUSCATION_KEY3 <key3> /// Comment this to disable warnings for missing client side encryption //#define PACKET_OBFUSCATION_WARN Apply this patch with Nemo to your client. Disable Packet Encryption Don't forget to recompile.
  14. Random Item Option doesn't work like that. RandomOptionGroup don't exist in item_db.yml ########################################################################### # Item Database ########################################################################### # # Item Settings # ########################################################################### # - Id Item ID. # AegisName Server name to reference the item in scripts and lookups, should use no spaces. # Name Name in English for displaying as output. # Type Item type. (Default: Etc) # SubType Weapon or Ammo type. (Default: 0) # Buy Buying price. When not specified, becomes double the sell price. (Default: 0) # Sell Selling price. When not specified, becomes half the buy price. (Default: 0) # Weight Item weight. Each 10 is 1 weight. (Default: 0) # Attack Weapon's attack. (Default: 0) # MagicAttack Weapon's magic attack. (Default: 0) # Defense Armor's defense. (Default: 0) # Range Weapon's attack range. (Default: 0) # Slots Available slots in item. (Default: 0) # Jobs Jobs that can equip the item. (Map default is 'All: true') # Classes Upper class types that can equip the item. (Map default is 'All: true') # Gender Gender that can equip the item. (Default: Both) # Locations Equipment's placement. (Default: None) # WeaponLevel Weapon level. (Default: 0) # EquipLevelMin Minimum required level to equip. (Default: 0) # EquipLevelMax Maximum level that can equip. (Default: 0) # Refineable If the item can be refined. (Default: false) # View View sprite of an item. (Default: 0) # AliasName Another item's AegisName that will be sent to the client instead of this item's AegisName. (Default: null) # Flags: Item flags. (Default: null) # BuyingStore If the item is available for Buyingstores. (Default: false) # DeadBranch If the item is a Dead Branch. (Default: false) # Container If the item is part of a container. (Default: false) # UniqueId If the item is a unique stack. (Default: false) # BindOnEquip If the item is bound to the character upon equipping. (Default: false) # DropAnnounce If the item has a special announcement to self on drop. (Default: false) # NoConsume If the item is consumed on use. (Default: false) # DropEffect If the item has a special effect on the ground when dropped by a monster. (Default: None) # Delay: Item use delay. (Default: null) # Duration Duration of delay in seconds. # Status Status Change used to track delay. (Default: None) # Stack: Item stack amount. (Default: null) # Amount Maximum amount that can be stacked. # Inventory If the stack is applied to player's inventory. (Default: true) # Cart If the stack is applied to the player's cart. (Default: false) # Storage If the stack is applied to the player's storage. (Default: false) # GuildStorage If the stack is applied to the player's guild storage. (Default: false) # NoUse: Conditions when the item is unusable. (Default: null) # Override Group level to override these conditions. # Sitting If the item can not be used while sitting. (Default: false) # Trade: Trade restrictions. (Default: null) # Override Group level to override these conditions. # NoDrop If the item can not be dropped. (Default: false) # NoTrade If the item can not be traded. (Default: false) # TradePartner If the item can not be traded to the player's partner. (Default: false) # NoSell If the item can not be sold. (Default: false) # NoCart If the item can not be put in a cart. (Default: false) # NoStorage If the item can not be put in a storage. (Default: false) # NoGuildStorage If the item can not be put in a guild storage. (Default: false) # NoMail If the item can not be put in a mail. (Default: false) # NoAuction If the item can not be put in an auction. (Default: false) # Script Script to execute when the item is used/equipped. (Default: null) # EquipScript Script to execute when the item is equipped. (Default: null) # UnEquipScript Script to execute when the item is unequipped or when a rental item expires. (Default: null) ###########################################################################
  15. Hello, is it possible to change (MVP A) and (MVP B) to MVPs Real Name? Thanks!
  16. You can check this guide https://rathena.org/board/topic/111269-guide-lightweight-compiler-for-windows-for-replacement-heavy-visual-studio-ide-compile-rathena-faster-save-your-bandwidth-and-disk-space/
  17. yuno_fild03,0,0 monster Deviling 1582,1,3600000,1800000 change to yuno_fild03,0,0 boss_monster Deviling 1582,1,3600000,1800000 emulator/npc/pre-re/fields/yuno_fild.txt
  18. https://github.com/crazy-arashi/Rathena-Script-Collection/blob/master/Function.c#L82
  19. Seguro te falta esto por activar. conf/log_athena.conf // Log MVP Monster Drops (Note 1) // Outdated. Use Pick_Log instead. But this log could be useful to keep track slayed MVPs log_mvpdrop: no a // Log MVP Monster Drops (Note 1) // Outdated. Use Pick_Log instead. But this log could be useful to keep track slayed MVPs log_mvpdrop: yes Reinicia tu servidor y prueba nuevamente.
  20. /////////////////////////////////////////////////////// // ___________ _____.__ // \__ ___/__.__.________/ ____\__| ____ ____ // | | < | |\_ __ \ __\| |/ \ / ___\ // | | \___ | | | \/| | | | | \/ /_/ > // |____| / ____| |__| |__| |__|___| /\___ / // \/ Scripts \//_____/ // //===================================================== // Name: Race to Max Level // // Description: // This NPC allows for Game Masters to set a reward to // be given to the first player of each 2nd class that // reaches maximum level (base and class). //===================================================== /////////////////////////////////////////////////////// prontera,147,180,5 script Race to Max Level 58,{ set [email protected]_level, 99; // GM level required to set the reward set [email protected], 99; set [email protected], 70; set [email protected], 510; setarray [email protected][0], Job_Lord_Knight, Job_Creator, Job_Assassin_Cross, Job_Clown, Job_Whitesmith, Job_Paladin, Job_Gypsy, Job_Sniper, Job_Champion, Job_High_Priest, Job_Stalker, Job_Professor, Job_High_Wizard; Begin: clear; mes "[ ^0099ccRace to Max Level^000000 ]"; mes "Hello, " + ((getgmlevel() >= [email protected]_level) ? "master! What do you want to do today?" : "are you here for your reward?"); switch(select(((getgmlevel() >= [email protected]_level) ? "Set Reward:Restart Race" : ":") + ":YES!:...Reward?:Who was rewarded?:Cancel")) { case 1: goto SetReward; case 2: goto RestartRace; case 3: goto GetReward; case 4: goto ExplainRace; case 5: goto ShowRewarded; default: end; } SetReward: clear; mes "[ ^0099ccRace to Max Level^000000 ]"; if ($reward == 0) set $reward, [email protected]; mes "The reward is " + getitemname($reward) + " (ID: " + $reward + ")."; mes "Do you want to change it?"; if (select("Yes:No") == 1) { clear; mes "[ ^0099ccRace to Max Level^000000 ]"; mes "Please enter the new reward item ID."; input [email protected]; clear; mes "[ ^0099ccRace to Max Level^000000 ]"; mes "Set " + getitemname([email protected]) + " as the reward?"; if(select("Yes:No") == 1) { set $reward, [email protected]; } } goto Begin; RestartRace: clear; mes "[ ^0099ccRace to Max Level^000000 ]"; mes "Are you sure you want to restart the race?"; if (select("Yes:No") == 1) { for ([email protected] = 0; [email protected] < getarraysize([email protected]); [email protected]++) { set $rewarded$[[email protected][[email protected]]], ""; } announce "The Race to Max Level has begun! Claim a reward once you reach " + [email protected] + " base and " + [email protected] + " class!", bc_all; } goto Begin; GetReward: mes "Let's see... " + strcharinfo(0) + ", huh?"; set [email protected], 0; for ([email protected] = 0; [email protected] < getarraysize([email protected]); [email protected]++) { if (Class == [email protected][[email protected]]) { set [email protected], 1; if (BaseLevel < [email protected] || JobLevel < [email protected]) { mes "I'm sorry, but you still need to level a bit more."; } else if ($rewarded$[Class] == strcharinfo(0)) { mes "You have already claimed your reward."; } else if ($rewarded$[Class] != "") { mes "Too late!"; mes "The reward for " + jobname(Class) + " was already claimed by " + $rewarded$[Class] + "."; } else goto GiveReward; } } if ([email protected] == 0) mes "You need to change your job."; close; GiveReward: set $rewarded$[Class], strcharinfo(0); clear; mes "[ ^0099ccRace to Max Level^000000 ]"; mes "Congratulations! You were the first " + jobname(Class) + " to reach " + [email protected] + " base and " + [email protected] + " class!"; getitem $reward, 1; announce strcharinfo(0) + " (" + jobname(Class) + ") reached Max. Level and received " + getitemname($reward) + "!", bc_all; end; ExplainRace: clear; mes "[ ^0099ccRace to Max Level^000000 ]"; mes "Yes! When you reach the maximum level for your class, talk to me and you'll be rewarded with a special item."; next; goto Begin; ShowRewarded: clear; mes "[ ^0099ccRace to Max Level^000000 ]"; for ([email protected] = 0; [email protected] < getarraysize([email protected]); [email protected]++) { mes jobname([email protected][[email protected]]) + ": " + (($rewarded$[[email protected][[email protected]]] != "") ? $rewarded$[[email protected][[email protected]]] : "^ff0000Nobody^000000"); } next; goto Begin; }
  21. You can check script_commands here
  22. FluxCP por default lee las siguientes tablas mob_db_re & mob_db2_re (Renewal) asegurate de que las tengas en tu base de datos. Si cargaste las tablas de datos mob_db y mob_db2 (pre-renewal) cambia tu FluxCP a Pre-Renewal. FluxCP/config/servers.php Linea 56. 'Renewal' => true, a 'Renewal' => false,
  23. prontera,151,181,4 script Angela 91,10,10,{ cutin "katsua01",2; if (#delay > gettimetick(2)) { mes "Aún tienes delay restante. " + Time2Str(#delay) + "."; close; } mes "[Angela]"; mes "Buscando huevos de chocolates?"; mes "Los huevos que decoro son tan hermosos y deliciosos!"; mes "Al ^0022AAConejo de Pascua^000000 le encantan mis huevos"; mes "Puedo crear ^ff000010 Dano Festival Egg^000000"; menu "Cuentame mas!",-; next; mes "Para la creacion de estos huevos magicos necesitare de varios ingredientes"; mes "^33FF66*Revisa su bolsillo buscando la lista*^000000"; mes "Aqui esta!"; menu "Deja verla!",-; next; mes "^33FF66*Lees la lista con detenimiento..^000000"; mes "^FFFF00===========================^000000"; mes "^0000FF- 20 Carrots"; mes "- 20 Feathers"; mes "- 10 Jellopy"; mes "- 1 Surface Paint^000000"; mes "^FFFF00===========================^000000"; menu "Aqui tengo los ingredientes",-; if(countitem(515) < 20 || countitem(949) < 20 || countitem(909) < 10 || countitem(6123) < 1) goto Lne; next; mes "Oh! Muchas gracias!"; mes "Aqui tienes los ^ff000010 Dano Festival Egg^000000"; mes "No olvides visitar al ^0022AAConejo de Pascua^000000"; mes "Le encantan estos huevos!"; mes "El siempre se encuentra en ^33FF66Prontera,137,94^000000"; delitem 515,20; delitem 949,20; delitem 909,10; delitem 6123,1; getitem 12025,10; #delay = gettimetick(2) + 1800; // 1800 segundos = 30 minutos specialeffect2 78; close2; cutin "",255; end; Lne: mes "Me intentas engañar!?"; close2; cutin "",255; end; OnTouch: showevent 4,1; end; }
  24. Still can't make it work... Any help is welcome.
  25. Hello, I have download a emulator rAthena with random item option in( txt version and works perfect but i can't make it work on latest rAthena (YML). Is there any guide?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.