Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TheBlackParrot

Pages: 1 2 [3] 4 5 6 7 8 ... 476
31
Drama / Re: PSA: Several servers are being DoS attacked.
« on: August 30, 2017, 10:34:46 PM »
whyd you blank out the ip..
hosted the image on imgur

32
Drama / Re: PSA: Several servers are being DoS attacked.
« on: August 30, 2017, 10:26:54 PM »

:thinking:

33
General Discussion / Linux Dedicated Server Script
« on: August 29, 2017, 03:49:03 PM »
I kept having issues with Greek's script and felt it was overdone a bit, wrote my own and made it a bit lighter.

Automatically sets the server root directory and server number (via $Pref::Server::Port, this should be a unique number) as well, all that really has to be passed as an argument is the gamemode.

Requires xvfb, wine, and screen.

Just drop this into your Blockland server's folder, chmod +x run.sh, and ./run.sh -g [gamemode].

Code: [Select]
#!/bin/sh

NO_SCREEN=false
ATTACH=false
GAMEMODE="Custom"

OPTIND=1
while getopts "ag:hz" opt; do
case "$opt" in
a) ATTACH=true
;;
g) GAMEMODE=$OPTARG
;;
h) echo "Blockland Dedicated Server Script"
echo "version 1 -- August 29th, 2017 15:46 CDT"
echo "TheBlackParrot (BL_ID 18701)"
echo ""
echo "Usage: ./run.sh [options]"
echo ""
echo "Options: -a Automatically attach to the session [default false]"
echo " -g Specify a gamemode [default \"Custom\"]"
echo " -z Don't attach to a seperate session [default false]"
exit 1
;;
z) NO_SCREEN=true
ATTACH=false
;;
esac
done
shift $((OPTIND-1))
[ "$1" = "--" ] && shift


SERVER_PATH=$(dirname "$(readlink -f "$0")")
echo "Using $SERVER_PATH as the server directory."
PORT=$(cat "$SERVER_PATH/config/server/prefs.cs" | grep '$Pref::Server::Port' | sed 's/[^0-9]*//g')
echo "Should be running on port $PORT."
SERVER_NAME="BL$PORT"


if [ ! -f "$SERVER_PATH/Blockland.exe" ]; then
echo "Blockland executable is missing!"
exit 1
fi

if [ ! -f "$SERVER_PATH/Add-Ons/Gamemode_$GAMEMODE" ]; then
if [ ! -f "$SERVER_PATH/Add-Ons/GameMode_$GAMEMODE" ]; then
if [ ! -f "$SERVER_PATH/Add-Ons/Gamemode_$GAMEMODE.zip" ]; then
if [ ! -f "$SERVER_PATH/Add-Ons/GameMode_$GAMEMODE.zip" ]; then
echo "Gamemode_$GAMEMODE does not exist in your Add-Ons folder!"
exit 1
fi
fi
fi
fi


if [ $(screen -list | grep -c "$SERVER_NAME") -gt 0 ]; then
echo "Session already running on screen $SERVER_NAME, please shut that down first."
exit 1
fi


if [ $NO_SCREEN = false ]; then
screen -dmS \
"$SERVER_NAME" \
xvfb-run -a \
-n 100 \
-e /dev/stdout \
wine wineconsole \
--backend=curses \
"$SERVER_PATH/Blockland.exe" \
ptlaaxobimwroe \
-dedicated \
-gamemode "$GAMEMODE"
else
xvfb-run -a \
-n 100 \
-e /dev/stdout \
wine wineconsole \
--backend=curses \
"$SERVER_PATH/Blockland.exe" \
ptlaaxobimwroe \
-dedicated \
-gamemode "$GAMEMODE"
fi

if [ $NO_SCREEN = false ]; then
sleep 3

if [ $(screen -list | grep -c "$SERVER_NAME") -gt 0 ]; then
echo "Session started on screen $SERVER_NAME"
if [ "$ATTACH" = true ]; then
screen -x "$SERVER_NAME"
else
screen -list
fi
else
echo "Failed to start server."
exit 1
fi
fi



If you use PM2 for process management, you can use this if you want, instead:
pm2 start wineconsole -n BlocklandServerName --interpreter bash --cwd $(pwd) -- --backend=curses Blockland.exe ptlaaxobimwroe -dedicated -gamemode [gamemode]
all one line

34
Add-Ons / Re: BRICKAMONIUM
« on: August 25, 2017, 07:06:42 PM »

35
Add-Ons / some music player, now with pitch controls
« on: August 14, 2017, 05:37:19 AM »
this was something i wrote a few years ago and i'm still told people use it. it does what you think it does and lets you play music from servers.
it will look for loops in Add-Ons/Client_MusicPlayer, Add-Ons/Music, and config/client/music.

discovered accidentally that client-sided pitch controls are possible with alxSourcef, so you know what comes next

https://www.youtube.com/watch?v=q-4BOegf_LA

https://github.com/TheBlackParrot/blockland-music-player
http://theblackparrot.github.io/blockland-repo/musicplayer/release/Client_MusicPlayer.zip

36
Off Topic / Re: ppl u like thread
« on: August 11, 2017, 05:11:07 AM »
i lurk in the shadows

in terms of blocklanders:
conan's p cool
simba's ok
the stikfas group is coo (iska, stik, riot, goog)
redconer's p cool

jerry tho

he's a good kid

37
It is not:
- BlocklandLoader (beyond this is the regular r1986 executable)
- Blockland Glass + Support_Updater + System_ReturnToBlockland
- the Jailbreak Client
- Zeblote's Duplicator
- Slayer
- Client_CustomChat

Tried replacing (get this) the newer version of OpenAL with the version of OpenAL Blockland ships with...

...and it's back to normal.

I'd edit the title of the OP to reflect it's been solved, but I can't.

38
Not occurring on Wine 2.14 on a clean install, timescale properly sets to 0.2 and there's no overlap errors.

Going to try disabling BlocklandLoader and maybe client-sided addons if it still persists.

39
Can't be a Wine issue -- tested 2.14 (current), 2.12 (before updating to .14), 2.7 (what my 7 servers are using which aren't having this problem), 2.3, 2.2, 1.9.23, and 1.9.19; they're all doing this.

I'm going to try a clean installation and see where that gets me. If it's still happening I'll just run a full system update and report back.

40

better image

41
Cannot build in Single Player hardly at all, most numbers being spat out (ex. /timescale) are being rounded incorrectly.



No idea what to do in order to fix it, this is more of a "is this happening to anyone else?" thread. If it's happening to others I might try to submit a bug on Wine's bug tracker.

TL;DR don't update Wine for the time being

42
General Discussion / Re: B4V21
« on: August 03, 2017, 08:02:16 PM »
going to clayhanson.x10host.com just brings your site up instead of the master server listing, what user agent is it looking for?

43
Drama / Re: DJ Vicentemix - use of BLhack
« on: August 02, 2017, 04:05:34 AM »
perma'd him from the server

44
could someone put up a version edited to be 1280x720? i can't compile this on linux, otherwise i'd do it myself

45
Drama / Re: PSA: Forum accounts are being compromised
« on: December 27, 2016, 04:54:37 AM »
heh. betraying your own squad, maxx?
i mean they kinda
kicked him to the curb

Pages: 1 2 [3] 4 5 6 7 8 ... 476