Raised This Month: $ Target: $400
 0% 

Orpheu&Rage | Ham_AddPoints Hook | Permanent Player Trail | FM_ShouldCollide Semiclip


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 04-16-2017 , 13:23   Re: Orpheu&Rage | Ham_AddPoints Hook | Permanent Player Trail | FM_ShouldCollide Semi
Reply With Quote #4

1. Not sure. Possibly use it to hook stuff that can't be hooked otherwise by Orpheu because some data types are not supported. It should be possible to go around that stuff in Orpheu with some memory hacking though. You should just stick with Orpheu and not bang your head thinking about Rage.

2. InstallGameRules is a function in the game dll that gets called when a g_pGameRules global variable is to be initialized in the game.
HL version of this function (each mod can have its own, but they all return a CGameRules pointer): https://mxr.alliedmods.net/hlsdk/sou...erules.cpp#311
It's just an easy way of retrieving g_pGameRules which can be used to retrieve all kinds of game data or call some methods from CGameRules or CHalfLifeMultiplay classes. New 1.8.3 get_gamerules_* natives are dealing with this g_pGameRules.

3. When do you expect it to be called? As I said, it looks like it's only called by game_score entity and not when for example someone gets a frag by killing other player.

5. I believe ReGameDLL_CS accurately depicts what Valve's CS code is. I'll maybe take a deeper look into this.

Last edited by klippy; 04-16-2017 at 13:24.
klippy is offline
 



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 17:59.


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