Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » BRenBot CMSG paging isn't working
Re: BRenBot CMSG paging isn't working [message #470856 is a reply to message #470847] Fri, 06 July 2012 15:08 Go to previous messageGo to previous message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma:
General (3 Stars)
The regex is fine.

		# Record the version of the server
		if ( $line =~ /^The Version of the server is (.+)/ || $line =~ /^The version of (bhs|tt).dll on this machine is (.+)/i )
			{ $brconfig::serverBhsVersion = $1; }


but on this
$line =~ /^The version of (bhs|tt).dll on this machine is (.+)/i


your setting "serverBhsVersion" to "bhs" or "tt" not script version.

(bhs|tt) is $1

need to use $2 or fix the regex.

		# Record the version of the server
		if ( $line =~ /^The Version of the server is (.+)/ || $line =~ /^The version of bhs.dll|tt.dll on this machine is (.+)/i )
			{ $brconfig::serverBhsVersion = $1; }


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

[Updated on: Fri, 06 July 2012 15:25]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: BRenBot GSA broadcasting issue
Next Topic: Translation_Overrides
Goto Forum:
  


Current Time: Fri Jan 10 03:43:06 MST 2025

Total time taken to generate the page: 0.00707 seconds