I noticed also that there is a file helpSettings.dat in the spads folder. At first I thought it was just a data file but then I opened it and it has all the documentation obviously.
It is a data file, just in a human readable format. This data file is used by SPADS to generate answers to !help commands, and to generate the HTML help if launched with "--doc" parameter (much more readable than the .dat file).
Pithikos wrote:
So just wanted to suggest that you add a README.txt so it's easier for people to know where to look for help
I was wondering about something. Is it possible to host multiple battles at the same time under the same process? So running "spads.pl" would open 2 or more battles instead of one so to speak(with different mods).
I was wondering about something. Is it possible to host multiple battles at the same time under the same process? So running "spads.pl" would open 2 or more battles instead of one so to speak(with different mods).
No, you can't host multiple battles at the same time with only one SPADS process. However, you can launch SPADS several times from the same installation directory, so you don't need to install it several times just to host multiple battles.
$ ./spads.pl /home/spads/spads/etc/spads.conf NOTICE - [SPADS] Initializing SPADS LogOutput initialized. Spring 0.82.7.1 (Headless Unitsync) Build date/time: Jun 9 2011 01:13:18 Available log subsystems: VFS-detail, VFS, ArchiveScanner, unitsync Enabled log subsystems: unitsync Enable or disable log subsystems using the LogSubsystems configuration key or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated). Use "none" to disable the default log subsystems. Using read-write data directory: /home/spads/.spring/ Using read-only data directory: /usr/local/share/games/spring/ Scanning: /usr/local/share/games/spring/base Scanning: /home/spads/.spring/maps Scanning: /home/spads/.spring/mods [unitsync] loaded, 0.82.7.1 (Headless Unitsync) Using read-write data directory: /home/spads/.spring/ Using read-only data directory: /usr/local/share/games/spring/ Scanning: /usr/local/share/games/spring/base Scanning: /home/spads/.spring/maps Scanning: /home/spads/.spring/mods [unitsync] initialized, 0.82.7.1 (Headless Unitsync) [unitsync] joining [unitsync] removing all archives [unitsync] get map info: DeltaSiegeDry [unitsync] startpos: 863, 803 [unitsync] startpos: 9544, 755 [unitsync] startpos: 455, 4760 [unitsync] startpos: 9856, 4700 [unitsync] startpos: 683, 2062 [unitsync] startpos: 9420, 2074 [unitsync] startpos: 515, 3441 [unitsync] startpos: 9850, 3000 [unitsync] startpos: 2530, 4680 [unitsync] startpos: 7925, 4512 error = 2, MapOptions.lua, error = 2, maphelper/mapinfo.lua, [string "maphelper/mapinfo.lua"]:69: DeltaSiegeDry: missing file
[unitsync] error: GetMapOptionCount: luaParser.Execute() failed: error = 2, maphelper/mapinfo.lua, [string "maphelper/mapinfo.lua"]:69: DeltaSiegeDry: missing file [unitsync] removing all archives [unitsync] deinitialized WARNING - [SPADS] The lobby account currently used by SPADS is not tagged as bot. It is recommended to ask a lobby administrator for bot flag on accounts used by SPADS If you find any errors, report them to mantis or the forums.
LogOutput initialized. Spring 0.82.7.1 (Headless) Build date/time: Jun 9 2011 01:38:50 Available log subsystems: VFS-detail, VFS, ArchiveScanner, Enabled log subsystems: Enable or disable log subsystems using the LogSubsystems configuration key or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated). Use "none" to disable the default log subsystems. Using read-write data directory: /home/spads/.spring/ Using read-only data directory: /usr/local/share/games/spring/ Scanning: /usr/local/share/games/spring/base Scanning: /home/spads/.spring/maps Scanning: /home/spads/.spring/mods Loading script from file: /home/spads/spads/var/startscript.txt Starting server... Binding UDP socket to IP (v6) :: Port 8452 [UDPListener] succesfully bound socket on port 8452 Connecting to autohost on port 8454 Server started on port 8452 No clients connected, shutting down server
I have the server and start listening, all the defaults. I tested without firwall (iptables is clean) any client can connect to this, why?
french: (original texte) J'ai bien le serveur d├®marrer et en ├®coute ,toute les valeur par d├®fauts. j'ai tester sans firwall (iptables is clean) aucun client n'arrive a ce connecter , pourquoi ?
HostIP=xxx.xxx.xxx.xxx; // (optional) which IP to host on. omit or use an empty value to host on any local IP.
// == IP Support == // IP properties accept: // - IP v4 addresses like 127.0.0.1 or 123.123.123.123 // - IP v6 addresses like :: or fe80::1 // - NO host-names
The type of socket is chosen according to "HostIP" startscript setting, but most servers have both LAN and WAN interfaces, and must open sockets on both interfaces so that both Internet and LAN players can connect. So the "HostIP" setting must be omitted, and in this case, it seems Spring chooses to use IPv6 if available.
HostIP=xxx.xxx.xxx.xxx; // (optional) which IP to host on. omit or use an empty value to host on any local IP.
// == IP Support == // IP properties accept: // - IP v4 addresses like 127.0.0.1 or 123.123.123.123 // - IP v6 addresses like :: or fe80::1 // - NO host-names
The type of socket is chosen according to "HostIP" startscript setting, but most servers have both LAN and WAN interfaces, and must open sockets on both interfaces so that both Internet and LAN players can connect. So the "HostIP" setting must be omitted, and in this case, it seems Spring chooses to use IPv6 if available.
Thank you for your response, may or must I bring this change (file, syntax), the server is a linux server debian squeez Thank you in advance
snipe: the "HostIP" setting is defined in the startscript, which is a file generated by the autohost each time a new game starts.
I was just explaining that there is no easy way to force spring-dedicated to use IPv4, because if we provide the "HostIP" setting in the startscript then spring-dedicated won't listen on all interfaces.
if i am not mistaken, using "0.0.0.0" (INADDR_ANY) should have the desired effect. The equivalent for IPv6 is "::". These are called the any-address, and allow incoming connections through all available external IPs (of the same IP protocol version). Please report back if you tested and this does not work.
If it is true, i will include this info in the documentation you pointed too.
if i am not mistaken, using "0.0.0.0" (INADDR_ANY) should have the desired effect. The equivalent for IPv6 is "::". These are called the any-address, and allow incoming connections through all available external IPs (of the same IP protocol version). Please report back if you tested and this does not work.
If it is true, i will include this info in the documentation you pointed too.
I may I want to try your solution. May I do it how? In the file spads.conf ?
bibim: I understood that the problem seems to come from the communication between these two interfaces.
fr: mai je je veux bien essayer ta solution. mai je procède comment ? Dans le fichier spads.conf
bibim j'ai bien compris que le souci semble venir de là communication entre ces deux interfaces
LogOutput initialized. Spring 0.82.7.1 (Headless Unitsync) Build date/time: Jun 9 2011 01:13:18 Available log subsystems: VFS-detail, VFS, ArchiveScanner, unitsync Enabled log subsystems: unitsync Enable or disable log subsystems using the LogSubsystems configuration key or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated). Use "none" to disable the default log subsystems. Using read-write data directory: /home/spads/.spring/ Using read-only data directory: /usr/local/share/games/spring/ Scanning: /usr/local/share/games/spring/base Scanning: /home/spads/.spring/maps Scanning: /home/spads/.spring/mods [unitsync] loaded, 0.82.7.1 (Headless Unitsync) Using read-write data directory: /home/spads/.spring/ Using read-only data directory: /usr/local/share/games/spring/ Scanning: /usr/local/share/games/spring/base Scanning: /home/spads/.spring/maps Scanning: /home/spads/.spring/mods [unitsync] initialized, 0.82.7.1 (Headless Unitsync) [unitsync] joining [unitsync] removing all archives [unitsync] deinitialized WARNING - [SPADS] The lobby account currently used by SPADS is not tagged as bot. It is recommended to ask a lobby administrator for bot flag on accounts used by SPADS If you find any errors, report them to mantis or the forums.
LogOutput initialized. Spring 0.82.7.1 (Headless) Build date/time: Jun 9 2011 01:38:50 Available log subsystems: VFS-detail, VFS, ArchiveScanner, Enabled log subsystems: Enable or disable log subsystems using the LogSubsystems configuration key or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated). Use "none" to disable the default log subsystems. Using read-write data directory: /home/spads/.spring/ Using read-only data directory: /usr/local/share/games/spring/ Scanning: /usr/local/share/games/spring/base Scanning: /home/spads/.spring/maps Scanning: /home/spads/.spring/mods Loading script from file: /home/spads/spads/var/startscript.txt Starting server... Binding UDP socket to IP (v6) :: Port 8452 [UDPListener] succesfully bound socket on port 8452 Connecting to autohost on port 8454 Server started on port 8452 No clients connected, shutting down server If you find any errors, report them to mantis or the forums.
spads.conf
Code:
# Local network configuration localLanIp: IP v6 fe80::1 IP v4 127.0.0.1 autoHostPort:8454
or
Code:
# Local network configuration localLanIp: 127.0.0.1 autoHostPort:8454
you want to say, you tested with that, and were not able to connect through any of the interfaces of the machine?
so the result is negative. May I only eth0 and lo? call of duty word at this ware technically had the player connected. Nexuiz is not a problem.
we do not see what's going on when it connects sure the interface (server) there is a parameter that could be put in the spads.conf to better see what it does? (ex: server -verbose) ?
fr oui le resulta est negatif. mai j'ai seulment eth0 et lo ? call of duty word at ware peuve les joueur ce connecter. nexiuz ne pose pas de probleme.
on ne vois pas ce qu'il ce passe quand il ce connecte sure les interface (serveur) il y a un paramètre que l'on pourrait mettre dans le spads.conf pour mieux voir ce qu'il fait ?
hehe :D your french seems to be as buggy as your english :D
the connecting parts is purely within spring, not SPADS, and there is no -verbose switch there. even if, it could not log connection attempts at interfaces/IPs it has not a socket opened for at.
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum