Jump to content


Photo

Cdm Extension


  • Please log in to reply
40 replies to this topic

#1 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 10 May 2007 - 10:50 PM

OK, here is my latest extension for GM7. A collection of my scripts and DLLs. There are a lot of functions, all of which are described in the help file. There are memory functions, power functions, loads of stuff.

:( NOTE: This extension and its contents may not be used in any System Info, System Detection or other similar programs, apart from "Laptop Assistant" by cdm319 (me) and "System Force" by Digital X Interactive.

:( Features:
  • get_computer_name()
  • get_country()
  • get_cpu_number()
  • get_date_format()
  • get_directx_version()
  • get_external_ip()
  • get_ie_serial()
  • get_ie_version()
  • get_internal_ip()
  • get_language()
  • get_online_status()
  • get_powerscheme()
  • get_processor_name()
  • get_screen_res()
  • get_screensaver()
  • get_system_dir()
  • get_time_format()
  • get_timezone_dyt()
  • get_timezone_std()
  • get_username()
  • get_wallpaper()
  • get_windows_dir()
  • get_windows_serial()
  • cdm_get_os()
  • cdm_ram_total()
  • cdm_ram_avail()
  • cdm_ram_percent()
  • cdm_page_total()
  • cdm_page_avail()
  • cdm_virtual_total()
  • cdm_virtual_avail()
  • cdm_ac_status()
  • cdm_battery_status()
  • cdm_battery_percent()
  • cdm_battery_life()
  • cdm_battery_life_remaining()
  • get_drivetype (drive)
:D Link: CDM Extension

Edited by cdm319, 14 May 2007 - 08:41 PM.

  • 0

Chris Matthews, Co-Leader of Digital X

#2 Mynameisonic

Mynameisonic

    GMC Member

  • New Member
  • 170 posts

Posted 11 May 2007 - 08:52 PM

:) NOTE:  This extension and its contents may not be used in any System Info, System Detection or other similar programs, apart from "Laptop Assistant".

<{POST_SNAPBACK}>


Not that it's not a cool extension, but other than maybe checking to see if the computer your game is on isn't very good, (which would be useful in a 3D or online game) I don't really see how else this would be useful. I would give it a 7/10 for the idea though.

PS, an example might be nice, even though it's pretty straightforward.
  • 0
Posted Image

#3 bluemagica

bluemagica

    Grand Wizard

  • New Member
  • 3243 posts

Posted 12 May 2007 - 11:15 AM

WOW...great work, i have some nice uses for this....
  • 0

#4 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 13 May 2007 - 12:27 PM

thanks for the replies. any ideas for more features?
  • 0

Chris Matthews, Co-Leader of Digital X

#5 Svenxante

Svenxante

    GMC Member

  • New Member
  • 35 posts

Posted 13 May 2007 - 02:21 PM

Ehm, You forgot to add the function get_online_Status().
In the Help file it is listed, but you did not add it to the .gmx file.

Can you fix it please? I need this function :D.

Edited by Svenxante, 13 May 2007 - 03:21 PM.

  • 0

#6 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 13 May 2007 - 05:08 PM

oops... well I'll fix it later - goin to church first.
(oops... ich werde es spater hinzufugen - aber jetzt werde ich nach kirche fahren)

Edited by cdm319, 13 May 2007 - 05:08 PM.

  • 0

Chris Matthews, Co-Leader of Digital X

#7 Bowex

Bowex

    Digital-X

  • New Member
  • 462 posts

Posted 14 May 2007 - 03:17 PM

NOTE: This extension and its contents may not be used in any System Info, System Detection or other similar programs, apart from "Laptop Assistant".


Heh I wonder why *cough* :huh:


Anyway nice work !
  • 0

#8 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 14 May 2007 - 04:42 PM

well... Laptop Assistant and System Force, but I doubt you need it Bowex lol. Thanks! :huh: (by the way, how was my german?)

(oops... ich werde es spater hinzufugen - aber jetzt werde ich nach kirche fahren)


Edited by cdm319, 14 May 2007 - 08:43 PM.

  • 0

Chris Matthews, Co-Leader of Digital X

#9 Mynameisonic

Mynameisonic

    GMC Member

  • New Member
  • 170 posts

Posted 14 May 2007 - 11:52 PM

by the way, how was my german?

I don't speak German, but according to Google Translator...

"I become it spater in addition joints - I will drive however now to church "

Erm, yeah... No idea what that means. Google translator is notorious for having really weird translations of things. Probably Google's problem.
  • 0
Posted Image

#10 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 15 May 2007 - 10:39 AM

lol it says "oops... i will add it later - but now i have to go to church" anyway, does anyone have any ideas for additional functions?
  • 0

Chris Matthews, Co-Leader of Digital X

#11 Svenxante

Svenxante

    GMC Member

  • New Member
  • 35 posts

Posted 17 May 2007 - 06:50 PM

lol it says "oops... i will add it later - but now i have to go to church" anyway, does anyone have any ideas for additional functions?

<{POST_SNAPBACK}>


Yes, add the "User_Online()" function ;)
  • 0

