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

Check Files


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
OSTR0G
Member
Join Date: Mar 2014
Old 07-08-2014 , 12:50   Check Files
Reply With Quote #1

Plug-in to determine the existence of a file on the client.
( I changed and simplified, as well as added support for Linux )

Description:
Code:
Example config: add_path [kick "% n" "OpenGL Detected"] = .. / opengl32.dll 
Between [..] write a team that will go to CBuf_AddText 
% n 1-n times substituting the name of the player ... 
ie 
kick "% n" "OpenGL Detected" when Detective file on the client will 
kick "name" "OpenGL Detected" 
instead possible and kick and ban amx_ * Teams: 
amx_ban 0 "% n" "OpengGl Detected => Banned" 
(I do not remember the syntax amx_ban but the general meaning of this ... 

flags for the team ban: 
add_flags = abcd 
if at least 1-n of the flags will be the admin he can ban 

ban commands in defayne 

/ / Name of the team menu 
# define SHOW_MENU_CMD_NAME "ost_menu_create"
Oh yeah ... To work needed orpheu( Try 2.3a/2.5.1 https://forums.alliedmods.net/showthread.php?t=116393 )
Attached Files
File Type: sma Get Plugin or Get Source (check_files.sma - 1100 views - 82.1 KB)

Last edited by Backstabnoob; 07-08-2014 at 14:49.
OSTR0G is offline
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 07-08-2014 , 13:50   Re: Check Files
Reply With Quote #2

Here we go again...

Remove the .amxx file.

Does it work on the latest server build or is still exclusive to outdated servers?

How does it work? What method are you using to determine the existence of a file on a client?
I see something named SV_SendResourcesCall_Base, which I would assume is the method of some sort, not that I know how it works. But why would you need to allocate memory?
Again, I highly doubt the validity, function and how clean this actually is.

You already have a thread for this plugin. Just because it was unapproved doesn't mean you can create a new thread. It will most likely end up in the trash.
Update your old thread and request an approver to look at it again.
__________________

Last edited by Black Rose; 07-08-2014 at 14:03.
Black Rose is offline
Eagle07
Veteran Member
Join Date: May 2014
Location: Morocco :D
Old 07-08-2014 , 13:51   Re: Check Files
Reply With Quote #3

Quote:
Originally Posted by OSTR0G View Post
( I changed and simplified, as well as added support for Linux )
__________________
Eagle07 is offline
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 07-08-2014 , 14:52   Re: Check Files
Reply With Quote #4

AMXX file removed, please don't upload it again. Also, as it's been said, you already created a thread, so you should edit the other one and ask for review. I'll give you a day before I trash this.
__________________
Currently busy working on a very large scale anime database project.

Last edited by Backstabnoob; 07-08-2014 at 14:52.
Backstabnoob is offline
OSTR0G
Member
Join Date: Mar 2014
Old 07-08-2014 , 14:53   Re: Check Files
Reply With Quote #5

Quote:
Originally Posted by Black Rose View Post
Here we go again...

Remove the .amxx file.

Does it work on the latest server build or is still exclusive to outdated servers?

How does it work? What method are you using to determine the existence of a file on a client?
I see something named SV_SendResourcesCall_Base, which I would assume is the method of some sort, not that I know how it works. But why would you need to allocate memory?
Again, I highly doubt the validity, function and how clean this actually is.

You already have a thread for this plugin. Just because it was unapproved doesn't mean you can create a new thread. It will most likely end up in the trash.
Update your old thread and request an approver to look at it again.
Works like this:
added to an array resource files ..
flag file 0x80 therefore requires a response
If the previous file is not exists 100% then there is sent MD5 previous file.
hence the MD5 does not match the file exists

Last edited by OSTR0G; 07-08-2014 at 14:55.
OSTR0G is offline
OSTR0G
Member
Join Date: Mar 2014
Old 07-08-2014 , 14:54   Re: Check Files
Reply With Quote #6

Memory is needed for the relative native code compiler copied from Delphi XE
OSTR0G is offline
OSTR0G
Member
Join Date: Mar 2014
Old 07-08-2014 , 14:55   Re: Check Files
Reply With Quote #7

Quote:
Originally Posted by Backstabnoob View Post
AMXX file removed, please don't upload it again. Also, as it's been said, you already created a thread, so you should edit the other one and ask for review. I'll give you a day before I trash this.
Where is this thread? What to edit?
Do not you deleted it?

Last edited by OSTR0G; 07-08-2014 at 14:57.
OSTR0G is offline
OSTR0G
Member
Join Date: Mar 2014
Old 07-08-2014 , 15:11   Re: Check Files
Reply With Quote #8

All right.
I thought you deleted.


https://forums.alliedmods.net/showth...74#post2158274
OSTR0G is offline
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 07-08-2014 , 15:15   Re: Check Files
Reply With Quote #9

Trashed due to the old thread being updated.
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob 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 12:43.


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