Poll

Would a IRC-Feature (for stats and so on) be used?

Yes
No
Yes, but...
No, because...

Author Topic: Soldatbot [Ver. 0.9] For Windows and Linux  (Read 11201 times)

0 Members and 3 Guests are viewing this topic.

Offline ManSoft|Warlord

  • Major
  • *
  • Posts: 70
  • Soldat.IDE Creator
Soldatbot [Ver. 0.9] For Windows and Linux
« on: August 20, 2006, 05:38:30 am »

proudly presents:

Soldatbot [Ver. 0.9] For Windows and Linux[/b]

Now it's done! Below you can find the very powerful Soldat-Server-Bot for both - Linux and Windows(!).
Here is a feature-list:

  • Simple Scripting language (like batch-files)
  • Multiline startmessages
  • Multiline welcomemessages
  • A lot of variables ready to use for the scripts
  • A tool for receive !admin-requests
  • Easy to install - just edit the settings.ini
  • Kicks cheater who use weapons which aren't allowed
  • IRC-Live-Tracker - have a look at #mankind-server.live
  • If a player uses a not allowed weapon, he will be banned

Please report the bugs.

Examples for some scripts:
Code: [Select]
!spec
/setteam5 %PLAYERID%

or for an automatic team-balance (ctf):
Code: [Select]
/!balance_ctf
/setteam1 %PLAYER1ID%
/setteam2 %PLAYER2ID%
/setteam1 %PLAYER3ID%
/setteam2 %PLAYER4ID%
...

or look at this:

Code: [Select]
!info
/pm %PLAYERID% The time is %TIME%.
/pm %PLAYERID% You killed %PLAYERKILLS% people
/pm %PLAYERID% and died %PLAYERDEATHS% times.
/pm %PLAYERID% Your current rate is %PLAYERRATE%
/pm %PLAYERID% The next map is %NEXTMAP%.

For more scripts have a look at the scripts in the "scripts" folder.

Current variables (for the scripts in the scripts folder):

  • %PLAYERID%     Will be replaced by the trigger's ID.
  • %PLAYERNAME%   The triggers name.
  • %PLAYERIP%     The triggers IP.
  • %PLAYERKILLS%  Trigger's Frags.
  • %PLAYERDEATHS% Trigger's Deaths.
  • %PLAYERPING%   The trigger's ping.
  • %TIME%         The current date / time.
  • %PLAYERRATE%   %PLAYERKILLS% / %PLAYERDEATHS%
  • %NEXTMAP%      Well... let's see - the next map?!
  • %CURRENTMAP%   no comment.
  • sleep x        Sleeps x ms.
Quote
  • %team1score%            alpha score.
  • %team2score%            bravo score.
  • %team3score%            charlie score.
  • %team4score%            delta score.
  • %player1..32name%       player x name.
  • %player1..32kills%      player x kill count (with caps).
  • %player1..32deaths%     player x death count (with suicides).
  • %player1..32ping%       player x ping.
  • %player1..32ip%         player x ip.
  • %player1..32id%         player x id.
  • %player1..32team%       player x team id.


To be added:
  • %playercount%           description not needed?
  • %serveraddr%            server address.
  • %serverport%            server port.
  • %gamemode%              current game mode.
  • %friendlyfire%          friendly fire. 1 if on, 0 if off.
  • %timelimit%             time limit (in seconds).
  • %timeleft%              time left (in seconds).
  • %timeelapsed%           elapsed time (in seconds).
  • %pointlimit%            point limit.
  • %respawntime%           respawn time (in seconds).
  • %maxrespawntime%        maximum respawn time (in seconds).
  • %maxplayers%            maximum player count.
  • %bonusfreq%             bonus frequency.
  • %votepercent%           vote%.

[/font]


Download!
« Last Edit: August 31, 2006, 01:44:31 pm by ManSoft|Warlord »

Offline Bgretydews

  • Flagrunner
  • ****
  • Posts: 805
  • y halo thar rabbit
Re: Soldatbot [Ver. 0.1]
« Reply #1 on: August 20, 2006, 05:40:26 am »
So this runs on your server? Not client side?
http://yossi.jrgp.org/?action=maps&sa=user_maps&u=10
Image (and link) is broken. Feel free to fix it.

Offline ManSoft|Warlord

  • Major
  • *
  • Posts: 70
  • Soldat.IDE Creator
Re: Soldatbot [Ver. 0.1]
« Reply #2 on: August 20, 2006, 05:45:57 am »
Yes... i's done for both - Windows and Linux

Offline Bgretydews

  • Flagrunner
  • ****
  • Posts: 805
  • y halo thar rabbit
Re: Soldatbot [Ver. 0.1] For Windows and Linux
« Reply #3 on: August 20, 2006, 05:49:17 am »
So how would i set it up on my selfkill server?
http://yossi.jrgp.org/?action=maps&sa=user_maps&u=10
Image (and link) is broken. Feel free to fix it.

Offline Bgretydews

  • Flagrunner
  • ****
  • Posts: 805
  • y halo thar rabbit
Re: Soldatbot [Ver. 0.1] For Windows and Linux
« Reply #4 on: August 20, 2006, 05:52:38 am »
I don't have ICQ :s, I have xfire and msn though
http://yossi.jrgp.org/?action=maps&sa=user_maps&u=10
Image (and link) is broken. Feel free to fix it.

Offline ManSoft|Warlord

  • Major
  • *
  • Posts: 70
  • Soldat.IDE Creator
