Added F3 to show seed

pull/3/head^2
milesthenerd 6 years ago
parent f0cd4ac3b0
commit 5fe4409e62

@ -4374,6 +4374,7 @@
<script>scripts\strict_encode_verb.gml</script>
<script>scripts\create_buffer.gml</script>
<script>scripts\send_seed.gml</script>
<script>scripts\popup_text_ext.gml</script>
</scripts>
</scripts>
<shaders name="shaders">

@ -367,15 +367,9 @@ if(keyboard_check_pressed(vk_f2)){
instance_destroy();
}
/*
if(keyboard_check_pressed(vk_f3)){
var f = 0;
repeat(41){
global.metdead[f] = 1;
f++;
}
popup_text_ext(string(oControl.seed), 300);
}
*/
</string>
</argument>
</arguments>

@ -0,0 +1,5 @@
/// popup_text_ext
with (oPopupText) instance_destroy();
var t = instance_create(0, 0, oPopupText);
t.text = argument0;
t.alarm[0] = argument1;

@ -9,4 +9,4 @@ buffer_write(seedBuffer, buffer_u8, 3);
buffer_write(seedBuffer, buffer_f64, oControl.seed);
buffer_write(seedBuffer, buffer_u8, global.clientID);
var result = network_send_packet(oClient.socket, seedBuffer, buffer_tell(seedBuffer));
popup_text("Seed sent");
popup_text("Seed sent");

Loading…
Cancel
Save