crazyarashi Posted December 9, 2020 Posted December 9, 2020 View File Compendium Compendium - A levelable battle pass inspired majority of games out there. Feature : Easy customizable settings. Three types of selectable daily quest. Daily quest requirements are randomized. Daily quest count resets everyday. Compendium resets on the first day of the month. Rewards are sent via mail. '@compendium' command to access the compendium Settings : Adding a reward on the compendium Rewards : "Level | Reward ID, Amount, Reward ID, Amount,... ==| Level order doesn't matter but 'duplicates' will bug out the script. setarray .compendium_reward$, "1|501:10,502:20", "10|501:20,502:30", "5|501:100,502:500"; Adding a monster/item/mvp to hunt or collect Just add the ID on the following line. setarray .mvp_list setarray .hunt_list setarray .gather_list Changing EXP given on the quest types. .gathering_exp = 50; .hunt_exp = 50; .mvp_hunt_exp = 100; Submitter crazyarashi Submitted 12/09/2020 Category Utilities Video Content Author crazyarashi 1 5 Quote
fusqueta Posted December 9, 2020 Posted December 9, 2020 (edited) wow, I was thinking about that, compendiuns got very popular lately on games, it's a way to tax for new contents monthly. Good work! Certainly I'm going to use this. @edit I'll try to improve to have free and vip rewards Edited December 9, 2020 by fusqueta Quote
Gidz Cross Posted December 10, 2020 Posted December 10, 2020 thank you for keeping bringing gems to rathena community. ♥ Quote
Akkarin Posted December 10, 2020 Posted December 10, 2020 @crazyarashi your file description could do with a little more.. description. I.e What is it, how do you use it, why should I use it, who benefits from it, your inspiration for creating it, etc. Quote
crazyarashi Posted December 12, 2020 Author Posted December 12, 2020 Changed it. Thanks Akkarin ^^ Quote
celeron0134 Posted December 29, 2020 Posted December 29, 2020 got an error.. pasted your script on npc/custom/quests/Compendium.c am i doing it right? why does it says needs ';'? Quote
Rook1es Posted January 16, 2021 Posted January 16, 2021 Hello @crazyarashi can you help me about error on your compendium? Quote
mawjustin Posted March 24, 2021 Posted March 24, 2021 On 1/7/2021 at 8:40 PM, celeron0134 said: why does it says needs ';'? any fix on this? are we installing it right? Quote
Snaehild Posted May 17, 2021 Posted May 17, 2021 Where do we normally install .c scripts? Do they go under npc folder as well? Quote
kennykiro Posted June 25, 2021 Posted June 25, 2021 (edited) Em 17/05/2021 às 12h19, Snaehild disse: Onde normalmente instalamos scripts .c? Eles vão para a pasta npc também? você precisa renomear o arquivo para .txt Compêndio 1.1.c para Compêndio 1.1.txt it goes to npc folder Edited June 25, 2021 by kennykiro Quote
nobodyelse Posted June 27, 2021 Posted June 27, 2021 On 12/30/2020 at 1:24 AM, celeron0134 said: got an error.. pasted your script on npc/custom/quests/Compendium.c am i doing it right? why does it says needs ';'? i think its a typo, try use strnpcinfo(0) instead of strnpcnfo(0) Quote
reidouraidou Posted March 29, 2023 Posted March 29, 2023 On 6/27/2021 at 8:57 AM, nobodyelse said: i think its a typo, try use strnpcinfo(0) instead of strnpcnfo(0) That fixed that but now this one shows up script error on npc/custom/etc/Compendium.txt line 366 parse_simpleexpr: unmatched ')' 361 : OnHour00: 362 : if(gettime(DT_DAYOFMONTH) == 1){ 363 : query_sql("TRUNCATE `compendium`"); 364 : end; 365 : } * 366 : query_sql("UPDATE `compendium` SET `quest` = '"+.quest_count+" WHERE `quest` < '"+.quest_count'"''"); 367 : end; 368 : 369 : function compendium_getexp { 370 : .@exp_value = getarg(0); 371 : .@account_id = getcharid(3); Anyone got this one working? Quote
Mael Posted April 5, 2023 Posted April 5, 2023 On 3/29/2023 at 12:49 PM, reidouraidou said: That fixed that but now this one shows up script error on npc/custom/etc/Compendium.txt line 366 parse_simpleexpr: unmatched ')' 361 : OnHour00: 362 : if(gettime(DT_DAYOFMONTH) == 1){ 363 : query_sql("TRUNCATE `compendium`"); 364 : end; 365 : } * 366 : query_sql("UPDATE `compendium` SET `quest` = '"+.quest_count+" WHERE `quest` < '"+.quest_count'"''"); 367 : end; 368 : 369 : function compendium_getexp { 370 : .@exp_value = getarg(0); 371 : .@account_id = getcharid(3); Anyone got this one working? query_sql("UPDATE `compendium` SET `quest` = '"+.quest_count+" WHERE `quest` < '"+.quest_count+"'"); Quote
KaizenRO Posted July 9, 2023 Posted July 9, 2023 On 8/2/2021 at 7:27 PM, Gouki said: Hi all, Does anyone have fix for this? hello how did you fix this? Quote
Gouki Posted July 9, 2023 Posted July 9, 2023 1 hour ago, KaizenRO said: hello how did you fix this? No. Wasn't able to fix this.. Quote
AinsLord Posted July 9, 2023 Posted July 9, 2023 @crazyarashi got a bunch of questions 1. How does the daily quest resets is it 0000hrs or time of the all quest done 2. How can i modify from 100 exp needed to level to 1000exp 3. How can i modify from 3 DQ to 5 or more DQ thanks for the script Quote
KaizenRO Posted July 9, 2023 Posted July 9, 2023 13 hours ago, Gouki said: No. Wasn't able to fix this.. thanks for the response! Was this script working for you? We are encountering a problem when we choose a certain quest even if we dont do it and click submit it will automatically give an Experience. Quote
AinsLord Posted July 10, 2023 Posted July 10, 2023 @crazyarashi how to fix this SQL error thanks Quote
imat1 Posted July 11, 2023 Posted July 11, 2023 8 hours ago, AinsLord said: @crazyarashi how to fix this SQL error thanks Upon checking the query, I think there's just a missing + symbol. Find the line with: query_sql("UPDATE `compendium` SET `quest` = '"+.quest_count+" WHERE `quest` < '"+.quest_count"'"); Change to: query_sql("UPDATE `compendium` SET `quest` = '"+.quest_count+" WHERE `quest` < '"+.quest_count+"'"); Quote
Heartfelt Posted November 6, 2023 Posted November 6, 2023 On 8/2/2021 at 6:27 PM, Gouki said: Hi all, Does anyone have fix for this? is there any way to fix this error sir? @crazyarashi Quote
ReSp Posted November 13, 2024 Posted November 13, 2024 No errors BUT, when i do one mission i can complete all others missions without working.... Also is can do with all chars of account it is not good Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.