Raised This Month: $18 Target: $400
 4% 

[Module] - Zombie Plague 5.0.5


Post New Thread Reply   
 
Thread Tools Display Modes
CryWolf
Senior Member
Join Date: Jul 2008
Location: Germany, Ulm
Old 07-28-2014 , 01:25   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #41

Yes that solved many thing, i have only one error now
PHP Code:
1>------ Rebuild All startedProjectZP5.0.8ConfigurationRelease Win32 ------
1>  gamedll_utils.cpp
1
>  module.cpp
1
>  amxxmodule.cpp
1
>sdk\amxxmodule.cpp(2244): error C2733second C linkage of overloaded function 'Meta_Query' not allowed
1
>          sdk\amxxmodule.cpp(2243) : see declaration of 'Meta_Query'
1>  zp50_core.cpp
1
>  Generating Code...
========== 
Rebuild All0 succeeded1 failed0 skipped ========== 
i'm google it now mabye i fiind something releated.
__________________
I dont walk trough this world with fear in my heart.
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
bboygrun
CHOMP
Join Date: May 2010
Location: France
Old 07-28-2014 , 02:58   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #42

Quote:
Originally Posted by CryWolf View Post
Yes that solved many thing, i have only one error now
PHP Code:
1>------ Rebuild All startedProjectZP5.0.8ConfigurationRelease Win32 ------
1>  gamedll_utils.cpp
1
>  module.cpp
1
>  amxxmodule.cpp
1
>sdk\amxxmodule.cpp(2244): error C2733second C linkage of overloaded function 'Meta_Query' not allowed
1
>          sdk\amxxmodule.cpp(2243) : see declaration of 'Meta_Query'
1>  zp50_core.cpp
1
>  Generating Code...
========== 
Rebuild All0 succeeded1 failed0 skipped ========== 
i'm google it now mabye i fiind something releated.

https://forums.alliedmods.net/showth...10#post1930710
__________________
bboygrun is offline
CryWolf
Senior Member
Join Date: Jul 2008
Location: Germany, Ulm
Old 07-28-2014 , 06:20   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #43

