Jump to content

WillJocker

Members
  • Posts

    33
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

WillJocker's Achievements

Marin

Marin (5/15)

  • One Year In
  • Collaborator
  • Reacting Well
  • One Month Later
  • Week One Done

Recent Badges

0

Reputation

  1. Hi guys, am I right? I need a healing NPC that walks around the map and has a delay of 40 seconds. In addition to healing, this NPC must also summon the "sanctuary" ability every 10 minutes at the coordinate he is at, and if possible interact with nearby players saying good morning, good afternoon or simply a Hi. Can you help me please? Thank you for time
  2. I started working on a script where the idea is for the player to be able to advertise their item in-game, and for someone else to see the catalog and be able to buy the item. However, I'm not able to make it work in relation to items with refinement, cards and the like. Can you help me, please? Here is the section that needs review and correction: setarray .@item_data_array$[0], explode(",", .@item_data$); set .@identify, atoi(.@item_data_array$[0]); // Identificado (1 ou 0) set .@refine, atoi(.@item_data_array$[1]); // Nível de refino set .@attribute, atoi(.@item_data_array$[2]); // Atributo (0 ou 1) set .@card1, atoi(.@item_data_array$[3]); // Card1 set .@card2, atoi(.@item_data_array$[4]); // Card2 set .@card3, atoi(.@item_data_array$[5]); // Card3 set .@card4, atoi(.@item_data_array$[6]); // Card4 // Devolve o item ao comprador com os dados completos getitem2 .@item_id, 1, .@identify, .@refine, .@attribute, .@card1, .@card2, .@card3, .@card4; error log: [Error]: script error on npc/testescrips/testez.txt line 49 parse_line: expected ';' 44 : mes "Preþo invßlido."; 45 : close; 46 : } 47 : 48 : // ObtÚm os dados completos do item (incluindo cartas, refino, etc.) * 49 : set .@card1, getinventorycardid'('.@item_index, 0); // Card1 50 : set .@card2, getinventorycardid(.@item_index, 1); // Card2 51 : set .@card3, getinventorycardid(.@item_index, 2); // Card3 52 : set .@card4, getinventorycardid(.@item_index, 3); // Card4 53 : set .@refine, getinventoryrefinerycnt(.@item_index); // Refino 54 : set .@identify, getinventoryidentify(.@item_index); // Identificado (1 ou 0)
  3. Hello everyone! I would like some help to make a small change to the CR_ACIDDEMONSTRATION skill, where if the player is ready, a custom item would be charged to execute the skill. On other maps, the 2 normal items (Acid Flask and Greek Fire Flask) would continue to be required. However, I was unable to find a way to change this condition within the skill.cpp in the src-map. Can you help me, please? I tried to add a new call, on line 13631 (before case AM_DEMONSTRATION:) but without success either. It seems that the system did not read the code that I put after it. Can you please tell me where I can change it to make this work? If you can provide the code, great, but if you can't, that's okay, I'll keep trying
  4. @rokimoki Another situation that occurs is that the icon counts the time logged in. It should count the time of the event, even if the character is offline, because if he logs out and logs in hours later, the icon will still be there.
  5. Thanks for the answer, I managed to solve this one thanks!
  6. the last update error: @rokimoki I'm thinking about the same as the item to remove or delay, or npc is not consuming the item to delay... could I add to consume both the main item and the item to delay in case the player wants to repeat the event before the time, please?
  7. @rokimokinice, I think all that's missing is to score tower points for the player to be able to use them in the store, or is it already there? I didn't find anything related to set points in the NPC
  8. @rokimoki I think I discovered a little problem. If the person has the icon and relogs, the server crashes and it takes about 2 minutes for the person to be able to click
  9. @rokimoki Very good! I tested @ctime and the ranking and they are working perfectly Did you get the icon on the side, please? When the player is in Delay, is it possible to also show it on the NPC, please?
  10. No rush, thanks for now <3, I'll wait
  11. Hello! How are you? Is it possible for a BOX system (being a random item) to not see repeated items? For example, in the box there are 10 items, will I only be able to repeat the items I picked up after I pick up all 10 in a unique way?
  12. very good! thanks for your time and work
  13. @rokimoki @ctime has stopped working It is not adding any mob eliminations to the database When it is on delay, can you tell me the remaining time please?
  14. Hi! @rokimoki 1. - MapServer Error: 2. Icon does not appear 3. If the player accessed the event once, left the room and tries to return, the NPC charges for the items again (he shouldn't charge again, as he has 3 hours to enjoy it) 4. The elimination count is adding up wrong, it's not adding up 1 elimination, it's adding up several of each mob for example, mob ID 1190 added 6 eliminations instead of 1 5. The drop item list is not working, I tested several % and did not get any items in the eliminations - obs: The item to remove Delay can be used by all players, not just VIP, is that right? I haven't been able to test it yet
×
×
  • Create New...