Quote:
Originally Posted by fysiks
Code:
L 02/05/2010 - 22:39:22: [ORPHEU] Function "CBasePlayerWeapon::ThinkZoomIn" not found
\functions\CBasePlayerWeapon\ThinkZoomIn
Code:
{
"name" : "ThinkZoomIn",
"class" : "CBasePlayerWeapon",
"library" : "mod",
"arguments" :
[
{
"type" : "CBasePlayerWeapon *"
}
],
"identifiers":
[
{
"os" : "windows",
"value" : "i don't know"
},
{
"os" : "linux",
"value" : "ThinkZoomIn__17CBasePlayerWeapon"
}
]
}
I'm a bit confused . I don't really know what's going on lol.
EDIT: I see CBasePlayerWeapon is not in the list of available arguments like it was in the previous version Hop on that Quim!
|
CBasePlayerWeapon is defined at "configs\orpheu\types\CBaseEntity\aliases\CBa sePlayerWeapon"
look, when the server inits it outputs a log. The reason of not having found the function is there. You have that module shrikebot enabled? By the way I have to install dod on linux and solve that compatibility issue.
The reason for this specific problem, looking at your file should be that you don't have a mod entry in the identifier:
PHP Code:
{
"os" : "linux",
"mod" : "dod",
"value" : "ThinkZoomIn__17CBasePlayerWeapon"
}
Also, remove the identifier for windows because if you are not using it you don't need it and you are making the file uglier
Also note that now, if the function belongs to a class, the class is skipped from the arguments. So, since (if I remember correctly) the function is CBasePlayerWeapon::ThinkZoomIn() the file should be:
Code:
{
"name" : "ThinkZoomIn",
"class" : "CBasePlayerWeapon",
"library" : "mod",
"identifiers":
[
{
"os" : "linux",
"mod" : "dod",
"value" : "ThinkZoomIn__17CBasePlayerWeapon"
}
]
}
Edit:
About windows, I will try to find the signature for it for you tomorrow.
__________________