Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » Brenbot Plugin Error
Re: Brenbot Plugin Error [message #419148 is a reply to message #418329] Wed, 03 February 2010 11:42 Go to previous messageGo to previous message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma:
General (3 Stars)
yea i have a plugin to get the players serial from a ssgm plugin serial.dll. But the plugin tries to get this line #Serial hash response from player 1 -> 00000000000000000000aaaaaaaaaaaaaaaaaaaa. I don't understand what the symbols are at the end of the line are "s.+\s\-.\s.+\./" Could you explain what they mean or give me a Perl reference so i can find out what each character does.

		if ($line =~ m/^Serial\shash\sresponse\sfrom\splayer\s.+\s\-.\s.+\./) {
		$line =~ /^Serial\shash\sresponse\sfrom\splayer\s(.+)\s\-.\s(.+)\./;
		$spass = $1;
		$shash = $2;
	}
	else {
		$line =~ /^Serial\shash\sresponse\sfrom\s(.+)\s\-.\s(.+)\./;
		$spass = $1;
		$shash = $2;
	}


<hook event="rl_playerserial" regex="^Serial\shash\sresponse\sfrom\s" />




Edit: I cant use adas serial plugin because it will crash my fds because of the modifications that I want to keep.


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

[Updated on: Wed, 03 February 2010 11:45]

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
Previous Topic: Scripts 3.4.4 Problem
Next Topic: windows 7
Goto Forum:
  


Current Time: Thu Nov 28 06:13:34 MST 2024

Total time taken to generate the page: 0.01108 seconds