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

Querying ConVars


Post New Thread Reply   
 
Thread Tools Display Modes
BAILOPAN
Join Date: Jan 2004
Old 03-12-2007 , 13:25   Re: Querying ConVars
Reply With Quote #11

Metamod:Source 1.4 (nightly builds available on the site) has support for hooking IServerPluginCallbacks functions, even if there are no server plugins loaded.
__________________
egg
BAILOPAN is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 03-12-2007 , 15:08   Re: Querying ConVars
Reply With Quote #12

Quote:
Originally Posted by c0ldfyr3 View Post
Ya but how did you do in a sourcemm plug?
Code:
SH_ADD_HOOK_MEMFUNC(IServerGameDLL, OnQueryCvarValueFinished, gServerDll, &g_SentinelPlugin, &SentinelPlugin::OnQueryCvarValueFinished, true);
L. Duke is offline
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 03-12-2007 , 19:24   Re: Querying ConVars
Reply With Quote #13

Blah I thought you loaded a dummy interface and did it legit ;)

Oh, and thanks for replyin to my PM ;) ;) !!!
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 03-13-2007 , 10:18   Re: Querying ConVars
Reply With Quote #14

Quote:
Originally Posted by c0ldfyr3 View Post
Blah I thought you loaded a dummy interface and did it legit ;)

Oh, and thanks for replyin to my PM ;) ;) !!!
You said not to reply if I didn't get it in time because you'd be home in 8 hours. I don't think I got it until a couple days after that.
L. Duke is offline
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 03-15-2007 , 15:23   Re: Querying ConVars
Reply With Quote #15

Quote:
Originally Posted by L. Duke View Post
You said not to reply if I didn't get it in time because you'd be home in 8 hours. I don't think I got it until a couple days after that.
Haha ya I was just kiddin ;)
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 04-24-2007 , 06:08   Re: Querying ConVars
Reply With Quote #16

Wow just getting to this now, I get spammed with "Do not try loading Metamod:Source as a SourceMM or Valve server plugin." and SourceMM doesn't load, just by adding the hook!
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 04-24-2007 , 06:11   Re: Querying ConVars
Reply With Quote #17

One note tho, I'm hooking IServerPluginCallbacks and not IServerGameDLL, IServerGameDLL didn't have the function I needed to hook....
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 04-24-2007 , 06:15   Re: Querying ConVars
Reply With Quote #18

Ahh my mistake, other wiki page ;)
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
BAILOPAN
Join Date: Jan 2004
Old 04-24-2007 , 08:59   Re: Querying ConVars
Reply With Quote #19

What? (Note: You can edit a post instead of triple posting)
__________________
egg
BAILOPAN is offline
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 04-24-2007 , 11:30   Re: Querying ConVars
Reply With Quote #20

BAIL are you patronising me young man o.O I know but what's the harm minus 3 new sql records ?

There's two implementations of that functionality, I was using the wrong one i.e. IServerPluginCallbacks when I should have been using IVEngineServer
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
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 15:26.


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