View unanswered posts | View active topics It is currently Sun Apr 26, 2026 10:57 am



Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
 A TWX Xmas Wish List! 
Author Message
Captain
User avatar

Joined: Sat Jun 18, 2005 2:00 am
Posts: 2214
Location: USA
Unread post 
Well, Xmas is quickly approaching and I thought well what
better time to tell EP, err, Santa I mean rather about my TWX Wish List! As
well if anybody else has any idea’s please feel free to post them here

1.  I wish
that there were two more commands one similar to waitFor and another
similar to waitOn; though function as setTextLineTrigger, except
maintaining the ease and convenience of use as waitFor and waitOn.
2.  wish
that there were a setTextTrigger and setTextLineTrigger command that
functioned like a goSub routine, you set the trigger it activates runs
through a sub and then returns and continues just under the trigger wait.
3.  I wish
there were a command to active the triggers to meet the “pause”
requirement, without having to mock the pause to activate the triggers.

4.  I wish
the popup windows worked better and included more options to use them,
i.e. interactive radio, select, and forum boxes, allow windows to be
reopened after closed out if user defined (enable/disable) setting is
activated or not, allowing spacing in the window header, font styling,
more controlled text formatting, etc.


Disclaimer: This List may be freely added to or modified at any time,
before, during, or after this current Xmas and/or any future (or for that
matter past) Xmas.  If you happen to be offended by the word Xmas, then my deep apologies, as i am truly sorry that sometime during your upbringing you were somehow turned into a wannabe communist fascist two tailed neophyte-sperm socialist!

_________________
Your reliance upon subjective IRM's, subjugates you through utter omission, obfuscation, and distortion of fact!
Don't mess with me, I will 26 U.S.C. § 7212(a) your IRS!


Mon Nov 20, 2006 11:55 pm
Profile ICQ WWW
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1402
Location: Canada
Unread post 
I'd like to ask santa for a waitfor/waiton cmd with a parameter to time-out or branch upon timing out. ie:

waiton "(?=" :gohere 2000


Oh. And before I forget.. I'd like to throw in:

setTextLineANSITrigger Woot :Woot #27 & "[1;36m<Computer deactivated>"
pause
:Woot
echo "**" & ANSI_14 & "NOW! I can reset my IG**"
send " b y "

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.


Tue Nov 21, 2006 2:51 am
Profile ICQ YIM
Captain
User avatar

Joined: Sat Jun 18, 2005 2:00 am
Posts: 2214
Location: USA
Unread post 
Yea an ANSI trigger, well I did forget about that one, that is a really good one, SPOOF=kthxbye!

_________________
Your reliance upon subjective IRM's, subjugates you through utter omission, obfuscation, and distortion of fact!
Don't mess with me, I will 26 U.S.C. § 7212(a) your IRS!


Tue Nov 21, 2006 3:04 am
Profile ICQ WWW
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post 
Hehe, you guys... you are funny guys.

TWX 2.04Final is coming along nicely. It would be coming along faster if RiverRat and Kaus would just concede rev's solo and admit my win

I am planning a New Year's update on or around Jan 1. But it will be bug fixes and only minor enhancements. But who knows... any really good ideas *might* warrant implementation... so let's hear what else you've got.

Um, to be really worth considering, your idea needs to be something that either can't be accomplished with the current TWX, or can't be accomplished easily. I add this because some of the feature requests I see are possible now, but require 2 or 3 lines of code instead of 1. These requests aren't likely to make the cut

Would it be helpful to address some of these requests that don't make the cut with advice on accomplishing the same result with currently available commands?
... like LoneStars 1st request:

setDelayTrigger timeout :timeout 20000
waitOn "(?="
...
:timeout
killTrigger waitOn1
goto :gohere

Few people know that you can kill a waitOn, so examples like this may be just as helpful as implementing some of these ideas.

+EP+

_________________
Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.


Thu Nov 23, 2006 4:28 am
Profile WWW
Gameop
User avatar

Joined: Sun Oct 08, 2006 2:00 am
Posts: 991
Unread post 
At the University, I have taken courses in 3 programming languages. They were always fairly simple to pick up. The only thing missing from TWX from a 'learning it' stand point is a set of lessons for specific scripting tasks that use every increasing feature/structure complexity.

Any chance of a "Learning TWX in 20 lessons" tutorial? Each lesson with a scripting assignment and a description of the syntax and usaged needed to complete the assignment.

C

_________________
"All warfare is based on deception..." - Art of War
"Time will tell all tales" - SG
Any advanced tactic in TW is indistinguishable from cheating.


Thu Nov 23, 2006 5:52 am
Profile ICQ
Gameop
User avatar

Joined: Fri Sep 03, 2004 2:00 am
Posts: 2041
Location: Acworth, Georgis USA
Unread post 
He has been teaching TWX to others, just been onhiatus, some of us have had to wait till R/L things let the classes restart. Hopefully they will.

_________________
Vulcan's Forge
v1 TWGS telnet://vulcansforge.homeip.net:2002
v2 TWGS telnet://vulcansforge.homeip.net:23
Forum and site down for now.
my Email is vulcan219@comcast.net now


Thu Nov 23, 2006 6:01 am
Profile ICQ YIM
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1402
Location: Canada
Unread post 
ElderProphet wrote:
Um, to be really worth considering, your idea needs to be something that either can't be accomplished with the current TWX, or can't be accomplished easily. I add this because some of the feature requests I see are possible now, but require 2 or 3 lines of code instead of 1. These requests aren't likely to make the cut

