View unanswered posts | View active topics It is currently Tue May 12, 2026 2:22 pm



Reply to topic  [ 13 posts ] 
 Android App 
Author Message
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Android App
https://play.google.com/store/apps/details?id=com.hordeq.twarsmobile

Basic trading and colonizing, but pretty cool!

_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Mon Jul 14, 2014 9:27 pm
Profile ICQ WWW
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post Re: Android App
Heh. I know the guy who wrote that.

_________________
Suddenly you're Busted!


Mon Jul 14, 2014 11:48 pm
Profile WWW
Civilian

Joined: Sat Jul 12, 2014 12:32 am
Posts: 0
Unread post Re: Android App
Though, it has pair trade, world explore/trade, SSM, SST, and populate TWarp/Move as well as a database =P

If people think it will be useful, let me know and I will add custom scripting into it so that people can add their own or whatnot or I can add scripts myself if there's any people might want.

I purposefully left out the scripting engine because I wanted to only include the bare essentials for hands-off work you might want to do while away from your home PC.


Tue Jul 15, 2014 11:27 pm
Profile
Warrant Officer

Joined: Thu Jun 07, 2007 4:50 am
Posts: 86
Location: United States
Unread post Re: Android App
About Time , Love it. Go Mobile!

_________________
Milton's Planet
http://miltonsplanet.dynu.com


Wed Jul 16, 2014 12:17 am
Profile ICQ YIM WWW
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post Re: Android App
Makes me want to work on my stuff again. :)

_________________
Suddenly you're Busted!


Wed Jul 16, 2014 1:09 am
Profile WWW
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Re: Android App
HordeQ wrote:
Though, it has pair trade, world explore/trade, SSM, SST, and populate TWarp/Move as well as a database =P

If people think it will be useful, let me know and I will add custom scripting into it so that people can add their own or whatnot or I can add scripts myself if there's any people might want.

I purposefully left out the scripting engine because I wanted to only include the bare essentials for hands-off work you might want to do while away from your home PC.



Nice job! Sorry I missed the Evil stuff. I'll have to download it and check it out soon.

_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Wed Jul 16, 2014 9:28 pm
Profile ICQ WWW
Commander
User avatar

Joined: Fri Jun 09, 2006 2:00 am
Posts: 1402
Location: Canada
Unread post Re: Android App
Would it a lit if work to pirt it over to the ios for iPhone/iPad?

_________________
----------------------------
-= QUANTUM Computing 101: 15 = 3 x 5 ... 48% of the time.


Thu Jul 17, 2014 3:19 am
Profile ICQ YIM
Civilian

Joined: Sat Jul 12, 2014 12:32 am
Posts: 0
Unread post Re: Android App
I have an iOS version but, last time I tried to get something listed on the Apple store it was a nightmare.


Thu Jul 17, 2014 3:29 am
Profile
Civilian

Joined: Sat Jul 12, 2014 12:32 am
Posts: 0
Unread post Re: Android App
I finished integrating my C# scripting engine. Not ready for release yet but, just wanted to give the heads-up that I am indeed adding it so long as everything works out in converting all my scripts and runs fine on my Android devices. Currently, only tested it on my Optimus G.

Everything would be up to the scripter..with access to all functions available in C# .NET 2.0 (Android is a subset of 2.0). So, if you wanted to say..parse the turns left from a line, you would write something like:

if(Data.me.lineCheck.Contains("turns left."))
{
Regex p = new Regex(" (\\d+) turns left.");
Match m = p.Match(Data.me.lineCheck);
if(m.Success) customVars["turnsLeft"] = int.Parse(m.Groups[1].Value);
}
Horrible example but you get the gist. Obviously all my scripts and opened functions/variables would be listed in an example script of some sort. Does any of this sound even remotely appealing? I really don't like the style of twx to be honest. I'd much rather use something more modern and advanced.


Fri Jul 18, 2014 7:32 am
Profile
Ambassador

Joined: Wed Feb 28, 2001 3:00 am
Posts: 1410
Location: Boo! inc. Ireland
Unread post Re: Android App
You might consider Telix SALT, very similar to C. Google tfw115d1.zip and tfw115d2.zip. If you get it, ignore any messages about expiration, its abandonware and runs forever. Downside is I'm probably the only TW player left who still uses it.

EDIT: need both files to install it, and might need emulator to unzip, if W7 +


Last edited by Kavanagh on Sat Jul 19, 2014 1:56 pm, edited 1 time in total.



Sat Jul 19, 2014 3:27 am
Profile
Civilian

Joined: Sat Jul 12, 2014 12:32 am
Posts: 0
Unread post Re: Android App
Thanks. But, I've already finished the parser. Just bug testing now and confirming it works alright.


Sat Jul 19, 2014 3:56 am
Profile
Ambassador
User avatar

Joined: Fri Feb 23, 2001 3:00 am
Posts: 4016
Location: USA
Unread post Re: Android App
I find this all very interesting. I'm just learning programming, local community college teaches C#. I've taken 4 courses over 3 years and 3 versions of Visual Studio and still cannot code from memory, I have to look everything up.

This summer I started learning Java from some youTube videos. I started a free online college course for Android apps, but didn't know enough basic Java to get started.

I know Java is cross platform, but didn't know you could use C# in an Android app.

If I had a preference, I'd choose Java.

_________________

BOTE 1998 Champs: Team Fament
HHT 2015 Champs: Cloud09
Big Game 2016 Champs: Draft team
HHT 2018 Champs: Rock Stars
Big Game 2019 Champs: Draft Team


Classic Style Games Here:
telnet://crunchers-twgs.com:2002

Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm
Blog with current server info: http://cruncherstw.blogspot.com
Discord: https://discord.gg/4dja5Z8
E-mail: Cruncherstw@gmail.com
FaceBook: http://www.facebook.com/CrunchersTW


Sat Jul 19, 2014 8:40 am
Profile ICQ WWW
Civilian

Joined: Sat Jul 12, 2014 12:32 am
Posts: 0
Unread post Re: Android App
Yeah, via MonoDevelop you can use many different languages to write code for Android. The entire app is written in C# and my scripting engine uses Mono.CSharp.dll to compile and run C# on the fly while the app is running.

Inline scripting is a bit of a performance hit on Android though even just a generic script like lua or twx..the devices just aren't powerful enough. C# is a bit faster because it's compiled rather than sequential reading but, you can still notice a slowdown when running a large script.

I figure though, it's better to have scripting than to not have it. I released a new version with the scripting integrated and an enlarged keyboard. I haven't finished the script editor yet, though. So, it just has the base scripts from the original converted to external scripts. I'm working on adding the editor, a history log, and a tutorial website. I'm also trying to get a lot of house repairs done while my wife's on vacation. So, it might be delayed a bit.

I'd appreciate any feedback on the app either here or my email is on the Play Store app page. If it's here, you got a long wait for a reply because my account isn't likely to be allowed to make posts without confirmation anytime soon.


Sat Jul 19, 2014 9:44 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 13 posts ] 

Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.