Official Soldat Forums

Soldat Fans => Fan Apps => Topic started by: rainrider on August 24, 2006, 02:03:49 pm

Title: ESA v2.11
Post 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
Title: Re: ESA v2.01
Post by: zgrabarz on August 24, 2006, 03:01:56 pm
it's great BUT i whant somethink like this for LINUX =-> shell is waiting
Title: Re: ESA v2.01
Post by: Karaffka on August 24, 2006, 03:21:55 pm
:o :o :o :o :o :o :o :o :o :o :o
Kefear's ARSSE dethroned! Hail to teh new king!
Title: Re: ESA v2.01
Post by: freestyler on August 24, 2006, 05:16:57 pm
I'm using it and it works perfectly. gj
Title: Re: ESA v2.01
Post by: Frenchie on August 25, 2006, 01:58:55 am
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
Title: Re: ESA v2.01
Post by: MofoNofo on August 25, 2006, 05:58:37 am
Holy crap! Nice job  ;D
Title: Re: ESA v2.01
Post by: EnEsCe on August 25, 2006, 06:18:39 am
very nice, but it would be better if you were using REFRESHX ;)
Title: Re: ESA v2.01
Post by: khoacalacan on August 25, 2006, 10:25:37 am
Awesome! You deserve a cookie.
Title: Re: ESA v2.01
Post by: mar77a on August 25, 2006, 11:50:52 am
Very nice, you should make a console version, then port it to linux ;)
Title: Re: ESA v2.01
Post by: Se!kA on August 25, 2006, 08:46:20 pm
Yup it really ownz! IMO its best server admin. But lets check it!
Title: Re: ESA v2.01
Post by: Sotija on August 26, 2006, 01:02:24 am
Omg i didnt understand anything about this ;D
Title: Re: ESA v2.01
Post by: ManSoft|Warlord on August 26, 2006, 01:21:09 am
which language did you use?
Title: Re: ESA v2.01
Post by: FliesLikeABrick on August 26, 2006, 01:33:45 am
I'm pretty sure he wrote it in delphi, though I could be wrong (aka this is just barely more than a guess)
Title: Re: ESA v2.03
Post by: Leo on August 26, 2006, 10:27:55 am
Great tool! Hey rainrider, could you pay us a visit at #lrs ? I need your help in this :)
Title: Re: ESA v2.03
Post by: Iq Unlimited on August 26, 2006, 01:26:07 pm
jesus, its not the system itsself that surprized the hell outta me, its the freaking post!!!!!!



Iq Unlimited
Title: Re: ESA v2.04
Post by: Frenchie on August 26, 2006, 04:28:40 pm
I'm just wondering,
would a function that allows to run an external file be easy to implement?
Title: Re: ESA v2.04
Post by: Frenchie on August 26, 2006, 09:17:36 pm
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
Code: [Select]
$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)),)
Title: Re: ESA v2.04
Post by: rainrider on August 27, 2006, 02:17:07 am
Hm some bug with $message(). I'll fix it and add $run(progdir).

[edit]
k should work now.
Title: Re: ESA v2.05
Post by: Gold on August 27, 2006, 04:25:45 am
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
Title: Re: ESA v2.05
Post by: freestyler on August 27, 2006, 04:33:27 am
Code: [Select]
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),)
Title: Re: ESA v2.05
Post by: ManSoft|Warlord on August 27, 2006, 11:49:28 am
Quote
%gamemode%

These kind of variables seems very known to me xD
Title: Re: ESA v2.04
Post by: Frenchie on August 27, 2006, 08:18:26 pm
Hm some bug with $message(). I'll fix it and add $run(progdir).

[edit]
k should work now.

