*** I_Died_Once <I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has joined #bzflag | 00:06 | |
*** _I_Died_Once <_I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has quit IRC (Ping timeout: 260 seconds) | 00:10 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has quit IRC (Ping timeout: 240 seconds) | 01:04 | |
Okina | Perhaps someone has done something similar to this, a script to start multiple clients: https://pastebin.com/zcG8fNDY | 01:38 |
---|---|---|
Okina | I'm unsure of how to "activate" the next client, while the previous instance is "active". | 01:39 |
Okina | Any tips? | 01:39 |
Okina | This would optimize a lot of my work when requiring multiple "players" to be "present" for testing purposes. | 01:40 |
*** ukiki_ <ukiki_!ukiki@2600:3c03::f03c:91ff:fe70:30aa> has joined #bzflag | 02:19 | |
*** The_Noah <The_Noah!~The_Noah@47.185.206.30> has quit IRC (Read error: Connection reset by peer) | 02:20 | |
blast007 | depending on what exactly you need, there are also solo bots which you can add with the -solo option to the client (as in, 'bzflag -solo 10' to add 10 solo bots when you join the server) | 02:21 |
blast007 | what are you meaning by 'activate' though? talking about autopilot and/or spawning? | 02:22 |
*** The_Noah <The_Noah!~The_Noah@47.185.206.30> has joined #bzflag | 02:23 | |
Okina | Simply to cycle to start the next client. | 02:24 |
Okina | (Solo bots have been used previously, but not to satisfactory conditions.) | 02:25 |
Okina | (So start client, start client, start client..etc) | 02:26 |
Okina | vs now, which is "start client", pause, if client closes, "start client". | 02:27 |
*** ukiki <ukiki!ukiki@2600:3c03::f03c:91ff:fe70:30aa> has quit IRC (*.net *.split) | 02:27 | |
Okina | (Spawning and autopilot were handled in one patch by Teppic some time ago.) | 02:28 |
Okina | Mainly I'm doing some plug-in tests and it is excessively tedious to start multiple clients and solo bots may or may not provide "actual" behavior. | 02:28 |
Okina | Especially with flag/shot handling. | 02:28 |
*** The_Noah_ <The_Noah_!~The_Noah@47.185.206.30> has joined #bzflag | 02:53 | |
*** The_Noah <The_Noah!~The_Noah@47.185.206.30> has quit IRC (Ping timeout: 256 seconds) | 02:55 | |
blast007 | I imagine that exec() is going to wait for the external program to stop, so it'll never start the second client until you quit out of the first. | 03:16 |
blast007 | a shell script is probably a better option | 03:16 |
blast007 | there you could background the process by adding & to the end of the line | 03:17 |
blast007 | I *think* that would make it continue on with the script | 03:17 |
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has quit IRC (Read error: Connection reset by peer) | 03:20 | |
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag | 03:20 | |
Okina | Thanks blast007, will be checking into it. | 03:21 |
*** Okina <Okina!~Keiki_Han@unaffiliated/zehra> has quit IRC (Quit: Quit) | 04:02 | |
*** ashvala_ <ashvala_!~quassel@c-73-122-221-143.hsd1.ga.comcast.net> has joined #bzflag | 04:46 | |
*** ashvala <ashvala!~AdminUser@unaffiliated/ashvala> has quit IRC (Read error: Connection reset by peer) | 04:47 | |
*** ashvala_ <ashvala_!~quassel@c-73-122-221-143.hsd1.ga.comcast.net> has quit IRC (Client Quit) | 04:47 | |
*** ashvala <ashvala!~quassel@c-73-122-221-143.hsd1.ga.comcast.net> has joined #bzflag | 04:48 | |
*** User49 <User49!~User49@unaffiliated/user49> has joined #bzflag | 05:54 | |
*** FieldSobers <FieldSobers!~User49@unaffiliated/user49> has quit IRC (Ping timeout: 240 seconds) | 05:56 | |
*** ashvala <ashvala!~quassel@unaffiliated/ashvala> has quit IRC (Ping timeout: 260 seconds) | 06:27 | |
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has quit IRC (Read error: Connection reset by peer) | 06:55 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has joined #bzflag | 10:48 | |
*** short_circuit <short_circuit!~spldart@bzflag/contributor/spldart> has quit IRC (Ping timeout: 244 seconds) | 13:20 | |
*** Sgeo <Sgeo!~Sgeo@ool-18b982ad.dyn.optonline.net> has joined #bzflag | 14:03 | |
*** _I_Died_Once <_I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has joined #bzflag | 14:35 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has quit IRC (Ping timeout: 260 seconds) | 14:38 | |
*** spldart <spldart!~spldart@bzflag/contributor/spldart> has joined #bzflag | 15:34 | |
*** ChanServ sets mode: +v spldart | 15:34 | |
*** tupone <tupone!~alfredo@gentoo/developer/tupone> has quit IRC (Quit: leaving) | 15:41 | |
*** tupone <tupone!~alfredo@gentoo/developer/tupone> has joined #bzflag | 15:46 | |
*** spldart <spldart!~spldart@bzflag/contributor/spldart> has quit IRC (Ping timeout: 260 seconds) | 15:50 | |
*** DTRemenak|RDP <DTRemenak|RDP!~DTRemenak@2605:e000:141f:c002:69aa:62a7:dd84:e7a5> has joined #bzflag | 17:47 | |
*** ChanServ sets mode: +v DTRemenak|RDP | 17:47 | |
*** DTRemenak <DTRemenak!~DTRemenak@about/essy/CrazyCoder/DTRemenak> has quit IRC (Ping timeout: 244 seconds) | 17:50 | |
*** DTRemenak|RDP is now known as DTRemenak | 17:50 | |
*** ashvala <ashvala!~quassel@c-73-122-221-143.hsd1.ga.comcast.net> has joined #bzflag | 18:05 | |
*** spldart <spldart!~spldart@bzflag/contributor/spldart> has joined #bzflag | 18:22 | |
*** ChanServ sets mode: +v spldart | 18:22 | |
*** FieldSobers <FieldSobers!~User49@unaffiliated/user49> has joined #bzflag | 18:27 | |
*** User49 <User49!~User49@unaffiliated/user49> has quit IRC (Ping timeout: 240 seconds) | 18:29 | |
*** spldart <spldart!~spldart@bzflag/contributor/spldart> has quit IRC (Ping timeout: 260 seconds) | 18:51 | |
*** Guest3404 <Guest3404!~spldart@2601:2c5:c680:87a0:3210:b3ff:fef0:93af> has joined #bzflag | 19:09 | |
*** Guest3404 <Guest3404!~spldart@2601:2c5:c680:87a0:3210:b3ff:fef0:93af> has quit IRC (Ping timeout: 260 seconds) | 19:16 | |
*** I_Died_Once <I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has joined #bzflag | 19:56 | |
*** _I_Died_Once <_I_Died_Once!~I_Died_On@unaffiliated/idiedonce/x-1828535> has quit IRC (Ping timeout: 240 seconds) | 19:59 | |
*** tupone <tupone!~alfredo@gentoo/developer/tupone> has quit IRC (Remote host closed the connection) | 20:45 | |
*** tupone <tupone!~alfredo@gentoo/developer/tupone> has joined #bzflag | 20:49 | |
*** spldart <spldart!~spldart@bzflag/contributor/spldart> has joined #bzflag | 21:27 | |
*** ChanServ sets mode: +v spldart | 21:27 | |
*** ashvala <ashvala!~quassel@unaffiliated/ashvala> has quit IRC (Ping timeout: 240 seconds) | 21:52 | |
*** ashvala <ashvala!~quassel@c-73-122-221-143.hsd1.ga.comcast.net> has joined #bzflag | 21:53 | |
*** Zehra <Zehra!~Keiki_Han@unaffiliated/zehra> has joined #bzflag | 23:13 |
Generated by irclog2html.py 2.17.3.dev0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!