| Home » Renegade Discussions » Mod Forum » Veteran Plugin.  
 (  ) 1 Vote 
	| 
		
			| Re: Veteran Plugin. [message #335007 is a reply to message #330148] | Thu, 12 June 2008 19:16   |  
			| 
				
				
					|  HeavyX101- Left Messages: 633
 Registered: April 2008
 Location: WindowsJail=ZipFolder
 
	Karma: 
 | Colonel |  |  |  
	| | EA-DamageEverything wrote on Sun, 11 May 2008 22:04 |  | error C2653: 'reb_vet_System' : is not a class or namespace name	c:\ExScripts\SSGM Source\gmscripts.cpp	215
 
 = paste the whole script into the gmmain.cpp and the class into gmmain.h, this could/should help. I do it this way and everything works.
 --------
 error C2601: 'GetPoints' : local function definitions are illegal	c:\ExScripts\SSGM Source\gmscripts.cpp
 
 = Get_Points would be a valid scripts command.
 
 Over all, the whole code should be placed in one file. You cannot split Reborns' main code because the gmmain.cpp has zero access to the gmscripts.cpp if I am interpreting the include-Syntax right. In the other way, the gmscripts can read gmmain, gmcrate etc.
 
 I probably fail with this post, but I do think it goes in the right direction.
 
 | 
 Ok, ive copied and pasted the whole script into the gmmain.cpp and class into gmmain.h but i got 45 errors/warnings
 Here they are
 
  HERE!!!! ------ Build started: Project: SSGM, Configuration: Debug Win32 ------Compiling...
 gmmain.cpp
 .\gmmain.cpp(1466) : error C2220: warning treated as error - no 'object' file generated
 .\gmmain.cpp(1466) : warning C4018: '<' : signed/unsigned mismatch
 .\gmmain.cpp(1525) : warning C4018: '<' : signed/unsigned mismatch
 .\gmmain.cpp(1538) : warning C4018: '<' : signed/unsigned mismatch
 .\gmmain.cpp(1735) : warning C4805: '==' : unsafe mix of type ''unknown-type'' and type 'bool' in operation
 .\gmmain.cpp(1735) : error C3861: 'IsLowClassVehicle': identifier not found
 .\gmmain.cpp(1746) : warning C4805: '==' : unsafe mix of type ''unknown-type'' and type 'bool' in operation
 .\gmmain.cpp(1746) : error C3861: 'IsLowClassVehicle': identifier not found
 .\gmmain.cpp(1759) : warning C4805: '==' : unsafe mix of type ''unknown-type'' and type 'bool' in operation
 .\gmmain.cpp(1759) : error C3861: 'IsLowClassVehicle': identifier not found
 .\gmmain.cpp(1772) : warning C4805: '==' : unsafe mix of type ''unknown-type'' and type 'bool' in operation
 .\gmmain.cpp(1772) : error C3861: 'IsLowClassVehicle': identifier not found
 .\gmmain.cpp(1777) : warning C4805: '==' : unsafe mix of type ''unknown-type'' and type 'bool' in operation
 .\gmmain.cpp(1777) : error C3861: 'IsLowClassVehicle': identifier not found
 .\gmmain.cpp(1782) : warning C4805: '==' : unsafe mix of type ''unknown-type'' and type 'bool' in operation
 .\gmmain.cpp(1782) : error C3861: 'IsLowClassVehicle': identifier not found
 .\gmmain.cpp(1842) : error C2084: function 'void Player_Join_Hook(int,const char *)' already has a body
 .\gmmain.cpp(689) : see previous definition of 'Player_Join_Hook'
 .\gmmain.cpp(1860) : error C2084: function 'void GameOver(void)' already has a body
 .\gmmain.cpp(839) : see previous definition of 'GameOver'
 .\gmmain.cpp(1899) : error C2653: 'vet_MDB_SSGM_Building' : is not a class or namespace name
 .\gmmain.cpp(1899) : error C2601: 'Killed' : local function definitions are illegal
 .\gmmain.cpp(1860): this line contains a '{' which has not yet been matched
 .\gmmain.cpp(1926) : error C2065: 'vet_MDB_SSGM_Building' : undeclared identifier
 .\gmmain.cpp(1926) : error C2514: 'ScriptRegistrant' : class has no constructors
 c:\westwood\renegadefds\server\scripts.h(480) : see declaration of 'ScriptRegistrant'
 .\gmmain.cpp(1929) : error C2063: 'Killed' : not a function
 .\gmmain.cpp(1929) : error C2601: 'vet_MDB_SSGM_Building::Killed' : local function definitions are illegal
 .\gmmain.cpp(1860): this line contains a '{' which has not yet been matched
 .\gmmain.cpp(1930) : error C2065: 'shooter' : undeclared identifier
 .\gmmain.cpp(1939) : error C2065: 'obj' : undeclared identifier
 .\gmmain.cpp(1939) : error C2228: left of '.c_str' must have class/struct/union
 .\gmmain.cpp(1942) : error C2228: left of '.c_str' must have class/struct/union
 .\gmmain.cpp(1942) : error C2228: left of '.c_str' must have class/struct/union
 .\gmmain.cpp(1948) : error C2065: 'IsAlive' : undeclared identifier
 .\gmmain.cpp(1951) : error C2227: left of '->Destroy_Base' must point to class/struct/union/generic type
 .\gmmain.cpp(1957) : error C2514: 'ScriptRegistrant' : class has no constructors
 c:\westwood\renegadefds\server\scripts.h(480) : see declaration of 'ScriptRegistrant'
 .\gmmain.cpp(1959) : error C2653: 'vet_MDB_SSGM_Player' : is not a class or namespace name
 .\gmmain.cpp(1963) : error C3861: 'GetPoints': identifier not found
 .\gmmain.cpp(1965) : error C2065: 'WasKilled' : undeclared identifier
 .\gmmain.cpp(2023) : error C2065: 'vet_MDB_SSGM_Player' : undeclared identifier
 .\gmmain.cpp(2023) : error C2514: 'ScriptRegistrant' : class has no constructors
 c:\westwood\renegadefds\server\scripts.h(480) : see declaration of 'ScriptRegistrant'
 .\gmmain.cpp(2025) : error C2653: 'vet_MDB_SSGM_Vehicle' : is not a class or namespace name
 .\gmmain.cpp(2025) : error C2084: function 'void Killed(GameObject *,GameObject *)' already has a body
 .\gmmain.cpp(1959) : see previous definition of 'Killed'
 .\gmmain.cpp(2028) : error C3861: 'GetPoints': identifier not found
 .\gmmain.cpp(2040) : error C2065: 'LastDamage' : undeclared identifier
 .\gmmain.cpp(2180) : error C2065: 'vet_MDB_SSGM_Vehicle' : undeclared identifier
 .\gmmain.cpp(2180) : error C2514: 'ScriptRegistrant' : class has no constructors
 c:\westwood\renegadefds\server\scripts.h(480) : see declaration of 'ScriptRegistrant'
 .\gmmain.cpp(2181) : fatal error C1075: end of file found before the left brace '{' at '.\gmmain.cpp(1860)' was matched
 Creating browse information file...
 Microsoft Browse Information Maintenance Utility Version 8.00.50727
 Copyright (C) Microsoft Corporation. All rights reserved.
 BSCMAKE: error BK1506 : cannot open file '.\tmp\scripts\debug\gmmain.sbr': No such file or directory
 Build log was saved at "file://c:\Westwood\RenegadeFDS\Server\tmp\scripts\debug\BuildLog.htm"
 SSGM - 36 error(s), 9 warning(s)
 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 
 
 This account is no longer being active.
 |  
	|  |  | 
	Goto Forum:
	|  |  | Veteran Plugin. By: cnc95fan  on Sat, 01 December 2007 04:42 |  
	|  |  | Re: Veteran Plugin. By: reborn  on Sat, 01 December 2007 04:55 |  
	|  |  | Re: Veteran Plugin. By: cnc95fan  on Sat, 01 December 2007 05:08 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: reborn  on Mon, 03 December 2007 09:55 |  
	|  |  | Re: Veteran Plugin. By: Hex  on Mon, 03 December 2007 13:30 |  
	|  |  | Re: Veteran Plugin. By: reborn  on Mon, 03 December 2007 16:13 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: jnz  on Mon, 03 December 2007 13:11 |  
	|  |  | Re: Veteran Plugin. By: cnc95fan  on Mon, 03 December 2007 13:55 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: jnz  on Mon, 03 December 2007 16:38 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: Hex  on Mon, 03 December 2007 17:47 |  
	|  |  | Re: Veteran Plugin. By: jnz  on Mon, 03 December 2007 18:30 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: jnz  on Tue, 04 December 2007 00:45 |  
	|  |  | Re: Veteran Plugin. By: Hex  on Tue, 04 December 2007 01:54 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: reborn  on Tue, 04 December 2007 14:31 |  
	|  |  | Re: Veteran Plugin. By: cnc95fan  on Tue, 04 December 2007 14:41 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: cnc95fan  on Tue, 04 December 2007 15:23 |  
	|  |  | Re: Veteran Plugin. By: Hex  on Tue, 04 December 2007 15:43 |  
	|  |  | Re: Veteran Plugin. By: reborn  on Tue, 04 December 2007 17:00 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: jnz  on Tue, 04 December 2007 16:32 |  
	|  |  | Re: Veteran Plugin. By: Ethenal  on Tue, 04 December 2007 16:48 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: jnz  on Wed, 02 January 2008 10:37 |  
	|  |  | Re: Veteran Plugin. By: reborn  on Thu, 03 January 2008 10:14 |  
	|  |  | Re: Veteran Plugin. By: jnz  on Thu, 03 January 2008 13:35 |  
	|  |  | Re: Veteran Plugin. By: reborn  on Fri, 04 January 2008 00:19 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: Darknes2  on Sat, 08 March 2008 08:39 |  
	|  |  | Re: Veteran Plugin. By: jnz  on Sat, 08 March 2008 09:05 |  
	|  |  | Re: Veteran Plugin. By: Darknes2  on Sat, 08 March 2008 09:22 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: Darknes2  on Sat, 08 March 2008 14:22 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: cAmpa  on Sat, 08 March 2008 15:25 |  
	|  |  | Re: Veteran Plugin. By: Darknes2  on Sat, 08 March 2008 21:25 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: ExEric3  on Sat, 10 May 2008 04:43 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: nopol10  on Thu, 12 June 2008 19:20 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: reborn  on Mon, 12 May 2008 02:38 |  
	|  |  | Re: Veteran Plugin. By: ExEric3  on Mon, 12 May 2008 03:15 |  
	|  |  | Re: Veteran Plugin. By: reborn  on Mon, 12 May 2008 16:20 |  
	|  |  | Re: Veteran Plugin. By: ExEric3  on Mon, 12 May 2008 21:51 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: ExEric3  on Sun, 18 May 2008 08:22 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: ExEric3  on Mon, 19 May 2008 22:43 |  
	|  |  | Re: Veteran Plugin. By: reborn  on Mon, 19 May 2008 05:50 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: reborn  on Sat, 24 May 2008 07:44 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: reborn  on Sat, 24 May 2008 11:15 |  
	|  |  | Re: Veteran Plugin. By: ExEric3  on Sat, 24 May 2008 07:49 |  
	|  |  | Re: Veteran Plugin. By: reborn  on Sun, 01 June 2008 04:06 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: reborn  on Sun, 01 June 2008 17:36 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: reborn  on Mon, 02 June 2008 23:37 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: reborn  on Fri, 13 June 2008 03:21 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: reborn  on Sun, 15 June 2008 02:53 |  
	|  |  | Re: Veteran Plugin. |  
	|  |  | Re: Veteran Plugin. By: reborn  on Sun, 15 June 2008 21:46 |  
 
 Current Time: Thu Oct 30 21:30:53 MST 2025 
 Total time taken to generate the page: 0.01991 seconds |