Hello, I am starting on a fresh 667 base with a unedited 667 Deob.
I was writing the prayer book and I've got everything working, except for the quick prayer selection visual part.
There's nothing wrong with the code I've written for it, as it correctly selects and remember the quick prayers. It's the part where it visually displays what you selected.
Here's an example of the problem; I disabled the option slots to show it. As you can see in the video, even tho it's not recognizing my clicks server side, the client knows I am clicking it and is sending the checks. But I am not sending anything from the server aside from sending the config 181 value 1 to show the quick prayer selection. Another annoying part is that when I click the chivalry and rapid renewal prayers, it sends the sound for you being out of prayer.
I searched in the CS2 scripts and I've found which ones are doing what.
This script is what's making it play those sounds. If you don't have the defence level for each and aren't sending the varbit 3909 value 8 (which I assume is the knight waves training ground), it will send them. I know because I sent it and it stopped. But what I find odd is that the last conditional statement is talking about piety, but it is no longer on that slot post dungeoneering because they added rapid renewal. Also chivarly requires 65 defence not 55? This makes me think I am sending the wrong config to show the quick prayer selection.
Code:
void script_1717() {
if (((boolean)globalint_181)) {
deleteAllExtraChilds(new WidgetPointer(271,7));
deleteAllExtraChilds(new WidgetPointer(271,8));
setWidgetIsHidden(false, new WidgetPointer(271,42));
setWidgetIsHidden(true, new WidgetPointer(271,0));
script_1388(17760298);
script_1237(17760264);
setWidgetIsHidden(true, new WidgetPointer(271,9));
deleteAllExtraChilds(new WidgetPointer(271,6));
cs2method2100(0, 0, new WidgetPointer(271,5));
setWidgetSize(16384, 16384, 2, 2, new WidgetPointer(271,5));
} else {
deleteAllExtraChilds(new WidgetPointer(271,42));
setWidgetIsHidden(true, new WidgetPointer(271,42));
setWidgetIsHidden(false, new WidgetPointer(271,0));
script_1237(17760264);
script_1293(17760263);
setWidgetIsHidden(false, new WidgetPointer(271,9));
setWidgetSize(16384, add(getWidgetActualHeight(new WidgetPointer(271,9)), getWidgetActualHeight(new WidgetPointer(271,0))), 2, 1, new WidgetPointer(271,5));
script_1704();
}
return;
}
This other script is what causes the selection component to appear. It seems that the scripts 1388 and 1237 it calls are what make the check boxes appear.
Anyway I tried to figure this out for hours with no luck. I am thinking I have the wrong config or something. If you know how to fix it I would appreciate the help.