Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/13/23 in all areas

  1. - script buff_cmd -1,{ OnInit: bindatcmd "buffs", strnpcinfo(0)+"::OnCommand"; end; OnCommand: if(getgroupid() <= 7) { message strcharinfo(0),"Falha, você não possui VIP."; end; } // This will bestow the effect of Level 10 Blessing. skilleffect 74,0; sc_start SC_MAGNIFICAT,360000,5; skilleffect 75,0; sc_start SC_GLORIA,360000,5; skilleffect 66,0; sc_start SC_IMPOSITIO,360000,5; skilleffect 67,0; sc_start SC_SUFFRAGIUM,360000,3; skilleffect 34,0; sc_start SC_BLESSING,360000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,360000,10; skilleffect 357,0; sc_start SC_CONCENTRATION,360000,5; skilleffect 155,0; sc_start SC_LOUD,360000,1; sc_start SC_ASPDPOTION2,360000,0; sc_start SC_STRFood,360000,10; sc_start SC_AGIFood,360000,10; sc_start SC_VITFood,360000,10; sc_start SC_INTFood,360000,10; sc_start SC_DEXFood,360000,10; sc_start SC_LUKFood,360000,10; sc_start SC_HitFood,1200000,30; sc_start SC_FleeFood,1200000,30; sc_start SC_BATKFood,1200000,10; sc_start SC_MATKFood,120000,10; }
    1 point
  2. The error message msize: estouro nos limites da matrizindicates that the arraymsizehas been declared to have a second dimension size of 7 characters, but you are trying to initialize it with strings that are potentially longer than 6 characters (remember that you need an extra character for the null terminator\0` in C++ strings). Similarly, for melement, you're trying to initialize it with strings that might be longer than the declared size once you consider the null terminator. Now you can try with this code: unsigned char msize[SZ_ALL][8] = { "Pequeno", "Medio", "Grande" }; // changed from [7] to [8] unsigned char melement[ELE_ALL][9] = { "Neutro", "Agua", "Terra", "Fogo", "Vento", "Veneno", "Sagrado", "Sombrio", "Fantasma", "Maldito" }; // changed from [8] to [9]
    1 point
  3. let's see prontera,155,187,5 script dsasda 1_F_MARIA,{ .@map$ = strnpcinfo(4); npctalk "I am currently in "+ .@map$; sleep 1000; if ( .@map$ == "prontera" ) unitwarp getnpcid(0), "morocc",156,93; else if ( .@map$ == "morocc" ) unitwarp getnpcid(0), "prontera", 156,191; end; } still works in latest rathena, means your script has bugs honestly from reading your script alone I can't tell what you are trying to do your description on your 1st post doesn't match what you are trying to do with your script where is your *initnpctimer or *sleep ? I totally don't understand this line, if you want your script to execute on the 1st day on each month, why do a check gettime(DT_DAYOFWEEK) again ? its like you are trying to make that condition false in purpose
    1 point
  4. Well I wanted to edit this npc as follows: Well, in this event, we have about 3 maps full of mobs, 2 types of mobs for each map, going from 70 to 150 and with a quest to kill some mobs to gain an extra experience while leveling up on them. With this short summary, let's go check out everything we have at this event. The hunting quests and the npc that teleports to the maps is Mateus Além, who is in the Eden group, next to Secretary Lenore, at the coordinates: / navi moc_para01 28/30. To take the quest to kill 400 mobs for your level. Just talk to him and say that he will help (option 1: Yes, I will help him.), After that he will provide the map / level options, here you will choose the option referring to your level range, and finally he will ask you to you choose the mob you will hunt. Once completed, just talk to him and ask for his reward (option 2: I want my reward!) And you will receive base and class experience. Comments: You can only do 1 quest at a time; The quest can be repeated after 4 am (as soon as you take the quest, you will receive the quest and a counter for this quest, the counter resets at 4 am every day, if you do not complete the quest on the day and end up doing it on next day and if it is after 4 pm, then you can do it again, so don't be surprised by a person doing the same quest twice a day); It is possible to deliver missions to the NPC at any base level; The experience received is 400 x the monster's EXP (in both cases, both class and base); To teleport to the event maps, just talk to Mateus Além and ask him to teleport you (option 4: Can you teleport me?) Comments: You can only enter the maps if you have the active quest or have completed it recently and are within the base level of the map; Teleportation skills work on this map; You lose XP when you die on this map; When you log out you are still on the map; To get out, just talk to the NPC who is in the place you appear when you enter the map. Having 1 lvl more than the maximum allowed on the map, the player will not only fail to enter, but will also be removed by our system if he is still inside the map. Turn IN Lvl 70-106: Payon Cave Rocky Pasana Lvl 107-130: Geffen's Dungeon Lude Succubus 131-150: Muscovy dungeon Bungisngis Scaraba Rake Upon killing each monster you have a 0.1% chance of dropping a 14797 Mystery Box or a 16673 Zodiac Egg Drops 16673 Egg of the Zodiac * The drop chance is the same for all items. * When dropping the box appears to all players (from the map). Download NPC https://rathena.org/board/applications/core/interface/file/attachment.php?id=13587 quest_db https://rathena.org/board/applications/core/interface/file/attachment.php?id=13584 OFFICIAL http://irowiki.org/wiki/Weekly_Turn-In_Events
    1 point
  5. Okay i finally find out. simply this case you dont need to edit resnametable.txt, it automatically reads the map if you put the image inside the map folder though you need still to edit the mp3nametable.txt for BGM's and mapnametable.txt to get rid of unknown area when typing /where whew! i hope this solution can help to others
    1 point
×
×
  • Create New...