Sweet will try new version
Title: Re: ESA v2.06
Post by: rainrider on August 27, 2006, 08:18:50 pm
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).
Title: Re: ESA v2.06
Post by: Frenchie on August 27, 2006, 08:33:02 pm
****, 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
Title: Re: ESA v2.06
Post by: esko on August 28, 2006, 04:57:55 am
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
Title: Re: ESA v2.06
Post by: rainrider on August 28, 2006, 05:14:57 am
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 ...
Title: Re: ESA v2.06
Post by: GluLm on August 28, 2006, 09:00:41 am
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)
Title: Re: ESA v2.06
Post by: Leo on August 28, 2006, 09:36:51 am
Hmm... when I start it, it runs in the background only taking 50% CPU power... Must do ctrl-alt-delete to terminate the proccess.
Title: Re: ESA v2.06
Post by: MisterX on August 28, 2006, 01:06:29 pm
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 :-\
Title: Re: ESA v2.06
Post by: rainrider on August 28, 2006, 01:25:30 pm
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.
Title: Re: ESA v2.06
Post by: MisterX on August 28, 2006, 01:35:00 pm
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?
Title: Re: ESA v2.07
Post by: rainrider on August 28, 2006, 04:58:18 pm
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)
Title: Re: ESA v2.07
Post by: KentheGreat on August 29, 2006, 10:40:24 am
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.
Title: Re: ESA v2.07
Post by: rainrider on August 29, 2006, 11:38:38 am
That's not possible atm, in 2.08 it will be possible.
Title: Re: ESA v2.07
Post by: Mistercharles on August 29, 2006, 01:08:09 pm
I finally understand SolTV. All I have to say is, :o
Title: Re: ESA v2.07
Post by: moep on August 30, 2006, 05:37:00 am
What's about a sleep function? It could become quite handy for an unpause script.
Something like this:
Code: [Select]
$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()
Title: Re: ESA v2.07
Post by: rainrider on August 30, 2006, 09:07:48 am
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)
Title: Re: ESA v2.08
Post by: freestyler on August 30, 2006, 04:26:11 pm
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)
Title: Re: ESA v2.08
Post by: Mistercharles on August 30, 2006, 07:14:58 pm
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.
Title: Re: ESA v2.08
Post by: MisterX on August 31, 2006, 04:55:56 pm
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.
Title: Re: ESA v2.08
Post by: Mr Pink on August 31, 2006, 04:58:00 pm
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!
 ┬ 
Title: ESA v2.08
Post by: Thomas on September 01, 2006, 04:31:29 am
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++
Title: Re: ESA v2.08
Post by: rainrider on September 01, 2006, 07:00:59 am
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 ..
Title: Re: ESA v2.08b
Post by: Chakra on September 01, 2006, 09:48:17 am
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.
Title: Re: ESA v2.08b
Post by: KentheGreat on September 01, 2006, 10:52:03 am
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..

Code: [Select]
$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
Title: Re: ESA v2.08b
Post by: rainrider on September 01, 2006, 11:04:53 am
Try to remove quotation signs
Title: Re: ESA v2.08b
Post by: KentheGreat on September 01, 2006, 01:23:23 pm
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..