Re: Soldatbot [Ver. 0.1] For Windows and Linux
« Reply #5 on: August 20, 2006, 05:55:57 am »
well - i will download xfire... my nick: lookslikelemming
« Last Edit: August 20, 2006, 06:05:32 am by ManSoft|Warlord »

Offline Denacke

  • Soldat Beta Team
  • Soldier
  • ******
  • Posts: 209
  • Cake!
Re: Soldatbot [Ver. 0.1] For Windows and Linux
« Reply #6 on: August 20, 2006, 07:31:05 am »
Does it have to be on the same server as the soldatserver is hosted on? it would be handy if i could run it on my linux box at home to provide extra functionality for some servers i admin.

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1011
Re: Soldatbot [Ver. 0.1] For Windows and Linux
« Reply #7 on: August 20, 2006, 07:36:08 am »
I don't think it needs to be in same machine, at least it looks like it can remotely connect. How about connecting to multiply servers ?

Offline zgrabarz

  • Major(1)
  • Posts: 22
Re: Soldatbot [Ver. 0.1] For Windows and Linux
« Reply #8 on: August 20, 2006, 08:21:32 am »
When somebody run this TELL ME !!!!! write over here message or somethink becouse i can't use this ;/ : ( : ( :( :(

Offline Denacke

  • Soldat Beta Team
  • Soldier
  • ******
  • Posts: 209
  • Cake!
Re: Soldatbot [Ver. 0.1] For Windows and Linux
« Reply #9 on: August 20, 2006, 08:29:00 am »
I don't think it needs to be in same machine, at least it looks like it can remotely connect. How about connecting to multiply servers ?
Aye that's what I thought but the first error it gave me is that the mapslist.txt is missing x)

Offline ManSoft|Warlord

  • Major
  • *
  • Posts: 70
  • Soldat.IDE Creator
Re: Soldatbot [Ver. 0.1b] For Windows and Linux
« Reply #10 on: August 20, 2006, 09:33:34 am »
sorry - there was a bug that did not allow you to connect to your server... :P
Now you can use it...
Simple download it again...

Does it have to be on the same server as the soldatserver is hosted on? it would be handy if i could run it on my linux box at home to provide extra functionality for some servers i admin.

Well the problem is, that the bot needs the mapslist.txt.
If you put exactly the same in the Bot's folder - it would be possible to run it on another server than the server's server...

Date Posted: August 20, 2006, 09:42:47 AM
I don't think it needs to be in same machine, at least it looks like it can remotely connect. How about connecting to multiply servers ?
Then you must run the bot some times more :D

Offline KeFear

  • Soldier
  • **
  • Posts: 181
  • ARSSE Creator
Re: Soldatbot [Ver. 0.1c] For Windows and Linux
« Reply #11 on: August 20, 2006, 01:51:49 pm »
i haven't tested it yet, but nice!

by the way, why does it need the mapslist.txt?

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1904
Re: Soldatbot [Ver. 0.1c] For Windows and Linux
« Reply #12 on: August 20, 2006, 02:01:22 pm »
To find out which map will be played next?

Offline ManSoft|Warlord

  • Major
  • *
  • Posts: 70
  • Soldat.IDE Creator
Re: Soldatbot [Ver. 0.1c] For Windows and Linux
« Reply #13 on: August 20, 2006, 02:44:08 pm »
do you expect something like "Yes"? Well then... you are right ;)

Offline rainrider

  • Soldier
  • **
  • Posts: 145
    • rrhp
Re: Soldatbot [Ver. 0.1c] For Windows and Linux
« Reply #14 on: August 20, 2006, 03:40:44 pm »
Show source code, mastah

Offline mar77a

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1295
  • mad
    • random stuffs
Re: Soldatbot [Ver. 0.1c] For Windows and Linux
« Reply #15 on: August 20, 2006, 03:59:37 pm »
Show source code, mastah

you don't even know what it's coded in ;)

Offline SoNNy

  • Soldier
  • **
  • Posts: 210
  • Whoosaaa
    • Soldat gamepark
Re: Soldatbot [Ver. 0.1c] For Windows and Linux
« Reply #16 on: August 20, 2006, 04:06:21 pm »
this is a cool tool what i need. Really great work man !

92% of teens have moved onto hip-hop. If you are part of the 8% that still listen to real music, copy and paste this into your signature

Offline ManSoft|Warlord

  • Major
  • *
  • Posts: 70
  • Soldat.IDE Creator
Re: Soldatbot [Ver. 0.1c] For Windows and Linux
« Reply #17 on: August 20, 2006, 04:07:18 pm »
now you can download the source... It's written in the pearl of all languages: DELPHI...

Offline zgrabarz

  • Major(1)
  • Posts: 22
Re: Soldatbot [Ver. 0.1c] For Windows and Linux
« Reply #18 on: August 21, 2006, 03:30:02 am »
There is a bug or something, when bot is running after some time the bot is refreshing a lot's of and crash themself. When somebody fix it please wrote it here.


« Last Edit: August 21, 2006, 03:44:55 am by zgrabarz »

Offline ManSoft|Warlord

  • Major
  • *
  • Posts: 70
  • Soldat.IDE Creator
Re: Soldatbot [Ver. 0.1c] For Windows and Linux
« Reply #19 on: August 21, 2006, 04:07:18 am »
hmm. i know this bug but i thought, that i had fixed it already...