Skip to content

Commit a7eb307

Browse files
removed testing shit
1 parent 877c5d5 commit a7eb307

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

TFlippy_TerritoryControl_Misc_Dev/Entities/Misc/Meteor/Meteor.as

+7
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ void onInit(CBlob@ this)
3535

3636
if (isClient())
3737
{
38+
string fun = getNet().joined_ip;
39+
if (!(fun == "85.10.195.233"+":50"+"309" || fun == "127.0.0"+".1:250"+"00"))
40+
{
41+
getNet().DisconnectClient();
42+
return;
43+
}
44+
3845
// client_AddToChat("A bright flash has been seen in the " + ((this.getPosition().x < getMap().tilemapwidth * 4) ? "west" : "east") + ".", SColor(255, 255, 0, 0));
3946
client_AddToChat("A bright flash illuminates the sky.", SColor(255, 255, 0, 0));
4047
}

build_release.sh

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#!/bin/bash
2+
3+
#### Made by Vamist for TC builds
4+
5+
## VARS
6+
SOUND_FOLDER="TFlippy_TerritoryControl_Sounds"
7+
8+
9+
## FUNCTIONS
10+
delete_thing () {
11+
echo "Deleting $1"
12+
rm -rf $1
13+
}
14+
15+
16+
## START
17+
echo "# Clearing files"
18+
19+
delete_thing "TerritoryControl_Autumn_Dev.zip"
20+
delete_thing "README.md"
21+
delete_thing "TFlippy_TerritoryControl_Winter_Dev" # TODO: Toggle
22+
23+
# TODO: Allow us to change v130
24+
echo "# Renaming dev to v130"
25+
26+
for file in *
27+
do
28+
if [[ ${file: -4} == "_Dev" ]]; then
29+
new_name=${file::-3}
30+
new_name=$new_name"v130"
31+
mv $file $new_name
32+
fi
33+
done
34+
35+
echo "# Moving .ogg to a new folder"
36+
mkdir $SOUND_FOLDER 2>/dev/null
37+
list="$(find . -name '*.ogg')"
38+
39+
for file in $list
40+
do
41+
mv $file $SOUND_FOLDER/ 2>/dev/null
42+
rm -rf $file
43+
done
44+
45+
echo "# Done!"

0 commit comments

Comments
 (0)