Skip to content

Commit

Permalink
203.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-F committed Mar 9, 2022
1 parent 649e19e commit f9a814e
Show file tree
Hide file tree
Showing 32 changed files with 701 additions and 75 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3165,6 +3165,10 @@
[**3162**](scripts/[clientscript,league_icon_flash].cs2) `[clientscript,league_icon_flash]`
[**3163**](scripts/[clientscript,league_flash_timer].cs2) `[clientscript,league_flash_timer]`
[**3164**](scripts/[proc,league_flashicon].cs2) `[proc,league_flashicon]`
[**3165**](scripts/[proc,script3165].cs2)
[**3166**](scripts/[clientscript,script3166].cs2)
[**3167**](scripts/[clientscript,script3167].cs2)
[**3168**](scripts/[proc,script3168].cs2)
[**3169**](scripts/[proc,buff_bar_buff_create_tooltip].cs2) `[proc,buff_bar_buff_create_tooltip]`
[**3170**](scripts/[clientscript,buff_bar_mobile_tooltip].cs2) `[clientscript,buff_bar_mobile_tooltip]`
[**3171**](scripts/[clientscript,buff_bar_mobile_tooltip_remove].cs2) `[clientscript,buff_bar_mobile_tooltip_remove]`
Expand Down Expand Up @@ -3195,6 +3199,7 @@
[**3196**](scripts/[clientscript,league_relic_back].cs2) `[clientscript,league_relic_back]`
[**3197**](scripts/[clientscript,league_relic_confirm].cs2) `[clientscript,league_relic_confirm]`
[**3198**](scripts/[clientscript,league_relic_confirm_back].cs2) `[clientscript,league_relic_confirm_back]`
[**3199**](scripts/[clientscript,script3199].cs2)
[**3200**](scripts/[clientscript,clock_init].cs2) `[clientscript,clock_init]`
[**3201**](scripts/[clientscript,script3201].cs2)
[**3202**](scripts/[clientscript,league_tasks_init].cs2) `[clientscript,league_tasks_init]`
Expand Down Expand Up @@ -3691,6 +3696,7 @@
[**3693**](scripts/[proc,leagues_menu_button].cs2) `[proc,leagues_menu_button]`
[**3694**](scripts/[proc,league_relic_hover].cs2) `[proc,league_relic_hover]`
[**3695**](scripts/[proc,league_relic_button_hover].cs2) `[proc,league_relic_button_hover]`
[**3696**](scripts/[proc,script3696].cs2)
[**3697**](scripts/[proc,league_relic_active].cs2) `[proc,league_relic_active]`
[**3698**](scripts/[clientscript,script3698].cs2)
[**3699**](scripts/[proc,league_task_display].cs2) `[proc,league_task_display]`
Expand Down Expand Up @@ -4658,6 +4664,7 @@
[**4661**](scripts/[proc,helper_cox_timer_convert].cs2) `[proc,helper_cox_timer_convert]`
[**4662**](scripts/[clientscript,raids_overlay_content_transmit].cs2) `[clientscript,raids_overlay_content_transmit]`
[**4663**](scripts/[proc,raids_overlay_content].cs2) `[proc,raids_overlay_content]`
[**4664**](scripts/[clientscript,script4664].cs2)
[**4665**](scripts/[clientscript,script4665].cs2)
[**4666**](scripts/[proc,script4666].cs2)
[**4667**](scripts/[proc,buff_bar_time_string].cs2) `[proc,buff_bar_time_string]`
Expand All @@ -4666,12 +4673,20 @@
[**4670**](scripts/[proc,buff_bar_position_init].cs2) `[proc,buff_bar_position_init]`
[**4671**](scripts/[clientscript,buff_bar_position_review].cs2) `[clientscript,buff_bar_position_review]`
[**4672**](scripts/[proc,buff_bar_position_review].cs2) `[proc,buff_bar_position_review]`
[**4673**](scripts/[clientscript,script4673].cs2)
[**4674**](scripts/[proc,script4674].cs2)
[**4675**](scripts/[proc,script4675].cs2)
[**4676**](scripts/[proc,script4676].cs2)
[**4677**](scripts/[clientscript,script4677].cs2)
[**4678**](scripts/[proc,script4678].cs2)
[**4679**](scripts/[proc,script4679].cs2)
[**4680**](scripts/[clientscript,script4680].cs2)
[**4681**](scripts/[proc,script4681].cs2)
[**4682**](scripts/[clientscript,script4682].cs2)
[**4683**](scripts/[clientscript,script4683].cs2)
[**4684**](scripts/[proc,buff_bar_buff_disabled].cs2) `[proc,buff_bar_buff_disabled]`
[**4685**](scripts/[clientscript,script4685].cs2)
[**4686**](scripts/[clientscript,script4686].cs2)
[**4687**](scripts/[proc,script4687].cs2)
[**4688**](scripts/[proc,helper_init].cs2) `[proc,helper_init]`
[**4689**](scripts/[clientscript,helper_setup].cs2) `[clientscript,helper_setup]`
Expand Down Expand Up @@ -5325,6 +5340,8 @@
[**5337**](scripts/[proc,settings_bird_nest_notification].cs2) `[proc,settings_bird_nest_notification]`
[**5338**](scripts/[proc,script5338].cs2)
[**5339**](scripts/[proc,on_mac].cs2) `[proc,on_mac]`
[**5340**](scripts/[proc,script5340].cs2)
[**5341**](scripts/[proc,script5341].cs2)
[**5346**](scripts/[proc,script5346].cs2)
[**5347**](scripts/[proc,script5347].cs2)
[**5348**](scripts/[proc,helper_generic_set_bit].cs2) `[proc,helper_generic_set_bit]`
Expand Down
27 changes: 2 additions & 25 deletions scripts/[clientscript,build_makeover_feet].cs2
Original file line number Diff line number Diff line change
@@ -1,27 +1,4 @@
// 3601
[clientscript,build_makeover_feet](component $component0, component $component1, component $component2)
[clientscript,build_makeover_feet](component $component0, component $component1, component $component2, component $component3)
~steelborder($component0, "Yrsa's Shoe Store", 0);
def_int $count3 = enum_getoutputcount(enum_3314);
def_int $int4 = 0;
def_int $int5 = 0;
def_int $int6 = 20;
def_int $int7 = 60;
while ($int4 < $count3) {
~makeover_feet_add_option($int4, $int5, $int6, $int7, $component1, $component2);
if ($int4 ! 0 & calc(($int4 + 1) % 3) = 0) {
$int7 = 60;
$int6 = calc($int6 + 100);
} else {
$int7 = calc($int7 + 120);
}
$int4 = calc($int4 + 1);
$int5 = calc($int5 + 1);
}
cc_create($component2, ^iftype_text, $count3);
cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
cc_setcolour(0xff981f);
cc_settextfont(b12_full);
cc_settextshadow(true);
cc_settextalign(^settextalign_centre, ^settextalign_centre, 10);
cc_settext("Select a new pair of shoes.");
~script3165($component1, $component2, $component3, -1);
8 changes: 6 additions & 2 deletions scripts/[clientscript,clan_permission_init].cs2
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ while ($count15 < $count13) {
if ($enum11 ! null) {
$struct12 = enum(int, struct, $enum11, -1);
if ($struct12 ! null) {
$string0 = struct_param($struct12, param_1251);
if (struct_param($struct12, param_1551) = true) {
$string0 = struct_param($struct12, param_1552);
} else {
$string0 = struct_param($struct12, param_1251);
}
$int10 = ~max($int10, calc(parawidth($string0, 512, p12_full) + 22 + 6));
}
$int14 = calc($int14 + enum_getoutputcount($enum11) - 1);
Expand Down Expand Up @@ -64,7 +68,7 @@ while ($count15 < $count13) {
if ($enum11 ! null) {
$struct12 = enum(int, struct, $enum11, -1);
if ($struct12 ! null) {
$int20, $int18 = ~clan_permissions_categorytitle($int20, $int23, struct_param($struct12, param_1251), $component7, $component4, $int18, $component8, $count15, $int19);
$int20, $int18 = ~clan_permissions_categorytitle($int20, $int23, struct_param($struct12, param_1251), $component7, $component4, $int18, $component8, $count15, $int19, struct_param($struct12, param_1551), struct_param($struct12, param_1552));
$int23 = calc($int23 + 25 + 6);
}
$int17, $int25 = 0, calc(enum_getoutputcount($enum11) - 1);
Expand Down
4 changes: 2 additions & 2 deletions scripts/[clientscript,gim_settings_draw].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 5503
[clientscript,gim_settings_draw](component $component0, int $comsubid1, component $component2, int $comsubid3, component $component4, component $component5, component $component6, component $component7, component $component8)
~gim_settings_draw($component0, $comsubid1, $component2, $comsubid3, $component4, $component5, $component6, $component7, $component8);
[clientscript,gim_settings_draw](component $component0, int $comsubid1, component $component2, int $comsubid3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9)
~gim_settings_draw($component0, $comsubid1, $component2, $comsubid3, $component4, $component5, $component6, $component7, $component8, $component9);
13 changes: 7 additions & 6 deletions scripts/[clientscript,gim_settings_init].cs2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// 5502
[clientscript,gim_settings_init](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7)
def_int $comsubid8 = ~steelborder($component1, "", 1);
[clientscript,gim_settings_init](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8)
def_int $comsubid9 = ~steelborder($component1, "", 1);
cc_deleteall($component2);
cc_create($component2, ^iftype_text, 0);
cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
Expand All @@ -10,10 +10,11 @@ cc_settextfont(p12_full);
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
cc_settextshadow(true);
cc_settext("Loading...");
def_int $comsubid9 = cc_getid;
~gim_settings_draw($component1, $comsubid8, $component2, $comsubid9, $component3, $component4, $component5, $component6, $component7);
if_setonvartransmit("gim_settings_draw($component1, $comsubid8, $component2, $comsubid9, $component3, $component4, $component5, $component6, $component7){var3172}", $component0);
if_setonclansettingstransmit("gim_settings_draw($component1, $comsubid8, $component2, $comsubid9, $component3, $component4, $component5, $component6, $component7)", $component0);
def_int $comsubid10 = cc_getid;
~gim_settings_draw($component1, $comsubid9, $component2, $comsubid10, $component3, $component4, $component5, $component6, $component7, $component8);
if_setonvartransmit("gim_settings_draw($component1, $comsubid9, $component2, $comsubid10, $component3, $component4, $component5, $component6, $component7, $component8){var3172}", $component0);
if_setonclansettingstransmit("gim_settings_draw($component1, $comsubid9, $component2, $comsubid10, $component3, $component4, $component5, $component6, $component7, $component8)", $component0);
if_setonop("opsound(event_opindex, 2)", $component5);
if_setonop("opsound(event_opindex, 2)", $component6);
if_setonop("opsound(event_opindex, 2)", $component7);
if_setonop("opsound(event_opindex, 2)", $component8);
24 changes: 12 additions & 12 deletions scripts/[clientscript,makeover_feet_select].cs2
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
// 3602
[clientscript,makeover_feet_select](int $comsubid0, component $component1, component $component2)
def_int $count3 = enum_getoutputcount(enum_3314);
def_int $int4 = 0;
[clientscript,makeover_feet_select](int $comsubid0, component $component1, component $component2, enum $enum3)
def_int $count4 = enum_getoutputcount($enum3);
def_int $int5 = 0;
def_int $int6 = 0;
if (cc_find($component1, $comsubid0) = ^true) {
$int4 = cc_getx;
$int5 = cc_gety;
cc_create($component1, ^iftype_graphic, $count3);
$int5 = cc_getx;
$int6 = cc_gety;
cc_create($component1, ^iftype_graphic, $count4);
cc_setgraphic("tick");
cc_setsize(20, 20, ^setsize_abs, ^setsize_abs);
cc_setposition(calc($int4 + 50), calc($int5 + 50), ^setpos_abs_left, ^setpos_abs_top);
cc_setposition(calc($int5 + 50), calc($int6 + 50), ^setpos_abs_left, ^setpos_abs_top);
}
if (cc_find($component2, $count3) = ^true) {
if (cc_find($component2, $count4) = ^true) {
cc_delete;
}
def_int $count6 = 0;
while ($count6 < $count3) {
if (cc_find($component2, $count6) = ^true) {
def_int $count7 = 0;
while ($count7 < $count4) {
if (cc_find($component2, $count7) = ^true) {
if (cc_getid = $comsubid0) {
cc_sethide(false);
} else {
cc_sethide(true);
}
}
$count6 = calc($count6 + 1);
$count7 = calc($count7 + 1);
}
28 changes: 28 additions & 0 deletions scripts/[clientscript,script3166].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// 3166
[clientscript,script3166](component $component0, component $component1, component $component2, enum $enum3, int $int4)
if ($int4 = %varbit4146) {
return;
}
def_int $count5 = enum_getoutputcount($enum3);
def_int $count6 = 0;
def_int $comsubid7 = -1;
def_int $int8 = 0;
def_int $int9 = 0;
while ($count6 < $count5 & $comsubid7 = -1) {
if (cc_find($component1, $count6) = ^true & cc_gethide = false) {
$comsubid7 = $count6;
}
$count6 = calc($count6 + 1);
}
cc_deleteall($component0);
cc_deleteall($component1);
cc_deleteall($component2);
~script3165($component0, $component1, $component2, $comsubid7);
if (cc_find($component0, $comsubid7) = ^true) {
$int8 = cc_getx;
$int9 = cc_gety;
cc_create($component0, ^iftype_graphic, $count5);
cc_setgraphic("tick");
cc_setsize(20, 20, ^setsize_abs, ^setsize_abs);
cc_setposition(calc($int8 + 50), calc($int9 + 50), ^setpos_abs_left, ^setpos_abs_top);
}
90 changes: 90 additions & 0 deletions scripts/[clientscript,script3167].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
// 3167
[clientscript,script3167](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8)
def_int $comsubid9 = ~steelborder($component1, "", 0);
~script5340($component1, $comsubid9);
if_setonvartransmit("script4686($component1, $comsubid9){var3172}", $component1);
if_setonclansettingstransmit("script4686($component1, $comsubid9)", $component1);
def_string $string0 = "<col=ff0000>Back</col>";
def_int $int10 = ~max(70, calc(parawidth($string0, 512, p12_full) + 20));
if_setsize($int10, if_getheight($component2), ^setsize_abs, ^setsize_abs, $component2);
~clan_stonebutton_init($string0, $component2, "p12_full");
if_setonop("opsound(event_opindex, 2)", $component2);
$int10 = calc($int10 + 20);
def_enum $enum11 = null;
def_struct $struct12 = null;
def_int $count13 = enum_getoutputcount(enum_4223);
def_int $int14 = 0;
def_int $count15 = 0;
while ($count15 < $count13) {
$enum11 = enum(int, enum, enum_4223, $count15);
if ($enum11 ! null) {
$struct12 = enum(int, struct, $enum11, -1);
if ($struct12 ! null) {
if (struct_param($struct12, param_1549) = true) {
$string0 = struct_param($struct12, param_1550);
} else {
$string0 = struct_param($struct12, param_1163);
}
$int10 = ~max($int10, calc(parawidth($string0, 512, p12_full) + 22 + 6));
}
$int14 = calc($int14 + enum_getoutputcount($enum11) - 1);
}
$count15 = calc($count15 + 1);
}
if_setsize($int10, 0, ^setsize_abs, ^setsize_minus, $component3);
if_setsize(calc($int10 - 1), 0, ^setsize_minus, ^setsize_minus, $component6);
def_int $int16 = 100;
$int16 = calc(6 + 13 + 3 + $int16 + 3 + 13 + 6);
cc_deleteall($component4);
def_int $int17 = 0;
def_int $int18 = 20;
if (~on_mobile = true) {
$int18 = scale(5, 3, $int18);
}
cc_deleteall($component7);
def_int $int19 = 0;
while ($int19 <= $int14) {
cc_create($component7, ^iftype_graphic, $int19);
cc_setgraphic("tradebacking");
cc_settiling(true);
$int19 = calc($int19 + 1);
}
$int10 = calc(if_getwidth(if_getlayer($component3)) - ($int10 - 1 + 4 + 16));
def_int $int20 = calc(($int10 - 8 * 3) / 2);
def_int $int21 = calc(8 + $int20 + 8);
def_int $int22 = 6;
def_int $int23 = 0;
def_int $int24 = 0;
def_int $int25 = 0;
$count15, $int14 = 0, 0;
while ($count15 < $count13) {
$enum11 = enum(int, enum, enum_4223, $count15);
if ($enum11 ! null) {
$struct12 = enum(int, struct, $enum11, -1);
if ($struct12 ! null) {
$int19, $int17 = ~script3696($int19, $int22, struct_param($struct12, param_1163), $component7, $component4, $int17, $component8, $count15, $int18, struct_param($struct12, param_1549), struct_param($struct12, param_1550));
$int22 = calc($int22 + 25 + 6);
}
$int24, $int25 = 0, calc(enum_getoutputcount($enum11) - 1);
while ($int24 < $int25) {
$struct12 = enum(int, struct, $enum11, $int24);
if ($struct12 ! null) {
if (calc($int24 % 2) = 1) {
$int19, $int23 = ~script4679($int19, $int21, $int22, $int20, $int16, $int14, $struct12, enum(int, struct, $enum11, calc($int24 - 1)), $component7);
$int22 = calc($int22 + $int23 + 6);
} else if ($int24 < calc($int25 - 1)) {
$int19, $int23 = ~script4679($int19, 8, $int22, $int20, $int16, $int14, $struct12, enum(int, struct, $enum11, calc($int24 + 1)), $component7);
} else {
$int19, $int23 = ~script4679($int19, 8, $int22, $int20, $int16, $int14, $struct12, null, $component7);
$int22 = calc($int22 + $int23 + 6);
}
$int14 = calc($int14 + 1);
}
$int24 = calc($int24 + 1);
}
}
$count15 = calc($count15 + 1);
}
~scrollbar_vertical($component8, $component7, "scrollbar_dragger_v2,3", "scrollbar_dragger_v2,0", "scrollbar_dragger_v2,1", "scrollbar_dragger_v2,2", "scrollbar_v2,0", "scrollbar_v2,1");
~scrollbar_vertical($component5, $component4, "scrollbar_dragger_v2,3", "scrollbar_dragger_v2,0", "scrollbar_dragger_v2,1", "scrollbar_dragger_v2,2", "scrollbar_v2,0", "scrollbar_v2,1");
~script3168($int22, $component7, $component8, calc($int18 * $count13), $component4, $component5, $component0, if_getheight(if_getlayer($component0)));
6 changes: 6 additions & 0 deletions scripts/[clientscript,script3199].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// 3199
[clientscript,script3199](int $int0, component $component1, component $component2, int $int3, component $component4, component $component5, component $component6, int $height7)
def_int $height8 = if_getheight(if_getlayer($component6));
if ($height8 ! $height7) {
~script3168($int0, $component1, $component2, $int3, $component4, $component5, $component6, $height8);
}
8 changes: 8 additions & 0 deletions scripts/[clientscript,script4664].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// 4664
[clientscript,script4664](component $component0, component $component1, int $comsubid2, int $int3, int $int4, int $int5)
if (cc_find($component0, $comsubid2) = ^true) {
sound_synth(interface_select1, 1, 0);
cc_setcolour(^red);
cc_setontimer("script4673(event_com, event_comsubid, $int4, $int5, clientclock)");
~scrollbar_resize($component1, $component0, ~min(calc(if_getscrollheight($component0) - if_getheight($component0)), ~max(0, $int3)));
}
12 changes: 12 additions & 0 deletions scripts/[clientscript,script4673].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// 4673
[clientscript,script4673](component $component0, int $comsubid1, int $int2, int $int3, int $clock4)
def_int $int5 = 0;
if (cc_find($component0, $comsubid1) = ^true) {
$int5 = calc(clientclock - $clock4);
if ($int5 >= 75) {
cc_setontimer(null);
cc_setcolour($int3);
} else {
cc_setcolour(~scale_colour($int2, $int3, $int5, 75));
}
}
5 changes: 5 additions & 0 deletions scripts/[clientscript,script4680].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// 4680
[clientscript,script4680](component $component0, int $comsubid1, int $int2, int $comsubid3, int $comsubid4, int $int5, struct $struct6)
if (.cc_find($component0, $comsubid1) = ^true) {
~script4681($component0, $int2, $comsubid3, $comsubid4, $int5, $struct6);
}
11 changes: 11 additions & 0 deletions scripts/[clientscript,script4682].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// 4682
[clientscript,script4682](boolean $boolean0, component $component1, int $comsubid2, int $int3, int $int4, int $int5)
if (cc_find($component1, $comsubid2) = ^true & .cc_find($component1, $int3) = ^true) {
if ($boolean0 = true) {
.cc_settrans($int5);
cc_setontimer("script4685(calc(clientclock + 3), event_com, event_comsubid, $int3, $int4, $int5)");
} else {
.cc_settrans($int4);
cc_setontimer(null);
}
}
12 changes: 12 additions & 0 deletions scripts/[clientscript,script4683].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// 4683
[clientscript,script4683](int $opindex0, component $component1, int $comsubid2, int $int3, int $trans4, int $int5, int $int6)
if ($opindex0 ! 1) {
return;
}
sound_synth(interface_select1, 1, 0);
if (cc_find($component1, $comsubid2) = ^true & .cc_find($component1, $int3) = ^true) {
.cc_settrans($trans4);
cc_setontimer("script4685(calc(clientclock + 20), event_com, event_comsubid, $int3, $int5, $int6)");
cc_setonmouserepeat(null);
cc_setonmouseleave(null);
}
13 changes: 13 additions & 0 deletions scripts/[clientscript,script4685].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// 4685
[clientscript,script4685](int $clock0, component $component1, int $comsubid2, int $int3, int $int4, int $int5)
if (clientclock < $clock0) {
return;
}
if (cc_find($component1, $comsubid2) = ^true & .cc_find($component1, $int3) = ^true) {
.cc_settrans($int4);
cc_setontimer(null);
if (~on_mobile = false) {
cc_setonmouserepeat("script4682(true, event_com, event_comsubid, $int3, $int4, $int5)");
}
cc_setonmouseleave("script4682(false, event_com, event_comsubid, $int3, $int4, $int5)");
}
3 changes: 3 additions & 0 deletions scripts/[clientscript,script4686].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// 4686
[clientscript,script4686](component $component0, int $comsubid1)
~script5340($component0, $comsubid1);
Loading

0 comments on commit f9a814e

Please sign in to comment.