AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved Problem g_pGameRules (https://forums.alliedmods.net/showthread.php?t=296015)

DarthMan 04-10-2017 10:24

Problem g_pGameRules
 
How to fix FAKEMETA get/set gamerules* natives have been disabled because g_pGameRules address could not be found ?
And no, I am not using ReHLDS but the official HLDS from Valve's SteamCMD.
I am also using the latest 6153 build of HLDS.

I also know that this has nothing to do with scripting, but I found this to be the best place where I can ask.

Arkshine 04-10-2017 11:32

Re: Problem g_pGameRules
 
You probably don't have the gamedata files in amxmodx/data/gamedata/ or you're using an old HLDS version.

DarthMan 04-10-2017 11:34

Re: Problem g_pGameRules
 
Quote:

Originally Posted by Arkshine (Post 2510944)
You probably don't have the gamedata files in amxmodx/data/gamedata/.

I have them all, I have checked, before updating to v 1.8.3 but I wouldn't want to switch back to 1.8.2.

Arkshine 04-10-2017 11:45

Re: Problem g_pGameRules
 
Then, are you using a listen server?

DarthMan 04-10-2017 11:54

Re: Problem g_pGameRules
 
Quote:

Originally Posted by Arkshine (Post 2510960)
Then, are you using a listen server?

I am using a dedicated server, but before upgrading all worked just fine.
I am testing all these stuff on a private TFC server which is only for testing plug-ins, before making them public on my HL and GC servers.

Arkshine 04-10-2017 12:11

Re: Problem g_pGameRules
 
g_pGameRules is from the game, not the engine.

If you're using ReGameDLL, it doesn't rely on gamedata files, so all I can think is #2 or you're using a modified version of the game.

g_pGameRules data is located at /data/gamedata/common.games/globalvars.engine.txt, make sure you have this file and unaltered.

You can output the content of the server command: "version" or better the full output when server starts.

DarthMan 04-10-2017 12:15

Re: Problem g_pGameRules
 
Quote:

Originally Posted by Arkshine (Post 2510971)
g_pGameRules is from the game, not the engine.

If you're using ReGameDLL, it doesn't rely on gamedata files, so all I can think is #2 or you're using a modified version of the game.

g_pGameRules data is located at /data/gamedata/common.games/globalvars.engine.txt, make sure you have this file and unaltered.

You can output the content of the server command: "version" or better the full output when server starts.

Latest build 6153, exe version 1.1.2.2, build 13:13:29

And no, I do not use ReGameDLL.

Arkshine 04-10-2017 12:43

Re: Problem g_pGameRules
 
This is not counter-strike?

DarthMan 04-10-2017 12:47

Re: Problem g_pGameRules
 
Quote:

Originally Posted by Arkshine (Post 2510977)
This is not counter-strike?

Nope, it's not.

Arkshine 04-10-2017 14:34

Re: Problem g_pGameRules
 
Looks like I totally forgot to add signatures for others mods than counter-strike. Will give you the signature later.


All times are GMT -4. The time now is 18:03.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.