#12 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 17 May 2007 - 08:10 PM

in addition to that...
  • 0

Chris Matthews, Co-Leader of Digital X

#13 Dragonos

Dragonos

    Multimedia Pro

  • New Member
  • 357 posts

Posted 18 May 2007 - 11:45 PM

It works poorly with my mac.
But perfect with my PC.
Nice work!
NOTE: This extension and its contents may not be used in any System Info, System Detection or other similar programs, apart from "Laptop Assistant" by cdm319 (me) and "System Force" by Digital X Interactive.

Umm yah that quite a shame...
Can't you say just give credit?
  • 0

#14 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 19 May 2007 - 05:05 PM

no - the licence is definite
  • 0

Chris Matthews, Co-Leader of Digital X

#15 tdmgames

tdmgames

    GMC Member

  • New Member
  • 1641 posts

Posted 19 May 2007 - 05:13 PM

It works poorly with my mac.
But perfect with my PC.
Nice work!
NOTE: This extension and its contents may not be used in any System Info, System Detection or other similar programs, apart from "Laptop Assistant" by cdm319 (me) and "System Force" by Digital X Interactive.

Umm yah that quite a shame...
Can't you say just give credit?

<{POST_SNAPBACK}>

i thought GM dont work wth MAC only windows :(
  • 0
OH Balls!

Domain change: If any of my links do you not, please PM me and I will send you a working link :)

t3mp3st+Me+BMG = t3mp3st's edited avatar with changing colour effect.

#16 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 19 May 2007 - 08:50 PM

yeah that confused me a bit too - but please people, can we focus on new feature ideas instead of all this chit chat?
  • 0

Chris Matthews, Co-Leader of Digital X

#17 Mynameisonic

Mynameisonic

    GMC Member

  • New Member
  • 170 posts

Posted 23 May 2007 - 11:23 PM

Macs now run Windows, if you didn't know.
  • 0
Posted Image

#18 tdmgames

tdmgames

    GMC Member

  • New Member
  • 1641 posts

Posted 24 May 2007 - 02:30 PM

oh... thast cool i guess :medieval:
  • 0
OH Balls!

Domain change: If any of my links do you not, please PM me and I will send you a working link :)

t3mp3st+Me+BMG = t3mp3st's edited avatar with changing colour effect.

#19 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 24 May 2007 - 07:44 PM

For flip sake people i've had 17 posts and not one suggestion!!! come on and stop posting useless information
  • 0

Chris Matthews, Co-Leader of Digital X

#20 Svenxante

Svenxante

    GMC Member

  • New Member
  • 35 posts

Posted 25 May 2007 - 12:51 PM

For flip sake people i've had 17 posts and not one suggestion!!! come on and stop posting useless information

<{POST_SNAPBACK}>

Post a new Version with the check if online function!
  • 0

#21 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 27 May 2007 - 01:34 PM

i will only update it if i get requests for more functions! I am not going to update for the sake of one function...
  • 0

Chris Matthews, Co-Leader of Digital X

#22 aeharding

aeharding

    GMC Member

  • New Member
  • 462 posts

Posted 01 June 2007 - 02:45 AM

i will only update it if i get requests for more functions! I am not going to update for the sake of one function...

<{POST_SNAPBACK}>


I don't know if you all ready have these... But if not...

1. get_computer_manufactuer()
2. get_partions()
3. get_windows_version()
4. get_windows_bit()
5. get_hard _drive space_total()
6. get_hard_drive_space_left()
8. get_usb_amount()
9. get_usb_availible_amount()
10. get_connection_type()
11. get_connection_speed()
12. get_wireless_network()
13. get_directx_version()
14. get_lastime_windows_update()
15. get_scheme()

I'd really like to see number 14!

Thought I'd help,
~aeharding

Edited by aeharding, 01 June 2007 - 02:49 AM.

  • 0

#23 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 01 June 2007 - 01:49 PM

thanks - will work on those suggestions - some already exist and some are ready to be loaded onto the GEX

