Raised This Month: $51 Target: $400
 12% 

Solved Problem g_pGameRules


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DarthMan
Veteran Member
Join Date: Aug 2011
Old 04-10-2017 , 10:24   Problem g_pGameRules
Reply With Quote #1

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.

Last edited by DarthMan; 04-11-2017 at 07:13. Reason: Solved
DarthMan is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-10-2017 , 11:32   Re: Problem g_pGameRules
Reply With Quote #2

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

Last edited by Arkshine; 04-10-2017 at 11:33.
Arkshine is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 04-10-2017 , 11:34   Re: Problem g_pGameRules
Reply With Quote #3

Quote:
Originally Posted by Arkshine View Post
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.
DarthMan is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-10-2017 , 11:45   Re: Problem g_pGameRules
Reply With Quote #4

Then, are you using a listen server?
__________________
Arkshine is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 04-10-2017 , 11:54   Re: Problem g_pGameRules
Reply With Quote #5

Quote:
Originally Posted by Arkshine View Post
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.

Last edited by DarthMan; 04-10-2017 at 12:11.
DarthMan is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-10-2017 , 12:11   Re: Problem g_pGameRules
Reply With Quote #6

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.
__________________

Last edited by Arkshine; 04-10-2017 at 12:12.
Arkshine is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 04-10-2017 , 12:15   Re: Problem g_pGameRules
Reply With Quote #7

Quote:
Originally Posted by Arkshine View Post
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.
DarthMan is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-10-2017 , 12:43   Re: Problem g_pGameRules
Reply With Quote #8

This is not counter-strike?
__________________
Arkshine is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 04-10-2017 , 12:47   Re: Problem g_pGameRules
Reply With Quote #9

Quote:
Originally Posted by Arkshine View Post
This is not counter-strike?
Nope, it's not.
DarthMan is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-10-2017 , 14:34   Re: Problem g_pGameRules
Reply With Quote #10

Looks like I totally forgot to add signatures for others mods than counter-strike. Will give you the signature later.
__________________
Arkshine is offline
Reply



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 14:39.


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