forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


OPEN SOURCE PROJECT - REMOTE SHUTDOWN STARTED !!!!

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript Open Source Projects
View previous topic :: View next topic  
Author Message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Tue Jul 23, 2002 9:09 am    Post subject: OPEN SOURCE PROJECT - REMOTE SHUTDOWN STARTED !!!! Reply with quote

OK, I have uploaded all the files needed to start the project.

Please read this first:

This is the first project all the files have been added to a zip file,
everything in client.zip is the software that has to run on a client machine.

everything in server.zip is the software that has to run on a server.

This is my hard work so please do not rip it off. If you makes changes please let me know and i will create an upload directory for you.

If I decide to sell or give away the final version, eveyone who contributed will receive a crediation and a share of any monies.

download link:
http://www.metni.net/files/sid.zip

1,758KB

Nathan (alias - Rubes_sw)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Jul 23, 2002 10:11 am    Post subject: Reply with quote

Hello,

Your program is a bit confusing... isn't it easier to make just a sort of chat-program, and then send commands like CLOSEWINDOWS or RESTARTCOMPUTER, cause I don't get your program at work...

Maybe it's easier to use this at the client side:

Code:

rem server sends commands like this:
rem CLOSEWINDOWS|30
rem RESTARTCOMPUTER|500

:evloop
%%event = @event()
if @not(@null(%%event))
  goto %%event
  end

%%data = @net(socket,data)
option fieldsep,|
parse "%%command;%%time",%%data

if @equal(%%command,CLOSEWINDOWS) 
  info Windows will be closed in %%time seconds...
  wait event,%%time
    %%event = @event()
    goto %%event
  end

if @equal(%%command,RESTARTCOMPUTER) 
  info The computer will be restarted in %%time seconds...
  wait event,%%time
    %%event = @event()
    goto %%event
  end
goto evloop

:timer
if @equal(%%command,CLOSEWINDOWS)
  rem close windows
  end
if @equal(%%command,RESTARTCOMPUTER)
  rem restart the computer
  end
goto evloop


That's a lot smaller then your example...

If you want it, I have also a server example...
Back to top
View user's profile Send private message
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 737
Location: The Netherlands

PostPosted: Tue Jul 23, 2002 11:21 am    Post subject: Reply with quote

I'll see if I can contribute to the program as well. For now I have a few remarks:

I notice OPTION SCALE being used. Although that is a good practice, it shouldn't
be used like this:
OPTION SCALE,@sysinfo(pixperin)
This would set OPTION SCALE to the pixels-per-inch value of the system on which
the script is being executed. Rather it should be set to the pixels-per-inch value
of the system on which the script was designed. Depending on your system you
should therefore put a fixed value such as:
OPTION SCALE,96

I also noticed the included runtime DLL being quite old, I think it's of version 3.0
while version 3.51 already is available. Is there any specific reason for not using
the latest version of VDS 3? Or is it supposed to be compiled in VDS 4?

Tommy
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Tue Jul 23, 2002 1:39 pm    Post subject: Mistakes Reply with quote

There are a few mistakes Sad

I did not mean to include vdsrun30.dll as I have a registered version of :

VDS 3.51 & VDS 4

The Server & Client Software was compiled in VDS4.

And yes please Tommy, As far as I am concerned you are one of the great DLL & VDS programmers about here. And any help or comments would be very well receieved.

Nathan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Jul 23, 2002 1:57 pm    Post subject: Reply with quote

Just in case you'd like it, I'd be happy to create a compiled HTML Help File, *.chm, for you Smile

All you would have to do is write me the text you want to put in it.

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Jul 23, 2002 2:21 pm    Post subject: Reply with quote

Here are a few suggestions:
1) change the "WARN You can not run two copy"'"s of SID Server on the one machine." to:
"WARN You can not run two copies of SID Server on the one machine."

2) As for the BITBTNs, personally I think they would look nicer if they had their sizes set as (in the server part): Width:24 Height:22, but that is for you to decide. Smile

But all of that is up to you... Smile
Back to top
View user's profile Send private message Visit poster's website
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Fri Aug 02, 2002 6:24 pm    Post subject: Remote Shutdown Reply with quote

I'm busy making a communication-script which also uses remote shutdown.
I can give it to you, but the only problem is that it is a Dutch program. But perhaps the script will help you.
If you're interested, just mail me.
vic_delfant@hotmail.com

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
Tsunami1988
Contributor
Contributor


Joined: 15 Aug 2002
Posts: 70
Location: The Netherlands

PostPosted: Sun Dec 01, 2002 3:52 pm    Post subject: Re: Remote Shutdown Reply with quote

Vic wrote:
I'm busy making a communication-script which also uses remote shutdown.
I can give it to you, but the only problem is that it is a Dutch program. But perhaps the script will help you.
If you're interested, just mail me.
vic_delfant@hotmail.com

hey, can I have it? Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 737
Location: The Netherlands

PostPosted: Tue May 06, 2003 9:52 pm    Post subject: Reply with quote

I've just come across this resource and a tool that I think is very useful is available there:

http://www.beyondlogic.org/consulting/remoteprocess/BeyondExec.htm

It's freeware too. They say it is capable of remotely launching software in order to
install things, like service packs and such, or remotely shutting down machines.

BTW, the rest of the site is great too.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Wed Jul 16, 2003 2:25 pm    Post subject: Reply with quote

hi all,

i came across a scripting language that has built-in network support so that it is possible to remotely shutdown computers simply by using one of its command...among the many things that it can do

i had a look at the syntax and commands and functions...and they are very similar to vds

you can find out more about it at www.kixtart.org

the web site says

Quote:
KiXtart is a logon script processor and enhanced batch scripting language for computers running Windows XP, Windows 2000, Windows NT or Windows 9x in a Windows Networking environment.


and

Quote:
The KiXtart free-format scripting language can be used to display information, set environment variables, start programs, connect to network drives, read or edit the registry change the current drive and directory and much more.


the download is not huge so you can easily download it and check it out

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Wed Jul 16, 2003 2:49 pm    Post subject: Reply with quote

Hmmm... looks like a nice package for network admins. I can definitely use that. Thanks Serge! Very Happy
_________________
"ah, come take my hand... we're ridin' out tonight to face the promised land"
Get a free iPod mp3 player...
Back to top
View user's profile Send private message Send e-mail
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Thu Jul 17, 2003 1:47 am    Post subject: Reply with quote

you're welcome Hortalonus...found it by accident in a newsletter and remembered the discussion at the forum about remote shutdown

the package does look nice if you are a network admin

if you believe the documentation, it appears to be a very popular package among network admin folks

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript Open Source Projects All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group