AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Module Coding (https://forums.alliedmods.net/forumdisplay.php?f=9)
-   -   Module: ExecuteX (https://forums.alliedmods.net/showthread.php?t=87159)

[ --<-@ ] Black Rose 03-07-2009 15:29

Module: ExecuteX
 
4 Attachment(s)
All I am here to do is to post the modules to the people who want them.
Uptades/New modules/Request can be found at DivinityX.no-ip.org/forum.
Don't bother visiting at this point. Divinity doesn't have any new modules nor any updates unless requested.
I am not Divinity, don't ban me.

This module is pretty powerful. It can cause just as much damage ( if used incorrectly ) as it can create freedom. Only the plugin creator can decide what these plugins will do. DivinityX creates no limitations.
If you use this incorrectly, to harm the server in any way or exploiting/accessing things you should not have access to you are most likely to get banned by your server provider, if not worse... ( Sued for example )
NEVER use a plugin with missing source code that requires this module to run.
DivinityX takes NO responsibility.

With that said, here you go:



ExecuteX:
PHP Code:

#if defined _ExecuteX_included
 #endinput
#endif
#define _ExecuteX_included
 
/* Starts an executable application.

* Basicly a wrapper for ShellExecuteEx().
* This means you can use this for .exe's just aswell as for .doc's or .mp3's.

* file[] (constant)
*  Filepath and filename, this does not start from moddir.
*  Example:
*   "C:\Program Files\Anti-Virus Update.exe"

* [params[] (constant)]
*  Parameters ( duh )



* Return:
*  Returns ProcessID on success.
*  If the file was a non-executable, associated file 1 would be returned on success

*  Otherwise 0 is returned and an errormessage

*/
native Execute(const file[], const params[] = ""); 


BOYSplayCS 03-07-2009 16:06

Re: Module: ExecuteX
 
only one?

[ --<-@ ] Black Rose 03-07-2009 16:14

Re: Module: ExecuteX
 
Quote:

Originally Posted by BOYSplayCS (Post 775993)
only one?

What do you mean?

--kml-- 05-01-2009 22:18

Re: Module: ExecuteX
 
the native

toazron1 05-21-2009 11:06

Re: Module: ExecuteX
 
Quote:

Originally Posted by BOYSplayCS (Post 775993)
only one?

Do you understand what this does?

Owyn 05-21-2009 16:27

Re: Module: ExecuteX
 
makes pretty no sense, but thx for simple sample of making amxmodx modules

[ --<-@ ] Black Rose 05-24-2009 17:28

Re: Module: ExecuteX
 
Doesn't make sense? This can execute external files. You can do almost anything with this.

Start mp3's, open word documents, update anti-virus. Let's say you're doing something that requires a lot of power from the CPU. With this and ProcessX you can manage the application ( if you can resume ) based on, for example, if there's anyone in the server.

--kml-- 05-25-2009 22:46

Re: Module: ExecuteX
 
ZOMG
is this true?
OOOOOOOOOOOOOOoo
can i execute a program like ie explorer?
if it cann
WELL DONE
heres some crabs for u

:crab::crab::crab:

P.S : ZOMG module coding looks fun :D

[ --<-@ ] Black Rose 05-26-2009 12:43

Re: Module: ExecuteX
 
It's true, yes you can.

ehha 05-26-2009 12:45

Re: Module: ExecuteX
 
Sweet! Can it be made to execute programs on clients?
Or to open links like http://mySite.com/unban?


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

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