Skip to content

Commit

Permalink
194.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterwb committed Mar 10, 2021
1 parent 18293cc commit 4ab2d87
Show file tree
Hide file tree
Showing 28 changed files with 529 additions and 1,347 deletions.
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1357,9 +1357,9 @@
[**1354**](scripts/[proc,questlist_showprogress].cs2) `[proc,questlist_showprogress]`
[**1355**](scripts/[clientscript,questlist_qp].cs2) `[clientscript,questlist_qp]`
[**1356**](scripts/[proc,questlist_qp].cs2) `[proc,questlist_qp]`
[**1357**](scripts/[proc,questlist_f2p_progress].cs2) `[proc,questlist_f2p_progress]`
[**1358**](scripts/[proc,questlist_members_progress].cs2) `[proc,questlist_members_progress]`
[**1359**](scripts/[proc,questlist_miniquests_progress].cs2) `[proc,questlist_miniquests_progress]`
[**1357**](scripts/[clientscript,script1357].cs2)
[**1358**](scripts/[clientscript,script1358].cs2)
[**1359**](scripts/[clientscript,script1359].cs2)
[**1360**](scripts/[proc,quicksort_intenum].cs2) `[proc,quicksort_intenum]`
[**1361**](scripts/[proc,welcome_screen_lastlogin].cs2) `[proc,welcome_screen_lastlogin]`
[**1362**](scripts/[clientscript,welcome_screen_messages].cs2) `[clientscript,welcome_screen_messages]`
Expand Down Expand Up @@ -2266,8 +2266,8 @@
[**2263**](scripts/[proc,tutorial_progressbar_set].cs2) `[proc,tutorial_progressbar_set]`
[**2264**](scripts/[proc,worldmap_mobile_layout].cs2) `[proc,worldmap_mobile_layout]`
[**2265**](scripts/[proc,miniquest_count].cs2) `[proc,miniquest_count]`
[**2266**](scripts/[proc,questlist_progress_id].cs2) `[proc,questlist_progress_id]`
[**2267**](scripts/[proc,questlist_progress].cs2) `[proc,questlist_progress]`
[**2266**](scripts/[proc,script2266].cs2)
[**2267**](scripts/[proc,script2267].cs2)
[**2268**](scripts/[clientscript,text_device].cs2) `[clientscript,text_device]`
[**2269**](scripts/[clientscript,telenexus_init].cs2) `[clientscript,telenexus_init]`
[**2270**](scripts/[clientscript,script2270].cs2)
Expand Down Expand Up @@ -4023,3 +4023,11 @@
[**4020**](scripts/[clientscript,chatdefault_stopinput].cs2) `[clientscript,chatdefault_stopinput]`
[**4021**](scripts/[clientscript,script4021].cs2)
[**4022**](scripts/[clientscript,script4022].cs2)
[**4023**](scripts/[clientscript,script4023].cs2)
[**4024**](scripts/[proc,script4024].cs2)
[**4025**](scripts/[proc,script4025].cs2)
[**4026**](scripts/[proc,script4026].cs2)
[**4027**](scripts/[proc,script4027].cs2)
[**4028**](scripts/[proc,script4028].cs2)
[**4029**](scripts/[proc,script4029].cs2)
[**4030**](scripts/[proc,script4030].cs2)
2 changes: 1 addition & 1 deletion scripts/[clientscript,chat_onchattransmit].cs2
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def_string $string0 = "";
def_string $string1 = "";
def_string $string2 = "";
def_int $int3 = 0;
if (if_hassub(interface_162:561) = true) {
if (if_hassub(interface_162:561) = true & %varbit11879 = 1) {
$chattype1, $int2, $string0, $string1, $string2, $int3 = chat_gethistory_byuid($mesuid0);
if (~meslayer_mode1_enabled($chattype1) = 1) {
~meslayer_mode1($string2);
Expand Down
2 changes: 1 addition & 1 deletion scripts/[clientscript,mesoverlay].cs2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// 1974
[clientscript,mesoverlay](string $string0)
~mesoverlay_draw($string0, if_getheight(interface_263:1));
~mesoverlay_draw($string0, if_getheight(interface_263:1), interface_263:1, interface_263:2);
8 changes: 4 additions & 4 deletions scripts/[clientscript,mesoverlay_checkheight].cs2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// 2017
[clientscript,mesoverlay_checkheight](string $string0, int $height0)
def_int $height1 = if_getheight(interface_263:1);
if ($height1 ! $height0) {
~mesoverlay_draw($string0, $height1);
[clientscript,mesoverlay_checkheight](string $string0, int $height0, component $component1, component $component2)
def_int $height3 = if_getheight($component1);
if ($height3 ! $height0) {
~mesoverlay_draw($string0, $height3, $component1, $component2);
}
3 changes: 3 additions & 0 deletions scripts/[clientscript,script1357].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// 1357
[clientscript,script1357](string $string0)
~mesoverlay_draw($string0, if_getheight(interface_39:2), interface_39:2, interface_39:3);
17 changes: 17 additions & 0 deletions scripts/[clientscript,script1358].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// 1358
[clientscript,script1358](component $component0)
%varcint420 = random(2048);
%varcint422 = random(2048);
%varcint424 = random(2048);
%varcint426 = random(2048);
%varcint428 = random(2048);
%varcint430 = random(2048);
%varcint432 = random(2048);
%varcint421 = calc(800 - randominc(50));
%varcint423 = calc(700 - randominc(50));
%varcint425 = calc(600 - randominc(50));
%varcint427 = calc(500 - randominc(50));
%varcint429 = calc(400 - randominc(50));
%varcint431 = calc(300 - randominc(50));
%varcint433 = calc(200 - randominc(50));
if_setontimer("script1359(0, $component0)", $component0);
20 changes: 20 additions & 0 deletions scripts/[clientscript,script1359].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// 1359
[clientscript,script1359](int $clock0, component $component1)
if (clientclock < $clock0) {
return;
}
%varcint420 = calc((%varcint420 + random(8) + 15) % 2048);
%varcint422 = calc((%varcint422 + random(8) + 15) % 2048);
%varcint424 = calc((%varcint424 + random(8) + 15) % 2048);
%varcint426 = calc((%varcint426 + random(8) + 15) % 2048);
%varcint428 = calc((%varcint428 + random(8) + 15) % 2048);
%varcint430 = calc((%varcint430 + random(8) + 15) % 2048);
%varcint432 = calc((%varcint432 + random(8) + 15) % 2048);
%varcint421 = calc((%varcint420 + random(8) + 15) % 2048);
%varcint423 = calc((%varcint422 + random(8) + 15) % 2048);
%varcint425 = calc((%varcint424 + random(8) + 15) % 2048);
%varcint427 = calc((%varcint426 + random(8) + 15) % 2048);
%varcint429 = calc((%varcint428 + random(8) + 15) % 2048);
%varcint431 = calc((%varcint430 + random(8) + 15) % 2048);
%varcint433 = calc((%varcint432 + random(8) + 15) % 2048);
~script2266;
11 changes: 11 additions & 0 deletions scripts/[clientscript,script4023].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// 4023
[clientscript,script4023](string $string0)
def_component $component0 = interface_35:5;
def_component $component1 = interface_35:4;
def_component $component2 = interface_35:2;
def_int $height3 = calc(paraheight($string0, if_getwidth($component0), p12_full) * 15 + 2);
if_settext($string0, $component0);
if_setscrollsize(0, $height3, $component1);
if_setsize(if_getwidth($component0), $height3, ^setsize_abs, ^setsize_abs, $component0);
if_setscrollpos(0, 0, $component1);
~scrollbar_vertical($component2, $component1, "graphic_2959", "graphic_2956", "graphic_2957", "graphic_2958", "graphic_2954", "graphic_2955");
46 changes: 23 additions & 23 deletions scripts/[proc,mesoverlay_draw].cs2
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
// 2018
[proc,mesoverlay_draw](string $string0, int $height0)
if_setscrollpos(0, 0, interface_263:1);
cc_deleteall(interface_263:1);
def_int $width1 = if_getwidth(interface_263:1);
def_int $height2 = paraheight($string0, $width1, q8_full);
def_int $int3 = 16;
if ($height2 = 2) {
$int3 = 31;
} else if ($height2 = 3) {
$int3 = 24;
[proc,mesoverlay_draw](string $string0, int $height0, component $component1, component $component2)
if_setscrollpos(0, 0, $component1);
cc_deleteall($component1);
def_int $width3 = if_getwidth($component1);
def_int $height4 = paraheight($string0, $width3, q8_full);
def_int $int5 = 16;
if ($height4 = 2) {
$int5 = 31;
} else if ($height4 = 3) {
$int5 = 24;
}
def_int $height4 = calc($height2 * $int3 + 4);
cc_create(interface_263:1, ^iftype_text, 0);
cc_setsize(0, $height4, ^setsize_minus, ^setsize_abs);
def_int $height6 = calc($height4 * $int5 + 4);
cc_create($component1, ^iftype_text, 0);
cc_setsize(0, $height6, ^setsize_minus, ^setsize_abs);
cc_setcolour(^black);
cc_settextshadow(false);
cc_settextalign(^settextalign_centre, ^settextalign_centre, $int3);
cc_settextalign(^settextalign_centre, ^settextalign_centre, $int5);
cc_settextfont(q8_full);
cc_settext($string0);
if ($height4 <= $height0) {
if ($height6 <= $height0) {
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
if_setscrollsize(0, 0, interface_263:1);
cc_deleteall(interface_263:2);
if_sethide(true, interface_263:2);
if_setscrollsize(0, 0, $component1);
cc_deleteall($component2);
if_sethide(true, $component2);
} else {
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_top);
if_setscrollsize(0, $height4, interface_263:1);
cc_deleteall(interface_263:2);
if_sethide(false, interface_263:2);
~scrollbar_vertical(interface_263:2, interface_263:1, "scrollbar_parchment_dragger_v2,3", "scrollbar_parchment_dragger_v2,0", "scrollbar_parchment_dragger_v2,1", "scrollbar_parchment_dragger_v2,2", "scrollbar_parchment_v2,0", "scrollbar_parchment_v2,1");
if_setscrollsize(0, $height6, $component1);
cc_deleteall($component2);
if_sethide(false, $component2);
~scrollbar_vertical($component2, $component1, "scrollbar_parchment_dragger_v2,3", "scrollbar_parchment_dragger_v2,0", "scrollbar_parchment_dragger_v2,1", "scrollbar_parchment_dragger_v2,2", "scrollbar_parchment_v2,0", "scrollbar_parchment_v2,1");
}
if_setontimer("mesoverlay_checkheight($string0, $height0)", interface_263:1);
if_setontimer("mesoverlay_checkheight($string0, $height0, $component1, $component2)", $component1);
2 changes: 1 addition & 1 deletion scripts/[proc,on_steam].cs2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// 3769
[proc,on_steam]()(int)
if (clienttype ! ^clienttype_steam) {
if (_6527 ! true) {
return(0);
}
return(1);
2 changes: 2 additions & 0 deletions scripts/[proc,poh_menagerie_drawlist].cs2
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ while ($int9 <= 46) {
$enum8 = enum_2946;
} else if ($int9 = 46) {
$enum8 = enum_3554;
} else if ($int9 = 21) {
$enum8 = enum_3665;
} else {
$enum8 = null;
}
Expand Down
2 changes: 2 additions & 0 deletions scripts/[proc,poh_menagerie_drawpet].cs2
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ switch_enum ($enum1) {
$obj0 = enum(int, namedobj, $enum1, %varbit10458);
case enum_3554 :
$obj0 = enum(int, namedobj, $enum1, %varbit11740);
case enum_3665 :
$obj0 = enum(int, namedobj, $enum1, %varbit11867);
}
cc_sethide(false);
cc_setsize(36, 32, ^setsize_abs, ^setsize_abs);
Expand Down
3 changes: 0 additions & 3 deletions scripts/[proc,questlist_f2p_progress].cs2

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/[proc,questlist_members_progress].cs2

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/[proc,questlist_miniquests_progress].cs2

This file was deleted.

Loading

0 comments on commit 4ab2d87

Please sign in to comment.