www.ClassicTW.com
https://mail.black-squirrel.com/

Android App
https://mail.black-squirrel.com/viewtopic.php?f=14&t=34376
Page 1 of 1

Author:  Cruncher [ Mon Jul 14, 2014 9:27 pm ]
Post subject:  Android App

https://play.google.com/store/apps/details?id=com.hordeq.twarsmobile

Basic trading and colonizing, but pretty cool!

Author:  Mongoose [ Mon Jul 14, 2014 11:48 pm ]
Post subject:  Re: Android App

Heh. I know the guy who wrote that.

Author:  HordeQ [ Tue Jul 15, 2014 11:27 pm ]
Post subject:  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.

Author:  miltonc [ Wed Jul 16, 2014 12:17 am ]
Post subject:  Re: Android App

About Time , Love it. Go Mobile!

Author:  Mongoose [ Wed Jul 16, 2014 1:09 am ]
Post subject:  Re: Android App

Makes me want to work on my stuff again. :)

Author:  Cruncher [ Wed Jul 16, 2014 9:28 pm ]
Post subject:  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.

Author:  LoneStar [ Thu Jul 17, 2014 3:19 am ]
Post subject:  Re: Android App

Would it a lit if work to pirt it over to the ios for iPhone/iPad?

Author:  HordeQ [ Thu Jul 17, 2014 3:29 am ]
Post subject:  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.

Author:  HordeQ [ Fri Jul 18, 2014 7:32 am ]
Post subject:  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.

Author:  Kavanagh [ Sat Jul 19, 2014 3:27 am ]
Post subject:  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 +

Author:  HordeQ [ Sat Jul 19, 2014 3:56 am ]
Post subject:  Re: Android App

Thanks. But, I've already finished the parser. Just bug testing now and confirming it works alright.

Author:  Cruncher [ Sat Jul 19, 2014 8:40 am ]
Post subject:  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.

Author:  HordeQ [ Sat Jul 19, 2014 9:44 pm ]
Post subject:  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.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/