Welcome to the Building Assassins Clan! Our tag is '|bA' at the end of our name. We are a editing and fighting clan so if you enjoy both you've found the right place to apply. We are only new but we will be up there with the best of the clans. If your interested in applying for and editing role or even a fighting role we have 2 seperate forums, please if you want to join as both, make an application in both sections. Currently we have 7 members: Knightmare, JigSaw, Death, Cowguy666, Nitros, Bucco, Buzza and KiTtY.


Author Topic: Serverbot!  (Read 336 times)

  • Administrator
  • Jr. Member
  • *****
  • Posts: 71
  • Karma: +2/-0
    • View Profile
Serverbot!
« on: July 31, 2012, 12:36:40 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
//-------------------------------------

Share on Bluesky Share on Facebook


  • Administrator
  • Jr. Member
  • *****
  • Posts: 71
  • Karma: +2/-0
    • View Profile
Re: Serverbot!
« Reply #1 on: July 31, 2012, 12:43:53 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:    say "REPLACE THIS WITH A MESSAGE WHEN SOmEONE 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:    coop "YOUR DEFAULT MAP"
   line 143:    coop "YOUR DEFAULT MAP"
   line 151:    setmaster "YOUR ADMINPASS"


Have fun

  • Administrator
  • Jr. Member
  • *****
  • Posts: 71
  • Karma: +2/-0
    • View Profile
Re: Serverbot!
« Reply #2 on: July 31, 2012, 12:04:58 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.

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Serverbot!
« Reply #3 on: July 31, 2012, 09:41:32 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?

  • Administrator
  • Jr. Member
  • *****
  • Posts: 71
  • Karma: +2/-0
    • View Profile
Re: Serverbot!
« Reply #4 on: August 23, 2012, 11:58:34 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 **** 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)

 

You've found the forum of the one and only Building Assassins Clan!