New Server
New Server
I just put up a server if anyone is interested it's at squark.servegame.com port 30000.
Also looking for some information about generating the map. I'm only getting small resolutions (368x320) I'm curious how I can increase the resolution. [EDIT] Ok so I'm an idiot, The more of the map thats been viewed the more it displays in the created map image hence the larger resolution. here's the current map http://squark.servegame.com/map.png
ALSO What would be the best way to implement signups...Basicly what encryption does the password hash use? I looked through the source and I see the code for the password hash but C++ isn't my thing. I'm looking to implement signups via a webform and also thinking about creating a site that will hold server stats etc for any given time in PHP/JQuery.
[UPDATE] The server will update the map image every hour..or should if I setup the crontab correctly!
Also looking for some information about generating the map. I'm only getting small resolutions (368x320) I'm curious how I can increase the resolution. [EDIT] Ok so I'm an idiot, The more of the map thats been viewed the more it displays in the created map image hence the larger resolution. here's the current map http://squark.servegame.com/map.png
ALSO What would be the best way to implement signups...Basicly what encryption does the password hash use? I looked through the source and I see the code for the password hash but C++ isn't my thing. I'm looking to implement signups via a webform and also thinking about creating a site that will hold server stats etc for any given time in PHP/JQuery.
[UPDATE] The server will update the map image every hour..or should if I setup the crontab correctly!
Last edited by splaq on Tue Nov 29, 2011 15:46, edited 1 time in total.
It should be up now..Generally if you can get to http://squark.servegame.com you should be able to get into the game..I'll be home in about an hour(at school right now) and I can check to make sure it's up..But there are no times it should just BE up..I'll be making some mods to the server that it's on tonight and tomorrow to ensure I'll be able to keep the status good
- IPushButton2653
- Member
- Posts: 666
- Joined: Wed Nov 16, 2011 22:47
- Location: Mississippi
- Contact:
Ok, so I've been doing some configuring of the server tonight and have created two simple scripts that do are basicly helper scripts... One script just combines the genmap.py and minetestmapper.py scripts, creates the maps and save's it to a directory on your web server. The other script checks to see if the mintest server is running, if it's not then it will run it(there needs to be an active either attached or detached screen session running)..Setup both of these scripts on as cron jobs and it automates two tasks. 1. Updating the world map as often as you like(I set mine at 1 hour apart) and 2. KEEP THE SERVER RUNNING..I had this issue today. The two scripts are shell scripts for linux and will be posted below...
[genmap.sh]
#!/bin/sh
cd /directory/where/minetest-c55/util/ && /directory/where/minetest-c55/util/genmap.py && /directory/where/minetest-c55/utill/minetestmapper.py --output=/directory/of/webserver/www/map.png
Obviously you will need to change the directory structure to fit your needs..
[is_running.sh]
#!/bin/sh
if [ $(pidof minetestserver) ]
then
exit 0;
else
screen -dRR -X exec /directory/of/minetest-c55/bin/minetestserver
fi
[my crontab setup]
0 */1 * * * /directory/of/minetest-c55/util/genmap.sh #Run every hour
*/5 * * * * /directory/of/minetest-c55/util/is_running.sh #Run every 5 minutes to make sure server is still running if not make it run..
I'm sure these could be made a little nicer..But it's just something I threw together quick..I'm currently looking at other options I can add in to make it more robust as a server setup. Any suggestions are welcome
[genmap.sh]
#!/bin/sh
cd /directory/where/minetest-c55/util/ && /directory/where/minetest-c55/util/genmap.py && /directory/where/minetest-c55/utill/minetestmapper.py --output=/directory/of/webserver/www/map.png
Obviously you will need to change the directory structure to fit your needs..
[is_running.sh]
#!/bin/sh
if [ $(pidof minetestserver) ]
then
exit 0;
else
screen -dRR -X exec /directory/of/minetest-c55/bin/minetestserver
fi
[my crontab setup]
0 */1 * * * /directory/of/minetest-c55/util/genmap.sh #Run every hour
*/5 * * * * /directory/of/minetest-c55/util/is_running.sh #Run every 5 minutes to make sure server is still running if not make it run..
I'm sure these could be made a little nicer..But it's just something I threw together quick..I'm currently looking at other options I can add in to make it more robust as a server setup. Any suggestions are welcome
HAHA..oh yeah..that was me messing around with the user file trying to add a MesePick..Didn't work to well..So I just dumped it and left it there, but I thought I left it outside the house further inland.
Last edited by splaq on Wed Nov 30, 2011 21:29, edited 1 time in total.
Made some improvements to the website http://squark.servegame.com it needs some visual enhancement but it functions. Shows the current map and the last time it was updated. Shows weather the server is up or not and a brief instruction about how to connect. Also a link to download MineTest-c55.
I haven't noticed any griefers. I should probably come on to make sure my stuff is still there.Wolfgang wrote:That server has the fastest griefers so far. I built a tower and came back after about 20 minutes to find it destroyed. :-(
EDIT: Dang it, they destroyed the house on my private island. Completely gone, even the dirt below it. At least they can't take locked chests.
Last edited by bwog on Sun Dec 04, 2011 14:07, edited 1 time in total.
-
- Member
- Posts: 137
- Joined: Sun Dec 04, 2011 12:22
- Location: Sweden
- Contact:
awesome server! I've build a floating castle with my friends on this server!
In-game Username: Axel
In-game Username #2: SelfishCar
SoLA: Part 1: Angela's Disappearance: http://minetest.net/forum/viewtopic.php?id=1586
In-game Username #2: SelfishCar
SoLA: Part 1: Angela's Disappearance: http://minetest.net/forum/viewtopic.php?id=1586
hmm, connected and seems a bit messed up... screenshot:
http://www1.picturepush.com/photo/a/710 ... 101459.png
http://www1.picturepush.com/photo/a/710 ... 101459.png
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
You're using 0.4, but the server isn't set up to be run with 0.4.RAPHAEL wrote:hmm, connected and seems a bit messed up... screenshot:
http://www1.picturepush.com/photo/a/710 ... 101459.png
Hopefully splaq will give me some sort of way to ban people if necessary, or at least get rid of their build privileges.
- Menche
- Member
- Posts: 1001
- Joined: Sat Jul 02, 2011 00:43
- IRC: Menchers
- In-game: Menche
- Location: An island in a lava lake.
Are you connecting with 0.4? 0.4 clients expect textures to be sent to them by the server, and this is a 0.3 server which doesn't do that.RAPHAEL wrote:hmm, connected and seems a bit messed up... screenshot:
http://www1.picturepush.com/photo/a/710 ... 101459.png
An innocent kitten dies every time you top-post.
Who is online
Users browsing this forum: No registered users and 45 guests