-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchanges.txt
More file actions
476 lines (322 loc) · 19.4 KB
/
changes.txt
File metadata and controls
476 lines (322 loc) · 19.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
TWX PROXY v2.03 Changes
Program:
* INTERPRETER: Modified the command, 'OPENMENU', it was causing the script to
pause execution as soon as the menu was opened. This is now optional by
specifying a second parameter to the command.
* LOGGING: Added support for binary capture file recording and playback. When
enabled from the setup form, binary logs will automatically be stored by TWX
in the same manner as the old text logs. Its possible to make extracts from
these capture files using the CapEdit program and then play them back at the
speed they were recorded back within TWX.
* INTERPRETER: Added the commands, 'SETSECTORPARAMETER' and 'GETSECTORPARAMETER'
which can be used to set sector specific values in the database. These values
persist between scripts and can be accessed at any time.
* DATABASE: Added support for dynamic sector variables. These can now be accessed
via the scripting language.
* INTERFACE: Fixed an issue with the script file filtering when adding a script
to the auto run list. It should now allow .cts scripts to be added instead
of the old .es files.
* AUTHENTICATION: Scripts containing the pack2 subroutines will now attempt to
authenticate if authentication hasn't taken place and the authentication process
is enabled. This means people won't need to restart the program in order to
force it to authenticate (if they happened to be offline when it was first started).
* CORE: Resolved several minor memory leaks.
* CORE: Resolved several memory corruption issues that should generally improve
program stability.
* MENU SYSTEM: Added a search feature to variable dumps. This will allow the
dumping of a specific group of variables instead of the whole lot.
* INTERFACE: Adjusted the way the Game letter is entered into the setup
form. People were having problems involving spaces before the letter preventing
it from reaching scripts properly. Spaces will now be stripped out of the
contents of this box when the OK button is pressed.
* COMPILER: Added checking for IF/END structure mismatches. These were causing
obscure errors during runtime with system assigned goto labels. These errors
will now be trapped and displayed at the end of compilation.
* INTERPRETER: Fixed a bug that was causing the 'STOP' command to terminate
the script with an unknown error if the specified script was not found.
* INTERPRETER: Added support for script windows as they were in 1.09b.
* INTERPRETER: Added support for decimal calculations.
* INTERPRETER/COMPILER: Added a new command, 'SETPRECISION', that allows
the decimal precision to be set for calculations. The default precision
is 0, to allow compability with older scripts.
* INTERPRETER/COMPILER: Added support for a new command, 'ROUND', that can
be used to round a decimal value to a specified precision.
* INTERPRETER/COMPILER: Added a new system value, PORT.NAME. This will
return the name of a port in the specified sector.
* INTERPRETER/COMPILER: Added a new system value, PORT.EXISTS. This will
return 1 (TRUE) or 0 (FALSE) depending upon if the specified sector has
a port or not.
* INTERPRETER/COMPILER: Added a new system value, SECTOR.UPDATED. This
will return the date/time stamp that a sector was last updated (as in the
getSector command).
* INTERPRETER/COMPILER: Added a new system value, SECTOR.ANOMOLY. This will
return 1 (TRUE) or 0 (FALSE) depending upon if the specified sector has
an anomoly in it.
Scripts/Subs:
* 1_MOVEFIG: Fixed a bug that was causing the script to bug out if the ship being
used to transport fighters had max capacity of 100,000 or more.
* 1_SSM: Fixed a bug that was causing the script to bug out when it should have
been upgrading the port as a player's experience increases.
* 2_MASSCOLONISE: Fixed a problem that was giving trigger errors instead of resuming the
script after a disconnection/relog.
* SSM: Fixed a bug that was causing the script to drop a toll fig under only one of the
ports it works at.
* SELLSTEAL: This routine will now check for a steal factor of zero when it initialises.
This will prevent the obscure 'Unknown error on line 69' that was being caused by
a divide-by-zero.
* SST: Fixed a recursive include problem that was preventing the script from properly
compiling.
TWX PROXY v2.02 Changes
Program:
* MENU SYSTEM: Fixed a bug that was causing access violations when multiple menu-command
macros were being sent to the terminal menu.
* INTERFACE: Added a tooltip to the TWX icon in the taskbar. It now displays the name of
the selected game.
* INTERFACE: Now when a database is deleted, its .cfg file containing saved script variables will
also be removed.
* NETCODE: Doubled the downstream buffer size from 2048 to 4096 in the hope that this may
solve the IRQL BSOD problems on some installations of Windows.
* NETCODE: Fixed a recursive protocol negotiation problem that was causing severe CPU overload
when connecting to TWX Proxy with certain telnet clients (including Windows XP telnet). Standardisation
of code may also improve usability on other clients.
* COMPILER/INTERPRETER: Implemented the 'STOP' command that was originally available in 1.09.
* DOCUMENTATION: Documented the new 'STOP' command.
* DOCUMENTATION: Adjusted the documentation for the 'GetCourse' command. It was showing the returned array
as being zero based - this is not true.
* COMPILER/INTERPRETER: Fixed a bug that was causing the 'LowerCase' command to function like the 'Logging'
command.
* AUTHENTICATION: Added support for the backup authentication server now hosted in New Zealand.
* TWX FILE IMPORT/EXPORT: Fixed a problem that was causing certain values within the export files to be
written out of network byte order.
* TERMINAL MENU: Fixed a menu linking problem that was causing access violations when menu items belonging
to a terminated script were not being released properly from their parent menus.
Scripts/Subs:
* GAMEPREFS: Adjusted this subroutine so that it no longer locks up scripts running in
older versions of TWGS.
* 2_SENTINEL: Fixed problem with 'Inactivity mode' not starting properly while disconnected.
* 2_SENTINEL: Fixed the menu option name for CLV checks.
* SDF, SDT, SSF, SST, SSM: Added support for game setting checks when these subroutines
are invoked. This will prevent the Red pack2 scripts from bugging out if a player's in-game
settings are not correct for the script.
* WORLDTRADE: Fixed a bug that was causing the script to disable the 'Page on messages' game preference
without purpose.
* PLANETINFO: Fixed a problem that was causing the script to error on line 65 if the target planet
has no name.
* 2_PROBE: Fixed a problem that was causing the script to bug out if you tried to change the sector
to start probing from.
* CHECKCIM: Fixed a problem that was causing the script to report the sector number of closed ports
incorrectly. It was reporting the sector number of the port in the list AFTER the one that actually
closed.
* CHECKCLV: Fixed a potential division by zero error when tracing a corp that has a total of 0 alignment.
* PPT: Added cycle control to prevent the script from overflowing the remote server while PPTing. This should
have no negative effect on script speed.
TWX PROXY v2.01 Changes
Program:
* COMPILER: Fixed a problem with parameter count mismatching for the
"setMenuOptions" command.
* INTERFACE: Removed the "Data->Select database" option from the taskbar
menu - it was causing problems that could not be easily corrected. You
should select the database through the terminal menu or the setup form
instead.
* AUTHENTICATION: Made adjustments to HTTP cache specifications that I
believe will solve the strange cache problems people have been encountering
while trying to authenticate.
* AUTHENTICATION: Adjusted the setup form to automatically re-authenticate
when the proxy configuration is changed.
* AUTHENTICATION: Fixed a problem where error messages were being thrown in
a bad way when the program couldn't find the authentication server.
* DOCUMENTATION: Fixed hyperlink problem.
Scripts/Subs:
* PLANETINFO: Fixed a problem where 100,000 or more colonists producing
equipment on a planet was causing the script to screw up on a trigger.
* PLANETINFO: Fixed a problem where a planet that had no creator/owner
line was causing the script to bug out with a cutText error.
* PROBE: Fixed a problem with the turn limiter shutting off the script
in unlimited turn games.
* PROBE: Fixed a problem where unreached sectors were not being recorded
properly.
Version 1.09b:
* Fixed serious CPU usage problems when a sector was displayed. The cause of this
was the backdoor index that was blocking up the data 'dump' at the end of the database.
The backdoor index has now been moved into memory and is calculated when the database
is loaded. Unfortunately this means a change in database structure, so 1.08b databases
are not compatible.
* Fixed double line spacing in the history window.
* Fixed the out of sync display in the history window when the
program is first loaded.
* Fixed a bug where sectors picked up in the port CIM display
were not being flagged as calculated/explored. This meant
that the port details were there, but they were not being
displayed in the $PL and $PU lists.
* Fixed a bug that was causing the setProgVar command to set
bogus variables.
* Fixed a bug that was causing scripts to exit with an unknown
error when an unexplored sector was retrieved with the getSector command
* Fixed a bug where aliens were being saved in the database as
corrupted planets.
* Fixed a bug that was causing access violations when attempting
to simulate a holoscan next to a sector that had not been explored.
Version 1.08b:
* Fixed an error message 'List index out of bounds' that was appearing
when a game's setup was changed twice in a row.
* Fixed a problem where the scripts in the Event List were not
being shown until the event list was switched over/changed.
* Added a backdoor index to the database. This allowed the adding of several new
features. Including:
- Faster backdoor checks ($D-)
- A red '(backdoors)' displayed in the $DD sector display if the sector has backdoors
leading into it
- Backdoor checks on all bubbles and deadends
- New variables added to the getSector command allowing the retrieval of backdoor info
* Exported deadend checks now contain 'true' deadends, rather than
all sectors with only one warp out.
* Fixed a minor problem where an error dialog would keep being displayed
when a database was used in a larger game than it was designed for.
* Made serious rearrangements to much of the code. This should improve performance
somewhat.
* Made improvements to the bubble finder. It can now locate bubbles of a near limitless
size, and display all their details in the terminal menu. The max bubble size can be
configured in the setup dialog (defaults to 30). Note that higher bubble sizes will
result in longer calculation times. Bubbles with backdoors leading into them are
shown in red for reference purposes.
* Added the option to do a variable dump for all active scripts. This can be done
by pressing V from the Script menu.
* Added the ability to handle port CIM data. Port CIM data is saved automatically
when the user presses R from the game's CIM prompt. This data can be queried in
the new 'Port' menu in the terminal menu. Port displays can be reconstructed as
last seen and a summary of port details displayed.
* Added a new scripting constant by the name of 'CURRENTANSILINE', this
constant behaves the same as the 'CURRENTLINE' constant, only it
returns the line without its ANSI codes stripped.
* The Burst option from the terminal menu is now displayed with its own unique prompt.
* Made changes to the display of the terminal menu. All text displayed
when leaving the terminal will now be in colour (rather than black and white).
* Improved the density searching option in the terminal menu. It now
searches for sectors within a given density range, rather than just being
higher than a given number.
* Made some adjustments to protocol handling with connected clients. This should
solve several problems with display and key handling with certain terminals.
* Message history now picks up continuous hails when messages are off.
* Exported warp CIM data is now tabulated as in the game. This should
help provide support for other programs that make use of it.
* Script variables no longer have a 255 character limit - they are
limited by available memory.
* Fixed problems with tabs messing up goto/trigger labels in scripts.
* Setup data, including program variables, are now saved properly when the program
is closed, not just when the user hits OK in the setup dialog.
* Log files will now be saved according to the actual date the data was received rather
than the date the program was started.
* Fixed a small bug associated with trying to break connection while already connecting.
* Fixed problems with ANSI stripping which was preventing triggers
from being activated on the first few lines of text received from
some systems.
* Added the ability to plot warp courses internally. You can do this
either through option C in the Data> menu or through one of two
new scripting commands, getDistance and getCourse.
* Fixed a problem with the storage of warp information, where sometimes
warp courses plotted from the computer were being fitted to previous
courses plotted, causing invalid data.
* Added a database cache option - this has greatly improved the efficiency
of all database activity.
* Fixed problems with aliens and federals corrupting sector recording.
* Warps out from sectors are now stored incrementally (as they are in TW),
rather than in order of detection.
* CIM warp data will now be logged if it is listed from the CIM prompt.
* Fixed a problem where the bottom of sectors displayed from the terminal menu
were being overlapped by in game messages.
* Fixed data corruption problems related to doing sector displays while in
a planet's citadel.
* Fixed data corruption problems related to ether probes.
* Fixed a scripting problem where the program would give unknown errors when
a script would jump into a large block of conditions and encounter a series
of endif/else statements.
* The 'IsNumber' scripting command was working with its results around the wrong way.
This has been adjusted to work the way it was originally intended.
* If the program fails to find a script when it is loaded, it will now report the
error in the terminal rather than in an exception dialog.
* Fixed a bug that was recording 'P indicates Trader is on a planet in that sector' in
the chat history when the corp member list was displayed.
* Fixed a problem where empty program variables were not being read properly in scripts
* Added the following new scripting commands: getDistance, getCourse, fileExists,
upperCase, lowerCase, rename
* Made the following changes to the getSector command:
- Added variable $SECTOR.FIGS.TYPE
- Added variable $SECTOR.UPDATED
- Added variable $SECTOR.PORT.BUILDTIME
- Added variable $SECTOR.PORT.PERC_ORE
- Added variable $SECTOR.PORT.PERC_ORG
- Added variable $SECTOR.PORT.PERC_EQUIP
- Added variable $SECTOR.PORT.BUY_ORE
- Added variable $SECTOR.PORT.BUY_ORG
- Added variable $SECTOR.PORT.BUY_EQUIP
- Added variable $SECTOR.PORT.ORE
- Added variable $SECTOR.PORT.ORG
- Added variable $SECTOR.PORT.EQUIP
- Added variable $SECTOR.PORT.UPDATED
- Added variable set $SECTOR.TRADER[x].FIGS
- Added variable set $SECTOR.SHIP[x].NAME
- Added variable set $SECTOR.SHIP[x].SHIP
- Added variable set $SECTOR.SHIP[x].OWNER
- Added variable set $SECTOR.SHIP[x].FIGS
- Added variable $SECTOR.SHIPS
- Added variable set $SECTOR.BACKDOOR[x]
- Removed variable $SECTOR.HASBACKDOORS (it was only in for testing)
Version 1.07b:
* Replaced the icon with something much better looking.
* Rewrote telnet connection handling - it should now be much
more stable, especially when using multiple clients off a
single TWX server.
* Rewrote half the script interpreter - it will now work much
more efficiently and be much more stable in general.
* Users connecting using LAN IP addresses will no longer be locked
in view only mode.
* Log files will no longer be recorded in 'chunks' of data,
but instead will be saved by their date and the description
of the database used.
* Made format changes to the database - it now handles data
much more efficiently and will be able to cope with later
features.
* Added binary search methods to variable data handling in
scripts. Estimated script processing speed increase of roughly
400% (depending on script size).
* Text will no longer be sent if there is an attached trigger
to it. This makes it possible for users to attach their
scripts to macros or keys for single-key activation. It also
means scripts can have a much more flexible interface.
* Added the ability for users to encrypt their scripts using
ENCRYPT.EXE and distribute them without their script code being
disclosed.
* Removed support for the 'Text Received' script trigger in scripts -
it can be handled much more efficiently with TextLineTriggers.
* Fixed double-triggering problems with the 'Text Sent'
script trigger.
* Fixed all text concatenation problems in scripts using the '&' character.
Added support for character references using the '#' character.
* Setup changes will now be saved as soon as the OK button is
clicked on the dialog - not when the program exits. People
were having problems with their databases not being saved
if the program errored out.
* Added the 'systemscript' script command. This command prevents
the script from being quick-terminated from the terminal menu.
* Added the ability to set and clear program variables through
the 'setprogvar' and 'clearprogvar' script commands.
* Added a 'getdate' script command (acts in the same way as 'gettime').
* Script triggers can now be named according to variable references rather
than static names. I.e. you could have a trigger named by the value
held in $variable.
* Script triggers can now have goto labels according to variable references
rather than static labels.
* Fixed multiple prompt displays when messages were received in the terminal.
* Fixed a problem with values containing brackets in IF statements in scripts.
* Fixed problem with view only locks on clients being disconnected
* Added the ability to monitor connected clients by pressing the '-' key from the
terminal menu.
* Fixed a problem with the 'delete' command screwing up logging.
* Fixed a problem with input text being broken up by incoming text from the server.
* Fixed some line processing problems on server connection which were causing login
scripts to mess up.
* .ets files can now be quickloaded when renamed to 1.ets, 2.ets, etc
* The auto-reconnect feature has been re-enabled. I'm convinced it was not responsible
for earlier problems with TWGS.
* Fixed a problem to do with IF statement structures in the scripting language - nested
conditions with a certain sequence were causing bazzaire problems.