DIR Return Create A Forum - Home
---------------------------------------------------------
Building Assassins Clan
HTML https://buildingassassins.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Cubescript
*****************************************************
#Post#: 454--------------------------------------------------
Serverbot!
By: bucco Date: July 31, 2012, 12:36 am
---------------------------------------------------------
// Update #1
// Serverbot!
// A cubescript bot to make simple server running easier
// Currently Has:
// Advertising
// Auto Back Up
// Limit to 1 Map
// Limit to 1 Mode
// Limit to 1 Admin
// Informative (When someone Connects) Messages
// Maxclients
// Serverbotlimit
// Auth or Open
// Server Description
// Admin Password
// Server Message
// Working on:
// Install Scripts
// Communication
// Spectate Map Changers if 1 Map Enabled
// Spectate Mode Changers if 1 Map Enabled
// Spectate Killers if Coop
// Save in Different Folder
// Anti-Kill Messages
// Suicide, Funny Stupid Bot Messages
// Mac Application for Easy Setup
// PC + LINUX Sauerbraten GUI for Easy Setup
//-------------------------------------
#Post#: 456--------------------------------------------------
Re: Serverbot!
By: bucco Date: July 31, 2012, 12:43 am
---------------------------------------------------------
Here it is, earliest version
no gui, no easy app, no menu. nothing.
you have to edit all the vars yourself
DONT USE THIS - ITS NOT RECOMMENDED
anyways if you do change the vars that say something like "YOUR
MSG HERE" or "YOUR ADMINPASS HERE"
Here is what lines they are on:
Serverbot2.txt
line 2: say "REPLACE THIS WITH A MESSAGE"
line 4: say "REPLACE THIS WITH A MESSAGE"
line 6: say "REPLACE THIS WITH A MESSAGE"
line 8: say "REPLACE THIS WITH A MESSAGE"
line 10: say "REPLACE THIS WITH A MESSAGE"
line 69:
CONNEcTS TO YOUR SERVER"
line 102: serverdesc "YOUR SERVER DESCRIPTION"
line 104: adminpass "YOUR ADMINPASS"
line 105: servermotd "YOUR SERVER MESSAGE"
line 114: setmaster "YOUR ADMINPASS"
line 116: coop "YOUR DEFAULT MAP"
line 118: say "YOUR MESSAGE ON START OF SERVER"
line 134:
line 143:
line 151:
Have fun
#Post#: 458--------------------------------------------------
Re: Serverbot!
By: bucco Date: July 31, 2012, 12:04 pm
---------------------------------------------------------
More updates...
// Update #2
// Serverbot!
// A cubescript bot to make simple server running easier
// Currently Has:
// Advertising
// Auto Back Up
// Limit to 1 Map
// Limit to 1 Mode
// Limit to 1 Admin
// Informative (When someone Connects) Messages
// Maxclients
// Serverbotlimit
// Auth or Open
// Server Description
// Admin Password
// Server Message
// Install Scripts
// Communication
// Working on:
// Spectate Map Changers if 1 Map Enabled
// Spectate Mode Changers if 1 Map Enabled
// Spectate Killers if Coop
// Save in Different Folder
// Mac Application for Easy Setup
// PC + LINUX Sauerbraten GUI for Easy Setup
//-------------------------------------
I have found it is impossible to do the following in cubescript:
// Anti-Kill Messages
// Suicide, Funny Stupid Bot Messages
If the Serverbot dies, it will say something, but: it will not
come back to life. Sorry about that.
I basically have 4 things left, and I am free to take
suggestions for more features. I am also looking for alpha
testers.
Note that the ServerBot best works if you are keeping that
Sauerbraten open at all times! Also, you cannot take the
ServerBot to another server! - just keep it on yours.
The easiest way to do this is have 1 Sauerbraten open, with the
serverbot on that one - minimize that, and have your real
sauerbraten open for playing.
I am also working on making this into terminal.
#Post#: 460--------------------------------------------------
Re: Serverbot!
By: Night_Hawk Date: July 31, 2012, 9:41 pm
---------------------------------------------------------
hey bucco you might be able to help me with a home server.. how
would i make a home server on mac? what applications would i
need to use?
#Post#: 464--------------------------------------------------
Re: Serverbot!
By: bucco Date: August 23, 2012, 11:58 am
---------------------------------------------------------
well im back!
sorry about not posting before night_hawk
so for a home server on the mac...
i can teach you...
here it is:
download the following things:
1. sauerbratne (SHOULD HAVE ALREADY)
2. port map
3. caffeine
1. start caffeine, and then click it so that your comp will
never go to sleep as long as you dont shut the lid
2. start port map and click the plus sign at the bottom left.
put 28785 and click udp + tcp so they are checked, and then make
a description and add the mapping.
3. repeat step 2 with 28786.
4. if the circles are green your good to go, otherwise sorry you
cant host (router necessary) - if they are red then you might
just have to wait a little bit, in which case your fine. they
just need to eventually turn green
5. make a new text file, call it server.txt, save it in your
sauerbraten folder (in the same folder with shit like autoexec,
config, restore, packages folder...)
6. in server.txt type the following lines then save:
startlistenserver 1
maxclients 8 // replace this with the max number of clients you
want
serverbotlimit 8 // repalce with max number of bots
publicserver 1 // 1 for auth, 0 for anyone can claim master
serverdesc "My Server Description"
adminpass xy // replace with your admin password
servermotd "Welcome to my server! Have fun - but no mapfuck nor
teamkill" // replace with your server message
7. now open sauerbraten and type this without quotes: "/exec
server.txt"
8. now do /connect 127.0.0.1, /setmaster 1, /mastermode 2 if you
want to connect to your server + have master.
thats it! (for the simple home server)
*****************************************************