Jump to content

Tassadar

Members
  • Content Count

    105
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

Everything posted by Tassadar

  1. guys .. I'm looking for some old DevilEvil files that I can't download anywhere. No website works and he is removed from the forum. if anyone has and wants to make it available, I would be very grateful. Thanks. https://rathena.org/board/topic/67569-devilevils-custom-sprites/
  2. just once a day. resetting at 06:00 am.
  3. it didn't work .. he delivers all quests on the same day. He is not turning on a 24-hour timer.
  4. Thanks for the help, but unfortunately it didn't work. The npc appears but is not clickable. Does not open any dialog boxes. I'm posting the error that gave in the putty. I didn't understand what removes the player's variable preventing him from doing the quest 2 times in the same day.
  5. Good evening to all. Happy New Year. We are back. How to leave this daily quest, renewing every day 06:00 AM? Thanks. * npc by Emistry! prontera,155,181,5 script Sample 4_F_KAFRA1,{ if (!quest_random) { quest_random = rand(1, 2); mes "You have been assigned with a new quest."; next; } switch(quest_random) { case 1: setarray [email protected], 4001, 1; setarray [email protected], 512; setarray [email protected], 100; break; case 2: setarray [email protected], 4002, 1; setarray [email protected], 501, 502, 503; setarray [email protected], 3, 1, 2; break; default: mes "invalid quest."; close; } mes "Quest Requirement(s):"; [email protected] = getarraysize([email protected]); for ([email protected] = 0; [email protected] < [email protected]; [email protected]++) { mes " > "[email protected][[email protected]]+"x "+getitemname([email protected][[email protected]]); if (countitem([email protected][[email protected]]) < [email protected][[email protected]]) [email protected]++; } if ([email protected]) { next; if (select("Submit Quest", "Cancel") == 1) { for ([email protected] = 0; [email protected] < [email protected]; [email protected]++) delitem [email protected][[email protected]], [email protected][[email protected]]; getitem [email protected][0], [email protected][1]; quest_random = 0; } } close; }
  6. good night. I need this modification for my server. if anyone could make me available, I would be very grateful.
  7. Tks Haruka Mayumi you helped me a lot. Thank you so.
  8. good night. I wonder if it is possible to change the rarity colors of the items? today it works like this: White green blue orange purple I need to invert purple and orange. Does anyone know how to do this? what I need to do.? thanks for helping.
  9. Good night. How do I make a npc exchange multiple materials for a specific item? I looked for several npcs .. I even used a letter changer .. but it does not do what I need. I need npc to pay different amounts of different items. He will trade the item for the amount shown on the front. I think npc would need to use a setarray. Depending on the item it would trade for the item I want. 7179. The problem is that for npc to work it would trade 5 items 9002 for 1 7179. 5 items 9027 for 3 7179. and I do not know how I should make it work. 5 - 9002 -> 1: 7179 5 - 9027 -> 3: 7179 5 - 9010 -> 5: 7179 1 - 9024 -> 7: 7179 1 - 9024 -> 7: 7179 could anyone give me a light on it? Thank you.
  10. Apoio completamente. Dependo do que precisar só me avisar que eu ajudo.
  11. how to use the (isequipped) command to check if one of x items is equipped? So is it the right way to do it? if (! isequipped (13071)) { message strcharinfo (0), "You have no equipped Upg weapon"; end; if (! isequipped (18112)) { message strcharinfo (0), "You have no equipped Upg weapon"; end; if (! isequipped (21000)) { message strcharinfo (0), "You have no equipped Upg weapon"; end; if (! isequipped (1292)) { message strcharinfo (0), "You have no equipped Upg weapon"; end; I want this first check to accept any of the UPG weapons. If any of them are equipped, npc does another check: else if (countitem (6240) <1) { message strcharinfo (0), "You need some ore so I can upgrade your weapon"; end; else if (countitem (984) <1) { message strcharinfo (0), "You need some ore so I can upgrade your weapon"; end; Do I need to check one of the 5 UPG weapons and one ore from a list of 4 ores? My npc will only start if any combination is hit, one of the weapons and one of the metals. What is the correct way to do this?
  12. good night. about the custom storage system, how can I separate content from custom storage? for example to only accept items etc? or just equipment? another question is what command should i use in an (usable) item?
  13. Can someone do a simple edit on a map for me? Just take some plants off the map. I did not quite understand the operation of Broedit. I know that by saying that the editing is simple, in fact I do not know if it is easy to do .. anyway thanks for the help.
  14. This Stay in player character or player account? I need this in account.
  15. I want to give INT a bonus to the player because it loads the sword x into the inventory (alt + E) without it having to equip. Tks. for help.
  16. Good evening .. I wonder if it is possible to add other clans to the prontera clan system? npc / re / other / clans.txt If yes .. what would I have to do? Does it involve modifications in Sorce? Or is it just mirroring the npc itself? Thanks for answering.
  17. opa @pueblodefairy this number is automatic .. it informs the player how many days he still has to pick up the items .. for example: If you set up your Attendance from May 1st until May 31st. And the player will enter on the 20th .. he will see the number 11. Which means that the player will only get 11 prizes before the current month ends. It is.
  18. good night. I'm using the new custom storage system. wanted to know if there is a way to create a storage only for equipment, or just for usable items or etc. Tks for help.
  19. Sader. thanks for the tip. I think you did not understand. My question is about programming logic. I start with an if. if #ticket> = 10 speech is over. then I continue the if: getitem Sect is variable by +1. my question is where to set the variable to 0 for the first time and prevent looping from set to 0 and +1.
  20. Good night. I would like to know where I set the variable for the first time for my npc give the item only 10 times. I made it this far .. but now I was lost. prontera,152,167,4 script [Tickets VIP] 63,{ if(#ticket >= 10) { mes "^ FF0000 Enjoy our free VIP week! ^ 000000"; close; } mes "^ FF0000Welcome to the HonorBR ^ 000000 Server"; mes "==========================="; mes "I'll give you one"; mes "^0000FF Ticket de VIP^000000 (id: 35250)."; getitem 35250,1; set #ticket, #ticket +1; next; mes "We hope you enjoy our"; mes "free VIP week. Any questions are just"; mes "ask there in our Discord!"; close; } Sorry for the simplicity of my npc .. I'm still learning. Thank you for your attention.
  21. Good night people. I have a question: How do I make a npc put a slot in an item? I know the structure is simple it swaps the version without a slot for a slot. delitem 5022.1; // Helm_Of_Sun getitem 5353.1; // Helm_Of_Sun_ The question is whether the item already has a letter or spell. How do I keep the state they were in. for example: delitem 1119; // Tsurugi [1] with a card and an enchantment getitem 1120; // Tsurugi [2] with the same card and with the same spell I know it's possible .. because at a Bro event this was done. Thanks in advance for your support.
  22. You can show me how I use? Where in npc I did put all npnwalktos?
  23. Good night.. I need to make a simple modification to a npc I already have, but I do not know if this is possible. I need an npc shop item to be walking in the middle of prontera. shop custom_seller21 -1,673:1000000 // Create our dummy shop. prontera,150,150,4 script [Máquina Cartas] 564,{ // This code runs when the user clicks our npc. mes "[^FF2400Cuidado^000000] Escolha um item!"; // Let the user know about our shop. callshop "custom_seller21",1; // Summon our dummy shop filled with custom items. npcshopattach "custom_seller21"; // Attach the shop to this npc. end; // This code runs when a user purchases an item from out shop. OnBuyItem: [email protected] = getarraysize(.customs); // Get the number of customs we're adding. [email protected]_len = getarraysize(@bought_nameid); // Get the number of purchased items. for( set @i, 0; @i < [email protected]; set @i, @i+1 ) { for( set @d,0; @d < [email protected]_len; set @d, @d+1 ) { if( @bought_nameid[@d] == .customs[@i] ) { // Check if the purchased item equals our custom item. if( countitem(.CoinID) >= .Price[@i] * @bought_quantity[@d] ) { // Check if the user has the correct funds. delitem .CoinID,.Price[@i]*@bought_quantity[@d]; getitem @bought_nameid[@d],@bought_quantity[@d]; } } } } deletearray @bought_quantity, getarraysize(@bought_quantity); // Remove the array. deletearray @bought_nameid, getarraysize(@bought_nameid); // Remove the array. close; // This code runs first. When the server is started. OnInit: setarray .customs[0],4035,4060,4063; // An array of out custom items. set .CoinID,1226; // ID da Moeda em uso. setarray .Price[0],500,500,500; // The amount of coins needed for our items. (For example: Item 12103 = 20 coins) npcshopitem "custom_seller21",0,0; // Remove all items from our dummy shop. for( set [email protected], 0; .customs[[email protected]]; set [email protected], [email protected]+1 ) // Loop through our custom items. npcshopadditem "custom_seller10",.customs[[email protected]],.Price[[email protected]]; // Add our custom items to the cleared dummy shop. end; } If it is possible could someone show me how to do it? If it is possible to do this I can put the sprite of a monster that he will walk? I thank you for your help.
×
×
  • Create New...

Important Information

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