<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/twxproxy/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/twxproxy/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 21 Nov 2011 06:05:34 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/twxproxy/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Access violations due to spurrious WM_USER events</title><link>https://sourceforge.net/p/twxproxy/bugs/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm getting an access violation around every 15 minutes while a script is running. If that wasn't bad enough, after I click OK twxproxy.exe stays running and I have to go kill the process myself.&lt;/p&gt;
&lt;p&gt;I'm running Windows 7 Ultimate 64-bit on a Core i7 2600K.&lt;/p&gt;
&lt;p&gt;Quick hack to work around it:&lt;/p&gt;
&lt;p&gt;The access violation is coming from TWXProxy.dpr:192, where we're trying to dereference the window message's wParam as a TNotificationEvent pointer. I know very little about low level Windows programming, but Goggle found me some suggestions that Delphi might be using a bunch of WM_USER range messages internally (http://www.delphipages.com/forum/showthread.php?t=49257), so under the assumption that it was trying to (mis)interpret one of those, I tried bumping the message type up to WM_USER+105 (the receiving code at TWXProxy.dpr line 189 and the sending code at Core.pas line 227) and the problem went away.&lt;/p&gt;
&lt;p&gt;Is this the wrong purpose to be using WM_USER-0x7fff message types for? &lt;br /&gt;
"These values cannot be used to define messages that are meaningful throughout an application, because some predefined window classes already define values in this range. For example, predefined control classes such as BUTTON, EDIT, LISTBOX, and COMBOBOX may use these values. "&lt;br /&gt;
- &lt;a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms644931\" rel="nofollow"&gt;http://msdn.microsoft.com/en-us/library/windows/desktop/ms644931\&lt;/a&gt;(v=vs.85).aspx&lt;/p&gt;
&lt;p&gt;After running into access violations ~ every 15 minutes, I grabbed the v211 source snapshot, and with some wrangling, got it building in Turbo Delphi Lite and then running in the debugger. &lt;/p&gt;
&lt;p&gt;Under the assumption that the message might have come from something other than the TWXProxy code, I did a little Googling:&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrew Tonner</dc:creator><pubDate>Mon, 21 Nov 2011 06:05:34 -0000</pubDate><guid>https://sourceforge.net0376c35cbe3c23402c7371ea6823faaf150df60d</guid></item><item><title>problems with versions</title><link>https://sourceforge.net/p/twxproxy/bugs/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;i was told to ask you for help with this, in having trouble &lt;br /&gt;
with scripts failing with incorrect version messages...&lt;/p&gt;
&lt;p&gt;i was told u have a converter i could try, or any other &lt;br /&gt;
help would be appreciated&lt;/p&gt;
&lt;p&gt;..mostly the trouble is with supg, and wildstar's scripts&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 15 Nov 2005 05:00:13 -0000</pubDate><guid>https://sourceforge.neteb3d7bc5a82dbfd8e653823ac45d752f360a1160</guid></item><item><title>Script Windows is not working properly</title><link>https://sourceforge.net/p/twxproxy/bugs/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;As outlined by spaazster on twxproxy.com:&lt;/p&gt;
&lt;p&gt;script windows AREN'T working like in 1.09b I wish they &lt;br /&gt;
were. I liked those.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Hagin</dc:creator><pubDate>Sat, 09 Apr 2005 20:48:11 -0000</pubDate><guid>https://sourceforge.net4ae7301f90ea604f59f42350055df4f81f4d31d8</guid></item><item><title>Logging Feature options</title><link>https://sourceforge.net/p/twxproxy/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;As outlined by Tweety on twxproxy.com:&lt;/p&gt;
&lt;p&gt;yes i have something.&lt;/p&gt;
&lt;p&gt;your logging feature. maybe grey out the two options if &lt;br /&gt;
you don't have log selected database checked. cause it &lt;br /&gt;
doesn't seem to log if you just check log as binary &lt;br /&gt;
without the top most one checked.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Hagin</dc:creator><pubDate>Sat, 09 Apr 2005 20:47:15 -0000</pubDate><guid>https://sourceforge.netf3f6a649dd35f37a336c8e44c2918033c530447a</guid></item><item><title>Missing Sector variables in v2.03</title><link>https://sourceforge.net/p/twxproxy/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There is a issue with the setSectorParameter, or &lt;br /&gt;
getSectorParameter, that is causing the last sector &lt;br /&gt;
variable to disappear completely.&lt;/p&gt;
&lt;p&gt;As discribed by Elder Propphet, set a couple of sector &lt;br /&gt;
variables with setSectorParameter.  Move around the &lt;br /&gt;
universe for a few sectors.  And then use the &lt;br /&gt;
getSectorParameter to see the previously set sector &lt;br /&gt;
variables.  What you will find is, the last variable that &lt;br /&gt;
was set is now missing.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Hagin</dc:creator><pubDate>Mon, 04 Apr 2005 04:55:11 -0000</pubDate><guid>https://sourceforge.net6427047c25b8199efd0c3f09c6ff9e549e79cdd0</guid></item><item><title>The get/setSectorParameter is not storing values correctly</title><link>https://sourceforge.net/p/twxproxy/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There is a issue with the setSectorParameter storing the &lt;br /&gt;
values correctly.  And Then the getSectorValue is also &lt;br /&gt;
retrieving the values incorrectly&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Hagin</dc:creator><pubDate>Mon, 04 Apr 2005 04:28:33 -0000</pubDate><guid>https://sourceforge.neta1af3c5bcce90793a523d3d0e647626f0d8e297c</guid></item><item><title>script problem</title><link>https://sourceforge.net/p/twxproxy/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;World ssm crashes the program everytime i try to load&lt;br /&gt;
it. Deosn't matter if it is used with zoc or swath.&lt;br /&gt;
Command [TL=00:00:00]:[xxxx] (?=Help)? : &lt;/p&gt;
&lt;p&gt;Loading and compiling script: C:\Games\Twxproxy&lt;br /&gt;
2.03\scripts\2_WorldSSM.ts&lt;/p&gt;
&lt;p&gt;Command [TL=00:00:00]:[xxxx] (?=Help)? : &lt;br /&gt;
Script terminated: C:\Games\Twxproxy&lt;br /&gt;
2.03\scripts\2_WorldSSM.ts&lt;/p&gt;
&lt;p&gt;[TELNET] INFO: DISCONNECTED&lt;/p&gt;
&lt;p&gt;***&lt;br /&gt;
*** DISCONNECT&lt;br /&gt;
*** time 01:58:30&lt;br /&gt;
doesn't matter if i try the .ts or .cts&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 02 Apr 2005 09:23:47 -0000</pubDate><guid>https://sourceforge.net1b6cc7fd35031a638e641c01fc2575e041e4346c</guid></item><item><title>setEventTrigger is not working properly.</title><link>https://sourceforge.net/p/twxproxy/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In the current TWX Proxy script API documentation.  It &lt;br /&gt;
states the following:&lt;/p&gt;
&lt;p&gt;setEventTrigger&lt;/p&gt;
&lt;p&gt;Purpose: Creates a trigger that will activate on a certain &lt;br /&gt;
program event.&lt;/p&gt;
&lt;p&gt;Syntax: setEventTrigger {name} {label} {event} &lt;br /&gt;
[{parameter}] &lt;/p&gt;
&lt;p&gt;{name}: The name of the trigger to create. This name is &lt;br /&gt;
used for later references to the trigger.&lt;/p&gt;
&lt;p&gt;{label}: A label within the script to jump to when the &lt;br /&gt;
trigger is activated.&lt;/p&gt;
&lt;p&gt;{event}: The name of the program event to attach the &lt;br /&gt;
trigger to (see below).&lt;/p&gt;
&lt;p&gt;[{parameter}]: Some (but not all) program events require &lt;br /&gt;
parameters. These are specified here.&lt;/p&gt;
&lt;p&gt;Notes: Triggers mark the way in which TWX Scripts &lt;br /&gt;
interact with their environment (Trade Wars).&lt;/p&gt;
&lt;p&gt;The event trigger will automatically jump to a label within &lt;br /&gt;
the script and start executing as soon as a program &lt;br /&gt;
event occurs matching its specification.&lt;/p&gt;
&lt;p&gt;Currently, TWX Proxy supports the following program &lt;br /&gt;
events and their parameters:&lt;/p&gt;
&lt;p&gt;SCRIPT LOADED : Activates when a script is loaded. &lt;br /&gt;
Its parameter is the name of the script loaded.&lt;/p&gt;
&lt;p&gt;SCRIPT STOPPED : Activates when a script is &lt;br /&gt;
terminated. Its parameter is the name of the script &lt;br /&gt;
terminated.&lt;/p&gt;
&lt;p&gt;CONNECTION ACCEPTED : Activates when TWX Proxy &lt;br /&gt;
connects to the remote server (no parameters).&lt;/p&gt;
&lt;p&gt;CONNECTION LOST : Activates when TWX Proxy &lt;br /&gt;
disconnects from the remote server (no parameters).&lt;/p&gt;
&lt;p&gt;CLIENT CONNECTED : Activates when a telnet client &lt;br /&gt;
connects to TWX Proxy (no parameters).&lt;/p&gt;
&lt;p&gt;CLIENT DISCONNECTED : Activates when a telnet &lt;br /&gt;
client disconnects from TWX Proxy (no parameters).&lt;/p&gt;
&lt;p&gt;TIME HIT : Activates when the click hits a certain time. &lt;br /&gt;
Its parameter is the specified time in system format.&lt;/p&gt;
&lt;p&gt;Note that no triggers will activate unless the script has &lt;br /&gt;
been paused with a "pause", "waitFor" or "waitOn" &lt;br /&gt;
command.&lt;/p&gt;
&lt;p&gt;After working on a script that requires the use of the &lt;br /&gt;
SCRIPT LOADED and SCRIPT STOPPED events.  I &lt;br /&gt;
have found that the setEvenTrigger does not work as it &lt;br /&gt;
should.  At least not the way it should for the SCRIPT &lt;br /&gt;
LOADED and SCRIPT STOPPED events.&lt;/p&gt;
&lt;p&gt;If you include the script name as the parameter for either &lt;br /&gt;
of the two events.  To show that you are looking for that &lt;br /&gt;
specific script to be loaded, or stopped.  TWX Proxy &lt;br /&gt;
does not recognize that the script was loaded, or even &lt;br /&gt;
stopped.  It just continues to set there waiting for the &lt;br /&gt;
event to transpire.&lt;/p&gt;
&lt;p&gt;Using the above two events without the script name.&lt;br /&gt;
Produces the desired results, but has the draw back &lt;br /&gt;
that any script that is loaded, or stopped, to activate the &lt;br /&gt;
event.  Which could have disastorous results with the &lt;br /&gt;
script.&lt;/p&gt;
&lt;p&gt;NOTE: This bug is present in v2.00, v2.02 and v2.03 &lt;br /&gt;
official releases, including the v2.03 build 13.&lt;/p&gt;
&lt;p&gt;We can easily change the documentation to reflect the &lt;br /&gt;
current behavior, and proper use, of the events &lt;br /&gt;
mentioned above.  Or we can fix the events, so that they &lt;br /&gt;
reflect what the docs state.&lt;/p&gt;
&lt;p&gt;I have no idea if the TIME HIT event is also effected by &lt;br /&gt;
this bug.  Will have to do some testing to find out.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Hagin</dc:creator><pubDate>Fri, 01 Apr 2005 08:13:42 -0000</pubDate><guid>https://sourceforge.net3d455fd6700474bd680ebac0f843feed44a232ee</guid></item><item><title>Precision is not working properly</title><link>https://sourceforge.net/p/twxproxy/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This was reported on the TWX Proxy support forums.&lt;/p&gt;
&lt;p&gt;The SETPRECISION 0 is not working as intended.&lt;br /&gt;
Check to see if this was fixed in final build of v2.03.  If &lt;br /&gt;
this was not fixed, then we need to fix it.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Hagin</dc:creator><pubDate>Tue, 22 Mar 2005 10:56:30 -0000</pubDate><guid>https://sourceforge.net1be11643bfe5d7a95b9dec4376179f2c60c036f3</guid></item></channel></rss>