1. get_computer_manufactuer()

Ok, working on it

2. get_partitions()

Ok, working on it

3. get_windows_version()

Already in extension

4. get_windows_bit()

What do you mean? Explain?

get_hard _drive space_total()

Ready, in next version

get_hard_drive_space_left()

Ready, in next version

get_usb_amount()

Hmm... working on it

9. get_usb_availible_amount()

Hmm... working on it

10. get_connection_type()

Hmm... toughie... working on it

11. get_connection_speed()

Hmm... toughie... working on it

12. get_wireless_network()

Hmm... another toughie... working on it

13. get_directx_version()

Already in the extension

14. get_lastime_windows_update()

Hmm... this one is interesting... will work on it

15. get_scheme()

Please explain further


Edited by cdm319, 01 June 2007 - 04:29 PM.

  • 0

Chris Matthews, Co-Leader of Digital X

#24 aeharding

aeharding

    GMC Member

  • New Member
  • 462 posts

Posted 01 June 2007 - 05:57 PM

thanks - will work on those suggestions - some already exist and some are ready to be loaded onto the GEX

1. get_computer_manufactuer()

Ok, working on it

2. get_partitions()

Ok, working on it

3. get_windows_version()

Already in extension

4. get_windows_bit()

What do you mean? Explain?

get_hard _drive space_total()

Ready, in next version

get_hard_drive_space_left()

Ready, in next version

get_usb_amount()

Hmm... working on it

9. get_usb_availible_amount()

Hmm... working on it

10. get_connection_type()

Hmm... toughie... working on it

11. get_connection_speed()

Hmm... toughie... working on it

12. get_wireless_network()

Hmm... another toughie... working on it

13. get_directx_version()

Already in the extension

14. get_lastime_windows_update()

Hmm... this one is interesting... will work on it

15. get_scheme()

Please explain further

<{POST_SNAPBACK}>



For get_bit()

Some computer are 16, 32 or 64 Bit. Some programs need to know this.

For scheme, just go right click on desktop and press customize. If there is a preset one, say that. If customized, say that.
  • 0

#25 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 02 June 2007 - 10:13 PM

there is no right-click "customise" on my desktop... what is the scheme?
  • 0

Chris Matthews, Co-Leader of Digital X

#26 jakman4242

jakman4242

    Vertical Shmup Junkie

  • New Member
  • 3222 posts

Posted 03 June 2007 - 11:49 PM

How about for when a game is in fullscreen.

windows_get_taskbar()

It makes your taskbar appear on the screen, kind of like a layover.

People could use that in so many games it'd be awesome!
  • 0
-- My blog. --

#27 aeharding

aeharding

    GMC Member

  • New Member
  • 462 posts

Posted 04 June 2007 - 05:59 AM

there is no right-click "customise" on my desktop... what is the scheme?

<{POST_SNAPBACK}>

I mean properties... Sorry.
  • 0

#28 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 04 June 2007 - 06:57 PM

ah i see - and I'll work on your suggestion as well jakman
  • 0

Chris Matthews, Co-Leader of Digital X

#29 aeharding

aeharding

    GMC Member

  • New Member
  • 462 posts

Posted 04 June 2007 - 07:01 PM

ah i see - and I'll work on your suggestion as well jakman

<{POST_SNAPBACK}>

Thanks!
  • 0

#30 Novice_helper

Novice_helper

    GMC Member

  • New Member
  • 64 posts

Posted 04 June 2007 - 07:31 PM

by the way, how was my german?

I don't speak German, but according to Google Translator...

"I become it spater in addition joints - I will drive however now to church "

Erm, yeah... No idea what that means. Google translator is notorious for having really weird translations of things. Probably Google's problem.

<{POST_SNAPBACK}>


german grammar is very different than english grammar.
  • 0

#31 oakwhiz

oakwhiz

    GMC Member

  • New Member
  • 268 posts

Posted 09 July 2007 - 02:27 AM

I think this could be useful to save your game if you are running out of batteries on a laptop/notebook.
  • 0

#32 Hach-Que

Hach-Que

    RoketGames Admin

  • New Member
  • 1490 posts

Posted 09 July 2007 - 04:19 AM

For get_bit()

Some computer are 16, 32 or 64 Bit. Some programs need to know this.

<{POST_SNAPBACK}>


Unless your writing a simple program that will run another program depending on the processor bit, it's useless. Plus the program itself would have to be 16-bit (16bit will run on 16, 32 and 64 bit processors). Once a program is compiled, it will run on the processor bit it is designed for. If you build a program on a 64-bit processor it is not going to run on a 32-bit processor. And if you run a 32-bit program on a 64-bit processor, there is no way to make it run in a "64-bit" mode for the speed advantages.
  • 0