It's a different thing for me look:
PHP Code:
C_DLLEXPORT int Meta_Query(char *ifversplugin_info_t **pPlugInfomutil_funcs_t *pMetaUtilFuncs)
{
    if ((int) 
CVAR_GET_FLOAT("developer") != 0)
        
UTIL_LogPrintf("[%s] dev: called: Meta_Query; version=%s, ours=%s\n"
                
Plugin_info.logtagifversPlugin_info.ifvers);

    
// Check for valid pMetaUtilFuncs before we continue.
    
if(!pMetaUtilFuncs) {
        
UTIL_LogPrintf("[%s] ERROR: Meta_Query called with null pMetaUtilFuncs\n"Plugin_info.logtag);
        return(
FALSE);
    } 
i try added const char *ifvers or const *ifvers or deleted const and char bouth but no help, he trowed more errors, C++ it's making me sick!
__________________
I dont walk trough this world with fear in my heart.
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
bboygrun
CHOMP
Join Date: May 2010
Location: France
Old 07-28-2014 , 07:15   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #44

I had the same error and replacing :

PHP Code:
C_DLLEXPORT int Meta_Query(const char *ifversplugin_info_t **pPlugInfomutil_funcs_t *pMetaUtilFuncs
by

PHP Code:
C_DLLEXPORT int Meta_Query(char *ifversplugin_info_t **pPlugInfomutil_funcs_t *pMetaUtilFuncs
Worked.

What are the new errors when you replace it by

PHP Code:
C_DLLEXPORT int Meta_Query(char *ifversplugin_info_t **pPlugInfomutil_funcs_t *pMetaUtilFuncs
?
__________________
bboygrun is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-28-2014 , 10:15   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #45

You should just make sure to use latest AMXX SDK version, so, grab these 2 files amxxmodule.cpp/h from for example here https://github.com/alliedmodders/amx...ke/cstrike/sdk.
__________________

Last edited by Arkshine; 07-28-2014 at 10:17.
Arkshine is offline
CryWolf
Senior Member
Join Date: Jul 2008
Location: Germany, Ulm
Old 07-28-2014 , 13:07   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #46

@bboygrun: It already was so by default but thanks for trying

Arkshine: Thanks , it bypasses that error but now it gives me
PHP Code:
1>------ Rebuild All startedProjectZP5.0.8ConfigurationRelease Win32 ------
1>  gamedll_utils.cpp
1
>  module.cpp
1
>  amxxmodule.cpp
1
>  zp50_core.cpp
1
>  Generating Code...
1>LINK warning LNK4075ignoring '/INCREMENTAL' due to '/OPT:ICF' specification
1
>     Creating library D:\MSVC\zp50mod_new\Release\ZP5.0.8.lib and object D:\MSVC\zp50mod_new\Release\ZP5.0.8.exp
1
>amxxmodule.obj error LNK2001unresolved external symbol "void __cdecl MessageBegin(int,int,float const *,struct edict_s *)" (?MessageBegin@@YAXHHPBMPAUedict_s@@@Z)
1>amxxmodule.obj error LNK2001unresolved external symbol "struct edict_s * __cdecl CreateNamedEntity(int)" (?CreateNamedEntity@@YAPAUedict_s@@H@Z)
1>amxxmodule.obj error LNK2001unresolved external symbol "void __cdecl PlayerPostThink(struct edict_s *)" (?PlayerPostThink@@YAXPAUedict_s@@@Z)
1>amxxmodule.obj error LNK2001unresolved external symbol "void __cdecl PlayerPreThink(struct edict_s *)" (?PlayerPreThink@@YAXPAUedict_s@@@Z)
1>amxxmodule.obj error LNK2001unresolved external symbol "void __cdecl ServerDeactivate(void)" (?ServerDeactivate@@YAXXZ)
1>amxxmodule.obj error LNK2001unresolved external symbol "void __cdecl ClientUserInfoChanged(struct edict_s *,char *)" (?ClientUserInfoChanged@@YAXPAUedict_s@@PAD@Z)
1>amxxmodule.obj error LNK2001unresolved external symbol "void __cdecl ClientDisconnect(struct edict_s *)" (?ClientDisconnect@@YAXPAUedict_s@@@Z)
1>amxxmodule.obj error LNK2019unresolved external symbol "int __cdecl AmxxCheckGame(char const *)" (?AmxxCheckGame@@YAHPBD@Zreferenced in function _AMXX_CheckGame
1
>amxxmodule.obj error LNK2019unresolved external symbol "void __cdecl OnAmxxDetach(void)" (?OnAmxxDetach@@YAXXZreferenced in function _AMXX_Detach
1
>D:\MSVC\zp50mod_new\Release\ZP5.0.8.dll fatal error LNK11209 unresolved externals
========== Rebuild All0 succeeded1 failed0 skipped ========== 
__________________
I dont walk trough this world with fear in my heart.

Last edited by CryWolf; 07-28-2014 at 13:28.
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
Bos93
Veteran Member
Join Date: Jul 2010
Old 07-28-2014 , 13:41   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #47

you need uncomment this function from moduleconfig.h
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
CryWolf
Senior Member
Join Date: Jul 2008
Location: Germany, Ulm
Old 07-28-2014 , 14:27   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #48

Quote:
Originally Posted by Bos93 View Post
you need uncomment this function from moduleconfig.h
Thanks for answering so quick

They are already uncommented, some of them were commented
PHP Code:
#define FN_MessageBegin                        MessageBegin
#define FN_PlayerPostThink                PlayerPostThink                /* pfnPlayerPostThink() */ 
I've compiled whole AMX Mod X, Metamod, Metamod-P all of them working just fine only this extra modules they creating problems for me.
Attached Files
File Type: zip moduleconfig.zip (5.3 KB, 53 views)
__________________
I dont walk trough this world with fear in my heart.

Last edited by CryWolf; 07-28-2014 at 14:39.
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 07-29-2014 , 11:53   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #49

module need update ^^
Code:
- Version: 5.0.8a (Jul 22, 2014)
* Fixed run time error "Couldn't create temp file" (Settings API)
* Fixed run time error "[ZP] Invalid Player" (Extra item: Infection Bomb)
zp50_core.sma has changed and amx_settings_api.sma lost ~800 lines O.o
__________________

Working on:
nothing
schmurgel1983 is offline
plazma
Senior Member
Join Date: Oct 2013
Old 07-29-2014 , 13:26   Re: [Module] - Zombie Plague 5.0.5
Reply With Quote #50

Quote:
Originally Posted by CryWolf View Post
Thanks for answering so quick

They are already uncommented, some of them were commented
PHP Code:
#define FN_MessageBegin                        MessageBegin
#define FN_PlayerPostThink                PlayerPostThink                /* pfnPlayerPostThink() */ 
I've compiled whole AMX Mod X, Metamod, Metamod-P all of them working just fine only this extra modules they creating problems for me.
What is your program to Compile Modules .so .dll, I need it thanks.
__________________
Free Palestine ♥
plazma is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:22.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode