I'm assuming you're using the source code from this site: 
http://hpb-bot.bots-united.com/monster.html


It doesn't appear to make use of the LINK_ENTITY_TO_CLASS macro at all. 
Instead it uses a hardcoded list in dllapi.cpp.

If you're using a different version, can you provide a download link?


Op 27/02/2017 om 17:50 schreef SK G:
> Compiling...
> barney.cpp
> \monster mod 2017\dlls\barney.cpp(42) : error C2065: 'monster_barney' :
> undeclared identifier
> \monster mod 2017\dlls\barney.cpp(42) : error C2275: 'CMBarney' : illegal
> use of this type as an expression
> \monster mod 2017\dlls\cmbasemonster.h(653) : see declaration of 'CMBarney'
> \monster mod 2017\dlls\barney.cpp(42) : error C2501: 'LINK_ENTITY_TO_CLASS'
> : missing storage-class or type specifiers
> \monster mod 2017\dlls\barney.cpp(42) : error C2078: too many initializers
> \monster mod 2017\dlls\barney.cpp(42) : error C2275: 'CMBarney' : illegal
> use of this type as an expression
> \monster mod 2017\dlls\cmbasemonster.h(653) : see declaration of 'CMBarney'
> Error executing cl.exe.
>
> monster_mm.dll - 5 error(s), 0 warning(s)
>
> 2017-02-27 13:29 GMT-03:00 Sam Vanheer <duo...@hotmail.com>:
>
>> Could you post the entire compile log, it looks like there are errors
>> elsewhere that are cascading to cause this problem.
>>
>>
>> Op 27/02/2017 om 17:20 schreef SK G:
>>> Hi everyone.
>>>
>>> I need help with MonsterMod for Metamod I'm trying link the entities with
>>> them and I got this error
>>>
>>> error C2065: 'monster_barney' : undeclared identifier
>>> error C2275: 'CMTalkMonster' : illegal use of this type as an expression
>>>
>>> I'm using this LINK_ENTITY_TO_CLASS( monster_barney, CMBarney );
>>>
>>> Thanks a lot!
>>> _______________________________________________
>>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
>>>
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
>>
>>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders

Reply via email to