AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Extensions (https://forums.alliedmods.net/forumdisplay.php?f=134)
-   -   [EXTENSION] Query Cache 1.7 (Updated!) (https://forums.alliedmods.net/showthread.php?t=134373)

Afronanny 08-03-2010 22:18

[EXTENSION] Query Cache 1.7 (Updated!)
 
This is merely an updated version of recon0's Query Cache. The convars have been removed, and after installation, the only time you will need to update or maintain this extension is if the protocol changes, or if the extension is updated.

Purpose: Protect the server from A2S_INFO DoS attacks. Every 5 seconds, the data in the A2S_INFO is refreshed to reflect the current values.

Changes from recon0's extension:
  • Added a Linux binary
  • Now allows players to connect to the server (the "null entity packet" protection recon0's extension provided prevented any user from connecting to the server)
  • Extra data flag is now reported
Todo:
  • Report the actual tags. Currently the tags reported is "Tags, tags, MORE TAGS"
  • Fix the password bug on Windows
Credits:
  • recon0 - Wrote extension code
  • Afronanny (me) - updating and maintaining it
  • asherkin - Provided the code to get the gameserver's steamid
Download available here: http://code.google.com/p/querycache/downloads/list
Source Code available here: http://code.google.com/p/querycache/source/browse/

Note: If you want to compile this extension yourself, have Open Steamworks available.

If you encounter any problems please post them here.

thetwistedpanda 08-03-2010 22:53

Re: [EXTENSION] Query Cache 1.7 (Updated!)
 
Thanks for fixing the issues!

*Edit: Still locks CS:S servers when loaded*

Afronanny 08-03-2010 23:44

Re: [EXTENSION] Query Cache 1.7 (Updated!)
 
Quote:

Originally Posted by thetwistedpanda (Post 1261117)
Thanks for fixing the issues!

*Edit: Still locks CS:S servers when loaded*

What OS?

thetwistedpanda 08-03-2010 23:47

Re: [EXTENSION] Query Cache 1.7 (Updated!)
 
Uhh Windows, server edition 03 iirc, although possibly 08.

KawMAN 08-04-2010 07:23

Re: [EXTENSION] Query Cache 1.7 (Updated!)
 
1)
Code:

[01] <FAILED> file "querycache.ext.so": /home/wsciekle/server_css1/orangebox/cstrike/addons/sourcemod/extensions/querycache.ext.so: cannot open shared object file: No such file or directory
seams like linux version file name should be querycache.ext.so not query_cache.ext.so
2) extension don't respect sv_visiblemaxplayers and shows all slots
3) Game Description is static, pls make it work with SDKHooks GameDescription hook

Afronanny 08-04-2010 07:46

Re: [EXTENSION] Query Cache 1.7 (Updated!)
 
Quote:

Originally Posted by KawMAN (Post 1261339)
1)
Code:

[01] <FAILED> file "querycache.ext.so": /home/wsciekle/server_css1/orangebox/cstrike/addons/sourcemod/extensions/querycache.ext.so: cannot open shared object file: No such file or directory
seams like linux version file name should be querycache.ext.so not query_cache.ext.so
2) extension don't respect sv_visiblemaxplayers and shows all slots
3) Game Description is static, pls make it work with SDKHooks GameDescription hook


1. Oh blah. Smack me for doing this late at night. fixed now
2. Will do
3. I'll add something that works with SDKHooks.

asherkin 08-05-2010 14:24

Re: [EXTENSION] Query Cache 1.7 (Updated!)
 
This may have issues on some windows servers, due to the Steam library doing batshit-insane load-order stuff.

Afronanny, grab me on IRC one day and I'll give you what you need to make sure it can't fail.
Also, as your using OSW already, there may be a better way to hook the packets, I can talk to you about that at the same time :).

Anyway, Nice job continuing work on this.

Afronanny 08-05-2010 17:40

Re: [EXTENSION] Query Cache 1.7 (Updated!)
 
Quote:

Originally Posted by asherkin (Post 1262460)
This may have issues on some windows servers, due to the Steam library doing batshit-insane load-order stuff.

Afronanny, grab me on IRC one day and I'll give you what you need to make sure it can't fail.
Also, as your using OSW already, there may be a better way to hook the packets, I can talk to you about that at the same time :).

Anyway, Nice job continuing work on this.


I assume you're talking about this when talking about fixing Windows loading issues, no?

asherkin 08-05-2010 17:52

Re: [EXTENSION] Query Cache 1.7 (Updated!)
 
Quote:

Originally Posted by Afronanny (Post 1262620)
I assume you're talking about this when talking about fixing Windows loading issues, no?

That's the stuff, but a reentrant function can do a much cleaner job of it.

Afronanny 08-05-2010 18:09

Re: [EXTENSION] Query Cache 1.7 (Updated!)
 
Quote:

Originally Posted by asherkin (Post 1262626)
That's the stuff, but a reentrant function can do a much cleaner job of it.

Which way does it better, yours or Wazz's?

Quote:

Originally Posted by asherkin (Post 1262460)
Anyway, Nice job continuing work on this.

Thanks, but valve is going to hate my guts for doing it. You know why.


All times are GMT -4. The time now is 20:22.

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