|
|
Register •
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Uploaded my version ot TWXProxy to grimy's.
| Author |
Message |
|
Maniac
Lieutenant J.G.
Joined: Sun Mar 13, 2005 3:00 am Posts: 387 Location: USA
|
 Uploaded my version ot TWXProxy to grimy's.
Don't know if it is worth while but I have uploaded a tweaked version of TWXProxy to grimy's.
I have added a cosmetic change to the setup menu that I find usable and added a couple of new commands first and foremost this is alpha code it has had about 2 hours testing to see if it works.
There are now 2 new commands in the scripters library in this version.
I added a shell command that will allow you to run an external command or window to do whatever you want, through the scripting framework. Consider this to be alpha software and hold your flames for the next release if EP decides to include it into the next release. I am a coder not a tester that can decide what the documentation should be.
The first command that I'd like to talk about is the MOD command
Seems that ParrotHead had a problem with dates and asked for help.... I implemented this solution by stealing code from the divide routine and taking out the real/extended/floating point error check that Xide/EP had in there and substituted the MOD command instead of the divide command.
The next thing I added is something that has a potential for trouble. IMHO the security model for windows leaves a lot to be desired and if I have exposed a way for someone from outside your computer to run malicious programs then I apologize in advance. The command will run any command that you can run under windows... In essence it takes the parameters of <command to run> <arguments to same> and then has no security whatsoever as who is doing the execution. I want to throw this out because I believe that if through the script you could start another program and get some feedback or even if someone invented a way to talk to another program through the clipboard or other such way it could open up a whole new arena for tradewars that could get more people involved in scripting.
The command I added is named shell and it takes 2 parameters
The First parameter is the name of the program you want to run. The Second is the parameters/arguments that you want to pass to the program you want to run. Due to a brain fart I didn't test it out fully. YOU MUST HAVE 2 PARAMETERS But the second parameter can be a null string so this would work shell "notepad.exe" "" would open notepad with a blank file.
If this is something that the community doesn't want then let me know. I'll I'm doing is throwing out ideas and the ones that are good are usually the ones that I forget about. That's my story and I'm sticking to it.
_________________ Find out just what any people will quietly submit to and you have the exact measure of the injustice and wrong which will be imposed on them. Frederick Douglas
|
| Mon Mar 17, 2008 12:56 am |
|
 |
|
Promethius
Ambassador
Joined: Mon Feb 09, 2004 3:00 am Posts: 3141 Location: Kansas
|
 Re: Uploaded my version ot TWXProxy to grimy's.
On the shell command, it might be good to have a config file where the user can setup programs that he/she is willing to run.
I have some other concerns, but I will start a new thread on them.
_________________
/ Promethius / Enigma / Wolfen /
"A man who has no skills can be taught, a man who has no honor has nothing."
|
| Mon Mar 17, 2008 12:30 pm |
|
 |
|
Zarkahn
Lieutenant
Joined: Sat Nov 06, 2004 3:00 am Posts: 600 Location: USA
|
 Re: Uploaded my version ot TWXProxy to grimy's.
first u wanna break my scripts... now u wanna break TWX...laff Darn I know how to pick em... Darn MIA member of Mass Destruction...
_________________ Its not the Kill, Its the Thrill of the Chase
S: Min: 297 Max: 437 Average: 410 -- Just here to attack aliens
S: High/Low Removed Average: 421
|
| Wed Mar 19, 2008 4:15 pm |
|
 |
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 21 guests |
|
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 post attachments in this forum
|
|