Saiyan
28 Jun 2009, 15:03
Hey,
I just started playing Worms Armageddon with friends and thought about making a IRC echo bot which echo's the game live in an irc channel, chat/kills/deaths/winner/damage etc etc. However it doesn't seem possible because the replay file is locked while playing the game.
Now I found out that there are these other log (.txt) files in \User\Logs\ I could easely echo this with a PHP irc bot by reading the file and echo it, but it doesn't contain deaths/kills/damage/winner etc etc.
In a future update will these log files in \User\Logs\ contain the same log stuff from the export log? (http://worms2d.info/Replay_file#Export_Log) If not will it be considered adding? This would be nice so me or someone else can create a IRC echo bot and then watch a live match in a IRC channel!
Here's an example of a IRC echo from SA-MP (San Andreas Multiplayer):
(15:59:53) <+ILickTurtles> *** [JOKEr]Sprite killed Power_EST (Explosion; 100.00 health, 93.00 armour left)
(15:59:54) <+IKillTurtles> *** Power_EST killed [OcB]EXTASEX[3] (Explosion; 7.00 health left)
(15:59:55) <+ILoveTurtles> [40] godness: JENNA
(15:59:55) *+ILikeTurtles:+#lw.samp.echo* *** [JOKEr]iShine(24) to PsiXoStyle[RUS](46): wait
(15:59:56) <+IHateTurtles> [43] JACvegetariano94: Are there ***** in this game? YESSSS
(15:59:57) <+ILickTurtles> [70] [JOKEr]Sprite: ROFL
(16:00:00) <+IKillTurtles> [47] [OcB]EXTASEX[3]: pff
(16:00:02) <+ILoveTurtles> *** Disconnected died (Splat)
(16:00:03) *+ILikeTurtles:+#lw.samp.echo* *** Large cash increase: Kewin748[Q]( 37 )'s cash increased from $160500 to $200500 Medium Ammunation
(16:00:04) *+ILickTurtles:+#lw.samp.echo* [1000] LWBot to admins: cro_gun (id:13) joined (ip:193.198.221.176)
(16:00:04) <+IHateTurtles> [13] *** cro_gun has joined the game.
(16:00:05) <+IKillTurtles> [13] *** cro_gun has left the game. (Kicked/Banned)
(16:00:07) <+ILoveTurtles> [22] Power_EST: õhhhh
(16:00:07) <+ILikeTurtles> [29] *** JeNNa has left the game. (Timeout)
(16:00:07) <+IHateTurtles> [47] [OcB]EXTASEX[3]: lucky noob..
(16:00:10) <+ILickTurtles> *** [Qk]ToMeR[A_B] killed Danny333 (Helikill; 100.00 health left)
(16:00:17) *+ILoveTurtles:+#lw.samp.echo* [24] [JOKEr]iShine to .::JOK3R::. gang (4): go spritee
(16:00:17) <+IKillTurtles> *** [JOKEr]Sprite killed Scratchy (Sawnoff Shotgun; 100.00 health, 93.00 armour left)
(16:00:19) <+ILikeTurtles> *** [187]HABDEL killed BigMagnum (Helikill; 100.00 health left)
(16:00:23) <+IHateTurtles> [13] *** majestic has joined the game.
(16:00:23) *+ILickTurtles:+#lw.samp.echo* [1000] LWBot to admins: majestic (id:13) joined (ip:89.102.163.33)
(16:00:28) *+IKillTurtles:+#lw.samp.echo* [70] [JOKEr]Sprite to .::JOK3R::. gang (4): lol
(16:00:28) <+ILikeTurtles> [7] [Qk]ToMeR[A_B]: whi
(16:00:28) <+ILoveTurtles> *** Disconnected died (Splat)
(16:00:30) <+IHateTurtles> [7] [Qk]ToMeR[A_B]: who
(16:00:31) <+ILickTurtles> [40] godness: òé
(16:00:32) <+IKillTurtles> *** JackSparrow_ died (Splat)
(16:00:34) <+ILoveTurtles> [20] *** JeNNa has joined the game.
(16:00:34) *+ILikeTurtles:+#lw.samp.echo* [1000] LWBot to admins: JeNNa (id:20) joined (ip:79.176.104.238)
(16:00:34) *+IHateTurtles:+#lw.samp.echo* [20] *** JeNNa has logged in(Level: 1, Userid: 15344)
(16:00:35) <+ILickTurtles> [70] [JOKEr]Sprite: lol
(16:00:36) <+IKillTurtles> [40] godness: â'ðä
(16:00:37) <+ILoveTurtles> [13] *** majestic has left the game. (Left)
(16:00:41) *+ILikeTurtles:+#lw.samp.echo* [24] [JOKEr]iShine to .::JOK3R::. gang (4):
(16:00:42) <+IHateTurtles> [3] *** mc_mitzu has left the game. (Left)
(16:00:43) <+ILickTurtles> [20] JeNNa: ?
(16:00:45) *+ILoveTurtles:+#lw.samp.echo* [1000] LWBot to admins: moamn1 (id:13) joined (ip:217.132.21.11)
(16:00:45) <+IKillTurtles> [13] *** moamn1 has joined the game.
(16:00:45) <+ILikeTurtles> [26] OG_Kush: yes jacvegetariano you
(16:00:45) <+IHateTurtles> [18] Raffaele: jak dove sei?
(16:00:46) <+ILickTurtles> [7] [Qk]ToMeR[A_B]: îé îéùøàì ùìéèò? =D
(16:00:46) <+IKillTurtles> *** JACvegetariano94 died (Splat)
I just started playing Worms Armageddon with friends and thought about making a IRC echo bot which echo's the game live in an irc channel, chat/kills/deaths/winner/damage etc etc. However it doesn't seem possible because the replay file is locked while playing the game.
Now I found out that there are these other log (.txt) files in \User\Logs\ I could easely echo this with a PHP irc bot by reading the file and echo it, but it doesn't contain deaths/kills/damage/winner etc etc.
In a future update will these log files in \User\Logs\ contain the same log stuff from the export log? (http://worms2d.info/Replay_file#Export_Log) If not will it be considered adding? This would be nice so me or someone else can create a IRC echo bot and then watch a live match in a IRC channel!
Here's an example of a IRC echo from SA-MP (San Andreas Multiplayer):
(15:59:53) <+ILickTurtles> *** [JOKEr]Sprite killed Power_EST (Explosion; 100.00 health, 93.00 armour left)
(15:59:54) <+IKillTurtles> *** Power_EST killed [OcB]EXTASEX[3] (Explosion; 7.00 health left)
(15:59:55) <+ILoveTurtles> [40] godness: JENNA
(15:59:55) *+ILikeTurtles:+#lw.samp.echo* *** [JOKEr]iShine(24) to PsiXoStyle[RUS](46): wait
(15:59:56) <+IHateTurtles> [43] JACvegetariano94: Are there ***** in this game? YESSSS
(15:59:57) <+ILickTurtles> [70] [JOKEr]Sprite: ROFL
(16:00:00) <+IKillTurtles> [47] [OcB]EXTASEX[3]: pff
(16:00:02) <+ILoveTurtles> *** Disconnected died (Splat)
(16:00:03) *+ILikeTurtles:+#lw.samp.echo* *** Large cash increase: Kewin748[Q]( 37 )'s cash increased from $160500 to $200500 Medium Ammunation
(16:00:04) *+ILickTurtles:+#lw.samp.echo* [1000] LWBot to admins: cro_gun (id:13) joined (ip:193.198.221.176)
(16:00:04) <+IHateTurtles> [13] *** cro_gun has joined the game.
(16:00:05) <+IKillTurtles> [13] *** cro_gun has left the game. (Kicked/Banned)
(16:00:07) <+ILoveTurtles> [22] Power_EST: õhhhh
(16:00:07) <+ILikeTurtles> [29] *** JeNNa has left the game. (Timeout)
(16:00:07) <+IHateTurtles> [47] [OcB]EXTASEX[3]: lucky noob..
(16:00:10) <+ILickTurtles> *** [Qk]ToMeR[A_B] killed Danny333 (Helikill; 100.00 health left)
(16:00:17) *+ILoveTurtles:+#lw.samp.echo* [24] [JOKEr]iShine to .::JOK3R::. gang (4): go spritee
(16:00:17) <+IKillTurtles> *** [JOKEr]Sprite killed Scratchy (Sawnoff Shotgun; 100.00 health, 93.00 armour left)
(16:00:19) <+ILikeTurtles> *** [187]HABDEL killed BigMagnum (Helikill; 100.00 health left)
(16:00:23) <+IHateTurtles> [13] *** majestic has joined the game.
(16:00:23) *+ILickTurtles:+#lw.samp.echo* [1000] LWBot to admins: majestic (id:13) joined (ip:89.102.163.33)
(16:00:28) *+IKillTurtles:+#lw.samp.echo* [70] [JOKEr]Sprite to .::JOK3R::. gang (4): lol
(16:00:28) <+ILikeTurtles> [7] [Qk]ToMeR[A_B]: whi
(16:00:28) <+ILoveTurtles> *** Disconnected died (Splat)
(16:00:30) <+IHateTurtles> [7] [Qk]ToMeR[A_B]: who
(16:00:31) <+ILickTurtles> [40] godness: òé
(16:00:32) <+IKillTurtles> *** JackSparrow_ died (Splat)
(16:00:34) <+ILoveTurtles> [20] *** JeNNa has joined the game.
(16:00:34) *+ILikeTurtles:+#lw.samp.echo* [1000] LWBot to admins: JeNNa (id:20) joined (ip:79.176.104.238)
(16:00:34) *+IHateTurtles:+#lw.samp.echo* [20] *** JeNNa has logged in(Level: 1, Userid: 15344)
(16:00:35) <+ILickTurtles> [70] [JOKEr]Sprite: lol
(16:00:36) <+IKillTurtles> [40] godness: â'ðä
(16:00:37) <+ILoveTurtles> [13] *** majestic has left the game. (Left)
(16:00:41) *+ILikeTurtles:+#lw.samp.echo* [24] [JOKEr]iShine to .::JOK3R::. gang (4):
(16:00:42) <+IHateTurtles> [3] *** mc_mitzu has left the game. (Left)
(16:00:43) <+ILickTurtles> [20] JeNNa: ?
(16:00:45) *+ILoveTurtles:+#lw.samp.echo* [1000] LWBot to admins: moamn1 (id:13) joined (ip:217.132.21.11)
(16:00:45) <+IKillTurtles> [13] *** moamn1 has joined the game.
(16:00:45) <+ILikeTurtles> [26] OG_Kush: yes jacvegetariano you
(16:00:45) <+IHateTurtles> [18] Raffaele: jak dove sei?
(16:00:46) <+ILickTurtles> [7] [Qk]ToMeR[A_B]: îé îéùøàì ùìéèò? =D
(16:00:46) <+IKillTurtles> *** JACvegetariano94 died (Splat)