Code: [Select]
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..
Title: Re: ESA v2.08b
Post by: Mistercharles on September 01, 2006, 01:53:24 pm
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.
Title: Re: ESA v2.08b
Post by: rainrider on September 01, 2006, 02:15:51 pm
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)
Title: Re: ESA v2.08
Post by: MisterX on September 02, 2006, 08:54:31 am
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.
Title: Re: ESA v2.08b
Post by: BombSki on September 02, 2006, 10:11:10 am
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!
Title: Re: ESA v2.08b
Post by: hunterz on September 02, 2006, 11:21:00 am
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)
Title: Re: ESA v2.08b
Post by: rainrider on September 02, 2006, 01:36:55 pm
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.
Title: Re: ESA v2.08b
Post by: BombSki on September 02, 2006, 03:21:23 pm
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..
Title: Re: ESA v2.08b
Post by: rainrider on September 02, 2006, 03:41:24 pm
I havent that bug..
2.09 released
Title: Re: ESA v2.08b
Post by: MisterX on September 02, 2006, 04:25:23 pm
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..
Title: Re: ESA v2.09
Post by: MisterX on September 02, 2006, 07:06:35 pm
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..
Title: Re: ESA v2.09
Post by: Vv00t-SN on September 02, 2006, 08:12:25 pm
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.  :-*
Title: Re: ESA v2.09
Post by: Mistercharles on September 02, 2006, 09:32:15 pm
Oh well. Thanks for considering it.
Title: Re: ESA v2.09
Post by: Frenchie on September 03, 2006, 02:57:46 am
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.
Title: Re: ESA v2.09
Post by: EnEsCe on September 03, 2006, 03:12:55 am
Maybe a server side option to disable player positions will stop all this bickering...
Title: Re: ESA v2.09
Post by: MisterX on September 03, 2006, 09:05:25 am
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..
Title: Re: ESA v2.09
Post by: freestyler on September 03, 2006, 09:42:59 am
MisterX
When this 'is audience blabla' would be forgotten, all cheaters would stay with this version which is not popupping any crap.
Title: Re: ESA v2.09
Post by: Vv00t-SN on September 03, 2006, 09:51:01 am
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.
Title: Re: ESA v2.09
Post by: MisterX on September 03, 2006, 02:29:01 pm
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.
Title: Re: ESA v2.10
Post by: rainrider on September 04, 2006, 10:04:32 am
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
Title: Re: ESA v2.10
Post by: MisterX on September 04, 2006, 03:23:47 pm
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 ;) :)
Title: Re: ESA v2.10
Post by: rainrider on September 04, 2006, 11:09:39 pm
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.
Title: Re: ESA v2.10
Post by: HEX on September 07, 2006, 02:12:51 pm
I don't know why, but in my ESA, there is no "Sol TV" option o.O
Title: Re: ESA v2.10
Post by: freestyler on September 07, 2006, 03:15:28 pm
SolTV works only with server 2.5.1.
Title: Re: ESA v2.10
Post by: HEX on September 07, 2006, 07:19:02 pm
My server is 2.5.1.
Title: Re: ESA v2.10
Post by: rainrider on September 08, 2006, 12:12:46 am
Turn on refreshx in options.ini.
Or set mapslist.
Title: Re: ESA v2.10
Post by: HEX on September 08, 2006, 01:33:41 pm
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!
Title: Re: ESA v2.10
Post by: rainrider on September 08, 2006, 09:47:43 pm
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.
Title: Re: ESA v2.10
Post by: HEX on September 09, 2006, 09:15:56 am
You're right, if you make a second soldat, it will lag just like a spectator.
Title: Re: ESA v2.10
Post by: BattouKen on September 11, 2006, 06:13:02 am
[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!
Title: Re: ESA v2.10
Post by: Clawbug on September 11, 2006, 08:00:43 am
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. :)
Title: Re: ESA v2.10
Post by: ANdro!d on September 11, 2006, 08:07:48 am
Waht exactly is this ? Man 4 me seeing all those codes in my front, that looks chinese !!!
Title: Re: ESA v2.10
Post by: rainrider on September 11, 2006, 11:28:54 am
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.
Title: Re: ESA v2.10
Post by: Clawbug on September 11, 2006, 02:09:48 pm
Err? Fav servers already? Well, whatever. :P

