Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/27/19 in all areas

  1. View File Sader Attendance Requirement this patch make the player must have a variable true to claim his attendance reward the variable is #Attendance_YYYYMMDD ofc the variable change each day this will allow you to create a script to make for example a quest that the player must do every day to claim the attendance like for example the player must kill 500 monster before he can claim his attendance or must gather items or must be x level or must player x amount of time in the day so he can claim the reward of all the above the file include an information script file that have 2 function , one to set the variable and one to get the variable value (if you want to use them , just add them to your rathena/npc/other/Global_Functions.txt) it also include 2 example quests for you to get some inspiration to create your own script TODO: create function for gepard Submitter sader1992 Submitted 07/27/2019 Category Source Modifications Video Content Author sader1992  
    2 points
  2. That error is only an issue, when the script wasn't loaded correctly, since it uses OnInit: which will be triggered on Server Restart + @reloadscript command. That array contains the Text for the Elements, but since I use at the end of OnInit: and rand(1,6) for the randomized Element, I need to reduce it by 1 for the index. Since these values are always at least 1, it can't get below 0 normally which happens there, since these .HuntGround_I variables are reset on every Monday on 00:00 or via OnInit. So either you loaded the file without @reloadscript or server restart or I dunno how you managed that. I reloaded quite often and never had that issue. What you mean by that? Hmm, something must have gone wrong with the variables I used xX. Gonna check that soon. Thanks for the report. Normally you shouldn't be able to enter the instance when you still have the quest delay active.
    1 point
  3. Better look for a source coder first, they'll know how much they'll charge. Usually it depends on complexity, and since this was already done via the KS Protection thingy, it shouldn't cost that much.
    1 point
×
×
  • Create New...