Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » GB
GB [message #267695] Thu, 21 June 2007 04:03 Go to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
i did what white dragon and reborn siad about converting the scripts he made into the new ssgb but im still alittle confessed but when i tryed to do it i got this


------ Rebuild All started: Project: Plugin, Configuration: Release Win32 ------
Deleting intermediate and output files for project 'Plugin', configuration 'Release|Win32'
Compiling...
cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler
scripts.cpp
scriptregistrar.cpp
scriptfactory.cpp
mmgr.cpp
engine_weap.cpp
engine_threading.cpp
engine_tdb.cpp
engine_string.cpp
engine_script.cpp
engine_pt.cpp
engine_player.cpp
engine_phys.cpp
engine_obj2.cpp
engine_obj.cpp
engine_net.cpp
engine_math.cpp
engine_io.cpp
engine_game.cpp
engine_dmg.cpp
engine_diagnostics.cpp
Compiling...
engine_def.cpp
engine_common.cpp
engine_bhs.cpp
dllmain.cpp
plugin.cpp
gmsettingsclass.cpp
gmmain.cpp
gmfunc.cpp
gmcrate.cpp
.\gmcrate.cpp(52) : error C2653: 'MDB_SSGM_Crate' : is not a class or namespace name
.\gmcrate.cpp(52) : error C2065: 'GameObject' : undeclared identifier
.\gmcrate.cpp(52) : error C2065: 'obj' : undeclared identifier
.\gmcrate.cpp(52) : error C2448: 'Created' : function-style initializer appears to be a function definition
.\gmcrate.cpp(71) : error C2653: 'MDB_SSGM_Crate' : is not a class or namespace name
.\gmcrate.cpp(71) : error C2062: type 'int' unexpected
.\gmcrate.cpp(71) : error C2143: syntax error : missing ';' before '{'
.\gmcrate.cpp(71) : error C2447: '{' : missing function header (old-style formal list?)
gmcommandclass.cpp
engine_gm.cpp
date.cpp
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://c:\Documents and Settings\Owner\Desktop\SSGM 2.0 WFDS\Plugin Example Source\Plugin Example Source\tmp\scripts\BuildLog.htm"
Plugin - 8 error(s), 1 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
==





and idk how to fix it also not this threat will now be for error messeges of this product im not oging to start another thread
Re: GB [message #267704 is a reply to message #267695] Thu, 21 June 2007 05:05 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
nvm that above what i did is whats already in plugins i edited source files whats not i added in there as same name as it should be i think thats what they said anyways i wokerd hours and hours on these but now im stuck wit errors i cant seem to fix

plugins

------ Rebuild All started: Project: Plugin, Configuration: Release Win32 ------
Deleting intermediate and output files for project 'Plugin', configuration 'Release|Win32'
Compiling...
cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler
scripts.cpp
scriptregistrar.cpp
scriptfactory.cpp
mmgr.cpp
engine_weap.cpp
engine_threading.cpp
engine_tdb.cpp
engine_string.cpp
engine_script.cpp
engine_pt.cpp
engine_player.cpp
engine_phys.cpp
engine_obj2.cpp
engine_obj.cpp
engine_net.cpp
engine_math.cpp
engine_io.cpp
engine_game.cpp
engine_dmg.cpp
engine_diagnostics.cpp
Compiling...
engine_def.cpp
engine_common.cpp
engine_bhs.cpp
dllmain.cpp
plugin.cpp
gmsettingsclass.cpp
gmmain.cpp
gmfunc.cpp
gmcrate.cpp
.\gmcrate.cpp(76) : error C2653: 'MDB_SSGM_Crate' : is not a class or namespace name
.\gmcrate.cpp(76) : error C2065: 'GameObject' : undeclared identifier
.\gmcrate.cpp(76) : error C2065: 'obj' : undeclared identifier
.\gmcrate.cpp(76) : error C2448: 'Created' : function-style initializer appears to be a function definition
.\gmcrate.cpp(95) : error C2653: 'MDB_SSGM_Crate' : is not a class or namespace name
.\gmcrate.cpp(95) : error C2062: type 'int' unexpected
.\gmcrate.cpp(95) : error C2143: syntax error : missing ';' before '{'
.\gmcrate.cpp(95) : error C2447: '{' : missing function header (old-style formal list?)
gmcommandclass.cpp
engine_gm.cpp
date.cpp
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://c:\Documents and Settings\Owner\Desktop\SSGM 2.0 WFDS\Plugin Example Source\Plugin Example Source\tmp\scripts\BuildLog.htm"
Plugin - 8 error(s), 1 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========






and heres the normal source

kak.cpp
jmgrp2.cpp
jfwzone.cpp
jfwws.cpp
jfwweap.cpp
jfwveh.cpp
jfwsnd.cpp
jfwscr.cpp
jfwpow.cpp
jfwpoke.cpp
jfwobj.cpp
jfwmisc.cpp
jfwhook.cpp
jfwgun.cpp
jfwgame.cpp
jfwdmg.cpp
jfwdef.cpp
jfwcust.cpp
Generating Code...
Compiling...
jfwcine.cpp
gap.cpp
engine_weap.cpp
engine_threading.cpp
engine_tdb.cpp
engine_string.cpp
engine_script.cpp
engine_pt.cpp
engine_player.cpp
engine_phys.cpp
engine_obj2.cpp
engine_obj.cpp
engine_net.cpp
engine_math.cpp
engine_io.cpp
engine_game.cpp
engine_dmg.cpp
engine_diagnostics.cpp
engine_def.cpp
engine_common.cpp
Generating Code...
Compiling...
engine_bhs.cpp
dllmain.cpp
dan.cpp
gmsettingsclass.cpp
gmscripts.cpp
gmmain.cpp
.\gmmain.cpp(669) : error C3861: 'int_stricmp': identifier not found
.\gmmain.cpp(675) : error C2664: 'stricmp' : cannot convert parameter 1 from 'const wchar_t *' to 'const char *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\gmmain.cpp(681) : error C2664: 'stricmp' : cannot convert parameter 1 from 'const wchar_t *' to 'const char *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\gmmain.cpp(687) : error C2664: 'stricmp' : cannot convert parameter 1 from 'const wchar_t *' to 'const char *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\gmmain.cpp(693) : error C2664: 'stricmp' : cannot convert parameter 1 from 'const wchar_t *' to 'const char *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\gmmain.cpp(699) : error C2664: 'stricmp' : cannot convert parameter 1 from 'const wchar_t *' to 'const char *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\gmmain.cpp(705) : error C2664: 'stricmp' : cannot convert parameter 1 from 'const wchar_t *' to 'const char *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\gmmain.cpp(744) : error C2664: 'stricmp' : cannot convert parameter 1 from 'const wchar_t *' to 'const char *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\gmmain.cpp(882) : error C2664: 'stricmp' : cannot convert parameter 1 from 'const wchar_t *' to 'const char *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\gmmain.cpp(918) : error C2664: 'stricmp' : cannot convert parameter 1 from 'const wchar_t *' to 'const char *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\gmmain.cpp(1029) : error C2664: 'stricmp' : cannot convert parameter 1 from 'const wchar_t *' to 'const char *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\gmmain.cpp(1065) : error C2664: 'stricmp' : cannot convert parameter 1 from 'const wchar_t *' to 'const char *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
gmkeyhook.cpp
gmgamelog.cpp
gmfunc.cpp
gmctf.cpp
gmcrate.cpp
gmcommandclass.cpp
engine_gm.cpp
date.cpp
Generating Code...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://c:\Documents and Settings\Owner\Desktop\SSGM 2.0 WFDS\SSGM Source\tmp\scripts\debug\BuildLog.htm"
SSGM - 12 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========



any ideas?
Re: GB [message #267714 is a reply to message #267695] Thu, 21 June 2007 06:14 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)
Looks like your missing the identifier in it's header file counter part.


Re: GB [message #267717 is a reply to message #267695] Thu, 21 June 2007 06:54 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
You need to pass a char * not a wchar_t * to stricmp.

We cannot fix anything without the source Wink
Re: GB [message #267804 is a reply to message #267695] Thu, 21 June 2007 11:53 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
now the heard file are the .h right how can i miss it i copy and paste the whole thing into the plug in sourci still hjave no idea

[Updated on: Thu, 21 June 2007 12:10]

Report message to a moderator

Re: GB [message #267933 is a reply to message #267695] Thu, 21 June 2007 21:31 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
ok heres i think is wher ei put it file anme
engien_gm.cpp

const wchar_t *Get_Wide_Translated_Preset_Name(GameObject *obj) {

is that where i put that the commands u made me reborn?
beucase im not sure where the chat hook is at in the new source files
Re: GB [message #267939 is a reply to message #267695] Thu, 21 June 2007 21:56 Go to previous messageGo to next message
Whitedragon is currently offline  Whitedragon
Messages: 832
Registered: February 2003
Location: California
Karma: 1
Colonel
Looks like you need to include gmcrate.h at the top of gmcrate.cpp. The chat hook is in plugin.cpp with all the other example hooks. Make sure you remove the other example hooks before putting this on your server.

Black-Cell.net
Network Administrator (2003 - )

DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )

Dragonade, Renegade's first server side modification
Lead coder (2005 - )
Re: GB [message #267964 is a reply to message #267695] Fri, 22 June 2007 00:22 Go to previous message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
im confussed about the crate stuff still man
Previous Topic: Weapon pickups
Next Topic: Scripts Part 3
Goto Forum:
  


Current Time: Thu Jan 02 20:43:14 MST 2025

Total time taken to generate the page: 0.00859 seconds