Should be a list where to select server, then connect, like Soldat has. ;O
Title: Re: ESA v2.10
Post by: Frenchie on September 11, 2006, 03:44:00 pm
[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! 
Title: Re: ESA v2.10
Post by: BattouKen on September 12, 2006, 04:54:10 am
[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!
Title: Re: ESA v2.10
Post by: BombSki on September 12, 2006, 11:31:05 am
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...
Title: Re: ESA v2.10
Post by: Clawbug on September 12, 2006, 01:04:58 pm
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
Title: Re: ESA v2.10
Post by: rainrider on September 12, 2006, 05:28:25 pm
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?
Title: Re: ESA v2.10
Post by: BattouKen on September 13, 2006, 02:28:41 am
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
Title: Re: ESA v2.10
Post by: BombSki on September 13, 2006, 05:39:37 am
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 !
Title: Re: ESA v2.10
Post by: KentheGreat on September 13, 2006, 11:11:16 am
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
Title: Re: ESA v2.10
Post by: rainrider on September 13, 2006, 11:28:01 am
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
Title: Re: ESA v2.10
Post by: Clawbug on September 13, 2006, 01:17:11 pm
Well, replacing logical operators, removing $, and using IF-THEN-ELSE or IF(){} Would help alot. :P
Title: Re: ESA v2.10
Post by: Toumaz on September 13, 2006, 01:20:58 pm
... IF(){} Would help alot. :P
I second that.
Title: Re: ESA v2.10
Post by: Clawbug on September 13, 2006, 04:27:19 pm
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
Title: Re: ESA v2.10
Post by: rainrider on September 13, 2006, 05:35:22 pm
not possible atm, until ill be able to rewrite 90% of parsing system
Title: Re: ESA v2.10
Post by: Clawbug on September 14, 2006, 03:39:36 am
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. :)
Title: Re: ESA v2.11
Post by: ramirez on September 15, 2006, 03:41:50 am
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!
Title: Re: ESA v2.11
Post by: stick-assasin on September 15, 2006, 03:49:52 am
ure avatar kreaks me out ramirez
anywayz nice :D
Title: Re: ESA v2.11
Post by: Clawbug on September 15, 2006, 04:53:22 am
Lua whould definitely rock! For anyone who doesn't know about Lua: http://www.lua.org/ :)
Title: Re: ESA v2.11
Post by: rainrider on September 15, 2006, 09:15:17 am
2.11 released.

Lua sux. PHP better. But.. slower :|
Title: Re: ESA v2.11
Post by: BattouKen on September 15, 2006, 09:54:12 am
(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
Title: Re: ESA v2.11
Post by: Clawbug on September 15, 2006, 11:25:39 am
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.
Title: Re: ESA v2.11
Post by: BattouKen on September 15, 2006, 12:12:25 pm
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?

Code: [Select]
$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)
 ,)
Title: Re: ESA v2.11
Post by: Clawbug on September 15, 2006, 12:34:49 pm
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.
Title: Re: ESA v2.11
Post by: Liber Lupus on September 17, 2006, 02:52:51 pm
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.
Title: Re: ESA v2.11
Post by: deguix on September 18, 2006, 01:38:34 am
I have this code in my server:

Code: [Select]
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:
Code: [Select]
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?
Title: Re: ESA v2.11
Post by: esko on September 19, 2006, 02:40:25 am
Looking good, looking good.
Possible to add 'copy to clipboard' to nicknames and IPs?
Title: Re: ESA v2.11
Post by: deguix on September 19, 2006, 01:52:39 pm
Also, SolTV is not working when players are in the server. It gives "Invalid floating point operation." error.
Title: Re: ESA v2.11
Post by: Mr Pink on September 21, 2006, 02:11:57 am
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.
Title: Re: ESA v2.11
Post by: rainrider on September 21, 2006, 12:42:43 pm
It's in faq!1!~1one. You have to set mapslist. Server disadvantage.
Title: Re: ESA v2.11
Post by: Liber Lupus on September 21, 2006, 02:42:03 pm
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.
Title: Re: ESA v2.11
Post by: EnEsCe on September 21, 2006, 07:00:05 pm
Very professional, create buggy software then run away.
Title: Re: ESA v2.11
Post by: EnEsCe on September 22, 2006, 12:57:55 am
Good luck flippin burgers with that attitude.

EDIT: RainRider deleted his posts above.
Title: Re: ESA v2.11
Post by: deguix on September 22, 2006, 06:33:25 am
wth, already? omg. NOOOOooooo. =(
Title: Re: ESA v2.11
Post by: KeFear on September 22, 2006, 08:39:08 am
Take it easy rainrider ;)

