From 905a60ebad5a4dc55b7b53c1eec44c2b2935a25b Mon Sep 17 00:00:00 2001 From: Jaysyn904 <68194417+Jaysyn904@users.noreply.github.com> Date: Sat, 1 Mar 2025 09:38:16 -0500 Subject: [PATCH] Fixed quest bug Fixed quest bugs that resulted from GetNumberPartyMembers() finally being fixed. Added PRC8 Discord journal entry. Full compile. --- _module/are/area106.are.json | 6 +- _module/ifo/module.ifo.json | 2 +- _module/jrl/module.jrl.json | 117 ++++++++++++++++++++++--------- _module/ncs/otres_set_var_r.ncs | Bin 1846 -> 1558 bytes _module/ncs/qst_marthek_end.ncs | Bin 2013 -> 2005 bytes _module/ncs/qst_mushroom_end.ncs | Bin 1801 -> 1793 bytes _module/ncs/ra_mod_onenter.ncs | Bin 8687 -> 8418 bytes _module/ncs/spawn_cfg_camp.ncs | Bin 511 -> 0 bytes _module/ncs/spawn_chk_custom.ncs | Bin 23 -> 0 bytes _module/ncs/spawn_chk_pcs.ncs | Bin 23 -> 0 bytes _module/ncs/spawn_main.ncs | Bin 551 -> 0 bytes _module/ncs/spawnb_cc_dactiv.ncs | Bin 180 -> 164 bytes _module/nss/qst_marthek_end.nss | 5 +- _module/nss/qst_mushroom_end.nss | 3 +- _module/nss/ra_mod_onenter.nss | 1 + 15 files changed, 94 insertions(+), 40 deletions(-) delete mode 100644 _module/ncs/spawn_cfg_camp.ncs delete mode 100644 _module/ncs/spawn_chk_custom.ncs delete mode 100644 _module/ncs/spawn_chk_pcs.ncs delete mode 100644 _module/ncs/spawn_main.ncs diff --git a/_module/are/area106.are.json b/_module/are/area106.are.json index 16aabcce..42c9e189 100644 --- a/_module/are/area106.are.json +++ b/_module/are/area106.are.json @@ -2907,13 +2907,17 @@ } ] }, + "TileBrdrDisabled": { + "type": "byte", + "value": 0 + }, "Tileset": { "type": "resref", "value": "tin01" }, "Version": { "type": "dword", - "value": 33 + "value": 34 }, "Width": { "type": "int", diff --git a/_module/ifo/module.ifo.json b/_module/ifo/module.ifo.json index a1ee9e90..ec080fd7 100644 --- a/_module/ifo/module.ifo.json +++ b/_module/ifo/module.ifo.json @@ -1852,7 +1852,7 @@ "Mod_Description": { "type": "cexolocstring", "value": { - "0": "Beyond the Dungeon of Graves v1.4.3prc8\n\nOriginally by: Tolen\n\nUpdated by: Jaysyn\n\nBased on Rappan Athuk: The Dungeon of Graves, published by Necromancer Games.\n\nRequires CEP 1, CEP 3 & PRC8 4.1.11+\n\nDiscord: https://discord.gg/vFNhmKgH7W\n\nGitHub: https://github.com/Jaysyn904/RATDOG" + "0": "Beyond the Dungeon of Graves\n\nOriginally by: Tolen\n\nUpdated by: Jaysyn\n\nBased on Rappan Athuk: The Dungeon of Graves, published by Necromancer Games.\n\nRequires CEP 1, CEP 3 & PRC8 4.1.11+\n\nDiscord: https://discord.gg/vFNhmKgH7W\n\nGitHub: https://github.com/Jaysyn904/RATDOG" } }, "Mod_DuskHour": { diff --git a/_module/jrl/module.jrl.json b/_module/jrl/module.jrl.json index ee7ee2a2..ac88cb94 100644 --- a/_module/jrl/module.jrl.json +++ b/_module/jrl/module.jrl.json @@ -56,6 +56,57 @@ }, { "__struct_id": 1, + "Comment": { + "type": "cexostring", + "value": "" + }, + "EntryList": { + "type": "list", + "value": [ + { + "__struct_id": 0, + "End": { + "type": "word", + "value": 0 + }, + "ID": { + "type": "dword", + "value": 1 + }, + "Text": { + "type": "cexolocstring", + "value": { + "0": "Visit the PRC8 Discord for ruleset information, as well as other PW servers & dozens of single player PRC8 modules.\n\nhttps://discord.gg/FW9V9RKy5U" + } + } + } + ] + }, + "Name": { + "type": "cexolocstring", + "value": { + "0": "| PRC8 Discord |" + } + }, + "Picture": { + "type": "word", + "value": 65535 + }, + "Priority": { + "type": "dword", + "value": 4 + }, + "Tag": { + "type": "cexostring", + "value": "Category000" + }, + "XP": { + "type": "dword", + "value": 0 + } + }, + { + "__struct_id": 2, "Comment": { "type": "cexostring", "value": "3e D&D Experience Chart" @@ -106,7 +157,7 @@ } }, { - "__struct_id": 2, + "__struct_id": 3, "Comment": { "type": "cexostring", "value": "" @@ -225,7 +276,7 @@ } }, { - "__struct_id": 3, + "__struct_id": 4, "Comment": { "type": "cexostring", "value": "" @@ -293,7 +344,7 @@ } }, { - "__struct_id": 4, + "__struct_id": 5, "Comment": { "type": "cexostring", "value": "" @@ -429,7 +480,7 @@ } }, { - "__struct_id": 5, + "__struct_id": 6, "Comment": { "type": "cexostring", "value": "" @@ -497,7 +548,7 @@ } }, { - "__struct_id": 6, + "__struct_id": 7, "Comment": { "type": "cexostring", "value": "" @@ -582,7 +633,7 @@ } }, { - "__struct_id": 7, + "__struct_id": 8, "Comment": { "type": "cexostring", "value": "Tracks the party's dealings with Drusilla the Dark Druid." @@ -650,7 +701,7 @@ } }, { - "__struct_id": 8, + "__struct_id": 9, "Comment": { "type": "cexostring", "value": "" @@ -735,7 +786,7 @@ } }, { - "__struct_id": 9, + "__struct_id": 10, "Comment": { "type": "cexostring", "value": "" @@ -803,7 +854,7 @@ } }, { - "__struct_id": 10, + "__struct_id": 11, "Comment": { "type": "cexostring", "value": "" @@ -871,7 +922,7 @@ } }, { - "__struct_id": 11, + "__struct_id": 12, "Comment": { "type": "cexostring", "value": "" @@ -922,7 +973,7 @@ } }, { - "__struct_id": 12, + "__struct_id": 13, "Comment": { "type": "cexostring", "value": "" @@ -1007,7 +1058,7 @@ } }, { - "__struct_id": 13, + "__struct_id": 14, "Comment": { "type": "cexostring", "value": "" @@ -1075,7 +1126,7 @@ } }, { - "__struct_id": 14, + "__struct_id": 15, "Comment": { "type": "cexostring", "value": "" @@ -1160,7 +1211,7 @@ } }, { - "__struct_id": 15, + "__struct_id": 16, "Comment": { "type": "cexostring", "value": "" @@ -1228,7 +1279,7 @@ } }, { - "__struct_id": 16, + "__struct_id": 17, "Comment": { "type": "cexostring", "value": "" @@ -1330,7 +1381,7 @@ } }, { - "__struct_id": 17, + "__struct_id": 18, "Comment": { "type": "cexostring", "value": "" @@ -1415,7 +1466,7 @@ } }, { - "__struct_id": 18, + "__struct_id": 19, "Comment": { "type": "cexostring", "value": "" @@ -1534,7 +1585,7 @@ } }, { - "__struct_id": 19, + "__struct_id": 20, "Comment": { "type": "cexostring", "value": "" @@ -1602,7 +1653,7 @@ } }, { - "__struct_id": 20, + "__struct_id": 21, "Comment": { "type": "cexostring", "value": "" @@ -1670,7 +1721,7 @@ } }, { - "__struct_id": 21, + "__struct_id": 22, "Comment": { "type": "cexostring", "value": "" @@ -1755,7 +1806,7 @@ } }, { - "__struct_id": 22, + "__struct_id": 23, "Comment": { "type": "cexostring", "value": "" @@ -1925,7 +1976,7 @@ } }, { - "__struct_id": 23, + "__struct_id": 24, "Comment": { "type": "cexostring", "value": "" @@ -2027,7 +2078,7 @@ } }, { - "__struct_id": 24, + "__struct_id": 25, "Comment": { "type": "cexostring", "value": "" @@ -2112,7 +2163,7 @@ } }, { - "__struct_id": 25, + "__struct_id": 26, "Comment": { "type": "cexostring", "value": "" @@ -2163,7 +2214,7 @@ } }, { - "__struct_id": 26, + "__struct_id": 27, "Comment": { "type": "cexostring", "value": "" @@ -2214,7 +2265,7 @@ } }, { - "__struct_id": 27, + "__struct_id": 28, "Comment": { "type": "cexostring", "value": "" @@ -2333,7 +2384,7 @@ } }, { - "__struct_id": 28, + "__struct_id": 29, "Comment": { "type": "cexostring", "value": "" @@ -2384,7 +2435,7 @@ } }, { - "__struct_id": 29, + "__struct_id": 30, "Comment": { "type": "cexostring", "value": "" @@ -2452,7 +2503,7 @@ } }, { - "__struct_id": 30, + "__struct_id": 31, "Comment": { "type": "cexostring", "value": "" @@ -2520,7 +2571,7 @@ } }, { - "__struct_id": 31, + "__struct_id": 32, "Comment": { "type": "cexostring", "value": "" @@ -2588,7 +2639,7 @@ } }, { - "__struct_id": 32, + "__struct_id": 33, "Comment": { "type": "cexostring", "value": "" @@ -2673,7 +2724,7 @@ } }, { - "__struct_id": 33, + "__struct_id": 34, "Comment": { "type": "cexostring", "value": "" @@ -2758,7 +2809,7 @@ } }, { - "__struct_id": 34, + "__struct_id": 35, "Comment": { "type": "cexostring", "value": "" diff --git a/_module/ncs/otres_set_var_r.ncs b/_module/ncs/otres_set_var_r.ncs index 35581dd934e23f6c9475e045e6989218784c36e0..1f25632ef75997e93558ef0aee19e7d69318dc9c 100644 GIT binary patch delta 363 zcmdnSH;u>4&pB8j%uvt3iGhJlOpXBvI20II85rI%u&^?47l#yOrl+SCg(RjkGyebo z{|88v!IWuYn4S`=k~9NINC70qp5~UAoSBEL%7kfhHjAXRF%wXlqc|kBs3<Wr4{XW@ zs40`zvq*5ffpKgYWjS8JIE9RI98X}J<v^JSFit$H9LF6Pr<YZR;|7eglT}vk3X}u3 z=K=!@3p3D1jNA(HAWCm?KU2Ij(@Pc>`vwLE9z~EK!)&lph#}7ynOHz!z;sMp5iI<N yfdx!M{QaB}==o=iqKcCPncE~Ffdn=mp@y-BX)`|y3lkf}j>+0=(vw5j9svL>Usv@2 literal 1846 zcma)7J#W)c6n*|kTG3P;aD)UZxJ5#u5-lh|VX7#oR18@fv72Ior6`tcx9R{A|A>W+ zKfu7yfq{X60Tl*RF?8q<5suG|t-co<$lxf~=iYnXz304iAMW^1Z>`?kRBGn#WrfeI zuk2<+sbghX<MH@ZxtA2aM|Q()sJXP4ME!o4^n$*VzdlijsynuhbsZG43INNlNDSzi zXT2oY4+rd#ziTeD!zmiO`TG}J!EQ7>TmQCE-*$jI7j4ITN!p7a$L#crR5~U!r#+kY z!XyczA%Q<DIrDrA=~grh272Ki^>{Dc$$}(%6s8&SvM3%FgZWmU)SgO0{w}F~t<Um= zT1Bfb^-1liq_WlL`mFP5H$131)TjC!&&(+s9abjsxOgS9nDejXis{-7#xXn!3M&=y zF^WAf3e8Crn_Y-ROoQ+_mqt<HF_8fXPt@z?N^`Ee?#3IXT1$C5_1<<_SdMjM*#dGe zEa`Hdz+eT!(H|YYTX-B<Z39ch2<LJ)&|zL0t?7nfw&%0S$AaNv&gkk5#R6zWkPZ=> z6qH%>op+5GOi~UyIc}wcn<fqGmEjfvpm$+XHp3dgX5A^z)&y0nwalG;U^L%krFHK~ z7DkNsre$T4lfn=rAi7lra9?Ub=Kxe%RKvkUz|~t*14C*6|HYCT8WLn_-Vzm7)WEoB zSlR@a&d|^pGSIcw)3EqK8iq}$3Qz6(wXyF-T<yPCshLAj7cXI&#PC3V<<3W&@m~LB z_Fy|s(h!<BR(P0KZYdM~3y8JVMHr&f>98p1i%f}x))~bB7(JmAS|y!-tF~weE-MzD b{e&S@)V^hg>&}0TW&Bn+o?$Z*e!ltxfySZ0 diff --git a/_module/ncs/qst_marthek_end.ncs b/_module/ncs/qst_marthek_end.ncs index 7deccde3dcd4759713343334b326035d2e14617e..221758efcb6de3a33b46d64f69b7cc113f145236 100644 GIT binary patch delta 27 jcmcc1f0dut&pB8j%uvt3iGhLr>O|gUjO`ouD6#_pa*PN@ delta 39 vcmcc0f0v)v&pB8j%uvt3iGhLr?nK^Yoc%1!3=9m6q6(8IG6`=y&c_Y_&+iG$ diff --git a/_module/ncs/qst_mushroom_end.ncs b/_module/ncs/qst_mushroom_end.ncs index becf59ec644ae56550e2112c668feac9fa21bfe8..3ac446e4a8ee15ca6bc7ab167c45752a2b0bde88 100644 GIT binary patch delta 27 icmeC=Yvkkga}HJrGt@J1VqjoroXES3F>m7@Up4?(+y>eJ delta 35 qcmZqV>*VA0a}HJrGt@J1VqjqBoXES3vy6qAfq{WhRAJ*5Up4@QVh1Mx diff --git a/_module/ncs/ra_mod_onenter.ncs b/_module/ncs/ra_mod_onenter.ncs index 2bec13e495e3270d5c8cd4fb27efe0cc8ea3612e..eeb195f27e1178ad4d27e60780b3be55f939c201 100644 GIT binary patch delta 892 zcmah{Pe>GT6rT5+opIeiPP*={?u_fSyA)WaR*Qm_=t777*s?2{8B~xEgh610qzOrx z5ZUs9hp40|sADaiq=T0Z9Re%x5EL3=l&cjI9<=Q@zcH{5HJAC`d*A!M_ukB6Vz#-u zHIX*k>$cUlNRl}lmiXf|B}J0TC5LQ9GUfC6Wy!%)t1NRc%;bVhPn_bJo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#jEm$v9(LS{XF)!fL}AnQ7^7x-y8{WnV2LxO1TOxX&4u8mL0g~KSBjL0mXHy9 z&~Aa-O{ZFZo4prcD~&pug4TjVx68fKydw?I4eUB}kg6m+U#!p+ZdU=?qcqcHx1R=; z5cG2aQ_5p_!>bdnarE1Gx!>m?&3zNj@ULlArMK><8zJ|pwdjrVvz&StKIY?|cYq$1 z7Ax-9(Ne!e7rb$J#X%3fW2j0+<{TX5)tYY@W_UH}A3>M3c+&5naKJ?;0|Ri1AN~xC zz$~xEDnFq!M*YFlFh`$*kI<pf)zAb?Q)N|7S~McAqgxezdSBHGJyai_KwAyXhkI;u zqL{kGj6cj5qJxoL2Juj&3uPO<j%ZYfw82Yi)4HIW&TC<Mp|zp}`ES}ifU|VHx&@kO nrurBR=9SnDK$K`$*Rb2Vy`6d-QQ(~;|2lwlUyov@)R_JYYY;9% diff --git a/_module/ncs/spawn_cfg_camp.ncs b/_module/ncs/spawn_cfg_camp.ncs deleted file mode 100644 index f834ded05134cfb029d563e843f9d8ca131baa8f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 511 zcmXw$K}*9h6vtnuRgc~U=~+S2u7Y0IObv5GY_?)=nzUnMrKO7$_Cfq+-u)0Bh1%pL zIg}so|9}6N<}H#mScNxa0^s$RFr2dhj(zZzl2NEZ?l;7MYD7$o)DaRJIP9%dwFvY% z4UI<wwznNh#ZKPd4_%}6T7MszPN)tAW~Q?@8}(5+sHHGdL?KNk7j_D#6g_;JAgr<+ zp%Vfjqc66yD=mB~gl1DjW1Y;>ghU#imi!J!%xS1E>8tG)&8oHU&?x&Od9pw$r*?Wy zr>-)$z$OlyhuJ&l%(c%l>)}q~53a%-ygEo7EC)EzoALp^y(6#h`#-%h`0;%3zBHcJ bW!cv6(uluC9FMNR?DzZ{E@0@10|?+BH;r3y diff --git a/_module/ncs/spawn_chk_custom.ncs b/_module/ncs/spawn_chk_custom.ncs deleted file mode 100644 index ecb1c72d2b249d3cdcff5ed38020576abd2280f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 23 ccmeZs4ps;=)H85mU|<lJ0}>1z3JeMi04)0gsQ>@~ diff --git a/_module/ncs/spawn_chk_pcs.ncs b/_module/ncs/spawn_chk_pcs.ncs deleted file mode 100644 index ecb1c72d2b249d3cdcff5ed38020576abd2280f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 23 ccmeZs4ps;=)H85mU|<lJ0}>1z3JeMi04)0gsQ>@~ diff --git a/_module/ncs/spawn_main.ncs b/_module/ncs/spawn_main.ncs deleted file mode 100644 index 028a9a67672e1de4a3db707f5b14511f3b787d44..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 551 zcmXw%%}#?r6ooHX)Wn#$H!<uqnwWvsM7L$ClG?@yEs;%A258zqATS2g2l36^`w%Wo zaDG|9$35qsJ1{f%0(<G)qA`GZc>(M?wqanw=_gv%1zC}*soRVdPE;YO%7ncRf^1FM z)1owW9S&)`MFMC|Mo35<LL&kDR!L<e0lx%}@NkgrO(&(SNbeq4m$}*S`;*TT%6%p? zgXz19N=gk?O2ibBr6MyVYD$Q)^n?>n!ZL~_bc9HV@T;m6xq=TWq26ZhkSF_rhg=TN zi|}5Km|=%6(xSVaG}A`?hnlJniM_d$Vyvdec%mya1^!rr_V{Yev9H^wk@AFE3LkaF z*YKtx(6C@|$amBN_%;rVzVH9|*20frf$_!hsLJ!ETBkz%72?pm25}C~Zr~hP&y@`} F`~z8VWyk;k diff --git a/_module/ncs/spawnb_cc_dactiv.ncs b/_module/ncs/spawnb_cc_dactiv.ncs index 7e94385ed75a6f53059a8cd3d660a7b203910f63..77e80d779e4145ed17643fa1cd184642a9a57798 100644 GIT binary patch delta 57 zcmdnOxP;Nr&pB8j%uvt3iGhJ(2@|s%kYeCaU|?Zo;0{PEO3f<?E=VlTV_^e{vobK4 JF->$V1^_`r3b_CP delta 73 zcmZ3&xP{Tt&pB8j%uvt3iGhJ(3lp;(kYeCaU|?cnVP)VBNGwXtD+w-0EYD+M1Ie&5 YFqknhGXDSn{|5t$Gy{<SGtsaZ03>)4-~a#s diff --git a/_module/nss/qst_marthek_end.nss b/_module/nss/qst_marthek_end.nss index ffdd594c..9029f22a 100644 --- a/_module/nss/qst_marthek_end.nss +++ b/_module/nss/qst_marthek_end.nss @@ -24,8 +24,7 @@ void main() int nGold = 1500; //:: Get gold for each PC -//:: Take one off GetNumberPartyMembers(), see known bugs - int nMembers = GetNumberPartyMembers(oPC) - 1; + int nMembers = GetNumberPartyMembers(oPC); //:: Give the correct gold to all of them GiveGoldToAll(oPC, nGold/nMembers); @@ -35,4 +34,4 @@ void main() //:: Set quest stage & update DB. AddPersistentJournalQuestEntry("marthek", 5, oPC); -} \ No newline at end of file +} diff --git a/_module/nss/qst_mushroom_end.nss b/_module/nss/qst_mushroom_end.nss index 3db54af7..f294578d 100644 --- a/_module/nss/qst_mushroom_end.nss +++ b/_module/nss/qst_mushroom_end.nss @@ -24,8 +24,7 @@ void main() int nGold = 50000; //:: Get gold for each PC -//:: Take one off GetNumberPartyMembers(), see known bugs - int nMembers = GetNumberPartyMembers(oPC) - 1; + int nMembers = GetNumberPartyMembers(oPC); //:: Give the correct gold to all of them GiveGoldToAll(oPC, nGold/nMembers); diff --git a/_module/nss/ra_mod_onenter.nss b/_module/nss/ra_mod_onenter.nss index 3571800c..78340a1b 100644 --- a/_module/nss/ra_mod_onenter.nss +++ b/_module/nss/ra_mod_onenter.nss @@ -132,6 +132,7 @@ void main() //:: Add system journal entries AddPersistentJournalQuestEntry("JRNL_XPCHART", 1, oPC); AddPersistentJournalQuestEntry("JRNL_LA_BUYOFF", 1, oPC); + AddPersistentJournalQuestEntry("JRNL_PRC8", 1, oPC); //:: Announce player string sMessage = sPlayerName+ " has entered the Lost Lands.";