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

Metamod Query Cache


Post New Thread Reply   
 
Thread Tools Display Modes
Sarona
AlliedModders Donor
Join Date: Jul 2012
Old 07-06-2014 , 11:50   Re: Metamod Query Cache
Reply With Quote #51

Quote:
Originally Posted by energie4cute View Post
The default value for qc_time is 5, which means the cached A2S_INFO response is refreshed every 5 seconds ( it's not refreshed until a request comes,but that's not a problem ). It should be fine like that. qc_maxrequests it's the amount of A2S_INFO requests an IP can do in 1 second, and the default value is 3, which again should be fine.

Yes, I think it is great as it makes spam data only when it receives a request. I like it ^^
Sarona is offline
Falu
Junior Member
Join Date: Jul 2014
Old 07-06-2014 , 12:33   Re: Metamod Query Cache
Reply With Quote #52

Quote:
] rcon meta info 02
Plugin 2 is running.
Name: "Query Cache 2" by Hashira
Version: 1.0.0.1
Description: Cache system for A2S_INFO replies. Original author recon0,ivailosp.
License: Public Domain
URL: http://www.sourcemm.net/
Details: API 015, Date: Jul 5 2014
File: /home/servers/s11724/data/css/cstrike/addons/qcache_mm.so
Thanks you !!!
Falu is offline
energie4cute
Member
Join Date: Sep 2009
Location: Home
Old 07-07-2014 , 11:02   Re: Metamod Query Cache
Reply With Quote #53

Added SDK2013 version. Request other versions if you need.

In order to compile it :
1. Follow these steps here but stop at the configuring step.
1. Enter in the Metamod:Source folder ( at the time of writing this it is mmsource-1.10 ).
2. Create a "query_cache" folder.
2. Copy the contents of the "source" folder from my original post ( this one ) into the folder called "query_cache" (copy the files in that folder,not the "source" folder !).
3. Return to the Metamod:Source folder.
4. Open AMBuildScript :
5. Search for
Code:
builder.RunBuildScripts(
  [
    'loader/AMBuilder',
    'core-legacy/AMBuilder',
    'core/AMBuilder',
    'support/buildbot/PackageScript',
  ],
  {
    'MMS': MMS
  }
)
And replace it with
Code:
builder.RunBuildScripts(
  [
    'loader/AMBuilder',
    'core-legacy/AMBuilder',
    'core/AMBuilder',
    'support/buildbot/PackageScript',
    'query_cache/AMBuilder'
  ],
  {
    'MMS': MMS
  }
)
6. Into the console type :
Code:
cd mmsource-1.10
python ./configure.py -s <the sdk you want to build against>
cd obj-windows
ambuild
The output is in the obj-windows/query_cache folder. There is no support for episode 1 ( yet! ).

Last edited by energie4cute; 07-07-2014 at 11:06.
energie4cute is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-08-2014 , 04:45   Re: Metamod Query Cache
Reply With Quote #54

Waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat, what on earth are you doing? Why does your plugin need to be built from the MM:S repo?
__________________
asherkin is offline
energie4cute
Member
Join Date: Sep 2009
Location: Home
Old 07-08-2014 , 04:53   Re: Metamod Query Cache
Reply With Quote #55

Wanted to try to use AMBuilder, this was the easiest way xD.
energie4cute is offline
NUdH3
Member
Join Date: Jul 2011
Old 08-20-2014 , 07:52   Re: Metamod Query Cache
Reply With Quote #56

Quote:
Originally Posted by energie4cute View Post
[/code]6. Into the console type :
Code:
cd mmsource-1.10
python ./configure.py -s <the sdk you want to build against>
cd obj-windows
ambuild
The output is in the obj-windows/query_cache folder. There is no support for episode 1 ( yet! ).
How this works on Debian Linux? There is no ambuild in the obj-linux dir.
NUdH3 is offline
ltgenkd
AlliedModders Donor
Join Date: Sep 2008
Old 09-14-2014 , 13:45   Re: Metamod Query Cache
Reply With Quote #57

Can support be added for Insurgency2?
Tried to install but received errors about the procedure entry point. If more info is needed on the error, I can furnish the exact error.

Windows OS.

The server in my sig was just DDOS attacked. Server provider added a filter. The server is up and running fine now but trying to find something to help in the future.

Code:
Our system detected a (D)DoS against your service at this time, described as 'a UDP Source A2S_PLAYER reflection attack against port range 27000-27050/2"'
ALSO:

Code:
Our system detected a (D)DoS against your service at this time, described as 'a specific type of TCP SYN flood/3'
Thanks for any help.
__________________
ltgenkd is offline
SilentBr
Veteran Member
Join Date: Jan 2009
Old 11-06-2014 , 17:46   Re: Metamod Query Cache
Reply With Quote #58

I'm using the version posted on #41 still lagging my tf2 servers while the others gameservers and the machine itself is ok. It's some exploit/flood.

Someone can help me out?
SilentBr is offline
urban_ninja
Senior Member
Join Date: Feb 2009
Old 02-07-2015 , 00:18   Re: Metamod Query Cache
Reply With Quote #59

This is broken but less broken than the sourcemod extension as that one wont even let players connect at all.

Quote:
udpsocket.cpp (545) : Assertion Failed: GetLastNetError() != 0
urban_ninja is offline
Amroth
Senior Member
Join Date: Apr 2013
Location: /root
Old 06-12-2015 , 16:33   Re: Metamod Query Cache
Reply With Quote #60

Is this plugin no longer work? I use CSGO version in #41th post but still get huge amount off "source engine query" spam. all request coming from different ips tho.
Amroth is offline
Reply


Thread Tools
Display Modes

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 07:40.


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