Anyway.. bug-free software is just a dream.
Title: Re: ESA v2.11
Post by: esko on September 22, 2006, 04:21:34 pm
...it was soooo close.. :(
Title: Re: ESA v2.11
Post by: Jones on September 26, 2006, 11:44:01 am
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
Title: Re: ESA v2.11
Post by: Mr Pink on January 23, 2007, 08:03:14 pm
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
Title: Re: ESA v2.11
Post by: rainrider on January 24, 2007, 03:09:38 am
$if($isnotequal($strpos(%line%,hack),0),wuff wuff,hau hau) or something like that
Title: Re: ESA v2.11
Post by: toRch on January 24, 2007, 06:15:48 am
source link dead :(
Title: Re: ESA v2.11
Post by: rainrider on January 24, 2007, 07:28:47 am
http://rrhp.info/projects/esa2.rar
Title: Re: ESA v2.11
Post by: antonymous on February 04, 2007, 08:42:12 am
http://rrhp.info/stuff/src.esa2.rar

Nope, that one doesn't work either... :(
Title: Re: ESA v2.11
Post by: Tilosag on February 07, 2007, 12:06:06 pm
Please, rehost ESA 2.11 !!! Source and binary!
Title: Re: ESA v2.11
Post by: GluLm on February 07, 2007, 03:30:55 pm
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)
Title: Re: ESA v2.11
Post by: Tilosag on February 09, 2007, 01:57:15 pm
OH MY ****ING GOD!! SOLTV DONT WORK!

(http://www.silkroad.ovh.org/images/soltv.png)



http://www.silkroad.ovh.org/images/soltv.png
Title: Re: ESA v2.11
Post by: GluLm on February 09, 2007, 04:31:28 pm
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 ;)
Title: Re: ESA v2.11
Post by: rainrider on February 10, 2007, 07:07:28 am
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?
Title: Re: ESA v2.11
Post by: Toumaz on February 10, 2007, 07:16:08 am
add to esadata/vsrx.txt following line
2.5.3
and tell if it works or not

Yep, worked just fine with that addition. :)
Title: Re: ESA v2.11
Post by: GluLm on February 10, 2007, 01:27:29 pm
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).
Title: Re: ESA v2.11
Post by: Tilosag on February 13, 2007, 02:21:58 pm
It works! Thanks!
Title: Re: ESA v2.11
Post by: Mercury92 on February 24, 2007, 03:06:43 pm
Woooww thats cool SolTV  ;D
Title: Re: ESA v2.11
Post by: HaSuKrOnOs on March 10, 2007, 01:44:59 pm
any way to serve solTV like hltv of CS?
Title: Re: ESA v2.11
Post by: MinusKarmaGatherer on April 19, 2007, 02:53:03 am
Zeite Nicht Gefunden!
Title: Re: ESA v2.11
Post by: Silnikos on April 20, 2007, 08:27:00 am
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' :/
Title: Re: ESA v2.11
Post by: deguix on April 24, 2007, 07:19:47 pm
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....
Title: Re: ESA v2.11
Post by: Mercury92 on May 09, 2007, 01:53:32 pm
SolTv is not working with 2.6.0 :O
Title: Re: ESA v2.11
Post by: hunterz on May 23, 2007, 12:50:01 pm
Download link:
http://rrhp.info/index.php?id=projects&f=esa2

 ;)
Title: Re: ESA v2.11
Post by: haha on May 31, 2007, 06:43:25 am
errrrr wtf i dont get it i suck at english
Title: Re: ESA v2.11
Post by: Iq Unlimited on May 31, 2007, 07:45:27 am
yeah, could you not spam here? Its simpler to ask why you dont get it.


