Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » BRenBot
Re: BRenBot [message #472353 is a reply to message #472314] Mon, 30 July 2012 03:21 Go to previous messageGo to previous message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma:
General (3 Stars)
the simple fix would be to add new chat msg output for ssgm 4.0 so its easy to determine what is what.
I wouldn't really worry about backwards compatibility other then 4.0 servers.

Not allowing players to have spaces in their names fixes most of the problems.
Then filtering out msg's from players to not send to renlog.

Having stricter regex matches like you said would help.

if ( $line =~ /^Initializing .+ Mode/ )
to
if ( $line =~ /^Initializing\s.+\sMode$/ )

Initializing LAN Mode
Initializing GameSpy Mode
Initializing Westwood Online Mode

like this would fix if a player name was "Initializing .+ Mode" but not if the player said "Initializing .+ Mode" while their name is "Initializing .+ Mode"

"Initializing REN Mode: Initializing v Mode" would trigger
"Initializing REN Mode: blah" wouldn't
"PlayerName: Initializing REN Mode" wouldn't

Just try to narrow down all the regex in renlog I guess.



http://s18.postimage.org/jc6qbn4k9/bricks3.png

[Updated on: Mon, 30 July 2012 04:36]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: AGT
Next Topic: Crash dump
Goto Forum:
  


Current Time: Tue Nov 05 07:48:33 MST 2024

Total time taken to generate the page: 0.00926 seconds