Raised This Month: $ Target: $400
 0% 

Add data on status


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 07-05-2017 , 10:11   Re: Add data on status
Reply With Quote #1

using steam cmd
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 07-05-2017 at 10:12.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
SpawnerF
Member
Join Date: Apr 2017
Location: Morocco
Old 07-06-2017 , 11:02   Re: Add data on status
Reply With Quote #2

Or you can make your own status cmd replace status with the new concmd using okapi

Code:
okapi_engine_replace_string( "status" , "newStatus" )

and add whatever you like in newStatus
__________________
XX was created just for giving evidence and not meant to damage public servers.
&We do not test on public servers.
Thank's.

Last edited by SpawnerF; 07-06-2017 at 11:03.
SpawnerF is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 07-07-2017 , 07:15   Re: Add data on status
Reply With Quote #3

Quote:
Originally Posted by SpawnerF View Post
Or you can make your own status cmd replace status with the new concmd using okapi

Code:
okapi_engine_replace_string( "status" , "newStatus" )

and add whatever you like in newStatus
This is probably against Valve's policy. I just want to add a few stuff on status.
eyal282 is offline
SpawnerF
Member
Join Date: Apr 2017
Location: Morocco
Old 07-07-2017 , 08:57   Re: Add data on status
Reply With Quote #4

I gave you a small idea it's not against Valve policy since you will use it legally.
__________________
XX was created just for giving evidence and not meant to damage public servers.
&We do not test on public servers.
Thank's.
SpawnerF is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 07-07-2017 , 08:58   Re: Add data on status
Reply With Quote #5

Quote:
Originally Posted by SpawnerF View Post
I gave you a small idea it's not against Valve policy since you will use it legally.
But how to mimic the data on status? I need to know if the server is VAC secure, how is that done?
eyal282 is offline
SpawnerF
Member
Join Date: Apr 2017
Location: Morocco
Old 07-07-2017 , 09:11   Re: Add data on status
Reply With Quote #6

Quote:
Originally Posted by eyal282 View Post
But how to mimic the data on status? I need to know if the server is VAC secure, how is that done?
What do you want to add?

Edit : Is your server using ReHLDS?

Edit : It will be something like that :

Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <okapi> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author" public plugin_init() {         register_plugin(PLUGIN, VERSION, AUTHOR)         register_concmd("status", "callStatus_Hook")     } public plugin_precache()    okapi_engine_replace_string( "status" , "^n" ) public callStatus_Hook(id){         client_print( id, print_console, " new Status " )         return PLUGIN_HANDLED; // block "Unknown command" from showing up.     }

Other things are easy you can play with get_cvar_string
__________________
XX was created just for giving evidence and not meant to damage public servers.
&We do not test on public servers.
Thank's.

Last edited by SpawnerF; 07-07-2017 at 09:46.
SpawnerF is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 07-07-2017 , 16:12   Re: Add data on status
Reply With Quote #7

Quote:
Originally Posted by SpawnerF View Post
What do you want to add?

Edit : Is your server using ReHLDS?

Edit : It will be something like that :

Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <okapi> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author" public plugin_init() {         register_plugin(PLUGIN, VERSION, AUTHOR)         register_concmd("status", "callStatus_Hook")     } public plugin_precache()    okapi_engine_replace_string( "status" , "^n" ) public callStatus_Hook(id){         client_print( id, print_console, " new Status " )         return PLUGIN_HANDLED; // block "Unknown command" from showing up.     }

Other things are easy you can play with get_cvar_string
It is using ReHLDS, no idea how to remove it.
eyal282 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 23:00.


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