Note: This forum is merely an archive. It is no longer possible to register or post. - StackOverflow
New Ace of Spades Forums: http://buildandshoot.com/

[Tool] Ace of Spades Launcher [V1.2.0 Beta]

All third party apps for AoS.

[Tool] Ace of Spades Launcher [V1.2.0 Beta]

Postby titegtnodI » Fri Dec 30, 2011 8:29 pm

DOES NOT WORK WITH NEW SERVER LIST

V1.2.0 B1

Features


  • Gets server list and displays it
  • Can launch any aos:// link or IP
  • Command line interface (With colours!)
  • Works under wine
  • Very fast
  • Written in pure C

To-do

  • Option to disable colours (V1.2.0)
  • Favourites feature (V1.2.0)
  • Improve CLI arguments feature (Strip out tabs, spaces, left column, etc) (V1.2.1)
  • Handle hostnames (V1.2.2)
  • Filter displayed servers by country
  • Clickable CLI (V2.0.0)
  • Replace "gettimeofday" with "GetSystemTime" for Windows (V2.0.1)
  • Option to download latest maps from map repository
  • Local latency (V2.0.0)
  • Main menu
  • Rework cls to give me more control (Don't use system()) (V2.0.0)
  • Optional compact view (2 servers per line) (V2.0.1)
  • Display latest blog post
  • Optional GUI frontend
  • Maybe try to make it faster

Controls

  • Just hit enter to refresh the list
  • 0 to exit
  • h for help
  • l to use local latency (Which doesn't work at all)
  • Type in the number of the server you want to connect to
  • Type in aos:// link to connect to a server
  • Type in IP to connect to a server
  • Edit/Create a file in the same directory named "aosloc" with the location of AoS (Ex: D:\Ace of Spades)
  • AoSL will detect AoS if it's in the same directory
  • To output all the information AoSL handles run "aosl.exe list" (For frontends)

Notes

I would like thoughts / opinions / suggestions. This should run on Windows XP and above and run under wine on Linux, making it much easier to run Ace of Spades on Linux.

To get the actual server latency I won't be pinging the server (as that doesn't even hit the server usually anyways and in fact it often hits the router, that's assuming that they don't block ICMP traffic which is pretty common these days) but actually open a UDP connection and send a packet and receive a reply with the math (time in seconds) "(now-start)*1000" to determine the latency which is almost certainly what AoS does. This is more accurate than pinging.

I began reading into GUI creation without using .NET. Only thing that confuses me is apparently you're supposed to compile it as either a console application or a GUI application ... so how do you add a switch for the runtime? Maybe there's a way during the runtime to hide the command prompt so I'd just compile it as a cli application.

I'm going to start using adfly links on the latest version of my launcher. The reason for this being is the little extra income will go a long way :). I'll de-adfly the link as soon as it's not the latest version. If you really don't like adfly you'll notice there's a pattern to the links, but I'd have to ask ... please spend the 5 seconds to support me :). Don't worry, there will never be ads inside of the launcher, I hate those.

Changelog

V2.0.0 (Unreleased)

  • Much more user friendly CLI (25%)
  • Local latency (60%)
  • Clickable CLI (10%)
  • Clears screen properly now (90%)
  • Update notifications (0%)

V1.2.0 (Unreleased)

  • Basic options file (100%)
  • Favourites feature (10%)
  • Optional colours (100%)
  • No more rare formatting issues (0%)
  • Option to set AoS location via command line args (100%)
  • No more conio.h (100%)
  • Max server cap is now 200 (100%)

V1.1.3

  • Fixed bug if there are more than 75 servers
  • Changed how long certain colours are displayed

V1.1.2

  • Updated help
  • Limit on automatic height resize (In case of lots of servers)
  • Ability to launch AoS with "aosl launch 127.0.0.1" or "aosl launch aos://16777343"
  • Works better on slower connections
  • Code is more portable
  • 64Bit version

V1.1.1

  • Added in the ability to connect via IP or aos:// link
  • Changed around some code, made some shorter

V1.1.0

  • Help feature (press h)
  • Works under wine (will launch Ace of Spades)
  • Probably only works on XP and above now (And probably Windows 2k)
  • Doesn't use "system()" for opening AoS anymore
  • CLI arguments (So others may make their own frontends)
  • Look for AoS in the current folder AoSL resides as well
  • Fixed rare formatting issues (Now they're very rare)
  • Fixed colours for those who didn't have them display

V1.0.2

  • Made it look pretty

V1.0.1

  • It now informs you if it can't find AoS instead of ignoring it
  • Config file to place Ace of Spades in an area other than C:\Ace of Spades

Known Issues

  • Local latency doesn't work
  • The 64bit version of launcher doesn't start for some Windows 7 users (See FAQ for fix)
  • If there is a server with an unkown flag it seems to skip a server

FAQ

Q: Why doesn't AoSL start up?
A: I'm not sure, until the issue is resolved please use the 32Bit version.

Q: I don't know if I'm 64Bit or 32Bit, what should I download?
A: 32Bit.

Q: Where can I get a config file?
A: Here (or here). It only works with AoSL 1.2.0 Beta and up.

Download


Beta Releases


Get Dropbox! http://db.tt/p9OT64uv <-- Please register I get 250MB every unique account sets it up! This way I can offer mirrors :)
I really don't like the way links look
Last edited by titegtnodI on Sun Mar 25, 2012 11:38 pm, edited 32 times in total.
Tired of the derp on #aos? Join Pho3n1xNet's #aos, where chodes are klined
titegtnodI
Member
 
Posts: 29
Joined: Fri Dec 30, 2011 8:09 pm

Re: [Tool] Ace of Spades Launcher [V1.1.1]

Postby BraveRubberDuck » Wed Jan 04, 2012 11:26 am

Finally, someone did this :D
But there are some problems, and there are some missing stuff...
- The Ping is not correct, in a 14 ping server i have 240 (I live in Portugal, so the ping's from the AoS site are not correct)
- The "aosloc" file info is not clear... Do I put a aosloc.txt file with the location? Create an aos.loc and change it in notebook? :|
- Change the list so that only the selected country appears (for example, so I can play with low ping, I have to choose a server from G.B.)
BraveRubberDuck
Member
 
Posts: 1
Joined: Tue Dec 27, 2011 10:11 pm

Re: [Tool] Ace of Spades Launcher [V1.1.1]

Postby titegtnodI » Thu Jan 05, 2012 5:38 am

BraveRubberDuck wrote:Finally, someone did this :D
But there are some problems, and there are some missing stuff...
- The Ping is not correct, in a 14 ping server i have 240 (I live in Portugal, so the ping's from the AoS site are not correct)
- The "aosloc" file info is not clear... Do I put a aosloc.txt file with the location? Create an aos.loc and change it in notebook? :|
- Change the list so that only the selected country appears (for example, so I can play with low ping, I have to choose a server from G.B.)


I'm glad you like it!

- The ping is from the master server but a local ping option will be available eventually
- You put a file named "aosloc" (Not aosloc.txt) with the location in the same folder as AoSL (Ace of Spades Launcher) to define the path of Ace of Spades if the launcher doesn't locate it automatically
- I'll add that to my todo list and expect to see it in future revisions

If you find my instructions aren't clear feel free to write a tutorial on how you solved the problem and I would be glad to link it here.
Tired of the derp on #aos? Join Pho3n1xNet's #aos, where chodes are klined
titegtnodI
Member
 
Posts: 29
Joined: Fri Dec 30, 2011 8:09 pm

Re: [Tool] Ace of Spades Launcher [V1.1.2]

Postby titegtnodI » Tue Jan 10, 2012 9:36 am

AoSL has been updated! It's not a major update though, read the opening post for details on future updates!

  • Updated help
  • Limit on automatic height resize (In case of lots of servers)
  • Ability to launch AoS with "aosl launch 127.0.0.1" or "aosl launch aos://16777343"
  • Works better on slower connections
  • Code is more portable
  • 64Bit version
Tired of the derp on #aos? Join Pho3n1xNet's #aos, where chodes are klined
titegtnodI
Member
 
Posts: 29
Joined: Fri Dec 30, 2011 8:09 pm

Re: [Tool] Ace of Spades Launcher [V1.1.2]

Postby PresidentEden » Thu Jan 12, 2012 1:40 am

Nice...Just great. It would be great if you had make the launcher a GUI (for deuces) instead of command prompt, but eh.. that suits my tastes.
+1 from the President of the Enclave.
User avatar
PresidentEden
Member
 
Posts: 41
Joined: Thu Jan 12, 2012 12:15 am
Location: Raven Rock base, D.C.

Re: [Tool] Ace of Spades Launcher [V1.1.2]

Postby titegtnodI » Thu Jan 12, 2012 7:21 am

PresidentEden wrote:Nice...Just great. It would be great if you had make the launcher a GUI (for deuces) instead of command prompt, but eh.. that suits my tastes.
+1 from the President of the Enclave.


I'm glad you like it! It's designed for someone to make a GUI. I'll probably make a GUI one day if no one else does, I'm working hard on making the CLI more user-friendly (keybindings, mouse detection, tabs, etc) so hopefully it will result in the same or feel a GUI would give.

Cheers!
Tired of the derp on #aos? Join Pho3n1xNet's #aos, where chodes are klined
titegtnodI
Member
 
Posts: 29
Joined: Fri Dec 30, 2011 8:09 pm

Re: [Tool] Ace of Spades Launcher [V1.1.3]

Postby titegtnodI » Sat Jan 28, 2012 8:06 pm

V1.1.3 has been released! I increased the array size and changed colours a little bit. I've been working on projects in kind of a cycle. I'll be back to doing lots of AoSL releases after the weekend again :).

Also if a mod reads this please move this thread to the "Released Mods" section. This section isn't really appropriate for tools.
Tired of the derp on #aos? Join Pho3n1xNet's #aos, where chodes are klined
titegtnodI
Member
 
Posts: 29
Joined: Fri Dec 30, 2011 8:09 pm

Re: [Tool] Ace of Spades Launcher [V1.1.3]

Postby Stiivais » Thu Feb 02, 2012 3:39 pm

Buddy, would you like helping me with my project?
CoS - Courier Of Spades.
You know, viewtopic.php?f=75&t=1791&p=13691#p13691
I need someone to create some scripts (.exe programs, or .php scripts hostable on server),
that convert strings of data into .ini files.
Would you like to help me?
Image
Also: shutting up because i have caused some annoyances lately.
User avatar
Stiivais
Member
 
Posts: 428
Joined: Tue Dec 27, 2011 12:15 pm

Re: [Tool] Ace of Spades Launcher [V1.1.3]

Postby titegtnodI » Fri Feb 03, 2012 5:25 pm

Stiivais wrote:Buddy, would you like helping me with my project?
CoS - Courier Of Spades.
You know, viewtopic.php?f=75&t=1791&p=13691#p13691
I need someone to create some scripts (.exe programs, or .php scripts hostable on server),
that convert strings of data into .ini files.
Would you like to help me?


I'm willing to help you however you need to understand that a ".exe program" is not a script. I may do some PHP for you but I'm not really interested in making a procedure to make .ini files lol. Why don't we work together in the sense where you make a GUI frontend to my launcher?
Tired of the derp on #aos? Join Pho3n1xNet's #aos, where chodes are klined
titegtnodI
Member
 
Posts: 29
Joined: Fri Dec 30, 2011 8:09 pm

Re: [Tool] Ace of Spades Launcher [V1.1.3]

Postby titegtnodI » Tue Feb 07, 2012 5:52 am

Added in an FAQ. If you were having troubles before please read it! :) Expect a new update soon, I've been really busy lately, sorry about that guys! Also Feb. 5 the was an all-time high of 47 downloads in one day! I'm glad people like this project :).
Tired of the derp on #aos? Join Pho3n1xNet's #aos, where chodes are klined
titegtnodI
Member
 
Posts: 29
Joined: Fri Dec 30, 2011 8:09 pm

Re: [Tool] Ace of Spades Launcher [V1.1.3]

Postby Stiivais » Wed Feb 08, 2012 11:06 pm

titegtnodI wrote:
Stiivais wrote:Buddy, would you like helping me with my project?
CoS - Courier Of Spades.
You know, viewtopic.php?f=75&t=1791&p=13691#p13691
I need someone to create some scripts (.exe programs, or .php scripts hostable on server),
that convert strings of data into .ini files.
Would you like to help me?


I'm willing to help you however you need to understand that a ".exe program" is not a script. I may do some PHP for you but I'm not really interested in making a procedure to make .ini files lol. Why don't we work together in the sense where you make a GUI frontend to my launcher?


Okay, i can make a program with gui, but it will read parameters from .ini file.
And i didnt imply that .exe files are scripts (curse my terrible grammar).
I just wanted to tell you, that my VPL only supports certain readable file formats (.ini is one of them),
so the .exe program would produce the .ini file (through web-scraping and parsing)
Make a sketch, of what should your GUI look like and i will see what i can do.
Image
Also: shutting up because i have caused some annoyances lately.
User avatar
Stiivais
Member
 
Posts: 428
Joined: Tue Dec 27, 2011 12:15 pm

Re: [Tool] Ace of Spades Launcher [V1.1.3]

Postby titegtnodI » Thu Feb 09, 2012 12:04 am

Well I'm open to ideas, I don't really have an idea for a GUI. Personally, I don't use many GUI tools, I only recently started using a GUI web browser so feel free to use your own creativity. I'm going to be doing some development tonight and try to iron out that but that makes the launcher bug on some Windows 7 clients.

Edit: Seems to be only the 64Bit version. The thing is it only happens to /some/ people (2 reports), and it's really hard to diagnose because it WORKS as long as it's called from the command prompt or a .bat file.
Tired of the derp on #aos? Join Pho3n1xNet's #aos, where chodes are klined
titegtnodI
Member
 
Posts: 29
Joined: Fri Dec 30, 2011 8:09 pm

Re: [Tool] Ace of Spades Launcher [V1.2.0 Beta]

Postby titegtnodI » Sat Feb 18, 2012 12:14 am

V1.2.0 has been released to address the 125 server limit. It's not "bug-free" but it does have a couple more features such as .ini support.
Tired of the derp on #aos? Join Pho3n1xNet's #aos, where chodes are klined
titegtnodI
Member
 
Posts: 29
Joined: Fri Dec 30, 2011 8:09 pm

Re: [Tool] Ace of Spades Launcher [V1.1.2]

Postby kenzmev » Sun Feb 26, 2012 3:24 am

titegtnodI wrote:
PresidentEden wrote:Nice...Just great. It would be great if you had make the launcher a GUI (for deuces) instead of command prompt, but eh.. that suits my tastes.
+1 from the President of the Enclave.


I'm glad you like it! It's designed for someone to make a GUI. I'll probably make a GUI one day if no one else does, I'm working hard on making the CLI more user-friendly (keybindings, mouse detection, tabs, etc) so hopefully it will result in the same or feel a GUI would give.
Image

Cheers!
I like his design, is very good
kenzmev
Member
 
Posts: 28
Joined: Sun Feb 26, 2012 3:17 am

Re: [Tool] Ace of Spades Launcher [V1.2.0 Beta]

Postby titegtnodI » Sun Feb 26, 2012 4:26 am

Haha thank you, I'm glad you like it!
Tired of the derp on #aos? Join Pho3n1xNet's #aos, where chodes are klined
titegtnodI
Member
 
Posts: 29
Joined: Fri Dec 30, 2011 8:09 pm

Next

Return to Tools/Utilities



Who is online

Users browsing this forum: No registered users and 2 guests

cron