www.ClassicTW.com
https://mail.black-squirrel.com/

SupG's info_inc
https://mail.black-squirrel.com/viewtopic.php?f=15&t=32490
Page 1 of 1

Author:  unclebs [ Mon Nov 07, 2011 12:13 pm ]
Post subject:  SupG's info_inc

Hi,
Another "oldie" trying to get back in the saddle. What it looks like though, is that everything has gotten faster, now that I'm slower. Back in the day, I think everything was slower, and I was a little faster.

I'm going through old scripts, and found some of SupG's. Some fail due to the absence of an "info_inc" file. I read that EP had pieced together an info_inc from the split files that SupG later made from the info_inc, but can't find it. The last I read was that it was posted on Grimy's. Dang, that was always a good place.

So, would anybody happen to have the file, or maybe a point to where it might be found?

Thanks.

Author:  ElderProphet [ Mon Nov 07, 2011 11:12 pm ]
Post subject:  Re: SupG's info_inc

Wow, this was so long ago that I didn't even remember doing it. But, sure enough, a quick search of my PC, and I was able to find my recreation of that script. It is attached.

Good luck,
+EP+

Attachments:
File comment: EP's recreation of SupG's info_inc.ts
info_inc.ts [5.36 KiB]
Downloaded 506 times

Author:  unclebs [ Mon Nov 07, 2011 11:35 pm ]
Post subject:  Re: SupG's info_inc

Thanks! I'm gonna try and catch up, but I'm not as spry as 25 or so years ago. My son was about 8 when he helped me play, and he's past 30 now. Time passes so quickly.

I remember when 2002 was far enough into the future that it was a good name for a game about space and exploration.

Author:  Prda2or [ Mon Feb 06, 2012 4:45 am ]
Post subject:  Re: SupG's info_inc

ElderProphet wrote:
Wow, this was so long ago that I didn't even remember doing it. But, sure enough, a quick search of my PC, and I was able to find my recreation of that script. It is attached.

Good luck,
+EP+

Where exactly would this file go?... in the SupG file folder good enough? :?:

I use a few of SupG's scripts also and am also getting those "fails" due to missing "includes", hope this helps!

Author:  Vid Kid [ Mon Feb 06, 2012 5:47 am ]
Post subject:  Re: SupG's info_inc

The file would go into an include folder , be it in scripts or a SupG/include
as long as the file requiring it can get to it .. look for the path in the script.

#-=-=-=-=-Includes-=-=-=-=-
Include "include\info_inc"
#-=-=-=-=-=-=-=-=-=-=-=-=-=

hope this helps

Author:  Prda2or [ Mon Feb 06, 2012 7:42 pm ]
Post subject:  Re: SupG's info_inc

Hmmmmm, strangely enough, I can only get this script to work in TWX v2.03...

Author:  T0yman [ Mon Feb 06, 2012 8:21 pm ]
Post subject:  Re: SupG's info_inc

I use most of his scripts in 2.05. Just open the files and go down to the bottom and fix the path to reflect where you have them. Might be a few triggers that need adjusted but since most were released in ts format should be no problem.

Author:  Prda2or [ Mon Feb 06, 2012 9:29 pm ]
Post subject:  Re: SupG's info_inc

T0yman wrote:
I use most of his scripts in 2.05. Just open the files and go down to the bottom and fix the path to reflect where you have them. Might be a few triggers that need adjusted but since most were released in ts format should be no problem.


Thanks T, I'll give that a shot.

Author:  Prda2or [ Tue Feb 07, 2012 8:24 am ]
Post subject:  Re: SupG's info_inc

Vid Kid wrote:
The file would go into an include folder , be it in scripts or a SupG/include
as long as the file requiring it can get to it .. look for the path in the script.

#-=-=-=-=-Includes-=-=-=-=-
Include "include\info_inc"
#-=-=-=-=-=-=-=-=-=-=-=-=-=

hope this helps

Hello Vid,
I know i'm probably doing this wrong but i have to begin somewhere, lol. This file for some reason did NOT have a "SupGinclude"... so I searched my hard drive (I'm running Win7 Ultimate) and found a "SupGinclude" and put it in the file. It did however, have a separate "include" file.... so I put EP's "info_inc" in there and did the input you suggested. So now it looks like this........

include "supginclude\info_inc"
include "supginclude\phaggle_inc"
include "supginclude\nearfig_inc"
include "supginclude\planet_inc"
include "supginclude\signature_inc"
include "supginclude\port_inc"
include "include\info_inc"

Has to be wrong someway, because it still doesn't work... its saying "Incorrect version" when using TWX 2.05, so maybe you scripters can tell me what i'm doing wrong. However, it DOES work in TWX 2.03... unchanged of course.

Author:  Vid Kid [ Tue Feb 07, 2012 8:55 am ]
Post subject:  Re: SupG's info_inc

Off the top of my head .. not seeing your script .. only the list of includes that go inside of a script ..

If this is the whole script .. then that would be the problem .. you need something besides just the includes in a file to be a script ...

and do not forget to have a Halt or some other command to prevent the script from flowing into the include list.

eg.

GoSub :lookhere
Echo "**" ANSI_10 "Done that*"
Halt
:lookhere
Echo "**" ANSI_14 "Done this*"
Return
include "include\info_inc"

######################################

The one that looks most out of place and may be the cause :
include "supginclude\signature_inc"

This one has the authorize routeen and version check in it if I recall correctly.

Plus you have 2 of the same includes .. for the most part :
include "supginclude\info_inc" <-- SupG's include
include "include\info_inc" <-- EP's version of SupG's include

Hope this helps.

Author:  Prda2or [ Wed Feb 08, 2012 7:48 pm ]
Post subject:  Re: SupG's info_inc

Vid Kid wrote:
Off the top of my head .. not seeing your script .. only the list of includes that go inside of a script ..

If this is the whole script .. then that would be the problem .. you need something besides just the includes in a file to be a script ...

and do not forget to have a Halt or some other command to prevent the script from flowing into the include list.

eg.

GoSub :lookhere
Echo "**" ANSI_10 "Done that*"
Halt
:lookhere
Echo "**" ANSI_14 "Done this*"
Return
include "include\info_inc"

######################################

The one that looks most out of place and may be the cause :
include "supginclude\signature_inc"

This one has the authorize routeen and version check in it if I recall correctly.

Plus you have 2 of the same includes .. for the most part :
include "supginclude\info_inc" <-- SupG's include
include "include\info_inc" <-- EP's version of SupG's include

Hope this helps.

Yeah, that helps BIG time! I'm at the point in my life where I can devote time to personal interests that I've had but were not practical to pursue because of "real life" situations. "Priority" has a way of getting rid of things like "games", lol. But its come to a point where learning to code will be a good fit now, not just because of the "love of the game" but my love of computers and HOW they work.

I have to get my hands on how to set up script "structure" and such, which I am working on now... learning about variables at this point, then i'll move on to arrays and stuff. I take in stuff pretty fast so i'll be at the point where I can mod stuff soon to get the hang of "How" and "Why" stuff works. I have a LOT of .ts files in my possesion so i can do some experimenting, move on to making and compiling my own stuff.

Thanks for the info!!
Edward E. Holloway aka Achilles/Predator

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/