[Test DL 0.9.5581.29028] Convoy Trucking Launcher

Started by nyolc8, April 04, 2015, 11:04

Matias

While pressing the configuration button a couple of times i got this message (its in spanish but you can understand most of it):

Consulte el final de este mensaje para obtener más detalles sobre cómo invocar a la depuración
Just-In-Time (JIT) en lugar de a este cuadro de diálogo.

************** Texto de la excepción **************
System.ObjectDisposedException: No se puede obtener acceso al objeto eliminado.
Nombre del objeto: 'cfg'.
   en System.Windows.Forms.Control.CreateHandle()
   en System.Windows.Forms.Form.CreateHandle()
   en System.Windows.Forms.Control.get_Handle()
   en System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   en System.Windows.Forms.Form.SetVisibleCore(Boolean value)
   en System.Windows.Forms.Control.Show()
   en CTStarter.Form1.button2_Click(Object sender, EventArgs e)
   en System.Windows.Forms.Control.OnClick(EventArgs e)
   en System.Windows.Forms.Button.OnClick(EventArgs e)
   en System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   en System.Windows.Forms.Control.WndProc(Message& m)
   en System.Windows.Forms.ButtonBase.WndProc(Message& m)
   en System.Windows.Forms.Button.WndProc(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Ensamblados cargados **************
mscorlib
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.1022 (RTMGDR.030319-1000)
    Código base: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Convoy Trucking Launcher
    Versión del ensamblado: 0.9.5576.36116
    Versión Win32: 0.9.5576.36116
    Código base: file:///C:/DOCUME~1/MA/CONFIG~1/Temp/Rar$EX99.760/Convoy_Trucking_Launcher_by_nyolc8/Convoy%20Trucking%20Launcher.exe
----------------------------------------
System.Windows.Forms
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.1002 built by: RTMGDR
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.1001 built by: RTMGDR
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.1001 built by: RTMGDR
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.1 built by: RTMRel
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.1015 (RTMGDR.030319-1000)
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.1015 built by: RTMGDR
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.1 (RTMRel.030319-0100)
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_es_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Numerics
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.1 built by: RTMRel
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Windows.Forms.resources
    Versión del ensamblado: 4.0.0.0
    Versión Win32: 4.0.30319.1 built by: RTMRel
    Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada

Por ejemplo:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.




I think i broke it C:

Btw its version 0.9.5576.36116

SpazzBucket.

So if I wanted this to work I'd just have to reinstall samp? Pressing Shift while launching didn't work either, and yes my folder has been moved numerous times since I last had to do a reinstall
"The more you fail, the more you know.
When you lose you then try to gain.
The best lessons are learnt through pain"
Quote from: HoboHobo [30 Jan 20:40]:   "Since I don't do that whole guy thing" .... Ok guys, pack up the lemonade stand, she's not interested.
[hide=Alyssa White-Glutz hottest woman in metal]http://[/hide]
[hide=Lzzy Hale][/hide]
[hide=Renee Phoenix][/hide]
[hide=Good one Stteve]
Quote from: SpazzbucketI suddenly feel very smart
Quote from: StteveYou're extremely smart all the time, it just explodes sometimes
Quote from: StteveSo we're volcanoes
[/hide][hide=Other true/clever quotes]
Quote from: Sjomp on May 04, 2014, 18:54
It doesn't matter how much people are online it's about how much fun you have.
Quote from: braneNext time don't use any porn site to upload pictures. Imgur or Imageshack would be fine. Its not nice to see cocks around while checking the image you came for.
Quote from: TheSandmanBan looks fair. its pathetic when people attack females just because they play an online game, wow.
Quote from: TheSandmanRap is like scissors, it always loses to rock
Quote from: HoboProvoking doesn't brake rules, but it does break them.

Remember to brake for moose so you don't break your car.
[/hide]
[hide=Konali's motto]
Quote from: Konali on January 12, 2014, 16:41I only had one rule in my head that i used in every situation: its a game, lets keep it that way.

nyolc8

I'll make an option to locate your samp (in settings). Then you don't need to reinstall.

nyolc8

- tweaked playerlist error handling once again
- changed the options window
- added option to select samp.exe (only need to specify if you moved your samp to another place after you installed it)
- changed player icon to up/down arrow



I'll release a new test version soon.

nyolc8

Anyone have any idea to fix this?



The icon get's pixelated on 125% dpi setting. But I made the the icon to have size for that dpi too :/

CarlJohnson

Quote from: nyolc8 on April 10, 2015, 23:23
Anyone have any idea to fix this?



The icon get's pixelated on 125% dpi setting. But I made the the icon to have size for that dpi too :/
It's fine on my laptop.
I'm using W7 @ 1280x800 Resolution
Pic:
LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN

nyolc8

It's fine on 100% dpi scaling. The problem comes on 125% scaled dpi (the one I use). It should use the bigger size image from the ico file then, but it's just uses the same size image and scales it into that ugly thing. ::) And I have no idea how to tell to it to use the bigger resolution icon.

nyolc8

Newer test version: http://speedy.sh/98BKf/Convoy-Trucking-Launcher-by-nyolc8.zip

NEW THINGS:
- changed samp query error handling
- playerlist drawn very differently (to fix glitched last column width)
- AFK players got a different color (also "(AFK)" text have a space before it for better looking)
- double-clicking on a player opens it's profile page on CT website
- option to enable additional columns to playerlist
- added option to define samp.exe location (if you moved it since it's installed)
- new settings window

KNOWN PROBLEMS:
- playerlist can scroll a bit (with mousewheel or keyboard) even if there is no scrollbar
- you can select empty lines in playerlist
- playerlist sometimes empty even when there are players on server, still don't really know what happening then

SpazzBucket.

After this update I can say my game launches perfectly with it now, was probably because the samp exe was in another location
"The more you fail, the more you know.
When you lose you then try to gain.
The best lessons are learnt through pain"
Quote from: HoboHobo [30 Jan 20:40]:   "Since I don't do that whole guy thing" .... Ok guys, pack up the lemonade stand, she's not interested.
[hide=Alyssa White-Glutz hottest woman in metal]http://[/hide]
[hide=Lzzy Hale][/hide]
[hide=Renee Phoenix][/hide]
[hide=Good one Stteve]
Quote from: SpazzbucketI suddenly feel very smart
Quote from: StteveYou're extremely smart all the time, it just explodes sometimes
Quote from: StteveSo we're volcanoes
[/hide][hide=Other true/clever quotes]
Quote from: Sjomp on May 04, 2014, 18:54
It doesn't matter how much people are online it's about how much fun you have.
Quote from: braneNext time don't use any porn site to upload pictures. Imgur or Imageshack would be fine. Its not nice to see cocks around while checking the image you came for.
Quote from: TheSandmanBan looks fair. its pathetic when people attack females just because they play an online game, wow.
Quote from: TheSandmanRap is like scissors, it always loses to rock
Quote from: HoboProvoking doesn't brake rules, but it does break them.

Remember to brake for moose so you don't break your car.
[/hide]
[hide=Konali's motto]
Quote from: Konali on January 12, 2014, 16:41I only had one rule in my head that i used in every situation: its a game, lets keep it that way.

Emily

I think it would be cool to show your ping to the server like the SAMP launcher does.
[dobby]

LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION

nyolc8

- added server ping option (if it's enabled, ping shows next to the "Online" text)
- hopefully fixed the stupid column glitch and also fixed the scroll bug and empty row selection bug


I saw that samp client refreshes in every second... So I'm thinking about making this app to refresh in every second... But somehow I feel it bad to make 3(server info, ping, playerlist) querys in every second (even if samp client does the same) ><

Emily

Samp only queries if the windows is active mind.
[dobby]

LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION

nyolc8

Well, this app closes when you start the game, but I can do it to refresh only if active.

Btw I made the app to support multiple languages (detects language automatically how stock windows apps do), so if someone wants a language to be included, and would help me to translate, then PM me and I'll send a list with the required texts to be translated.

nyolc8

current state:
- memory usage reduced from ~12Mb to ~4-6Mb
- multi-language support, currently it's have english and hungarian (I'm waiting some translation help for other languages)
- only refreshes server stats when the app is the active window
- player list opening animation a littlebit smoother

[imgur]http://imgur.com/a/pW98D#0[/imgur]

todo:
- need to fix the icon on higher DPI
- and somehow making better the game launcher button

Emily

It'd also be neat to have an option to start it with the player menu already down (if possible)
[dobby]

LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION