[Test DL 0.9.5581.29028] Convoy Trucking Launcher

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

Joshy

Not bad!

How are you doing the transitions when opening playerlist? Also are you going to publish source at all?
[comment]test[/comment]
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
Generated using Azure Functions & CloudFlare Workers using the Convoy Trucking API. Updates every around 5 minutes. See the original SVG image. View source code (not updated with function yet)




nyolc8

Well, after I saw my carmods modified on other servers forums... I don't now if I want to release source ><

Matias

Quote from: nyolc8 on April 08, 2015, 21:59
Well, after I saw my carmods modified on other servers forums... I don't now if I want to release source ><

You need to show the source, otherway how can people trust at it.

Joshy

Quote from: nyolc8 on April 08, 2015, 21:59
Well, after I saw my carmods modified on other servers forums... I don't now if I want to release source ><
very true, I personally want to see it since I want to see how you did the transitions (srsly it's nice) but for historical reasons all player-made executable downloads on here require source to be published.

If you want, you can PM it to me or maybe even set up a private Bitbucket repository and learn / use Git (version control). VS has some Git integration built-in.
[comment]test[/comment]
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
Generated using Azure Functions & CloudFlare Workers using the Convoy Trucking API. Updates every around 5 minutes. See the original SVG image. View source code (not updated with function yet)




nyolc8

Quote from: Syd on April 08, 2015, 22:10
You need to show the source, otherway how can people trust at it.
I know, but then other servers could make this to theirs by just modifying some texts and urls... And I don't want that.

Quote from: Joshy on April 08, 2015, 22:16
very true, I personally want to see it since I want to see how you did the transitions (srsly it's nice) but for historical reasons all player-made executable downloads on here require source to be published.

If you want, you can PM it to me or maybe even set up a private Bitbucket repository and learn / use Git (version control). VS has some Git integration built-in.
I made the window animation with this: http://www.vcskicks.com/size-transform2.php (source can be downloaded at bottom) and modified some values of it (fps, steps), and added some bits (like keeping window sized from center, and checking top of screen collision), here's the class file for it:
http://pastebin.com/h9PcgUvp

the centering can be disabled with a bool, and I added also these two lines when resizing finished:

frm.Width = size.Width;
frm.Height = size.Height;

because the code does not finish the resize properly, so I just fixed it by this :D

SpazzBucket.

Well I'll give the first bug report  :D

When attempting to start the game and it doesn't work it says "game cant started" when it should be "game cannot start" or "game unable to start"



On another note I have no idea why it won't start, lol
"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.

Joshy

Quote from: SpazzBucket. on April 09, 2015, 00:43
Well I'll give the first bug report  :D

When attempting to start the game and it doesn't work it says "game cant started" when it should be "game cannot start" or "game unable to start"



On another note I have no idea why it won't start, lol
Do you happen to have gta_sa.exe set to run as admin by any chance?
[comment]test[/comment]
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
Generated using Azure Functions & CloudFlare Workers using the Convoy Trucking API. Updates every around 5 minutes. See the original SVG image. View source code (not updated with function yet)




SpazzBucket.

No I do not, it has actually completely fucked up my gta sa now, I sometimes get to the connecting screen, but when it says joining game (if it gets there) it just locks up and I have to log out of my desktop user to have access to my desktop again. This is when launching with samp client, worked fine yesterday when I didn't have the client downloaded.
"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.

Joshy

Quote from: SpazzBucket. on April 09, 2015, 00:55
No I do not, it has actually completely fucked up my gta sa now, I sometimes get to the connecting screen, but when it says joining game (if it gets there) [highlight=yellow]it just locks up and I have to log out of my desktop user[/highlight] to have access to my desktop again. This is when launching with samp client, worked fine yesterday when I didn't have the client downloaded.
That's a bug I run into a lot when Alt+tabbing and reconnecting without rebooting, I don't think it can attributed to the launcher unless it somehow breaks some Windows things. To fix it, enter command 'taskkill /F /IM gta_sa.exe' somehow (W8 search using Win+S, or run dialog using Win+R?)
[comment]test[/comment]
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
Generated using Azure Functions & CloudFlare Workers using the Convoy Trucking API. Updates every around 5 minutes. See the original SVG image. View source code (not updated with function yet)




SpazzBucket.

I never did anything related to alt+tabbing, just sat and waited for stuff to happen and nothing did
"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

Quote from: SpazzBucket. on April 09, 2015, 00:43
Well I'll give the first bug report  :D

When attempting to start the game and it doesn't work it says "game cant started" when it should be "game cannot start" or "game unable to start"



On another note I have no idea why it won't start, lol
Hold "shift" down while starting the launcher. This makes the launcher to use the default IP and port (or the ones from registry) instead of what it got from CT api. Tell me if the game starts then.

That error message appears in three cases:
1.: server ip/address somehow doesn't exists
2.: server port somehow doesn't exists
3.: samp.exe is not where the samp command registry key(this created by samp itself) says
(or all 3)

This doesn't do anything with samp or windows itself, it starts samp with two parameters (ip and port), then it closes itself. It doesn't do anything else. So it won't f*ck up gta sa at all, if it's locking up after game started, then it's something else. The only case which can happen by this is that the game chat says something that wrong ip or port, but it can't lock up because of this app.

I'll fix the message. Btw I noticed another bug there, the "Ping" column is glitched out from view.

TheSandman

Any chance for a custom samp location?
25/8/11 - 4/10/15: 1502 days of continuous staff duty C:-)

nyolc8

How do you mean? It's working no matter where SAMP is installed, because it reads a registry key which tells where SAMP is installed. And it works based on that path.

Joshy

[comment]test[/comment]
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
Generated using Azure Functions & CloudFlare Workers using the Convoy Trucking API. Updates every around 5 minutes. See the original SVG image. View source code (not updated with function yet)




nyolc8

some new things:

- ability to change how playerlist looks:
    -name & score
    -name & score & ping
    -player id & name & score
    -player id & name & score & ping

- alternating background for empty list area too
- changed refreshing time from 10 sec to 20 sec, also changed the error handling of the samp query a bit, hoping this will fix the random offline status reporting by mistake
- fixed the error message (thx for SpazzBucket.)
- changed how the list last column getting sized into listview, hoping this will fix the "Ping" column glitch



Btw I still don't have any idea why SpazzBucket having that message. My only tip is that you renamed/moved your GTA SA folder after you installed SAMP into it, or something like this.