Jump to content

Tassadar

Members
  • Posts

    107
  • Joined

  • Last visited

Everything posted by Tassadar

  1. guys. does anyone know how I get a monster to walk from position x to position y. if he finds a player he stops walking and fights with the player. if the player teleports or dies he moves from x to y again. thank you.
  2. 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/
  3. just once a day. resetting at 06:00 am. what if the npc resets midnight? programming is easier. because that's fine with me.
  4. it didn't work .. he delivers all quests on the same day. He is not turning on a 24-hour timer.
  5. 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.
  6. 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 .@reward, 4001, 1; setarray .@item, 512; setarray .@amount, 100; break; case 2: setarray .@reward, 4002, 1; setarray .@item, 501, 502, 503; setarray .@amount, 3, 1, 2; break; default: mes "invalid quest."; close; } mes "Quest Requirement(s):"; .@size = getarraysize(.@item); for (.@i = 0; .@i < .@size; .@i++) { mes " > "+.@amount[.@i]+"x "+getitemname(.@item[.@i]); if (countitem(.@item[.@i]) < .@amount[.@i]) .@fail++; } if (!.@fail) { next; if (select("Submit Quest", "Cancel") == 1) { for (.@i = 0; .@i < .@size; .@i++) delitem .@item[.@i], .@amount[.@i]; getitem .@reward[0], .@reward[1]; quest_random = 0; } } close; }
  7. good night. I need this modification for my server. if anyone could make me available, I would be very grateful.
  8. Tks Haruka Mayumi you helped me a lot. Thank you so.
  9. 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.
  10. 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.
  11. Apoio completamente. Dependo do que precisar só me avisar que eu ajudo.
  12. 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?
  13. 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?
  14. 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.
  15. This Stay in player character or player account? I need this in account.
  16. 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.
  17. 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.
  18. 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.
  19. 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.
  20. 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.
  21. 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.
  22. 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.
×
×
  • Create New...