Raised This Month: $100 Target: $400
 25% 

AMX MOTD Help


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:          Approver:   Geesu (62)
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 10-30-2005 , 12:15   AMX MOTD Help
Reply With Quote #1

Code:
/* AMX Mod X Plugin
*   Charr  - [email protected]
*   Thread - http://forums.alliedmods.net/showthread.php?p=#176430
*
*  Compiled Under 1.01 and 1.6
*  Tested in SvenCoop, but should work in all Mods
*
*  Description 
*   A Replacment for the Standard adminhelp
*
*  Version History
*   1.0.BETA	- Intial Version
*   1.0		- Intial Release
*   1.1		- FIxed the IGNORE_MINUS, added the base for search by flags
*
* Special Thanks to:
*  AMXX Dev Team - For creating the Original Plugin
*  Hawk552 - For making the Search Funciton Possible
*  Suicid3 - For helping with the MOTD Help
*  Geesu - For Approving the Plugin
*
* Future Features
*  AMXX Menu Help
*  AMXX Search by Flags
*/
Requires no modules

NOTE: Replaces the original adminhelp plugin

Known Errors:
When searching, sometimes the results can flood the MOTD. If that happens, you will get:
Code:
L 10/30/2005 - 11:22:27: [AMXX] Run time error 4 (index out of bounds) (plugin "amx_help.amxx") - debug not enabled.
L 10/30/2005 - 11:22:27: [AMXX] To enable debug mode, add " debug" after the plugin name in plugins.ini (without quotes).
Commands:
Code:
amx_help - Normal Help
amx_help search - used to search for commands

motd_help - displays help in a MOTD
motd_help search - displays search results in a MOTD window
Defines -
Code:
// Comment to remove Spaces every 10 commands (Configured up to 100)
#define CON_SPACES
#define MOTD_SPACES

// Checks to see if the first char of a command is a '-'
#define IGNORE_MINUS

// The Number of commands to show
new help_limit = 45
MOTD Help:
[img]http://img431.**************/img431/1396/motdhelp7uf.th.png[/img]

MOTD Search:
(Normally The '-noclip' would've been blocked)
[img]http://img430.**************/img430/9503/motdhelpsearch3gg.th.png[/img]
Attached Files
File Type: sma Get Plugin or Get Source (amx_help.sma - 2980 views - 8.0 KB)
__________________
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
ScubaSteve3465
Senior Member
Join Date: Dec 2004
Old 10-30-2005 , 12:51  
Reply With Quote #2

maybe you should take a screenshot
__________________
ScubaSteve3465 is offline
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 10-30-2005 , 13:27  
Reply With Quote #3

Screenshots Added.
__________________
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 10-30-2005 , 17:59  
Reply With Quote #4

Very Nice man. Where did you get that skins at? Transparent consol is very nice.
__________________
bmann_420 is offline
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 10-30-2005 , 20:08  
Reply With Quote #5

That was a MOTD, but the funny thing is that I actully have a transperent skin. I got it a hl2files.com, and search for a black one (Black = transperent ingame)
__________________
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
AngryMouse
Junior Member
Join Date: Feb 2005
Location: Darwin, Australia
Old 10-31-2005 , 10:09  
Reply With Quote #6

Fails to compile for me, get the following errors:

//// amx_help.sma
// C:\HLServer\czero\addons\amxmodx\scripting\am x_help.sma(94) : error 029: inva
lid expression, assumed zero
// C:\HLServer\czero\addons\amxmodx\scripting\am x_help.sma(94) : warning 215: ex
pression has no effect
// C:\HLServer\czero\addons\amxmodx\scripting\am x_help.sma(94) : error 001: expe
cted token: ";", but found ")"
// C:\HLServer\czero\addons\amxmodx\scripting\am x_help.sma(94) : error 029: inva
lid expression, assumed zero
// C:\HLServer\czero\addons\amxmodx\scripting\am x_help.sma(94) : fatal error 107
: too many error messages on one line
//
// Compilation aborted.
// 4 Errors.
// Could not locate output file compiled\amx_help.amx (compile failed).
//
// Compilation Time: 0.08 sec
// ----------------------------------------

Once its fixed though I want it on my server!

P.S. Forgot to mention I'm using amxmodx 1.60 compiler before anyone asks.
__________________
AngryMouse is offline
Send a message via ICQ to AngryMouse Send a message via MSN to AngryMouse
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 10-31-2005 , 11:37  
Reply With Quote #7

Uploaded new version.

Quote:
Originally Posted by Charr
Replace line 94's:
Code:
if(equali(cmd,-,1))

With:
Code:
if(equali(cmd,"-",1))

Or you can undefine "IGNORE_MINUS"

Can't upload the file now, but I will later.
[1.1]
-Fixed the IGNORE_MINUS
-Added the base for search by flags
__________________
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
JackDaniels666
Senior Member
Join Date: Mar 2006
Old 03-04-2006 , 20:55   amx_help Error
Reply With Quote #8

Counter-Strike 1.6

L 03/04/2006 - 16:475: [AMXX] Function is not present (function "handle_flags") (plugin "amx_help.amxx")
L 03/04/2006 - 16:475: [AMXX] Native error in "register_clcmd" on line 53 (file "amx_help.sma"


JackDaniels666 is offline
ExKiLL
Senior Member
Join Date: Nov 2005
Location: Germany
Old 05-18-2007 , 13:25   Re: AMX MOTD Help
Reply With Quote #9

this plugin dont work on 1.6

without debug

L 05/18/2007 - 185:29: Function "handle_flags" was not found
L 05/18/2007 - 185:29: [AMXX] Run time error 19 (plugin "amx_help.amxx") - debug not enabled!
L 05/18/2007 - 185:29: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

with debug

L 05/18/2007 - 185:45: Function "handle_flags" was not found
L 05/18/2007 - 185:45: [AMXX] Displaying debug trace (plugin "amx_help.amxx")
L 05/18/2007 - 185:45: [AMXX] Run time error 19: function not found
L 05/18/2007 - 185:45: [AMXX] [0] 4400.attach::plugin_init (line 53)


but, this would be very nice!
__________________
193.192.59.43:27015 ----- italy ( 20 )
85.25.150.62:27015 ------ sHclachthaus ( 14 )
85.25.150.62:27055 ------ DeathMatch ( 20 )
85.25.150.62:27035 ------ Kreedz Hangout ( 18 )
85.214.100.160:27015 ---- 24/7 full house | **GG + DM** ( 32 )
93.190.64.150:27015 ----- Superhero (12)
ExKiLL is offline
darkangelcloud7
Junior Member
Join Date: Mar 2008
Old 05-18-2008 , 11:55   Re: AMX MOTD Help
Reply With Quote #10

....you know the MOTD can only be started once when you join server, I dont think you can renable it in the console, i know you can with amxmod, but somehow the Web Browsering only works in CSS orr source games, and counter strike 1.6, but, web browsering does not work in Half life, or Half life mods, or Tfc. =(....
darkangelcloud7 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 11:48.


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