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

[EXTENSION] Query Cache 1.7 (Updated!)


Post New Thread Reply   
 
Thread Tools Display Modes
eladnava
Member
Join Date: Feb 2011
Old 07-27-2011 , 16:21   Re: [EXTENSION] Query Cache 1.7 (Updated!)
Reply With Quote #131

I see. So the SteamTools version that is working for me is actually the pre-updated Query Cache?
eladnava is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 07-27-2011 , 19:27   Re: [EXTENSION] Query Cache 1.7 (Updated!)
Reply With Quote #132

Quote:
Originally Posted by eladnava View Post
I see. So the SteamTools version that is working for me is actually the pre-updated Query Cache?
as far as i can see that version is really outdated, it has some features of the current querycache but other than that its old, it has hardcoded vac status etc
Zephyrus is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 08-11-2011 , 21:33   Re: [EXTENSION] Query Cache 1.7 (Updated!)
Reply With Quote #133

I just read over the code for this for shits and giggles, and found this appalling line:
Code:
if (buffer == NULL) {fputs ("Memory error",stderr); exit (2);}
Why in the world would you EVER call exit() in an extension?! Gives no time for srcds to free its memory by stopping gracefully. As far as I'm concerned, that's a force-crash.


-1 karma to whoever wrote that
Afronanny is offline
PAL-18
AlliedModders Donor
Join Date: Jul 2010
Old 09-26-2011 , 14:56   Re: [EXTENSION] Query Cache 1.7 (Updated!)
Reply With Quote #134

This extension doesnt work properly with the latest TF2 update in linux srcds. The game description is changed to garbled text and no one can connect (complains about 3rd party mod not being installed).
PAL-18 is offline
zwaehnn
New Member
Join Date: Oct 2011
Old 11-15-2011 , 14:28   Re: [EXTENSION] Query Cache 1.7 (Updated!)
Reply With Quote #135

I just tried to compile the extension.
First i tried to compile the version from google code.
I'm able to compile it but when i try to load the extension I get an error:
Code:
sm exts load querycache
[SM] Extension querycache.ext.so failed to load: /home/css/css/cstrike/addons/sourcemod/extensions/querycache.ext.so: undefined symbol: _ZN12SDKExtension4LoadEiPN8SourceMM7ISmmAPIEPcjb
When i try to compile the version attached in this post (https://forums.alliedmods.net/showth...13#post1515213) i get some compile errors:
Code:
extension.cpp: In member function "virtual bool QueryCache::SDK_OnLoad(char*, size_t, bool)":
extension.cpp:175: error: "ReadSteamINF" was not declared in this scope
extension.cpp:200: error: "LoadSteamclient" was not declared in this scope
extension.cpp:214: error: "Hook_GameServerSteamAPIActivated" was not declared in this scope
extension.cpp: In function "void Hook_GameServerSteamAPIActivated()":
extension.cpp:241: error: "LoadSteamclient" was not declared in this scope
extension.cpp: In function "int RecvFromHook(int, char*, int, int, sockaddr*, int*)":
extension.cpp:307: error: "GameDescription" was not declared in this scope
make[1]: *** [Release.orangebox/extension.o] Error 1
Any suggestions for one of these problems?
zwaehnn is offline
Tauphi
SourceMod Donor
Join Date: Sep 2004
Location: Germany
Old 11-19-2011 , 06:30   Re: [EXTENSION] Query Cache 1.7 (Updated!)
Reply With Quote #136

compiling works fine ...
but this line
PHP Code:
CSteamID steamID CSteamID(g_GameServerSteamID(g_GameServerHandle(g_GameServerSteamUser(), g_GameServerSteamPipe()))); 
prdocues this error in the server console
PHP Code:
client_capi.cpp (303) : Assertion FailedpSteamGameServer
Assert
Assertion FailedpSteamGameServer ):.\client_capi.cpp:303 
The gameserver doesn't crash, but where is the problem? in the extension or is opensteamworks out of date?
__________________
Tauphi is offline
Send a message via ICQ to Tauphi Send a message via Skype™ to Tauphi
nomy
Senior Member
Join Date: Dec 2009
Location: United Kingdom
Old 11-23-2011 , 03:15   Re: [EXTENSION] Query Cache 1.7 (Updated!)
Reply With Quote #137

It doesn't load on TF2 Windows server.
Code:
L 11/23/2011 - 08:13:35: [SM] Unable to load extension "querycache.ext": The spe
cified module could not be found.
nomy is offline
nomy
Senior Member
Join Date: Dec 2009
Location: United Kingdom
Old 11-27-2011 , 14:57   Re: [EXTENSION] Query Cache 1.7 (Updated!)
Reply With Quote #138

So this is no longer supported? Sad to see but it was a very useful extension to block basic attack.
nomy is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 11-28-2011 , 12:38   Re: [EXTENSION] Query Cache 1.7 (Updated!)
Reply With Quote #139

Quote:
Originally Posted by nomy View Post
It doesn't load on TF2 Windows server.
Code:
L 11/23/2011 - 08:13:35: [SM] Unable to load extension "querycache.ext": The spe
cified module could not be found.
If you had read the error message, you'd know that the file querycache.ext.dll is not in the addons/sourcemod/extensions directory like it should be.

If querycache.ext.dll is in fact in that directory, try loading it directly from the server console (sm exts load querycache). If that doesn't work, and you are 100% sure the dll is in the right place, let me know and we'll try something else.
ducks
Afronanny is offline
Experto
Member
Join Date: Jan 2008
Location: Brasil
Old 12-27-2011 , 14:29   Re: [EXTENSION] Query Cache 1.7 (Updated!)
Reply With Quote #140

Quote:
Originally Posted by nomy View Post
It doesn't load on TF2 Windows server.
Code:
L 11/23/2011 - 08:13:35: [SM] Unable to load extension "querycache.ext": The spe
cified module could not be found.
The package available for download contains three files:

> query_cache.ext.dll
> querycache.ext.so
> querycache.autoload

Rename files:
"querycache.autoload" to "query_cache.autoload"
and
"querycache.ext.so" to "query_cache.ext.so"

The file "querycache.autoload" is an autorun.
He calls the extent that it has the same name.
Therefore the extension must have the exact same name as him.

query_cache.autoload
query_cache.ext.so
query_cache.ext.dll
__________________
My Plugins:
-IP Block: This plugin block the entry in the server of players with same IP. Too is possible to config exceptions for some IPs
-Auto Swap Team: This plugin does the automatic swap of teams according to the options selected
-Welcome Sound: Plays sound of welcome for the players
Experto 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 15:18.


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