Official Soldat Forums
Soldat Fans => Fan Apps => Topic started by: rainrider on August 24, 2006, 02:03:49 pm
-
oooooooooooo .oooooo..o    .o.      .oooo.     .o   .o
`888'   `8 d8P'  `Y8   .888.     .dP""Y88b   o888  o888
888     Y88bo.     .8"888.       ]8P'   888  888
888oooo8   `"Y8888o.   .8' `888.      .d8P'    888  888
888  "     `"Y88b  .88ooo8888.    .dP'     888  888
888    o oo   .d8P .8'   `888.   .oP   .o .o. 888  888
o888ooooood8 8""88888P' o88o   o8888o  8888888888 Y8P o888o o888o
_______ _Â Â Â _ __Â Â _ _______ _______ _____Â _____Â __Â Â _ _______
|______ |Â Â Â | | \Â | |Â Â Â Â Â |Â Â Â |Â Â |Â Â Â | | \Â | |______
|Â Â Â Â |_____| |Â \_| |______Â Â |Â Â __|__ |_____| |Â \_| ______|
 [ before you'll read...
 |  - general usage of functions: $func(param1,param2)
 |  - if you want to write bracket, dollar signs or commas which aren't part of functions use:
 |   :lbracket: for left bracket (
 |   :rbracket: for right bracket )
 |   :comma:  for comma
 |   :dollar:  for dollar sign
 |   example: $log(:lbracket:bla:comma: bla:rbracket:) will output '(bla, bla)'.
 |  - if function does not exists, it is removed.
\ | / - in list placed below numbers in brackets {x} are indexes of function parameters.
\|/Â Â it's the same as func({1},{2}..)
 '
function list:
name          params description
$add          2+  adds {2..n} to {1}.
$sub          2+  substracts {2..n} from {1}.
$mul          2+  multiplies {1} by {2..n}.
$div          2+  divides {1} by {2..n}. returns rounded number.
$mod          2  performs modulo by {2} on {1}.
$abs          1  returns absolute value of {1}.
$ceil          1  returns {1} rounded up.
$floor         1  returns {1} rounded down.
$intval         1  returns numeric value of {1}. (see c atoi function: http://www.cplusplus.com/ref/cstdlib/atoi.html)
$floatval        2  returns {2}-digit fracton of {1}. (see c atoi function: http://www.cplusplus.com/ref/cstdlib/atof.html)
$min          2+  returns greatest parameter.
$max          2+  returns smallest parameter.
$substr         3  returns part of {1} which starts in {2} and is {3} bytes long.
$substr_count      1  returns count of {2} in {1}.
$strpos         2  returns first position of {2} in {1}.
$strrpos        2  returns last position of {2} in {1}.
$lowercase       1  returns {1} converted to lowercase.
$uppercase       1  returns {1} converted to uppercase.
$strlen         1  returns count of bytes in {1}.
$trim          1  returns {1} without ending and leading spaces, newlines and tabulators.
$time          1/2 returns {2} time structure formatted in {1}. if no {2}, parses current see delphi FormatDateTime function: http://www.delphibasics.co.uk/RTL.asp?Name=FormatDateTime
$encodetime       7  returns ready for $time structure. {1}=year,{2}=month,{3}=day,{4}=hour,{5}=min,{6}=sec,{7}=milisec.
$str_replace      3  returns {3} with replaced all {1} to {2}.
$d2a          2  dec to any. returns {1} converted to {2} system.
$a2d          2  any to dec. returns {1} in {2} system converted to decimal.
$hex          1  defined as $str_pad($d2a({1},16),0,2). returns hexagonal value of {1}.
$random         2  returns random value between {1} and {2}.
$sleep         1  stops parsing for {1} miliseconds.
$str_repeat       2  returns {1} repeated {2} times.
$str_pad        3/4 returns {1} 'extended' to {2} bytes using {3}. {4} is direction, not needed. see php str_pad function: http://php.net/str_pad
$str_rev        1  returns reversed {1}.
$file_exists      1  returns 1 if file {1} exists and returns readed text.
$read_file       1  returns file {1} data. (note: upto 2kb, for bigger files use append_file)
$write_file       2  writes {2} to file {1} even if file {1} exists and returns written text. if file does not exists, it is created.
$append_file      2  appends {2} to file {1} only if file exists and returns appended text. if file does not exists, it is created.
$exploded        3  hard to descript in one line, it's advanced scripting. check php explode: http://php.net/explode. {1}=input array, {2}=explode char, {3}=array index.
$playwav        1  plays {1} wav file.
$message        1  displays new window with {1}.
$inputquery       1  displays new window asking user for text using {1} question. (see delphi InputQuery function: http://lazarus-ccr.sourceforge.net/kbdata/MessageDlgQuestion.png)
$run          1  runs file {1}.
$log          1/4 displays {1} in esa. when it's possible, colorizes {1} using r:{2} g:{3} b:{4}.
$send          1  sends {1} to soldat server.
$irclog         1/4 displays {1} in esa (irc tab). when it's possible, colorizes {1} using r:{2} g:{3} b:{4}.
$ircsend        1  sends {1} to irc server. if {2} is 1, do not display {1} in esa.
$ircconnect       2  connects to {1} irc server on port {2}.
$ircdisconnect     1  disconnects from irc server.
$if           3  if {1} is true, do {2}, in other case do {3}.
$and          1+  if all parameters are true, returns true. if any parameter is false, returns false.
$or           1+  if any parameter is true, returns true. if all parameters are false, returns false.
$isgreater       2  if {1} is greater than {2}, returns true. both parameters are converted to numeric values.
$isgreaterorequal    2  if {1} is greater or equal than {2}, returns true. both parameters are converted to numeric values.
$isless         2  see $isgreater.
$islessorequal     2  see $isgreaterorequal.
$isequal        2  if {1} is equal to {2}, returns true. both parameters aren't converted to numeric values, they're kept as they are.
$isnotequal       2  see $isequal.
$switch         1+  if {1} = {2}, do {3}. if {1} = {4}, do {5}. must have {6}, which is called if nothing compared.
$while         2  while {1} do {2}.
$die          0  stops parsing script.
 [ before you'll read...
 |  - you should read variables section.
 |  - both static and normal variable functions does not support % (procent sign):
\ | /Â Â if you want variable %tmp%, you create it by $set(tmp,1).
\|/
 '
$set          2  makes new or replaces existing variable {1} with {2}.
$sset          2  makes new or replaces existing static variable {1} with {2}. see faq, part 1, question 2.
$varexists       1  returns true if variable {1} exists.
$svarexists       1  returns true if static variable {1} exists.
$unset         1  removes existing variable {1}. doesn't need checking that variable exists.
$unsset         1  removes existing static variable {1}. ^ditto^
$redo          1  reparses {1}. if you have something like %player%sid%name% and it doesn't show correctly u can place it in $redo function.
$pid2sid        1  replaces player id to structure id. see faq, part 1, question 1.
_Â Â _ _______Â ______ _____ _______ ______Â Â Â Â Â _______ _______
 \ / |_____| |_____/  |  |_____| |_____] |   |______ |______
  \/  |   | |  \_ __|__ |   | |_____] |_____ |______ ______|
 [ before you'll read...
\ | / - general usage of variables: %variable%
\|/
 '
%tickcount%Â Â Â Â Â Â Â same as GetTickCount, seconds elapsed from computer run (useful for preventing function spam)
%realtime%Â Â Â Â Â Â Â same as time(0) in c, seconds elapsed from 01-01-1970 00:00:00
%playercount%Â Â Â Â Â Â description not needed?
%line%Â Â Â Â Â Â Â Â Â incoming line.
%serveraddr%Â Â Â Â Â Â server address.
%serverport%Â Â Â Â Â Â server port.
%gamemode%Â Â Â Â Â Â Â current game mode.
%mapname%Â Â Â Â Â Â Â Â current map.
%nextmapname%Â Â Â Â Â Â next map. works only with refreshx.
%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%.
%playerid% and %pid%Â Â player id.
%structid% and %sid%Â Â player's structure id.
%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.
%player1..32xpos%Â Â Â Â player x x position. works only with refreshx.
%player1..32ypos%Â Â Â Â player x y position. works only with refreshx.
%redflagxpos%Â Â Â Â Â Â x position of red flag. works only with refreshx.
%redflagypos%Â Â Â Â Â Â y position of red flag. works only with refreshx.
%blueflagxpos%Â Â Â Â Â x position of blue flag. works only with refreshx.
%blueflagypos%Â Â Â Â Â y position of blue flag. works only with refreshx.
%esadir%Â Â Â Â Â Â Â Â path to esa.
%serverversion%Â Â Â Â Â version of server. works on servers 2.5.1+.
%msgtype%Â Â Â Â Â Â Â Â message type
%usingrefreshx%Â Â Â Â Â is esa using refreshx?
%soltvon%Â Â Â Â Â Â Â Â is soltv on?
%ircconnected%Â Â Â Â Â is irc client connected?
_______Â _____Â __Â Â _ _______ _______ _______ __Â Â _ _______ _______
|Â Â Â Â |Â Â Â | | \Â | |______Â Â |Â Â |_____| | \Â |Â Â |Â Â |______
|______ |_____| |Â \_| ______|Â Â |Â Â |Â Â Â | |Â \_|Â Â |Â Â ______|
TM_ZEROÂ Â Â Â Â Â Â Â Â team id. gamemode: deathmatch. zero means no team.
TM_ALPHAÂ Â Â Â Â Â Â Â team id. gamemode: htf, inf, ctf, tm.
TM_BRAVOÂ Â Â Â Â Â Â Â team id. gamemode: htf, inf, ctf, tm.
TM_CHARLIEÂ Â Â Â Â Â Â team id. gamemode: tm.
TM_DELTAÂ Â Â Â Â Â Â Â team id. gamemode: tm.
TM_SPECÂ Â Â Â Â Â Â Â Â team id. gamemode: all. spec means spectator.
TM_UNKNOWNÂ Â Â Â Â Â Â team id. gamemode: ? shouldn't appear.
GM_PMÂ Â Â Â Â Â Â Â Â Â gamemode id. pointmatch.
GM_DMÂ Â Â Â Â Â Â Â Â Â gamemode id. deathmatch.
GM_TMÂ Â Â Â Â Â Â Â Â Â gamemode id. team match.
GM_RMÂ Â Â Â Â Â Â Â Â Â gamemode id. rambo match.
GM_CTFÂ Â Â Â Â Â Â Â Â gamemode id. capture the flag.
GM_INFÂ Â Â Â Â Â Â Â Â gamemode id. infiltration.
GM_HTFÂ Â Â Â Â Â Â Â Â gamemode id. hold the flag.
GM_UNKNOWNÂ Â Â Â Â Â Â gamemode id. shouldn't appear.
MSG_NORMALÂ Â Â Â Â Â Â message type. normal line
MSG_LOOPTIMERÂ Â Â Â Â Â message type. loop timer
MSG_IRCÂ Â Â Â Â Â Â Â Â message type. irc line
%newline%Â Â Â Â Â Â Â Â new line.
%nl%Â Â Â Â Â Â Â Â Â Â ditto.
%tab%Â Â Â Â Â Â Â Â Â Â tabulator char.
left, right, both    fourth parameters for $str_pad function.
_______ _______Â _____
|______ |_____| |Â Â __|
|Â Â Â Â |Â Â Â | |____\|
scripting related questions
#1:Â when do i use %sid% and when %pid%?
   use %pid% when u need to do something like /kick 4. use %sid% when u need to get
   something from players structure, like player ip etc. if you need to get info from
   structure about someone other than player with %pid% (speaker), use $pid2sid({pid})
   function. it's used in example !whois x function. %sid% is the same as $pid2sid(%pi
   d%) ofc.
#2:Â what's difference between static and normal variables?
   normal variable is clear at end of parsing each line. static variable is visible for
   esa always (it's clear only at disconnect). so if you'll do something like:
   $sset(parsedlines,$add(%parsedlines%,1))$log(%parsedlines%)
   you'll see in esa increasing variable %parsedlines%.
#3:Â limits..
   max params in function    20
   max variable count      256
   max static variable count  256
   max $switch statements    9
   max param length       2048 (2kb)
#4:Â why can't i use 3-, 2- or 1-character commands?
   game bug (trust me)
#5:Â where can i place comments?
   anywhere u want except function parameters..
#6:Â how to load custom parsing file?
   place in 'esadata' folder file called 'host port.txt'
#7:Â why scripting is many times harder here than scripting in arsse or old esa?
   there was too much rubbish in old esa, and you can use arsse if you want. but here's
   the most powerful tool i think. you can do everything u want, you can make mass-flag
   autokick (not vote), X player kicker, expanded voting etc. all depends on your patience.
#8:Â my script is well written but it's not working.
   check twice for sure. if still problems, place after each right bracket space and
   then check again. since 2.03 there's no need to do it.
#9:Â how can i make repeated in time actions, like sending some text every 10 minutes?
   it's easy. look at example file. if line has been requested by loop timer, special
   variable %bytimer% = 1, so you gotta check that %bytimer% is equal to 1. if so, do
   your script should actions. now script should be terminated if you don't want get
   strange bugs. you can change loop timer interval in options.ini (LoopTimerInterval).
   you have to enter value in miliseconds (one second = 1000ms, one minute = 60000ms). if
   you want to make different to all servers interval in server x, you have to do
   $set(looptimerinterval,newinterval). looptimerinterval is special argument, you can't
   do anything like that with any other esa internal variable. in example file it's changed
   at first script parsing.
#10: wrargh! how do i connect to irc? how do i handle the connection?
   read this: http://www.irchelp.org/irchelp/rfc/rfc.html
soltv related questions
#1:Â what's meaning of all shapes in soltv? [by Frenchie]
   -polys-
   gray - normal
   light blue - ice
   deep blue - regenerating
   orange - lava/hurts
   red - deadly/bloody deadly
   green - only bullet collides
   yellow - only player collides
   seagreen/radioactive - does not collide
   -rest-
   green rectangles - grenadekits (spawnpoints)
   red rectangles - medikits (spawnpoints)
   bronze triangle - rambo bow (spawnpoint)
   red triangle - red flag
   glue triangle - blue flag
   colorful & moving dots/filled rectangles - players/bots
#4:Â what's soltv navigation?
   numpad 5 - reset view
   numpad 4  move left (hold left ctrl to haste)
   numpad 8  move up  (hold left ctrl to haste)
   numpad 6  move right (hold left ctrl to haste)
   numpad 2  move down (hold left ctrl to haste)
   numpad -  zoom out
   numpad +  zoom in
#3:Â i don't see map and I got valid maps directory.
   click again on soltv button. map will reload.
#4:Â i don't see soltv button.
   you are connecting to server with too old version.
#5:Â how player can check that i'm observing him?
   he just types 'is audience observing us?' and esa will send 'no it isn't' or 'yes it is'.
misc
#1:Â why make faq if no questions were asked? [by freestyler when esa wasnt released yet]
   u did now :D
#2:Â how to edit fav.txt?
   structure 'server port pass'. each line must have two spaces (not more not less).
#3:Â how can i edit commands.txt file?
   structure is 'name|$actions()'. each line must have one | char (everything after second
   | char will be ignored!). if there are two same function names only first one will be
   executed. %line% for parsing will be visible as 'from commands box', both sid & pid as 255.
#4:Â argh esa stops refreshing after map change or it just crashes every time i try to run!
   try to change refreshx to 0 in options.ini file. this will disable all features added
   in 2.06 version. you should also check that u got valid mapslist - server crashes on
   refreshx without specified mapslist.
#5:Â things like max players, server version etc don't work!
   you gotta enable messages by something like $log(%line%).
#6:Â nice ascii, can i use this font too?
   it's not mine. all asciis has been generated with ascii generator using font 'cyberlarge'
   and 'roman' (http://www.network-science.de/ascii/).
#7:Â program crashes when i click too much connect/disconnect button while reconnecting.
   just click it gingerly.
_______ _Â Â Â _ _______ __Â Â _Â ______ _______Â Â Â Â Â _____Â Â ______
|Â Â Â Â |_____| |_____| | \Â | |Â ____ |______ |Â Â Â |Â Â Â | |Â ____
|_____Â |Â Â Â | |Â Â Â | |Â \_| |_____| |______ |_____ |_____| |_____|
legend:
- removed
+ added
x changed / fixed
| additional information
15 sep 2006, 2.11:
+ irc support:
 ~ $ircconnect
 ~ $ircdisconnect
 ~ $irclog
 ~ $ircsend
 ~ %ircconnected%
+ &#xx; etc are now :comma: :dollar: etc
+ automatically reconnecting (able to turn off)
+ position and size of main window is now remembed and changable in ini
+ smaller buttons (for 800x600)
+ $log now supports displaying colorized lines
+ background colors of players list box and incoming messages changable in ini
+ shutdown server to quick commands
% soltv button now disappear on disconnect
% fixed quick commands (no more /addbot0 etc)
% fixed banning by ip/admining in quick commands
% fixed example script file (%player%loop%x%, now %player$intval(%loop%)x%)
% %bytimer% changed to %msgtype%
% default window size is now 800x600
4 sep 2006, 2.10:
+ editable quick commands (global; check faq, part 3, question 3) (requested by Karaffka)
+ editable refresh interval
+ setteam to player popup menu
+ $intval and $floatval functions
+ $max and $min functions
+ $str_rev function
+ %soltvon% variable
+ %usingrefreshx% variable
+ $add $sub etc are now old $addf $subf etc. to display x-digit fraction use $floatval
+ some soltv security, messages are send now on:
 ~ server switch
 ~ connect to server
 ~ disconnect from server
 ~ map change
 ~ trigger 'is audience observing us?' (always)
% fixed negative k:d ratio when player caps and then kills himself
2 sep 2006, 2.09:
% new icon (made by Dowhook)
+ system tray icon (requested by BombSki)
+ player colorization (requested by freestyler and BombSki, colors by freestyler)
+ player menu (right click, requested by BombSki)
+ nick completion on double click on players list (requested by freestyler)
% increased font size in soltv
1 sep 2006, 2.08b:
% fixed reconnecting when pressing disconnect button
30 aug 2006, 2.08:
+ faq has now separate sections
+ added description of soltv navigation to faq
+ %serverversion% identifier (will work with server version 2.5.1+)
+ $sleep function (request by moep and Karaffka)
+ $random function (request by Karaffka)
+ $write_file and $append_file function (request by tehasdf)
+ $floor, $ceil and $abs functions
+ many parameters support for math functions (like $add(2,2,3))
+ division by zero security to $div and $divf
+ possiblement to make repeated in time actions (see faq, part 1, question 9) (request by
 KentheGreat)
+ not removable trigger 'is audience observing us?' which sends 'yes it is' if soltv is
 on and 'no it isn't' if it's off, available for admins too (example: if admin types 'is
 audience observing us?' esa sends message 'yes it is' or 'no it isn't').
+ limits to players and flags positions (xy -100000..100000)
+ security for spawn points (if there are more spawnpoints than esa supports, only first
 256 will be drawn)
+ customizable default parser (esadata\default.txt)
+ logging to file in example script (as comment)
+ if you press up arrow in command box, current text will be replaced with last sent message
- flag and death players movement (they're just teleporting back to spawnpoints now)
- blinking column headers in players list
- possiblement to avoid anti-oldversions system in soltv
- yellow flag and rambo bow spawn point from soltv
- invalid floating point operation bug in soltv (hope so)
- reloading map when hiding hint window bug (players list)
% $die now does not need any parameters
% functions returning function name with params if return value was empty (example: $read_file)
% !teams and /teams in example script
% some misspells in readme.txt (like 'arssee', sry KeFear)
% spawn points are drawn behind players (useful for stationary guns)
% modified a bit soltv toolbar icons
% soltv toolbar moved to down
% better wireframe in soltv (not so bold)
% str_replace function is now much less ram, but much more cpu eatin` (it was needed, because
 esa after one hour running on server with 4 bots was taking 120 mb of page file)
29 aug 2006, 2.07:
+ added description of shapes in soltv to faq
+ soltv now can be used only on servers with version included in vsrx.txt
+ reloading map on clicking soltv button
% clearing flags/players on map reload
% scripting.txt file name changed to readme.txt
% -oldmode parameter removed, now it is customizable in options.ini (refreshx=1/0)
28 aug 2006, 2.06:
+ refreshx support
+ soltv
+ %nextmapname% variable
+ %player1..32xpos% and %player1..32ypos%
+ %redflagx/ypos% %blueflagx/ypos%
| all refreshx-related things may not work. careful.
27 aug 2006, 2.05:
+ $run function
+ limit for $message (only 1 message until admin press ok)
+ disconnecting before closing (alt+f4)
x increased server closing time to 200 miliseconds
x changed changelog format
26 aug 2006, 2.04:
+ %player1..32id% identifier.
26 aug 2006, 2.03:
- need to make spaces after functions
+ little changes in example script file (new command for clanwars)
25 aug 2006, 2.02:
x fixed bug with old servers (random characters after player names)
x fixed some missings in scripting.txt file
24 aug 2006, 2.01:
 first working version
(http://img219.imageshack.us/img219/2128/esa211bu7.jpg)
DL: http://rrhp.info/stuff/esa2.rar
SRC: http://rrhp.info/stuff/esa2src.rar
Original script file supports:
!version  displays version
!caps   displays player cap count on ctf and inf
!avkills  displays average kills excluding spectators
!avdeaths displays average deaths excluding spectators
!avping  displays average ping including spectators
!kickme  kicks player
!killme  kills player
!pingme  displays player ping
!whoisme  displays player ip
!whois x  displays ip of player x
!banme   ;d
!kd    displays player k:d ratio excluding cap count
!time   displays server date and time
!teams   checks that teams are fair ot not (displays message)
!team1Â Â Â sets player team to alpha (ctf htf inf tm)
!team2Â Â Â sets player team to bravo (ctf htf inf tm)
!team3Â Â Â sets player team to charlie (tm)
!team4Â Â Â sets player team to delta (tm)
!team5Â Â Â moves player to spectators
!admin   calls admin by showing message and playing rooster.wav
!info   shows server address and port, next map, time limit, elapsed
      time, respawn time (normal+max), bonus frequency, and voting %
/start   ready-system for CW
!players  irc command. shows colorful short info about players on server
-
it's great BUT i whant somethink like this for LINUX =-> shell is waiting
-
:o :o :o :o :o :o :o :o :o :o :o
Kefear's ARSSE dethroned! Hail to teh new king!
-
I'm using it and it works perfectly. gj
-
Wow- so many options
Will try it and post back
Looks real good, good job
--Edit
The scripting engine is so powerful in this Remote Admin Client that anything that can and could be done to the server is here.
Plus runs perfectly in wine.
It will take time to get use to scripting but once understood it is quite straight forward.
Has definitely set a new and extremely high benchmark for Admin Progs.
A must have for Admins
-
Holy crap! Nice job ;D
-
very nice, but it would be better if you were using REFRESHX ;)
-
Awesome! You deserve a cookie.
-
Very nice, you should make a console version, then port it to linux ;)
-
Yup it really ownz! IMO its best server admin. But lets check it!
-
Omg i didnt understand anything about this ;D
-
which language did you use?
-
I'm pretty sure he wrote it in delphi, though I could be wrong (aka this is just barely more than a guess)
-
Great tool! Hey rainrider, could you pay us a visit at #lrs ? I need your help in this :)
-
jesus, its not the system itsself that surprized the hell outta me, its the freaking post!!!!!!
Iq Unlimited
-
I'm just wondering,
would a function that allows to run an external file be easy to implement?
-
I found that the !admin call can actually close ESA
For me it closed after 7 messages popped up and were ignored
Not much of a problem usually but could become one if you depend on the script and it gets closed up by players trying to get rid of hacker or somesort?
BTW this is my !admin line
$if($isequal(%text%,!admin),$playwav(%esadir%\esadata\rooster.wav) $send(/say Admin Requested) $log(%player%sid%name% requests you on %serveraddr%:%serverport% -- $time(h:mm:ss)) $message(%player%sid%name% requests you on %serveraddr%:%serverport% -- $time(h:mm:ss)),)
-
Hm some bug with $message(). I'll fix it and add $run(progdir).
[edit]
k should work now.
-
jesus, its not the system itsself that surprized the hell outta me, its the freaking post!!!!!!
Iq Unlimited
Agreed, lol your first post is scary, nice program btw
-
autokick majors
$if($isequal($strpos(Major has joined ,%line%),1),$send(/say Sorry, but nick Major is not allowed here.)$send(/kick Major),)
help list with basic commands
$if($isequal(%text%,!help),
$send(/say !admin - calls an admin to the server)
$send(/say !kd - shows your kd ratio)
$send(/say !whois X - shows IP of player no. X)
$send(/say !team1-5 - sets you to team 1-5)
$send(/say !info - info about server),)
-
%gamemode%
These kind of variables seems very known to me xD
-
Hm some bug with $message(). I'll fix it and add $run(progdir).
[edit]
k should work now.
Sweet will try new version
-
New SolTV feature. May crash after some time, if it does, start program with -oldmode parameter (this will disable soltv and other features using refreshx since 2.06).
-
****, wow dude
Just tryed it out, it's the best - coolest thing ever put in an admin client
This is no.1 admin client by far
This is just so weird watching all the game play without being in in.
Plus it will help in finding hackers (speed hacks, polygon abuse, map abuse)
Wow good work dude
Edit--
On SolTV would it be possible to add what all the coloured shapes are? As its confusing at the beginning
-
Just one question:
How do i start using the !commands? they dont seem to react as they are now (in the esadata folder). Can the size/resolution of the SolTV be changed? Run dont fit on my 1280*1024.
looks like very promising update to ESA.
Thanks
-
1. Read faq, there u got info that u have to rename parsing file to hostname port.txt. So if u connect to somehost.com:23074, localhost 23073.txt won't work ...
2. Just resize SolTV window ...
-
You've done an amazing work there rr... really awesome.
I got a small bug while testing it, though it didn't crash as I closed the error messages as they popped out (20 of them or something)
(http://img92.imageshack.us/img92/2126/esa206bug541513rj4.th.gif) (http://img92.imageshack.us/my.php?image=esa206bug541513rj4.gif)
I got another error (http://img241.imageshack.us/img241/4056/esa206bugrtyrtbrerq8.gif) where SolTV didn't update the map overview nor some players position after the server changed map. (d/c and r/c doesn't fix it, nor restarting esa)
-
Hmm... when I start it, it runs in the background only taking 50% CPU power... Must do ctrl-alt-delete to terminate the proccess.
-
This seems quite amazing indeed, but is there anything that could be done now to prevent ghosting in clanmatches, meaning that one guy tells his team about the enemie's movement while not playing in the match himself? It seems this tool provides the first and already a great possibility for ghosting while not having a single spectator in a game, so that it's simply undetectable :-\
-
It has 2 second lag ; s
Btw if i would change now this 2 second delay to for example 30 sec, 'cheating' (?) ppl would not redownload new version anyway. 2 second is enough, coz for example on ctf_viet when i score for alpha, in esa i'm scarcely in middle of map.
-
It has 2 second lag ; s
Btw if i would change now this 2 second delay to for example 30 sec, 'cheating' (?) ppl would not redownload new version anyway. 2 second is enough, coz for example on ctf_viet when i score for alpha, in esa i'm scarcely in middle of map.
Okay, well, that's at least something, but I guess it can still be of good use for the... not so fair people :-\
[edit]
Just talked to some mates, their idea: Some sort of ingame message or something else that can't be disabled in this tool. Doesn't seem to be a bad idea. What do you say?
-
Well good idea. I'll add something like it in 2.08.
2.07 version:
+ added description of shapes in soltv to faq
+ soltv now can be used only on servers with version included in vsrx.txt
+ reloading map on clicking soltv button
% clearing flags/players on map reload
% scripting.txt file name changed to readme.txt
% -oldmode parameter removed, now it is customizable in options.ini (refreshx=1/0)
-
Okay, this rox.
Now, how the .... do I script? xD
I'm a newbie at scripting, coding anyways, so this is really something to fight.
Even finding where to write the scripts was difficult enough :P
The script I would be in need of is the same thing as what's in arsse, a server message displayed after e.g. 120 seconds. Either it's there and I'm blind or it's not and I'm just dumb. Any way is bad, so I ask for you to help lil' me. Oh and I know I can't speak English. :)
Anyways, great work.
-
That's not possible atm, in 2.08 it will be possible.
-
I finally understand SolTV. All I have to say is, :o
-
What's about a sleep function? It could become quite handy for an unpause script.
Something like this:
$send(/say Unpausing in 5)
$sleep(1000)
$send(/say 4)
$sleep(1000)
$send(/say 3)
$sleep(1000)
$send(/say 2)
$sleep(1000)
$send(/say 1)
$sleep(1000)
$send(/say go!)
$send(/pause()
-
30 aug 2006, 2.08:
+ faq has now separate sections
+ added description of soltv navigation to faq
+ %serverversion% identifier (will work with server version 2.5.1+)
+ $sleep function (request by moep and Karaffka)
+ $random function (request by Karaffka)
+ $write_file and $append_file function (request by tehasdf)
+ $floor, $ceil and $abs functions
+ many parameters support for math functions (like $add(2,2,3))
+ division by zero security to $div and $divf
+ possiblement to make repeated in time actions (see faq, part 1, question 9) (request by
 KentheGreat)
+ not removable trigger 'is audience observing us?' which sends 'yes it is' if soltv is
 on and 'no it isn't' if it's off, available for admins too (example: if admin types 'is
 audience observing us?' esa sends message 'yes it is' or 'no it isn't').
+ limits to players and flags positions (xy -100000..100000)
+ security for spawn points (if there are more spawnpoints than esa supports, only first
 256 will be drawn)
+ customizable default parser (esadata\default.txt)
+ logging to file in example script (as comment)
+ if you press up arrow in command box, current text will be replaced with last sent message
- flag and death players movement (they're just teleporting back to spawnpoints now)
- blinking column headers in players list
- possiblement to avoid anti-oldversions system in soltv
- yellow flag and rambo bow spawn point from soltv
- invalid floating point operation bug in soltv (hope so)
- reloading map when hiding hint window bug (players list)
% $die now does not need any parameters
% functions returning function name with params if return value was empty (example: $read_file)
% !teams and /teams in example script
% some misspells in readme.txt (like 'arssee', sry KeFear)
% spawn points are drawn behind players (useful for stationary guns)
% modified a bit soltv toolbar icons
% soltv toolbar moved to down
% better wireframe in soltv (not so bold)
% str_replace function is now much less ram, but much more cpu eatin` (it was needed, because
 esa after one hour running on server with 4 bots was taking 120 mb of page file)
-
http://tehoko.info/txt/esa208parser.txt
I've modified default parser and I think it's better and more clear.
+ antimajor
+ /whine ascii
+ !help, !quit/!exit
% little changes (!kickme, !banme etc. changed to !kick, !ban)
-
Rainrider, could you make a miniture version of ESA? A version where SolTV can go high-res fullscreen, with the score, chat console, and commands visible/usable as well. This would be very helpful for LANparties (one big screen with that information, for spectators of the party) also an easy way for admin to monitor a game without joining.
-
Nice changes already, seems you're putting quite a lot of work into this, thanks for this :)
The "is audience observing us?" feature is pretty nice, but I think it would be easier if you just had messages showing up a) when the SolTV function is activated/deactivated and b) one showing if it is running at the beginning(/probably end) of a round, both of which could not be disabled. This way it shouldn't be possible to run the program while the "enemies" don't know about that fact.
But please don't take this as criticism, it is actually quite impressive to see what you've done here :) Just a suggestion which is necessary in my opinion.
-
Have been using it and its great... couple of questions
1.When I disconnect it just reconnects to the server again, is this a program, script or user problem?
2. I dont seem to be able to pick up the data/text of a player joining the server, but using code in the example, that looks for the word 'has', a player changing teams and leaving the server works fine.
Any ideas... ?
Also if anyone has some good scripting they've written with this, post ity up! It looks like it could do some impressive stuff!
Â
-
WOW, f**king great work! Gonna take a look at the source if i have time =)
the new icon sucks :S
old icon rules, so i replaced it, thanks to PEiD, UPX and ResHacker ^^
which language did you use?
It's C++
-
Mr Pink: 1) download 2.0b version, sry..
2) when player joins a game, it is not visible in structure yet (its added one second after joining). So u gotta get player name from 'xxx has joined game'.
MisterX: i could connect before all players would join, and disconnect after every player would leave. I could also hide soltv few seconds before map starts/ends. If players would do map voting (it's not visible in any soldat admin if i remember well), my friends could tell me on teamspeak 'k, safe, you can run soltv now'. With current solution u can make taunt 'is blabla' and just press alt+xx while playing.
Thomas: nice ;d
Mistercharles: it would take a bit more time ..
-
Really coming on great man. But I have a request if possible or not already done.
Any chance of a 'team balancing' option that works like this.... at the end of each map, the players who reach 1st, 3rd, 5th etc in the scoreboard move to Alpha team, and those that score 2nd, 4th, 6th etc go to Bravo team.
Why? Well public servers can be a bit of a pain in the ass when all the good players are on one team. It's not an infallible idea, but it'd help a little.
-
Hmm, I found how the "display a message every X milliseconds" work, but it doesn't work, or I mean, I found the place to edit it, but it doesn't show. I put time to 3 minutes (1800000 milliseconds), but it doesn't show.. I guess it's something that I should do, although if I in my mind made everything necessary from the faq..
$if($isequal(%bytimer%,1),$send(/say "my server message")$die(),)
I only edited the /say, as bytimer was as I understand already set to 1. Probably a very simple problem, but for me.. big :P
-
Try to remove quotation signs
-
hmm, I tried to put another msg but I'm not sure how I would make it split up to several lines, this is my code..
message shown every 10 minutes ..
$if($isequal(%bytimer%,1),$send(/say ETA Server - ETA's rules %newline% Do not: %newline% spawnkill, hack or whine!!! %newline% Note: Camping, spraying and using all weapons is LEGAL! %newline% If you are caught hacking, whining or such you will get ban. %newline% This message means Ken is admin. So be careful. )$die(),)
(For the content of the /say msg, no flaming please, it's our server :P)
anyways, %newline% was the closest I came to a new line command, as simple enter didn't work either..
-
Chakra's idea would be truly awsome.
Mistercharles: it would take a bit more time ..
Are you saying you'd make it? It's really just a lite version of ESA focused more on graphicalness, without a scripting engine.
-
Mistercharles: I want to add chat lines, team scores and fullscreen option.
i think %newline% won't work as splitter for /say, you need to do something like $send(/say omgomg %newline%/say omgomg)
-
MisterX: i could connect before all players would join, and disconnect after every player would leave. I could also hide soltv few seconds before map starts/ends. If players would do map voting (it's not visible in any soldat admin if i remember well), my friends could tell me on teamspeak 'k, safe, you can run soltv now'. With current solution u can make taunt 'is blabla' and just press alt+xx while playing.
That's why I mentioned the message which would show if SolTV is running when a map starts and probably when it ends. This way, even if you had SolTV running before everybody joined, so that nobody could see the "SolTV activated", they would still see something like "SolTV" is running when the map ends and the first round begins. Important is that it doesn't just show if ESA itself gets connected or disconnect, but specifically the SolTV feature, so that you couldn't just hide SolTV before a map ends and the next one starts while still running ESA.
If don't see a way how a server admin could still run the SolTV feature without anybody noticing, at least in case he doesn't alter the program in some way.
My "problem" with the "Is audience observing us?" feature is that I think it could easily lead to misunderstandings, if a clan has a taunt with that message and uses it every minute in a clanwar. At least I wouldn't like being trusted so little that the enemy team frequently uses the taunt on our server.
-
Great program indeed, the only feature that is missing is an IRC interface which supports !kill etc through irc!
A few small things that would also be nice:
- It would be nice if the players in the playerbox are colored and/or it should tell how many players there are in both teams.
- Also (like arsse) having different colors in the console to show chat/joins+quits/admin commands etc would be great.
- Right-click on player name to do commands is also nice
- Some of the info is really kinda useless, such as vote% and bonus frequency. Maybe that space could be used in a more effective way.
Anyway these are just some suggestions, you seem to be doing lots of updates so i thought i'd just mention it ;)
EDIT:
- Option to put it in systemtray!
-
ESA... workin fine here... but, why the soltv its only for me and not can share this "tv" with another players? example: http://69.1.2.3/soltv and must players look the match with scoreboard and another options...
HLTV, ETTV...
(sorry, bad english)
-
It's extended soldat admin. SolTV is just a feature.
[edit]
hunterz: you can always do write to file players and red / blue flag positions. Then you can make PHP script for it or application which connects to server etc etc.
Chakra:
you need to handle map changing. it's included in example script.
then do something like
$set(loop,0)
$while($isless(%loop%,%playercount%),
 $set(loop,$add(%loop%,1))
 $send(/setteam$add($mod(%loop%,2),1) %player%loop%id%)
)
Mistercharles: then not. I was thinking about just putting chat etc in soltv + fullscreen option. But.. without scripting esa would be not esa. And I'm too lazy to implement details like that, especially that school begins.
MisterX: I just simply won't change it.
-
A bug:
when it disconnects from a server, and try to open the same (new) connection it says "already connected".
you cant close the connection..
-
I havent that bug..
2.09 released
-
MisterX: I just simply won't change it.
I know I'm annoying you, which isn't my aim, still: Why not?
I just don't want undetectable ghosting (As long as you're not annoying the enemy by using a taunt for "Is audience observing us?" every minute) to be another problem while already the problem concerning "hacking" is getting more and more serious. I guess nobody wants that..
-
Nobody wants ****ing with closing soltv when it will be always possible to avoid this 'security' mechanism - -
Hey, I really don't want to annoy you and I'm sorry that I do, I'm just worried about Soldat, it's all.
If there really was a message when activating/deactivating SolTV and one at the beginning of a round showing up if it is activated, I don't see how you could avoid showing that it is running in a "clean" way.
It is your program and I respect it if you say that you definitely won't add something like this for whatever reason, I just don't want things to get worse. I am glad that you already implemented the 2 seconds delay and the "Is audience observing us?" message, but as this program really seems to be one of the best admin tools and which might well be spread pretty rapidly and used by many, there shouldn't be any reasons for worries, especially not in clanwars or more importantly league matches. Also I'm not the only one who is worried about this.
If it's one of the best programs it should also be one of the safest ones, especially if those are just 2 more messages which can't be disabled we're talking about..
-
lemme just say:
a. MisterX is not alone with his concerns.
b. as coder you have the responsibility to make sure (as far as you can) that your program isnt abused for "evil" or at least make it as hard as possible. if you dont, people will not remember your program with fondness, but with fear of being cheated by it. think about that for a moment. Im sure you want to do the right thing here.
cheers, and keep up the exemplary work. :-*
-
Oh well. Thanks for considering it.
-
lemme just say:
a. MisterX is not alone with his concerns.
b. as coder you have the responsibility to make sure (as far as you can) that your program isnt abused for "evil" or at least make it as hard as possible. if you dont, people will not remember your program with fondness, but with fear of being cheated by it. think about that for a moment. Im sure you want to do the right thing here.
cheers, and keep up the exemplary work. :-*
Many people have shown there concern about SolTV, as with any new feature in a popular program there are always people for it and against it.
No one would be opening and closing the SolTV feature just to make sure others dont know there cheating.
'Is audience observing us?' command is sufficient as I wouldn't like playing on a server that has messages popping up randomly about SolTV being opened and closed.
If anyone was really a wannabe/hardcore hacker they could have already made a script which displays player positions without any delay.
-
Maybe a server side option to disable player positions will stop all this bickering...
-
So in the future we're gonna have a taunt for "Is audience observing us?" which we'll be going to use at least once a minute in order to make sure there isn't ghosting in a match, so nobody can be trusted anymore. Sounds great indeed. This got great potential to make things far worse than they are, I hope you're aware of that fact.
I really don't understand how you can't just implement 2 simple messages, at least for the future versions, instead of having this uncomfortable and mistrust-favouring command.
I'm out of here..
-
MisterX
When this 'is audience blabla' would be forgotten, all cheaters would stay with this version which is not popupping any crap.
-
Maybe a server side option to disable player positions will stop all this bickering...
seconded.
rainrider: Thats just shortsighted of you. If worst comes to worst, I hope one day youll wake up and realize what a terrible pandora's box your tool can be.
Also, to pick up on your (bad and unfitting) example: The way it is now, your father would have to go to your room every 10 minutes just to make sure youre not getting it on with someone, thereby disturbing you while youre jacking off, watching tv, playing soldat, doing homework, whatever the hell youre trying to do, he'll always be there asking "are you..?? ARE YOU..???"
You think youd like that better than him only noticing when you ACTUALLY do it? lol ... weird logics you got there dude.
-
Again: when this 'is audience blabla' would be forgotten, all cheaters would stay with this version which is not popupping any crap.
So I c no sense in making messages when soltv is closed / opened / on map change.
I suggest u compromise: I won't remove 'is audience blabla' but I'll add those lines. K?
Didn't expect that..
Concerning this argument: Those "cheaters" could also go on using the version before you implemented "is audience ...", as well as just using another program or even making one on their own as somebody else said. But there are a lot of advantages in using ESA apart from only SolTV, and as it is getting better and better, most people will likely use the newest versions as well. It's not just about what the people who'd abuse it for ghosting would use, but also about being able to feel safe on a server using ESA in general. So the earlier these messages are implemented the less of a problem ghosting with it will be.
By the way: I never wanted the "is audience ..." command to be deleted, it's not a senseless one either, so for sure it can or even should be kept in the program. The only problem is that it is very uncomfortable if it is the only way you could check if SolTV is running. It's just important that the messages show if SolTV gets acivated/deactivated and show up if it is running at the beginning of a round, not ESA in general.
Thanks a lot, there's no reason why this nice program should also be a great problem at the same time.
'Is audience observing us?' command is sufficient as I wouldn't like playing on a server that has messages popping up randomly about SolTV being opened and closed.
On most servers quite a number of messages appear at the beginning of the round and disappear in 2 or 3 seconds time again, so 1 more message shouldn't make a difference. And as long as the server admin isn't having fun opening and closing SolTV twice a second these messages really shouldn't be a problem either.
-
4 sep 2006, 2.10:
+ editable quick commands (global; check faq, part 3, question 3) (requested by Karaffka)
+ editable refresh interval
+ setteam to player popup menu
+ $intval and $floatval functions
+ $max and $min functions
+ $str_rev function
+ %soltvon% variable
+ %usingrefreshx% variable
+ $add $sub etc are now old $addf $subf etc. to display x-digit fraction use $floatval.
+ some soltv security, messages are send now on:
~ server switch
~ connect to server
~ disconnect from server
~ map change
~ trigger 'is audience observing us?' (always)
% fixed negative k:d ratio when player caps and then kills himself
-
Thank you very much :) I've tried it and that's just what I've been asking for. Really, those few messages won't harm anyone, but they are a simple yet very effective way of preventing people from ghosting with ESA. I really appreciate that you accepted implementing this, just like it's great how you're enhancing this program and are responsive for suggestions.
Good luck with this program, finally I can thoroughly recommend it ;) :)
-
I just though u wanted to replace taunt with automessaging. But now it's ok and safe : ) removed few latest posts and sry for bad language.
-
I don't know why, but in my ESA, there is no "Sol TV" option o.O
-
SolTV works only with server 2.5.1.
-
My server is 2.5.1.
-
Turn on refreshx in options.ini.
Or set mapslist.
-
Oh, I changed the Maps directory at options.ini and now it works! Thank you!
One question... is it that hard to do a "complete" SolTV? I mean, a SolTV that shows the map, the players walking, flying and things more sofisticaded... would be nice!
-
Second soldat? No. Of coure would make some lags (server would be sending more informations like xy of bullets, bullet types, players weapon, players health, players animations, players current frame, bool that are players flying etc. that things only would take minimum 292 bytes more). But the main reason is: can't load in opengl textures which have borders different than n-power of 2 (like not 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144 etc (ha i remember powers of 2 up to 2^18 :P)). So if I load texture 3x8 it just wouldn't be texture for opengl. That means no nice gosteks, no weapon graphics, no scenery until i would learn directx. But i haven't dx sdk and i'm too lazy to download it or learn it.
-
You're right, if you make a second soldat, it will lag just like a spectator.
-
[only speak spanish, translated by google...]
I use 800x600 pixels in Windows xp, esa2.10 is myself to me bad, single she sees in 1024x768 and superior resolution well. I talk about that some bellboys do not see themselves. :(
helpme please!
[spanish]
yo uso 800x600 pixeles en windows xp, el esa2.10 se me ve mal, solo se ve bien en 1024x768 y superior resolucion. Me refiero a que algunos botones no se ven.
ayuda por favor!
-
Here's some suggestions:
Ping graph for every player.
OR
Average ping graph.
Favourite servers.
Server usage logging (e.g. Save information about how many players to some file, for like every 1 minute) + Integrated tool to read those values.
Also, if it was possible to replace $isequal $lessorequal and so on with =, and <= and so on,
would be VERY nice.
Nice job anyway. :)
-
Waht exactly is this ? Man 4 me seeing all those codes in my front, that looks chinese !!!
-
Average ping graph - maybe i'll add it.
Favourite servers - that's already..
Server usage logging - you can do it yourself.
Logical operators instead of functions - huh. i'll c what i can do.
But..
you'll need to wait for release to next weekend I think.
-
Err? Fav servers already? Well, whatever. :P
Should be a list where to select server, then connect, like Soldat has. ;O
-
[only speak spanish, translated by google...]
Better translation
---
I use 800x600 pixeles in Windows XP, the esa2.10 is seen me badly, alone is seen well in 1024x768 and upper resolucion. I refer to that some buttons are not seen.
It helps please!
-
[only speak spanish, translated by google...]
Better translation
---
I use 800x600 pixeles in Windows XP, the esa2.10 is seen me badly, alone is seen well in 1024x768 and upper resolucion. I refer to that some buttons are not seen.
It helps please!
thanks
It helps please!
-
Err? Fav servers already? Well, whatever. :P
Should be a list where to select server, then connect, like Soldat has. ;O
something like this?
(http://bombski.nimio.info/fav.PNG)
edit fav.txt in the esa folder...
-
Err? Fav servers already? Well, whatever. :P
Should be a list where to select server, then connect, like Soldat has. ;O
something like this?
(http://bombski.nimio.info/fav.PNG)
edit fav.txt in the esa folder...
Ah, sorry, my mistake. :P
-
This is only information about what is added already to 2.11 but 2.11 is not yet released.
17 sep 2006, 2.11:
+ irc support:
 ~ $ircconnect
 ~ $ircdisconnect
 ~ $irclog
 ~ $ircsend
 ~ %ircconnected%
+ &#xx; etc are now :comma: :dollar: etc
+ automatically reconnecting (able to turn off)
+ position and size of main window is now remembed and changable in ini
+ smaller buttons (for 800x600)
+ $log now supports displaying colorized lines
+ background colors of players list box and incoming messages changable in ini
% soltv button now disappear on disconnect
% fixed quick commands (no more /addbot0 etc)
% fixed banning by ip/admining in quick commands
% fixed example script file (%player%loop%x%, now %player$intval(%loop%)x%)
% %bytimer% changed to %msgtype% (MSG_NORMAL, MSG_LOOPTIMER, MSG_IRC)
% default window size is now 800x600
Your suggestions?
-
This is only information about what is added already to 2.11 but 2.11 is not yet released.
17 sep 2006, 2.11:
+ irc support:
~ $ircconnect
~ $ircdisconnect
~ $irclog
~ $ircsend
~ %ircconnected%
+ &#xx; etc are now :comma: :dollar: etc
+ automatically reconnecting (able to turn off)
+ position and size of main window is now remembed and changable in ini
+ smaller buttons (for 800x600)
+ $log now supports displaying colorized lines
+ background colors of players list box and incoming messages changable in ini
% soltv button now disappear on disconnect
% fixed quick commands (no more /addbot0 etc)
% fixed banning by ip/admining in quick commands
% fixed example script file (%player%loop%x%, now %player$intval(%loop%)x%)
% %bytimer% changed to %msgtype% (MSG_NORMAL, MSG_LOOPTIMER, MSG_IRC)
% default window size is now 800x600
Your suggestions?
thanks!
:D
-
Whoa, lovely. IRC support would be great! really looking forward to control the server(s) through IRC
great work man 8).. and the server-thingy bug i reported earlier was indeed my bad :x
edit:
im already thinking of all irc commands that i will add, it would be nice if there was a way to assign "irc admins" and "public users" or something, so that certain people (admins) can type !kill #, and public commands could be !players !playerlist and !nextmap.
of course the "public" shouldnt be able to do certain commands like !kill !ban !unban etc.
I dont know if such a thing is already included, but it would be really nice.
keep it up !
-
now, why is the scripting so hard? :P
In my eyes it could be done a lot easier.. but I'm not a coder or such at all so :P
-
BombSki you will be able to implement everything you want, since WHOLE irc protocol (ping-pong events and even nick/user msg) is handled by script..
but I don't hear suggestions
-
Well, replacing logical operators, removing $, and using IF-THEN-ELSE or IF(){} Would help alot. :P
-
... IF(){} Would help alot. :P
I second that.
-
Also basically replacing current syntax with the one used by C/C++, PHP, Java and many others, would make it simplier, really.
Even using the BASIC syntax would make it simplier, actually even more. :o
-
not possible atm, until ill be able to rewrite 90% of parsing system
-
It is not needed that much, but it would really improve the power of scripting system, since the scripts would be alot simplier to browse trough, and to write. :)
-
This is really cool app. Nice to see that you implemented the suggestions about SolTV to prevent its misuse. :)
I agree with Clawbug about the scripting though. You are allowed to be lazy and implement a premade scripting language :D (such as Lua, which is pretty simple to use and implement as well).
Anyways, great job man!
-
ure avatar kreaks me out ramirez
anywayz nice :D
-
Lua whould definitely rock! For anyone who doesn't know about Lua: http://www.lua.org/ :)
-
2.11 released.
Lua sux. PHP better. But.. slower :|
-
(http://img96.imageshack.us/img96/6118/esa211ug2.th.png) (http://img96.imageshack.us/img96/6118/esa211ug2.png)
the button is not seen new connection in 800x600 :(
sorry, my english = 0. translated by google :S
-
2.11 released.
Lua sux. PHP better. But.. slower :|
Well, the thing is that you can just add lua-scripting engine to ESA easily. Im afraid you can not add PHP to ESA.
-
how I can do so that each line of the following thing is every 2 or 3seconds?
[spanish]
¿cómo puedo hacer para que cada linea de lo siguiente se muestre cada 2 ó 3 segundos?
$if($isequal(%text%,!commands),
$send(/say !version displays version)
$send(/say !caps displays player cap count on ctf and inf)
$send(/say !avkills displays average kills excluding spectators)
$send(/say !avdeaths displays average deaths excluding spectators)
$send(/say !avping displays average ping including spectators)
$send(/say !kickme kicks player)
$send(/say !killme kills player)
$send(/say !pingme displays player ping)
$send(/say !whoisme displays player ip)
$send(/say !whois x displays ip of player x)
$send(/say !banme ;d)
$send(/say !kd displays player k:d ratio excluding cap count)
$send(/say !time la hora actual)
$send(/say !teams checks that teams are fair ot not (displays message))
$send(/say !team1 sets player team to alpha)
$send(/say !team2 sets player team to bravo)
$send(/say !team3 sets player team to charlie)
$send(/say !team4 sets player team to delta)
$send(/say !team5 moves player to spectators)
$send(/say !admin llama a un admin actualmente conectado)
$send(/say !info muestra la info del server)
,)
-
Well, IMO it is better in the way it is now. Because: When it is delayed, it spams that one list for like 42-63 seconds.
The way it is now, just spams all the stuff at the same time, with no delay, so it is not so irritaring.
-
This scripting is so much more complicated than ARSSE's. Is there a place I could learn it from?
Meh, I was too tired to notice it in the first post.
-
I have this code in my server:
command to list maps in server
$if($isequal(%line%,/maplist),
$set(maplist,$lowercase($append_file(C:\Games\My Soldat Server\mapslist.txt,)))
$set(loop,0)
$set(string,/say Map list:)
$while($isless($intval(%loop%),$intval($substr_count(%maplist%,%nl%))),
$if($or($isequal($intval($mod(%loop%,5)),$intval(0)),$isequal($intval(%loop%),$intval($sub($substr_count(%maplist%,%nl%), 1)))),
$if($isnotequal(%string%,/say),$send(%string%),)
$set(string,/say)
,)
$if($isnotequal($exploded(%maplist%,%newline%,%loop%),),
$set(string,%string% $exploded(%maplist%,%newline%,%loop%))
,)
$set(loop,$add(%loop%,1))
)
,)
but it's not fully working... it's only retrieving the first 8 maps from the list -> $substr_count(%maplist%,%nl%) returns 9, but I have 191+ maps in my server (file has more than 2KB). Also, when I use $send(%maplist%) before the loop variable definition, it outputs correctly all the maps in the list (up to 2kb limit), but I want the server to /say all those map names, 5 maps per line.
EDIT: wth, "loop" is the ninth item in the list, and I don't have a map with this name, so it probably comes from the variable name :o
Part of my map list:
atraining
ctf_ahhh
ctf_ancient
ctf_asdf
ctf_Athleticsb
ctf_AthleticsBlu
ctf_Athleticsc
ctf_Athleticscv3
ctf_Athleticsd
ctf_Athleticse
ctf_Athleticsg
ctf_AthleticsIsl
EDIT #2:
2. %serverversion% doesn't exist.
3. FAQ still explains the "%bytimer%" that doesn't exist anymore (renamed to %msgtype%).
4. How can I detect if the player is an admin, and how to make commands only to work for the admins?
-
Looking good, looking good.
Possible to add 'copy to clipboard' to nicknames and IPs?
-
Also, SolTV is not working when players are in the server. It gives "Invalid floating point operation." error.
-
Any one else having this problem with 2.11...
I connect to the server and the user form (GUI) shows the players and stats, but then these dont update, the text and text 2 variables dont ever get populated when players chat (but the /xxxx admin commands get picked up like /teams) and it seems to be because the %player%sid%name% does not get set (if i send to console it comes out as %player1name%)? This is occuring with the example script and any modifications I have tried have not fixed it. Any help would be appreciated.
-
It's in faq!1!~1one. You have to set mapslist. Server disadvantage.
-
When I connect to my server and load the custom parser the player chat is gone. And everything else that the window should show. The playerlist refreshes fine and so does the info below it.
-
Very professional, create buggy software then run away.
-
Good luck flippin burgers with that attitude.
EDIT: RainRider deleted his posts above.
-
wth, already? omg. NOOOOooooo. =(
-
Take it easy rainrider ;)
Anyway.. bug-free software is just a dream.
-
...it was soooo close.. :(
-
Very cool app rainrider, only scripting was a little bit difficult at the beginning. I think I'm going to extend your app, maybe changing the script language, but only maybe...
Jones
-
Sorry to revive this thread but Im still using ESA for its scripting abilty... and rainrider is back :p
Need some help -
1. I can't get the $substr_count function to work... it also doesnt seem to work in the example !info command. It would be a really handy function to have so any help would be great.
2. first question sort of leads to this one... does any one have a scripting example of how to pick up a specific word(s) in a message? e.g. picking up the word hack from any message and displaying a server message advising the player they could type !admin iif they suspect a hacker.
thanks
-
$if($isnotequal($strpos(%line%,hack),0),wuff wuff,hau hau) or something like that
-
source link dead :(
-
http://rrhp.info/projects/esa2.rar
-
http://rrhp.info/stuff/src.esa2.rar
Nope, that one doesn't work either... :(
-
Please, rehost ESA 2.11 !!! Source and binary!
-
Okay, okay... I kept a backup anyway. ;)
Edit: Actually you can find it on rr's page (http://rrhp.info/index.php?id=prj&f=esa2): esa2.rar (http://rrhp.info/projects/esa2.rar) and esa2scr.rar (http://rrhp.info/projects/esa2.src.rar)
-
OH MY ****ING GOD!! SOLTV DONT WORK!
(http://www.silkroad.ovh.org/images/soltv.png)
http://www.silkroad.ovh.org/images/soltv.png
-
Dude, read your esa status window.
Anyway, SolTV only works with Soldat Dedicated Server 2.5.1.
If rr choses to update his program I'm sure it'll be available again.
Oh and while I'm at it, if you read this rainrider, please fix the irc esabot. It's annoying having it connecting to quakenet by itself all the time. Spywaaaaare ;)
-
add to esadata/vsrx.txt following line
2.5.3
and tell if it works or not
@glulm: what u mean? it tries to connect nonstop or it stays connected even after exit?
-
add to esadata/vsrx.txt following line
2.5.3
and tell if it works or not
Yep, worked just fine with that addition. :)
-
Yup thanks, it fixed it.
@rr: it tries to connect nonstop, even though I entered "quit", it tries to reconnect after 5 seconds. The bot should be disabled by default imo (or at least in the ini).
-
It works! Thanks!
-
Woooww thats cool SolTV ;D
-
any way to serve solTV like hltv of CS?
-
Zeite Nicht Gefunden!
-
Well, i've added 2.5.4 line to vsrx.txt but it's getting bugged when i run soltv...
It says:
'invalid floating point operation' :/
-
Well... that's not new. Maybe it is there since the version for 2.5.2 was released. It happens when players enter the game, and their names are shown, I think....
-
SolTv is not working with 2.6.0 :O
-
Download link:
http://rrhp.info/index.php?id=projects&f=esa2
;)
-
errrrr wtf i dont get it i suck at english
-
yeah, could you not spam here? Its simpler to ask why you dont get it.
Iq Unlimited
-
Get it here With SolTV (Working with latest dedicated server (2.6.1))
http://rrhp.info/index.php?id=projects&a=dl&f=esa2
Then open vsrx.txt in data folder and add this:
BETA 2.6.0
BETA 2.6.1
2.6.1
Happy Using :)
-
Where do I add:
BETA 2.6.0
BETA 2.6.1
2.6.1
in the vsrx.txt?
-
Yeah i attached file, replace it or copy and paste.
versions supporting REFRESHX, should not be modified
BETA 2.5.1
BETA 2.6.0
BETA 2.6.1
2.6.1
-
where can i dl this
-
Hello,
you can download the latest version of ESA from rainrider's website: ESA211.rar (http://rrhp.info/site/index.php?id=projects&a=dl&f=esa2) and Source (http://rrhp.info/site/index.php?id=projects&a=dl&f=esa2&src=1).
Enjoy!
-
is there a good site dedicated to ESA and learning scripts ETC.? coz i might just get into this ESA bizo :)
-
Here's a forum-attached version of ESA2 (and source) since it seems to be very hard to find
-
noone's interested in esa or arssee after server side scripting core release :(
war is over. we're doomed.
-
Well someone made a thread asking for it and given the thousands of views that this thread has, apparently there is still some interest in it ;)
-
@rainrider: time to start writing pascal then ;)
-
also @ rainrider I use ESA and ARSSE still and I'd love to see new updates of both.
-
Please put up a new link the one u have is broken. and the others is the old version... theres no soltv -_-,
-
Please put up a new link the one u have is broken. and the others is the old version... theres no soltv -_-,
SolTV is not working because ASE believes that it's not supported in the current server version; which it is.
Read this (http://forums.soldat.pl/index.php?topic=4334.msg198106#msg198106) and add the latest server version to that file.
-
I get access violation error after I did that, and clicked the soltv button ;[
-
I added
versions supporting REFRESHX, should not be modified
BETA 2.5.1
BETA 2.6.0
BETA 2.6.1
2.6.1
But it's still not working.
-
I added
versions supporting REFRESHX, should not be modified
BETA 2.5.1
BETA 2.6.0
BETA 2.6.1
2.6.1
But it's still not working.
You have to add the version of the server you are using; probably 2.6.3
-
You have to add BETA 2.6.3
-
I doubt any, or many, servers are using BETA 2.6.3 anymore, but you should put both just to be sure.
BETA 2.6.3
2.6.3
-
ok good i works but one problem. dont know if its a bug or not but the esa is not refreshing like arsse does. like when someone joins it wont show only the ones that where in it. plus when the map change and ur using soltv the map background dosnt change at wich result in having to turn it off and turinging back on. goes for the name to. so can u at least update it or give me one that works perfeclty plz. oh and nice work ur the best one out there ;p
-
Both Links are dead.
-
Its great! But...
None of the commands are working on my server. Can someone tell me what u need to put on the server? The whole data or what?
EDIT: Solved the problem now, its just AWESOME!
-
OFFICIAL ESA2 DOWNLOAD LINK (rainriders website)
http://rrhp.info/site/index.php?id=projects&a=dl&f=esa2
here is the ESA2 site: http://rrhp.info/site/index.php?id=projects&f=esa2
-
how do i get the Sol TV?
-
Can you read? Try scrolling up a bit.
Oh crap, new page. Look on the previous page, it's all there.
-
I love it, but the dl link isnt working
-
Here:
-
SolTV not working with 2.6.3?
-
SolTV hasnt worked in a loooooooooooong time as far as I know.
-
Wow you guys. Didn't even bother to read the previous page of this topic, eh?
Just add 2.6.3 to the end of vsrx.txt.
-
Hey guys, I've asked my friend how to fix this, but he doesnt know >.>
Any help? Thanks :D
http://img89.imageshack.us/my.php?image=newbitmapimagezk8.png
Btw, sorry for bumping this topic xD
-
Hey guys, I've asked my friend how to fix this, but he doesnt know >.>
Any help? Thanks :D
http://img89.imageshack.us/my.php?image=newbitmapimagezk8.png
Btw, sorry for bumping this topic xD
Umm, its an intern bug of the application...
I think it occoures when operating with floating point varibles, or pointers. Now, a NULL pointer (not assigned) wants to get a value it should not get when not assigned... . The NULL of the pointer would be 00000000 so exact the address you get as an error, but this is system memory and not accessible by any other programm so you get an access violation...
Ok, thats my theory...
LK
-
Sorry to bump this old thread, but the link is down and I'm really interested in this project. Could someone reupload this please?
-
I think this project is already dead too. I doubt it supports 1.5.0 soldat version or rather the dedicated server for it.
EDIT: It seems it supprots the latest scriptcore. :)