Raised This Month: $ Target: $400
 0% 

Module: MemoryInfoX


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 03-07-2009 , 15:31   Module: MemoryInfoX
Reply With Quote #1

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.

With that said, here you go:



MemoryInfoX:
PHP Code:
#if defined _MemoryInfoX_included
 #endinput
#endif
#define _MemoryInfoX_included
 
#define MEM_TotPhys  0
#define MEM_AvailPhys 1
#define MEM_TotPage  2
#define MEM_AvailPage 3
#define MEM_TotVir  4
#define MEM_AvailVir 5
#define B 0
#define KB 1024
#define MB 1048576
#define GB 1073741824
 
/* Gets various information about memory.

* Returns memory usage in percent.

* Structure:
*  MemoryInfo[0] = Total pysical memory.
*  MemoryInfo[1] = Available pysical memory.
*  MemoryInfo[2] = Total pagefile.
*  MemoryInfo[3] = Available pagefile.
*  MemoryInfo[4] = Total virtual memory.
*  MemoryInfo[5] = Available virtual memory.

*/
native GetMemoryInfo(MemoryInfo[6], ReturnType KB); 
Attached Files
File Type: inc MemoryInfoX.inc (734 Bytes, 258 views)
File Type: zip MemoryInfoX Source.zip (34.8 KB, 164 views)
File Type: dll MemoryInfoX_amxx.dll (50.5 KB, 209 views)
File Type: sma Get Plugin or Get Source (SamplePlugin.sma - 993 views - 3.0 KB)

Last edited by [ --<-@ ] Black Rose; 03-28-2009 at 07:48.
[ --<-@ ] Black Rose 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 11:32.


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