From the little programming that I do.. an duse to do in VB.. I'd like to toss into the Ring a couple string parsing functions (Visiual Basic Vernacular):
Left(String, Length)
Right(String, Length)
..perhaps the TWX equiv could be:
Left $Source $Dest $Length

Lone

Edit:  For completeness, a silly example...
setVar $String "World Hello!"
getLength $String $len
setVar $idx 1
while ($idx <= $len)
Left $String $Str $idx
Right $Str $Str 1
echo $Str
add $idx 1
end

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.


Thu Nov 23, 2006 8:14 am
Profile ICQ YIM
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post 
left() already exists in terms of cuttext, right() is just a charflipped left(), which wouldn't be hard to write at all.

The ansi trigger would have it's uses but more useful, IMO, would be a setConstant command. You could setConstant FIGHITANSI as the code for fighit and just compare.

A timeout would be helpful, mostly because it's good practice to have a timeout and doing a timeout for every single important waitFor/waitOn is a bulky workaround.

I would like to see a getInput NUMBER restriction. Every time I get numbers in a menu (which is every menu I write, more or less) I need to check that it's a number and take appropriate actions if it isn't. Be nice if I had some way of controlling the acceptable input chars so I could simply limit that before they type it. Maybe an alternate way of doing that would be to specify $ACCEPTEDCHARS and $LENGTH instead.

But all of that is fairly trivial and yea, can be done the long way. For real features that would be exceptionally cool, a getDistance and getCourse that handles avoids. A built in BFS w/ accessible arrays. A way to spit out menu output and internal menu stuff (like bubbles) to a file or array for later processing.

Hmm...

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Thu Nov 23, 2006 10:47 am
Profile ICQ WWW
Ambassador
User avatar

Joined: Mon Feb 09, 2004 3:00 am
Posts: 3141
Location: Kansas
Unread post 
I only have two thing for TWX:

Stop crashing upon exit.

Store the port number for "listening" based on the game being played and established at setup.

_________________
               / Promethius / Enigma / Wolfen /

"A man who has no skills can be taught, a man who has no honor has nothing."


Thu Nov 23, 2006 1:50 pm
Profile ICQ
Lieutenant J.G.

Joined: Mon Jun 06, 2005 2:00 am
Posts: 474
Location: USA
Unread post 
Promethius wrote:
I only have two thing for TWX:

Stop crashing upon exit.

Store the port number for "listening" based on the game being played and established at setup.


Agreed ; ) Would be nice.

_________________
chat @ irc.freenode.net:6667 #twchan

*** SG memorial donations via paypal to: dpocky68@booinc.com

**http://wiki.classictw.com/index.php?title=Main_Page
**http://web.archive.org/web/19980610181412/http://www.azi.com/


Thu Nov 23, 2006 3:05 pm
Profile ICQ YIM WWW
Gameop
User avatar

Joined: Sun Oct 08, 2006 2:00 am
Posts: 991
Unread post 
Vulcan wrote:
He has been teaching TWX to others, just been onhiatus, some of us have had to wait till R/L things let the classes restart. Hopefully they will.


I know he has but I meant a a set of lessons and scripting assignments written down. Even if they were just posted on here, one lesson at a time. They would then be available all.

Think about how it would affect the new users of TWX if they could come to a forum here and just start with Lesson 1, and work through the whole thing at their own speed just like any other computer language learning experience.

Imagine if the assignments for the lessons resulted in a set of basic scripts that the new user could use while playing? Finish the 20 lessons in the forums and have a set of basics scripts available for game play.

I, for one, would be willing to do whatever it takes to help get a project like that started.

C

_________________
"All warfare is based on deception..." - Art of War
"Time will tell all tales" - SG
Any advanced tactic in TW is indistinguishable from cheating.


Thu Nov 23, 2006 5:03 pm
Profile ICQ
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post 
Problem is lessons like that are hard to teach in text. You have to make it presentation format... which is why the lessons, to date, have been via conference (Skype) so EP could answer questions when they come up.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Thu Nov 23, 2006 8:13 pm
Profile ICQ WWW
Gameop
User avatar

Joined: Sun Oct 08, 2006 2:00 am
Posts: 991
Unread post 
You are talking about 'lectures' not 'lessons and scripting assignments'. Any questions about the lessons could be answered by anyone with the knowledge on the forums. I am not saying its not a hard project, I am saying that if you want to help ANY newbie learn to script in TWX, then this would be helpful. Why should every new person have to re-invent the wheel?

C

_________________
"All warfare is based on deception..." - Art of War
"Time will tell all tales" - SG
Any advanced tactic in TW is indistinguishable from cheating.


Thu Nov 23, 2006 8:48 pm
Profile ICQ
Ambassador
User avatar

Joined: Mon Feb 09, 2004 3:00 am
Posts: 3141
Location: Kansas
Unread post 
Your first assignment to test in a game could be to send a text string to the server as fast as possible - maybe "C B Y" for instance. Helps when someone photons you with over 20k moves.

_________________
               / Promethius / Enigma / Wolfen /

"A man who has no skills can be taught, a man who has no honor has nothing."


Thu Nov 23, 2006 9:08 pm
Profile ICQ
Gameop
User avatar

Joined: Sun Oct 08, 2006 2:00 am
Posts: 991
Unread post 
Promethius wrote:
Your first assignment to test in a game could be to send a text string to the server as fast as possible - maybe "C B Y" for instance. Helps when someone photons you with over 20k moves.


What? So now this becomes smack talk? I expected better of you in this forum

C

_________________
"All warfare is based on deception..." - Art of War
"Time will tell all tales" - SG
Any advanced tactic in TW is indistinguishable from cheating.


Thu Nov 23, 2006 9:59 pm
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 22 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 23 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

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.