| Re: Tiberian Technologies releases TT-scripts 4.0 open beta 5! [message #469063 is a reply to message #468789] | 
			Mon, 11 June 2012 12:52    | 
		 
		
			
				
				
				
					
						  
						Gohax
						 Messages: 738 Registered: January 2009 
						
	Karma: 0
 
					 | 
					Colonel  | 
					 | 
		 
		 
	 | 
 
	
		I haven't noticed any lag caused by beta 5. You sure it's just not on your end?
		
		
 
  | Quote: |   ·OTBot·Gohax killed beerfull4 (Black Hand Sniper/Sniper Rifle Vs. Deadeye/Sniper Rifle). 
·OTBot·beerfull4: see that for sure a auto aim 
·OTBot·beerfull4: u know how i can tell 
·OTBot·Gohax: LOL 
·OTBot·Gohax: how can you tell? 
·OTBot·beerfull4: becuz your american and americans are like that 
·OTBot·Gohax: LOL! 
·OTBot·beerfull4 has left the game.
  |   
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	
		
		
			| Re: Tiberian Technologies releases TT-scripts 4.0 open beta 5! [message #469089 is a reply to message #468789] | 
			Mon, 11 June 2012 17:07    | 
		 
		
			
				
				
				  | 
					
						  
						Ethenal
						 Messages: 2532 Registered: January 2007  Location: US of A
						
	Karma: 0
 
					 | 
					General (2 Stars)  | 
					 
  | 
		 
		 
	 | 
 
	
		Toggle Spoiler[CODE]001[19:06:19] DESTROYED;OBJECT;1500000354;CnC_Beacon_NukeStrike;52;-89;0001[19:06:19]   CREATED;OBJECT;1500000354;CnC_Beacon_NukeStrike;52;-89;0;0;300;0;0;1500000331000 [19:06:22] _BEACONNuclear Strike Beacon has detonated000[19:06:22] _BEACONNuclear Strike Beacon has detonated000[19:06:22] _BEACONNuclear Strike Beacon has detonated000[19:06:23] _BEACONNuclear Strike Beacon has detonated000[19:06:23] _BEACONNuclear Strike Beacon has detonated000[19:06:23] _BEACONNuclear Strike Beacon has detonated000[19:06:23] _BEACONNuclear Strike Beacon has detonated000[19:06:23] _BEACONNuclear Strike Beacon has detonated000[19:06:23] _BEACONNuclear Strike Beacon has detonated000[19:06:23] _BEACONNuclear Strike Beacon has detonated000[19:06:25] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:26] _BEACONNuclear Strike Beacon has detonated000[19:06:27] _BEACONNuclear Strike Beacon has detonated000[19:06:27] _BEACONNuclear Strike Beacon has detonated000[19:06:27] _BEACONNuclear Strike Beacon has detonated000[19:06:27] _BEACONNuclear Strike Beacon has detonated000[19:06:27] _BEACONNuclear Strike Beacon has detonated000[19:06:28] _BEACONNuclear Strike Beacon has detonated000[19:06:28] _BEACONNuclear Strike Beacon has detonated000[19:06:28] _BEACONNuclear Strike Beacon has detonated000[19:06:28] _BEACONNuclear Strike Beacon has detonated000[19:06:28] _BEACONNuclear Strike Beacon has detonated000[19:06:28] _BEACONNuclear Strike Beacon has detonated000[19:06:29] _BEACONNuclear Strike Beacon has detonated000[19:06:29] _BEACONNuclear Strike Beacon has detonated000[19:06:29] _BEACONNuclear Strike Beacon has detonated000[19:06:29] _BEACONNuclear Strike Beacon has detonated000[19:06:30] _BEACONNuclear Strike Beacon has detonated000[19:06:30] _BEACONNuclear Strike Beacon has detonated000[19:06:30] _BEACONNuclear Strike Beacon has detonated000[19:06:30] _BEACONNuclear Strike Beacon has detonated000[19:06:30] _BEACONNuclear Strike Beacon has detonated000[19:06:30] _BEACONNuclear Strike Beacon has detonated000[19:06:30] _BEACONNuclear Strike Beacon has detonated000[19:06:30] _BEACONNuclear Strike Beacon has detonated000[19:06:30] _BEACONNuclear Strike Beacon has detonated000[19:06:30] _BEACONNuclear Strike Beacon has detonated000[19:06:30] _BEACONNuclear Strike Beacon has detonated000[19:06:30] _BEACONNuclear Strike Beacon has detonated000[19:06:30] _BEACONNuclear Strike Beacon has detonated000[19:06:30] _BEACONNuclear Strike Beacon has detonated000[19:06:30] _BEACONNuclear Strike Beacon has detonated000[19:06:31] _BEACONNuclear Strike Beacon has detonated000[19:06:31] _BEACONNuclear Strike Beacon has detonated 
   
 
I apologize for the lack of newlines, but I seem to have just discovered a bug - shooting my own nuke beacon causes that message to get sent seemingly every time I hit it. 
 
EDIT: Repairing it does the same thing. I am not sure if it does this on enemy beacons.
		
		
 
 | -TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29 |   Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade    
  |  
  
		[Updated on: Mon, 11 June 2012 17:11] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	
		
		
			| Re: Tiberian Technologies releases TT-scripts 4.0 open beta 5! [message #469116 is a reply to message #469080] | 
			Tue, 12 June 2012 01:30    | 
		 
		
			
				
				
				  | 
					
						  
						danpaul88
						 Messages: 5795 Registered: June 2004  Location: England
						
	Karma: 0
 
					 | 
					General (5 Stars)  | 
					 | 
		 
		 
	 | 
 
	
		| Animoskity wrote on Tue, 12 June 2012 00:22 |   BR is still missing [BEACON] messages..
  |  
  
 
 
| Ethenal wrote on Tue, 12 June 2012 01:07 |   000[19:06:22] _BEACONNuclear Strike Beacon has detonated
  |  
  
 
 
That would be because BRenBot expects the format to match SSGM 3.4.4 where there is a space between _BEACON and the actual message, for instance; 
 
000[19:06:22] _BEACON Nuclear Strike Beacon has detonated 
 
 
In SSGM 3.4.4 all SSGM messages had a space between the _PREFIX and the actual message and BRenBot will not be able to parse any messages which lack this space. One for the TT bug tracker I think   
		
		
 
  
		[Updated on: Tue, 12 June 2012 01:31] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	
		
		
			| Re: Tiberian Technologies releases TT-scripts 4.0 open beta 5! [message #469157 is a reply to message #468789] | 
			Tue, 12 June 2012 15:48    | 
		 
		
			
				
				
				  | 
					
						  
						Ethenal
						 Messages: 2532 Registered: January 2007  Location: US of A
						
	Karma: 0
 
					 | 
					General (2 Stars)  | 
					 
  | 
		 
		 
	 | 
 
	
		| Quote: |    Tue   17:33:59        join: Null (Null@ren-A73B9CB3.dhcp.leds.al.charter.com) clones (0) has joined #Null 
 Tue   17:33:59        (Null) BRenBot 1.53 reporting for duty! Type !help for a list of commands. 
 Tue   17:33:59        mode: (ChanServ) sets mode: +o Null 
 Tue   17:34:16        (@Null) Host: BRenBot 1.53 starting up. Type !help for a list of commands 
 Tue   17:34:20        (@Null) Host: [BR] Settings for C&C_Field.mix: Time Limit: 30, Mine Limit: 35, Vehicle Limit: 8.Donations are allowed after 10 minutes. 
 Tue   17:34:54        (@Null) Player Ethenal joined the game 
 Tue   17:34:59        (@Null) Host: [BR] Ethenal does not have any recommendations. 
 Tue   17:35:18        (@Null) [BEACON] Ethenal deployed a Ion Cannon Beacon 
 Tue   17:35:26        (@Null) Host: [BR] This server is running BRenBot 1.53 
 Tue   17:36:06        (@Null) [BEACON] Ion Cannon Beacon has detonated 
 Tue   17:36:06        (@Null) Ethenal killed theirself.
  |  
  
 
void SSGMGameLog::Log_Message(const char *message,const char *category)
{
	if (init)
	{
		char time[256];
		memset(time,0,sizeof(time));
		time[0] = 0x3F;
		GetTimeFormat(LOCALE_SYSTEM_DEFAULT,TIME_FORCE24HOURFORMAT,0,"'['HH':'mm':'ss'] '",time,0xFF);
		StringClass str = "000";
		str += time;
		str += category;
		str += " ";
		str += message;
		Send(str.Peek_Buffer());
	}
} 
 
All I changed was the "str += ''" to "str += ' '" (added a space). scripts.dll attached. 
 
EDIT: I confirmed that this space also affects _C4 messages, so those should work too if BR actually supports them (it didn't do anything on mine, but they're definitely there).
		
	- 
	
 
	Attachment: scripts.zip
	 
	(Size: 829.20KB, Downloaded 257 times)
 
 
		
 
 | -TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29 |   Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade    
  |  
  
		[Updated on: Tue, 12 June 2012 15:50] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 | 
	
		
		
			| Re: Tiberian Technologies releases TT-scripts 4.0 open beta 5! [message #469168 is a reply to message #469157] | 
			Tue, 12 June 2012 17:30    | 
		 
		
			
				
				
				  | 
					
						  
						Xpert
						 Messages: 1588 Registered: December 2005  Location: New York City
						
	Karma: 0
 
					 | 
					General (1 Star)  | 
					 | 
		 
		 
	 | 
 
	
		| Ethenal wrote on Tue, 12 June 2012 18:48 |  
 | Quote: |    Tue   17:33:59        join: Null (Null@ren-A73B9CB3.dhcp.leds.al.charter.com) clones (0) has joined #Null 
 Tue   17:33:59        (Null) BRenBot 1.53 reporting for duty! Type !help for a list of commands. 
 Tue   17:33:59        mode: (ChanServ) sets mode: +o Null 
 Tue   17:34:16        (@Null) Host: BRenBot 1.53 starting up. Type !help for a list of commands 
 Tue   17:34:20        (@Null) Host: [BR] Settings for C&C_Field.mix: Time Limit: 30, Mine Limit: 35, Vehicle Limit: 8.Donations are allowed after 10 minutes. 
 Tue   17:34:54        (@Null) Player Ethenal joined the game 
 Tue   17:34:59        (@Null) Host: [BR] Ethenal does not have any recommendations. 
 Tue   17:35:18        (@Null) [BEACON] Ethenal deployed a Ion Cannon Beacon 
 Tue   17:35:26        (@Null) Host: [BR] This server is running BRenBot 1.53 
 Tue   17:36:06        (@Null) [BEACON] Ion Cannon Beacon has detonated 
 Tue   17:36:06        (@Null) Ethenal killed theirself.
  |  
  
 
void SSGMGameLog::Log_Message(const char *message,const char *category)
{
	if (init)
	{
		char time[256];
		memset(time,0,sizeof(time));
		time[0] = 0x3F;
		GetTimeFormat(LOCALE_SYSTEM_DEFAULT,TIME_FORCE24HOURFORMAT,0,"'['HH':'mm':'ss'] '",time,0xFF);
		StringClass str = "000";
		str += time;
		str += category;
		str += " ";
		str += message;
		Send(str.Peek_Buffer());
	}
} 
 
All I changed was the "str += ''" to "str += ' '" (added a space). scripts.dll attached. 
 
EDIT: I confirmed that this space also affects _C4 messages, so those should work too if BR actually supports them (it didn't do anything on mine, but they're definitely there).
  |  
  
 
I just facepalmed and couldn't believe I completely forgot I can edit that piece, LOL!
		
		
 
   
 
Creator of NetGuard, an IRC network regulator. 
Developer of the CloudyServ 0.982-X project. 
Developer of the CloudyServ Ren-X bot. 
 
Part time streamer - https://twitch.tv/gg_wonder
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 |