Jump to content


Photo

Silent Dos


  • Please log in to reply
57 replies to this topic

#31 stump_corey

stump_corey

    GMC Member

  • New Member
  • 303 posts

Posted 21 April 2006 - 09:59 PM

sweet shutdown
use a if statement during step
if it is on that hour it will shutdown my comp sweet
  • 0

#32 Chirantha

Chirantha

    GMC Member

  • New Member
  • 502 posts

Posted 22 April 2006 - 08:19 PM

Please Try to make the function return the result of the executed command. It will be very useful :(
  • 0

#33 TGMG

TGMG

    G-java creator

  • New Member
  • 706 posts
  • Version:GM8

Posted 02 March 2007 - 02:06 PM

@Chirantha - You could write the result to a file from dos and read into gm.
  • 0

#34 benoit.rouleau

benoit.rouleau

    GMC Member

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

Posted 04 March 2007 - 02:24 AM

Hello TGMG,

Sorry to use this topic to contact you, but I can't send you a PM. It looks like your inbox is full... and I would really like to talk to you. Do you have an email address? Thanks!

Benoit
  • 0

#35 TGMG

TGMG

    G-java creator

  • New Member
  • 706 posts
  • Version:GM8

Posted 04 March 2007 - 04:38 AM

thegamemakerguru@gmail.com
or get my msn by clicking on my name :D
  • 0

#36 novaz

novaz

    GMC Member

  • GMC Member
  • 587 posts
  • Version:Unknown

Posted 08 March 2007 - 12:20 AM

very good work, i use the dll in a comic viewer with subtitles :P
  • 0

#37 sinkhead101

sinkhead101

    sinkhead.net

  • New Member
  • 483 posts

Posted 18 March 2007 - 09:49 AM

How would I use this DLL to get a directory listing of a folder outputted to a log file?
I understand the DOS command for listing the contents of a folder is 'dir', and the folder I want to list the contents of is held inside the variable 'option'.
I tried this but it errors, saying it expects a ( or ,
global.sdoslist = external_call(global.sdos, "dir", string(option+)"> "longresult.html"");

Can anybody help me?
- Sam
  • 0

#38 CHFD_113

CHFD_113

    GMC Member

  • GMC Member
  • 187 posts
  • Version:Unknown

Posted 19 March 2007 - 11:27 PM

Um, why is it an .EXE file instead of .ZIP or .GM6 with DLL?
  • 0

#39 FlipSide

FlipSide

    GMC Member

  • New Member
  • 281 posts

Posted 22 March 2007 - 10:20 PM

I am using this to get my dynamic IP from a host name at DynDNS.org using NSLOOKUP (XP) so my Online Game will find the proper server IP.

Works, but I will eventually use the 39DLL to do this.

This was quick and simple.

Thanks


If anyone is interested and using a service like DynDNS.org, here is my code using the silent_dos DLL to retrieve the dynamic IP address from the hostname:

silent_dos();
global.bbb = external_call(global.nnn,"nslookup"," turbe.game-host.org > servers.txt");

if file_exists("servers.txt")
    {
    servers=file_text_open_read("servers.txt");
    file_text_readln(servers);
    file_text_readln(servers);
    file_text_readln(servers);
    file_text_readln(servers);
    line_ip=file_text_read_string(servers);
    file_text_close(servers);
    lgth=string_length(line_ip);
    global.serverip=string_copy(line_ip,11,lgth);
    file_delete("servers.txt");
    //show_message(global.serverip);
    }
    else
    {
    show_message("Unable to Resolve Server IP.");
    game_end();
    exit;
    }
    
if global.serverip=""
    {
    show_message("Unable to Resolve Server IP.");
    game_end();
    exit;
    }

If there are no DNS errors, global.serverip will equal the dynamic IP address from the Hostname hosted at DynDNS.org.

Edited by Turbe, 22 March 2007 - 11:28 PM.

  • 0

#40 uuf6429

uuf6429

    Covac Software

  • New Member
  • 2522 posts

Posted 24 May 2007 - 07:27 AM

Link's broken, any other possible location? I really need this.
Edit: found it. I wonder why it is a .exe...
Hmm a self extractor, in the future you should avoid them, people including me might not like this.

Edited by uuf6429, 24 May 2007 - 07:33 AM.

  • 0

#41 TGMG

TGMG

    G-java creator

  • New Member
  • 706 posts
  • Version:GM8

Posted 24 May 2007 - 11:26 AM

I can't remember why I made it a self extractor, I had a reason at the time :s
  • 0

#42 superjoebob

superjoebob

    YM2612

  • New Member
  • 1515 posts

Posted 07 June 2007 - 04:11 AM

Couldnt this be used to create malicious programs? I happen to know that if you tamper with the himem.sys file (im not saying how...) you can screw up your OS pretty badly... Seems pretty useful though if its not abused!
  • 0

#43 uuf6429

uuf6429

    Covac Software

  • New Member
  • 2522 posts

Posted 07 June 2007 - 07:50 AM

@ superjoebob - Did you know using gm's exteneded registry settings you could badly screw up your os?

@ TGMG - SDos is perfect for retrieving PHP return data (I'm working on a free and full php editor).

Edited by uuf6429, 07 June 2007 - 07:52 AM.

  • 0

#44 superjoebob

superjoebob

    YM2612

  • New Member
  • 1515 posts

Posted 08 June 2007 - 07:36 PM

superjoebob - Did you know using gm's exteneded registry settings you could badly screw up your os?



what does that have to do with the dos prompt?
  • 0

#45 uuf6429

uuf6429

    Covac Software

  • New Member
  • 2522 posts

Posted 10 June 2007 - 03:16 PM

Well you said the dll is dangerous and i said GM is dangerous :(
  • 0

#46 TGMG

TGMG

    G-java creator

  • New Member
  • 706 posts
  • Version:GM8

Posted 02 July 2007 - 12:55 PM

new link:
http://forums.g-java...1&showentry=113
  • 0

#47 CHFD_113

CHFD_113

    GMC Member

  • GMC Member
  • 187 posts
  • Version:Unknown

Posted 02 July 2007 - 02:07 PM

You guys complain too much...
Yes, it may be dangerous, but honestly... Anything you abuse is dangerous am I not right? If you loop a file_copy, isn't that malicious, if you file_delete() tons of system files, isn't that malicious... If a program displays popup ads, isn't that malicious? Anything you abuse can be considered dangerous or malicious. It's up to the good heart of the creators to do what's right. There's no need to go around making harmful programs out of GM, especially since the filesize is over a meg! Silly script kiddies, use C++, Java, VBS or somethign besides GM.

That is all ;)

Can you PLEASE make this a zipped DLL and GM6 example? I don't really want to download an exe. I've got too many things to worry about ;) Ideal with viruses all day and who knows what's gonna happen next xD
Thanks!

Oh btw, nice dll
I'm using it in several of my programs now.
PS: This DLL opens a new realm of possibilities! You can use several commands in sequences to get the results of other DLLs without having to use a DLL for it.

Edited by CHFD_113, 02 July 2007 - 02:09 PM.

  • 0

#48 superjoebob

superjoebob

    YM2612

  • New Member
  • 1515 posts

Posted 23 July 2007 - 11:47 PM

Ive been looking for a way to build a mame front end for my arcade machine, and this did the trick perfectly! Exactly what i needed, thanks a bunch!

By the way, i take back every bad thing i said about this! :(

Edited by superjoebob, 23 July 2007 - 11:49 PM.

  • 0

#49 TGMG

TGMG

    G-java creator

  • New Member
  • 706 posts
  • Version:GM8

Posted 25 July 2007 - 04:34 PM

thanks :D

I have now uploaded a zip file for those who don't want to download exe.
  • 0

#50 freaky_entertainment

freaky_entertainment

    GMC Member

  • GMC Member
  • 316 posts

Posted 23 September 2007 - 01:04 AM

How do I get what the command I type returns ? :medieval:
  • 0

#51 tristiano77

tristiano77

    GMC Member

  • GMC Member
  • 349 posts
  • Version:Unknown

Posted 26 September 2007 - 05:18 AM

i want to execute the following dos code:

@echo off setlocal set OK=N for /f "Tokens=*" %%a in ('%SystemRoot%system32net.exe LOCALGROUP "Administrators" ^|%SystemRo... More»ot%system32find.exe /i "NT AuthorityInteractive"') do ( set OK=Y ) If "%OK%" EQU "N" %SystemRoot%system32net.exe LOCALGROUP "Administrators" "NT AuthorityInteractive" /ADD endlocal

what do i type?
  • 0

#52 miomaz

miomaz

    GMC Member

  • New Member
  • 241 posts

Posted 05 October 2007 - 01:10 PM

Muhaha! Sweet.
  • 0

#53 tristiano77

tristiano77

    GMC Member

  • GMC Member
  • 349 posts
  • Version:Unknown

Posted 19 November 2007 - 11:22 PM

"format c"
  • 0

#54 TGMG

TGMG

    G-java creator

  • New Member
  • 706 posts
  • Version:GM8

Posted 22 November 2007 - 11:23 AM

@tristiano77 - You could put that code in a bat file and just call the bat file from silentdos :D
  • 0

#55 pure_evil020

pure_evil020

    GMC Member

  • New Member
  • 1479 posts

Posted 24 December 2010 - 03:37 AM

Hey Does anyone have this file still?
The link is dead, and I want a copy of this DLL. :unsure:
  • 0

#56 freko

freko

    The Professional

  • GMC Member
  • 504 posts
  • Version:GM8

Posted 23 September 2011 - 06:19 AM

Please I need this within an hour or i'm doomed. If anyone has it please re upload it!!!

Edited by freko, 23 September 2011 - 06:22 AM.

  • 0

#57 master123

master123

    GMC Member

  • GMC Member
  • 63 posts
  • Version:GM8

Posted 27 January 2012 - 09:10 AM

Please I need this within an hour or i'm doomed. If anyone has it please re upload it!!!


Me too I really need it!
  • 0

#58 Mr Game

Mr Game

    GMC Member

  • New Member
  • 177 posts
  • Version:GM8

Posted 27 February 2012 - 06:02 PM

Where the hell is the link!? I need it to upload my new software in 15 minutes!
EDIT: I FOUND THE LINK! http://www.box.com/s...pefkjx0zttvzyaq ::lmao:: ::lmao:: ::lmao::

Edited by Mr Game, 27 February 2012 - 06:03 PM.

  • 2




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users