Jump to content

FL Voter


Calron

Recommended Posts

  • Replies 54
  • Created
  • Last Reply
Please don't do either of those' date=' and if they were jokes, please don't make them here where anyone can see the post, report us to TMS, and possibly result in getting our MUD totally pulled from the rankings.[/quote']

Good point. Post edited.

Link to comment
Share on other sites

  • 3 weeks later...

If the IMMs really feel this is legit, can this thread be stickied? It certainly appears to have helped our TMS ranking.

Also, I find it's helpful to put a shortcut for the thing in the startup folder and also if you right-click it under properties tell it to minimize on startup. That way it just forms an icon in the system tray and you never need to think about it (and you don't get a little minimized window above the taskbar).

You do need to quit it and restart it after you stand by, however, or it won't vote (although the timer goes to zero).

Link to comment
Share on other sites

Calron:

If you're still developing this, I get this error message after suspend:

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.Net.WebException: The underlying connection was closed: The remote name could not be resolved.

at System.Net.HttpWebRequest.CheckFinalStatus()

at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

at System.Net.HttpWebRequest.GetResponse()

at FlVoting.Form1.vote()

at FlVoting.Form1.timer1_Tick(Object sender, EventArgs e)

at System.Windows.Forms.Timer.OnTick(EventArgs e)

at System.Windows.Forms.Timer.Callback(IntPtr hWnd, Int32 msg, IntPtr idEvent, IntPtr dwTime)

************** Loaded Assemblies **************

mscorlib

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2407

CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll

----------------------------------------

FlVoting

Assembly Version: 1.0.3021.34168

Win32 Version: 1.0.3021.34168

CodeBase: file:///C:/WORK/MISC/gmud/FlVoting.exe

----------------------------------------

System.Windows.Forms

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll

----------------------------------------

System

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2407

CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll

----------------------------------------

System.Drawing

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll

----------------------------------------

System.Xml

Assembly Version: 1.0.5000.0

Win32 Version: 1.1.4322.2032

CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll

----------------------------------------

************** JIT Debugging **************

To enable just in time (JIT) debugging, the config file for this

application or machine (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.

For example:

When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the machine

rather than being handled by this dialog.

Link to comment
Share on other sites

It occured to me today that I keep going to the TMS website to check what rank we are, which partially defeated the purpose of the voter, so I added a box that displays our current rank if anyone else is interested.

To Ex-D&Der:

Does that happen every time you hibernate or no? If not, you probably just slept your computer in the middle of when the programming was making a vote attempt.

Link to comment
Share on other sites

It happens with stand by. Haven't tried it with hibernate. I see what you mean because how could it try to vote when it's suspended? But it happens reliably if I leave it on and suspend for a while (I think I've gotten the message 2-3 times now).

Good call on the rank status--I was doing the same thing.

Link to comment
Share on other sites

It happens with stand by. Haven't tried it with hibernate. I see what you mean because how could it try to vote when it's suspended? But it happens reliably if I leave it on and suspend for a while (I think I've gotten the message 2-3 times now).

Good call on the rank status--I was doing the same thing.

The timers are timestamped when a power change is detected so they continue to run even while your computer is off. I added an event handler that stops the timers when the power mode is changed on Suspend and starts them on Resume. The program should be able to move freely between sleep/hibernate/on now without restarting it. Hopefully that will get rid of the problem you are having.

New link is up.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...