Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Veteran Plugin.  () 1 Vote
Re: Veteran Plugin. [message #335370 is a reply to message #300286] Sun, 15 June 2008 02:53 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Me personally, I put it all in gmmain.cpp, and migrated the mdb_ and ssgm scripts I altered into there too.


Re: Veteran Plugin. [message #335482 is a reply to message #300286] Sun, 15 June 2008 17:46 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
What did i do worng 0_o

gmmain errors
1>gmmain.cpp
1>.\gmmain.cpp(697) : error C3861: 'VetAddPlayer': identifier not found
1>.\gmmain.cpp(845) : error C3861: 'VetClearPlayers': identifier not found
1>.\gmmain.cpp(848) : error C2086: 'char ObjectsType[10]' : redefinition
1>        .\gmmain.cpp(846) : see declaration of 'ObjectsType'
1>.\gmmain.cpp(848) : error C2086: 'char ObjectsType2[10]' : redefinition
1>        .\gmmain.cpp(846) : see declaration of 'ObjectsType2'
1>.\gmmain.cpp(848) : error C2086: 'char ObjectsFile[20]' : redefinition
1>        .\gmmain.cpp(846) : see declaration of 'ObjectsFile'
1>.\gmmain.cpp(2404) : warning C4018: '<' : signed/unsigned mismatch
1>.\gmmain.cpp(2463) : warning C4018: '<' : signed/unsigned mismatch
1>.\gmmain.cpp(2476) : warning C4018: '<' : signed/unsigned mismatch
1>.\gmmain.cpp(2485) : error C2365: 'VetAddPlayer' : redefinition; previous definition was 'formerly unknown identifier'
1>.\gmmain.cpp(2494) : error C2365: 'VetClearPlayers' : redefinition; previous definition was 'formerly unknown identifier'
1>.\gmmain.cpp(2499) : error C3861: 'VetAddPlayer': identifier not found
1>.\gmmain.cpp(2781) : warning C4018: '<' : signed/unsigned mismatch

1>SSGM - 8 error(s), 4 warning(s)


gmscripts errors
1>Compiling...
1>gmscripts.cpp
1>.\gmscripts.cpp(336) : error C3861: 'VetUpdate': identifier not found
1>.\gmscripts.cpp(336) : error C3861: 'GetPoints': identifier not found
1>.\gmscripts.cpp(1664) : error C3861: 'VetUpdate': identifier not found
1>SSGM - 3 error(s), 0 warning(s)


missing somthing in the h file for gmscripts ?


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

[Updated on: Sun, 15 June 2008 17:48]

Report message to a moderator

Re: Veteran Plugin. [message #335500 is a reply to message #300286] Sun, 15 June 2008 21:46 Go to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
You've not moved all the scripts that call those functions into the same .cpp file. I moved them all into gmmain.cpp.


Previous Topic: c++ simple commands
Next Topic: strings
Goto Forum:
  


Current Time: Sat May 04 22:03:15 MST 2024

Total time taken to generate the page: 0.01266 seconds