Shader Plugin errors [message #439792] |
Sat, 20 November 2010 04:02 |
|
Omar007
Messages: 1711 Registered: December 2007 Location: Amsterdam
Karma: 0
|
General (1 Star) |
|
|
I'm currently trying to get access to The_Game(), Get_Player_Name(GameObject *obj) and **TheStar through a shader plugin.
Problem being: I'm getting unresolved external errors.
1>dllmain.obj : error LNK2001: unresolved external symbol "class ReferenceableClass<class ScriptableGameObj> * * TheStar" (?TheStar@@3PAPAV?$ReferenceableClass@VScriptableGameObj@@@@A)
1>dllmain.obj : error LNK2001: unresolved external symbol "char const * __cdecl Get_Player_Name(unsigned char *)" (?Get_Player_Name@@YAPBDPAE@Z)
1>dllmain.obj : error LNK2001: unresolved external symbol "class cGameData * __cdecl The_Game(void)" (?The_Game@@YAPAVcGameData@@XZ)
Does anyone know how I can get these to work inside the plugin??
[Updated on: Sat, 20 November 2010 04:03] Report message to a moderator
|
|
|
|
|
Re: Shader Plugin errors [message #439938 is a reply to message #439792] |
Mon, 22 November 2010 21:57 |
|
No, there is no alternative to shader plugins in 4.0
Custom shaders.dll files arent likely to be supported either due to anti-cheat reasons (being that its possible to modify shaders.dll for anti-cheat)
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
|
|
|
|
|
Re: Shader Plugin errors [message #439989 is a reply to message #439792] |
Tue, 23 November 2010 22:32 |
|
Shader plugin support was dropped because it was a performance hog.
But the reason custom shaders.dlls wont be supported is because of the anti-cheat.
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
Re: Shader Plugin errors [message #439990 is a reply to message #439792] |
Tue, 23 November 2010 22:35 |
|
Shader plugin support was dropped because it was a performance hog.
But the reason custom shaders.dlls wont be supported is because of the anti-cheat.
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
Re: Shader Plugin errors [message #439992 is a reply to message #439792] |
Tue, 23 November 2010 23:29 |
Tunaman
Messages: 1190 Registered: January 2005
Karma: 2
|
General (1 Star) |
|
|
I thought that there would be the ability to send shaders.dll files to the TT team so that they could approve the hashes of ones that were considered to be okay.
|
|
|
Re: Shader Plugin errors [message #440000 is a reply to message #439792] |
Wed, 24 November 2010 07:13 |
|
Yes I imagine that if we find a shaders.dll that is verified clean and safe (not just by examining the binary but by examining the source and possibly even compiling it ourselves) we may well approve it.
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
[Updated on: Wed, 24 November 2010 07:14] Report message to a moderator
|
|
|
|