Iq Unlimited
Title: Re: ESA v2.11
Post by: Mercury92 on July 17, 2007, 12:47:17 pm
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 :)
Title: Re: ESA v2.11
Post by: Master Chief43 on July 17, 2007, 01:54:57 pm
Where do I add:
BETA 2.6.0
BETA 2.6.1
2.6.1
in the vsrx.txt?
Title: Re: ESA v2.11
Post by: Mercury92 on July 18, 2007, 03:08:40 am
Yeah i attached file, replace it or copy and paste.
Quote
versions supporting REFRESHX, should not be modified
BETA 2.5.1
BETA 2.6.0
BETA 2.6.1
2.6.1
Title: Re: ESA v2.11
Post by: CaptainHighpants on September 08, 2007, 06:26:29 pm
where can i dl this
Title: Re: ESA v2.11
Post by: GluLm on September 09, 2007, 01:51:47 pm
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!
Title: Re: ESA v2.11
Post by: eca jezza on September 09, 2007, 02:07:25 pm
is there a good site dedicated to ESA and learning scripts ETC.? coz i might just get into this ESA bizo :)
Title: Re: ESA v2.11
Post by: FliesLikeABrick on November 05, 2007, 04:41:54 pm
Here's a forum-attached version of ESA2 (and source) since it seems to be very hard to find
Title: Re: ESA v2.11
Post by: rainrider on November 05, 2007, 05:00:31 pm
noone's interested in esa or arssee after server side scripting core release :(
war is over. we're doomed.
Title: Re: ESA v2.11
Post by: FliesLikeABrick on November 05, 2007, 05:59:14 pm
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 ;)
Title: Re: ESA v2.11
Post by: BombSki on November 05, 2007, 06:03:43 pm
@rainrider: time to start writing pascal then ;)
Title: Re: ESA v2.11
Post by: Iq Unlimited on November 07, 2007, 11:43:13 am
also @ rainrider I use ESA and ARSSE still and I'd love to see new updates of both.
Title: Re: ESA v2.11
Post by: ass|reaper on November 16, 2007, 09:24:02 am
Please put up a new link the one u have is broken. and the others is the old version... theres no soltv -_-,
Title: Re: ESA v2.11
Post by: Toumaz on November 16, 2007, 09:47:21 am
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://www.soldatforums.com/index.php?topic=4334.msg198106#msg198106) and add the latest server version to that file.
Title: Re: ESA v2.11
Post by: Spacewing on November 16, 2007, 09:56:50 am
I get access violation error after I did that, and clicked the soltv button ;[
Title: Re: ESA v2.11
Post by: -Aaron- on November 24, 2007, 02:51:36 am
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.
Title: Re: ESA v2.11
Post by: chrisgbk on November 24, 2007, 02:57:02 am
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
Title: Re: ESA v2.11
Post by: Mercury92 on November 26, 2007, 08:43:37 am
You have to add BETA 2.6.3
Title: Re: ESA v2.11
Post by: -Vis- on November 26, 2007, 12:38:58 pm
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
Title: Re: ESA v2.11
Post by: ass|reaper on November 30, 2007, 11:03:12 pm
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
Title: Re: ESA v2.11
Post by: Centurion on December 04, 2007, 10:15:31 am
Both Links are dead.
Title: Re: ESA v2.11
Post by: Norbo on January 05, 2008, 01:26:22 pm
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!
Title: Re: ESA v2.11
Post by: Se!kA on January 05, 2008, 08:25:04 pm
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
Title: Re: ESA v2.11
Post by: Flacid Assassin on January 06, 2008, 07:53:46 pm
how do i get the Sol TV?
Title: Re: ESA v2.11
Post by: -Vis- on January 07, 2008, 01:07:09 am
Can you read? Try scrolling up a bit.

Oh crap, new page. Look on the previous page, it's all there.
Title: Re: ESA v2.11
Post by: Hershey on January 13, 2008, 06:58:47 pm
I love it, but the dl link isnt working
Title: Re: ESA v2.11
Post by: -Vis- on January 13, 2008, 10:15:21 pm
Here:
Title: Re: ESA v2.11
Post by: Laser Guy on March 17, 2008, 11:22:14 am
SolTV not working with 2.6.3?
Title: Re: ESA v2.11
Post by: Iq Unlimited on March 17, 2008, 12:19:41 pm
SolTV hasnt worked in a loooooooooooong time as far as I know.
Title: Re: ESA v2.11
Post by: -Vis- on March 17, 2008, 01:59:06 pm
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.
Title: Re: ESA v2.11
Post by: thebugger on November 02, 2008, 02:47:22 pm
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
Title: Re: ESA v2.11
Post by: LORD KILLA on October 11, 2009, 04:08:07 am
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
Title: Re: ESA v2.11
Post by: Temporary123 on July 16, 2010, 03:56:13 pm
Sorry to bump this old thread, but the link is down and I'm really interested in this project. Could someone reupload this please?
Title: Re: ESA v2.11
Post by: Furai on July 16, 2010, 04:15:00 pm
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. :)