| scripts.dll 4.0 beta 3 server owners pre release [message #460587] | 
			Wed, 07 December 2011 07:39   | 
		 
		
			
				
				
				
					
						  
						StealthEye
						 Messages: 2518 Registered: May 2006  Location: The Netherlands
						
	Karma: 0
 
					 | 
					General (2 Stars)  | 
					  
  | 
		 
		 
	 | 
 
	
		We are planning to release beta3 tomorrow at 14:00 GMT. Like last time, servers running 4.0 beta2 are required to update to beta3, since beta2 and beta3 are incompatible. 
 
The changes that will have to be made are: 
- Install the new version. 
- Update anticheat.ini to include the always3.dat hash and two versions of mnatr_mct.w3d. 
- Port/recompile any modifications. Plugins are likely binary compatible with the new version, but recompilation is recommended to be sure. 
 
The beta3 files are available from the download page.
		
		
  BlackIntel admin/founder/coder 
Please visit http://www.blackintel.org/
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	
		
		
			| Re: scripts.dll 4.0 beta 3 server owners pre release [message #460613 is a reply to message #460587] | 
			Wed, 07 December 2011 21:45    | 
		 
		
			| 
				
	 | 
 
	
		For reference, here is a list of changes in 4.0b3: 
Fix various ghosting issues 
Add -map <mapname> command line option to automatically load a map in LAN mode on startup (good for easy testing) 
Fix various issues causing input configuration to become corrupted or stuffed up or go wrong. (e.g. "I lost all my key settings and nothing is working") 
Fix issue where you can shoot through vehicle logos 
Fix memory leak on gameover 
Add support for per-map settings in the CTF and crates plugins 
Fix DisableExtraWeapons option in SSGM 
Fix for a net-code issue that could happen if you have a large number of weapons 
Various updates that should help improve FPS a little bit 
Add support for loading an always3.dat 
Ship a TT always3.dat containing the English language versions of the Core Patch 2 sound effects (nuke/ion countdown) and a fixed w3d file for the airstrip MCT to fix issues with that object 
Make points distribution plugin not give points for objects that are neutral (i.e. not GDI or Nod) 
Workaround for problem someone was having with lots of rundll32 instances appearing when they used TT 
Fixed bug where vehicles could get money every frame when they ran over a crate when picking up crates with vehicles was disabled 
Fix driver-controlled anti-aliasing 
Fix so the launcher displays better errors if it cant contact the TT update server (and also allow you to enter the game anyway even without the update check if you want) 
Fix for some garbage pixels on the HUD 
		
		
  Jonathan Wilson aka Jonwil 
Creator and Lead Coder of the Custom scripts.dll 
Renegade Engine Guru 
Creator and Lead Coder of TT.DLL 
Official member of Tiberian Technologies 
		
 |  
	| 
		
	 | 
 
 
 | 
	
		
		
			| Re: scripts.dll 4.0 beta 3 server owners pre release [message #460615 is a reply to message #460587] | 
			Thu, 08 December 2011 06:26    | 
		 
		
			
				
				
				
					
						  
						iRANian
						 Messages: 4313 Registered: April 2011 
						
	Karma: 1
 
					 | 
					General (4 Stars)  | 
					 | 
		 
		 
	 | 
 
	
		Loading the game via the -map command has the same issue as Renegade skirmish mode (but not LAN has), after drawing a screen like the purchase screen or the screens for the "J" and "K" buttons, the game takes a few seconds to get you out of that screen during which the game hangs.
		
		
  Long time and well respected Renegade community member, programmer, modder and tester. 
 
Scripts 4.0 private beta tester since May 2011. 
 
My Renegade server plugins releases
		
 |  
	| 
		
	 | 
 
 
 | 
	
		
		
			| Re: scripts.dll 4.0 beta 3 server owners pre release [message #460616 is a reply to message #460587] | 
			Thu, 08 December 2011 07:04    | 
		 
		
			
				
				
				
					
						  
						StealthEye
						 Messages: 2518 Registered: May 2006  Location: The Netherlands
						
	Karma: 0
 
					 | 
					General (2 Stars)  | 
					  
  | 
		 
		 
	 | 
 
	
		We unfortunately had to make a last minute change to the beta3 code, so that all binaries that were distributed yesterday have to be updated. The new files are now available for download from the same location. The scripts.dll source code has also changed, but only for two files that are likely not modified by anyone. To update to the new release, do the following: 
 
- Copy the dll files from the new server owners release to your FDS directory and overwrite the previous beta3 files. 
- If you have a custom version of scripts.dll or any plugins, download the new source archive and copy scripts/AudibleSoundClass.h and scripts/WWAudioClass.h, and overwrite your copies unless you have changed them manually. 
- If you have a custom scripts.dll and have modified those files, you will have to apply the differences shown below manually. 
 
The changes are minor, but it is important if you want to apply a patch file later on. If you do not make these changes, you may be unable to patch future versions. 
 
We are sorry for the inconvenience. 
 
Tiberian Technologies download page 
 
Code differencesBasically, "SHADERS_API " was removed in several locations. See the diff below: diff --git a/scripts/AudibleSoundClass.h b/scripts/AudibleSoundClass.h
index 32b63d6..8bc8836 100644
--- a/scripts/AudibleSoundClass.h
+++ b/scripts/AudibleSoundClass.h
@@ -87,7 +87,7 @@ public:
   virtual bool Save (ChunkSaveClass& xSave);
   virtual bool Load (ChunkLoadClass& xLoad);
   virtual AudibleSoundClass*  As_AudibleSoundClass    ();
-  SHADERS_API virtual bool                On_Frame_Update         (uint32 timePast);
+  virtual bool                On_Frame_Update         (uint32 timePast);
   virtual void                Set_Position            (const Vector3& position);
   virtual Vector3             Get_Position            () const;
   virtual void                Set_Listener_Transform  (const Matrix3D& listenerTransform);
@@ -105,7 +105,7 @@ public:
   virtual SHADERS_API bool    Play                    (bool addToPlaylist);
   virtual bool                Pause                   ();
   virtual bool                Resume                  ();
-  SHADERS_API virtual bool                Stop                    (bool removeFromPlaylist);
+  virtual bool                Stop                    (bool removeFromPlaylist);
   virtual void                Seek                    (uint32 playPosition);
   virtual uint32              Get_State               () const;
   virtual void                Fade_Out                (uint32 fadeTime);
@@ -151,15 +151,15 @@ public:
   virtual void                Update_Fade             ();
   virtual SoundHandleClass*   Get_Miles_Handle        () const;
   virtual void                Set_Miles_Handle        (HSAMPLE milesHandle);
-  SHADERS_API virtual void                Free_Miles_Handle       ();
+  virtual void                Free_Miles_Handle       ();
   virtual void                Initialize_Miles_Handle ();
   virtual void                Allocate_Miles_Handle   ();
   virtual SoundBufferClass*   Get_Buffer              () const;
   virtual SoundBufferClass*   Peek_Buffer             () const;
   SHADERS_API virtual void                Set_Buffer              (SoundBufferClass* buffer);
   virtual void                Restart_Loop            ();
-  SHADERS_API virtual void                Update_Play_Position    ();
-  SHADERS_API virtual void                On_Loop_End             ();
+  virtual void                Update_Play_Position    ();
+  virtual void                On_Loop_End             ();
 
   bool Verify_Playability();
 
diff --git a/scripts/WWAudioClass.h b/scripts/WWAudioClass.h
index f7c9145..fd54c01 100644
--- a/scripts/WWAudioClass.h
+++ b/scripts/WWAudioClass.h
@@ -213,7 +213,7 @@ public:
 	void						Flush_Playlist (void);
 	void						Flush_Playlist (SOUND_PAGE page);
 	bool						Is_Sound_In_Playlist (AudibleSoundClass *sound_obj);
-	SHADERS_API bool					Acquire_Virtual_Channel (AudibleSoundClass *sound_obj, int channel_index);
+	bool					Acquire_Virtual_Channel (AudibleSoundClass *sound_obj, int channel_index);
 	void					Release_Virtual_Channel (AudibleSoundClass *sound_obj, int channel_index);
 	void					Set_Active_Sound_Page (SOUND_PAGE page);
 	SOUND_PAGE			Get_Active_Sound_Page (void)					{ m_CurrPage; } 
		
		
  BlackIntel admin/founder/coder 
Please visit http://www.blackintel.org/
		[Updated on: Thu, 08 December 2011 07:15] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 | 
	
		
		
			| Re: scripts.dll 4.0 beta 3 server owners pre release [message #460620 is a reply to message #460608] | 
			Thu, 08 December 2011 09:42    | 
		 
		
			
				
				
				  | 
					
						  
						NACHO-ARG
						 Messages: 399 Registered: October 2010 
						
	Karma: 0
 
					 | 
					Commander  | 
					 | 
		 
		 
	 | 
 
	
		| NACHO-ARG wrote on Wed, 07 December 2011 20:22 |    i installed beta 3 in a frend´s computer, it works fine but when you go to options/controls and get back it crashes badlly, i have to reboot the computer every time i get back from controls section, any ideas of what could be causing it?
  |  
  
 
hey ppl i need some feedback here, it keeps crashing, i think that could be caused due to the folder my documents been located in a diferent partition than where is the ren installation, i mean, ren is installed in partiton "C" and the ren folder created by TT got installed in my documents folder located in partiton "D", dont know if this is the sourse of the problem but if you can, give me some tips of how to fix it please. 
 
Also wtf? did you put nitro instead of disel in harv´s is fuel? ;p look this, the weels moves way faster than before. 
 
http://www.youtube.com/watch?v=n62ehgVxjOU 
 
 
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	
		
		
			| Re: scripts.dll 4.0 beta 3 server owners pre release [message #460622 is a reply to message #460620] | 
			Thu, 08 December 2011 10:45    | 
		 
		
			
				
				
				  | 
					
						  
						sla.ro(master)
						 Messages: 610 Registered: September 2010  Location: Romania
						
	Karma: 0
 
					 | 
					Colonel  | 
					 | 
		 
		 
	 | 
 
	
		NACHO-ARG, probably the calculation of speed and wheels rotation is different 
 
also i have Documents located in different locations and doesn't crash so thats not a problem.  
 
try Check video/sound drivers updates and windows updates.
		
		
  Creator of Mutant Co-Op 
Developer of LuaTT
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	
		
		
			| Re: scripts.dll 4.0 beta 3 server owners pre release [message #460752 is a reply to message #460615] | 
			Sun, 11 December 2011 13:26    | 
		 
		
			
				
				
				  | 
					
						
						saberhawk
						 Messages: 1068 Registered: January 2006  Location: ::1
						
	Karma: 0
 
					 | 
					General (1 Star)  | 
					 | 
		 
		 
	 | 
 
	
		| iRANian wrote on Thu, 08 December 2011 05:26 |   Loading the game via the -map command has the same issue as Renegade skirmish mode (but not LAN has), after drawing a screen like the purchase screen or the screens for the "J" and "K" buttons, the game takes a few seconds to get you out of that screen during which the game hangs.
  |  
  
 
That's because it is Skirmish mode, not LAN. I never said it was LAN in the commit messages, so I don't know where that came from.
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 |