I don't visit these forums (and I haven't for quite some time). You can

see my latest community projects at the Redpoint Blog.


I never thought I'd see myself writing the above.. :(


#33 Hach-Que

Hach-Que

    RoketGames Admin

  • New Member
  • 1490 posts

Posted 10 July 2007 - 05:09 AM

Game Making Resources Mirror :

http://www.gm-resour...urce=ext&id=146
  • 0

I don't visit these forums (and I haven't for quite some time). You can

see my latest community projects at the Redpoint Blog.


I never thought I'd see myself writing the above.. :(


#34 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 10 July 2007 - 09:01 AM

thanks Hach-Que
  • 0

Chris Matthews, Co-Leader of Digital X

#35 spacerat

spacerat

    GMC Member

  • GMC Member
  • 233 posts

Posted 10 July 2007 - 07:09 PM

NOTE: This extension and its contents may not be used in any System Info, System Detection or other similar programs, apart from "Laptop Assistant".


Heh I wonder why *cough* :whistle:


Anyway nice work !

<{POST_SNAPBACK}>



Good question. Considering getting system info is the only thing this extension does, what CAN you use most of it for if not for making "Laptop Assistant" programs, which apparently only you and Digital X Interactive are allowed to make?

Edited by spacerat, 10 July 2007 - 07:09 PM.

  • 0
Registered GM 7 | Vista Ultimate X86 | Intel Core 2 Duo E6750 2.6 GHz FSB 1333 mhz | ASUS P5B-SE Motherboard | ATI Radeon HD 4870 512 MB | 4GB DDR2 667 Mhz Elixiar Ram | Realtek HD Audio | 1280x1024 ViewSonic VE710s LCD screen | Logitech MX 518 Mouse| Saitek Eclipse Keyboard Blue | AOL 8 Mb broadband| Ralink 58 Mb/s wireless PCI card | nEar 05 Classic studio speakers.

Anything else you need to know?

#36 jobro

jobro

    GMC Member

  • GMC Member
  • 1300 posts
  • Version:GM:Studio

Posted 11 July 2007 - 03:12 AM

:GM7: NOTE:  This extension and its contents may not be used in any System Info, System Detection or other similar programs, apart from "Laptop Assistant" by cdm319 (me) and "System Force" by Digital X Interactive.


Not allowed to use = not allowed to download.

0/10
  • 0

Marketplace.png


#37 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 11 July 2007 - 08:54 AM

jobro, you can use it in anything as long as it isn't a system info program...

spacerat, the rest of the people posting seem to have no problem finding other uses for it :whistle:
  • 0

Chris Matthews, Co-Leader of Digital X

#38 spacerat

spacerat

    GMC Member

  • GMC Member
  • 233 posts

Posted 14 July 2007 - 08:28 AM

jobro, you can use it in anything as long as it isn't a system info program...

<{POST_SNAPBACK}>


but WHY?
  • 0
Registered GM 7 | Vista Ultimate X86 | Intel Core 2 Duo E6750 2.6 GHz FSB 1333 mhz | ASUS P5B-SE Motherboard | ATI Radeon HD 4870 512 MB | 4GB DDR2 667 Mhz Elixiar Ram | Realtek HD Audio | 1280x1024 ViewSonic VE710s LCD screen | Logitech MX 518 Mouse| Saitek Eclipse Keyboard Blue | AOL 8 Mb broadband| Ralink 58 Mb/s wireless PCI card | nEar 05 Classic studio speakers.

Anything else you need to know?

#39 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 14 July 2007 - 03:18 PM

Because i made it, and i say so. The rule stands.
  • 0

Chris Matthews, Co-Leader of Digital X

#40 Lukearentz

Lukearentz

    My Two Cents

  • New Member
  • 2587 posts

Posted 31 January 2008 - 01:34 PM

Well can i just clarify something. If i want to make a laptop assistant or similar program am i allowed to as long as it is for my personal use? or just never.
  • 0
I have left the GMC, and my domain is no longer registered to me.
All previous links will not work, for any information/links please PM me, and I may be able to help you

#41 cdm319

cdm319

    C++ Programmer

  • New Member
  • 885 posts

Posted 31 January 2008 - 07:05 PM

Personal Use is fine. However, the extension may NOT be distributed as part of any program or game except for personal use on your own computer.

Thanks.
  • 0

Chris Matthews, Co-Leader of Digital X