Merge branch 'main' into dev

cleaner
milesthenerd 6 years ago
commit 353434a319

4
.gitignore vendored

@ -11,6 +11,10 @@ scripts/pal_swap_*
exports exports
datafiles datafiles
help.rtf help.rtf
datafiles/lang/*
datafiles/mods/*
datafiles/modifiers.ini
exports
extensions extensions
AM2R.exe AM2R.exe
data.win data.win

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

@ -5,7 +5,7 @@ The source code here has the same requirements as the original repo in order for
Currently syncs all items, metroids, events, and power-ups. Currently syncs all items, metroids, events, and power-ups.
Currently, pressing F1 will make an attempt to connect to the server. F2 will disconnect from the server. Currently, pressing F1 will make an attempt to connect to the server. F2 will disconnect from the server. F3 will show the current random seed.
Put the ip of the server you want to connect to into the ipaddress.txt. The server operates on port 64198 and cannot be changed at the moment. Put the ip of the server you want to connect to into the ipaddress.txt. The server operates on port 64198 and cannot be changed at the moment.

@ -367,15 +367,9 @@ if(keyboard_check_pressed(vk_f2)){
instance_destroy(); instance_destroy();
} }
/*
if(keyboard_check_pressed(vk_f3)){ if(keyboard_check_pressed(vk_f3)){
var f = 0; popup_text_ext(string(oControl.seed), 300);
repeat(41){
global.metdead[f] = 1;
f++;
}
} }
*/
</string> </string>
</argument> </argument>
</arguments> </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_f64, oControl.seed);
buffer_write(seedBuffer, buffer_u8, global.clientID); buffer_write(seedBuffer, buffer_u8, global.clientID);
var result = network_send_packet(oClient.socket, seedBuffer, buffer_tell(seedBuffer)); var result = network_send_packet(oClient.socket, seedBuffer, buffer_tell(seedBuffer));
popup_text("Seed sent"); popup_text("Seed sent");

Loading…
Cancel
Save