| Author |
Message |
|
Cruncher
Ambassador
Joined: Fri Feb 23, 2001 3:00 am Posts: 4016 Location: USA
|
 Android App
_________________
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 |
|
 |
|
Mongoose
Commander
Joined: Mon Oct 29, 2001 3:00 am Posts: 1096 Location: Tucson, AZ
|
 Re: Android App
Heh. I know the guy who wrote that.
_________________ Suddenly you're Busted!
|
| Mon Jul 14, 2014 11:48 pm |
|
 |
|
HordeQ
Civilian
Joined: Sat Jul 12, 2014 12:32 am Posts: 0
|
 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 |
|
 |
|
miltonc
Warrant Officer
Joined: Thu Jun 07, 2007 4:50 am Posts: 86 Location: United States
|
 Re: Android App
About Time , Love it. Go Mobile!
_________________ Milton's Planet http://miltonsplanet.dynu.com
|
| Wed Jul 16, 2014 12:17 am |
|
 |
|
Mongoose
Commander
Joined: Mon Oct 29, 2001 3:00 am Posts: 1096 Location: Tucson, AZ
|
 Re: Android App
Makes me want to work on my stuff again. 
_________________ Suddenly you're Busted!
|
| Wed Jul 16, 2014 1:09 am |
|
 |
|
Cruncher
Ambassador
Joined: Fri Feb 23, 2001 3:00 am Posts: 4016 Location: USA
|
 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 |
|
 |
|
LoneStar
Commander
Joined: Fri Jun 09, 2006 2:00 am Posts: 1402 Location: Canada
|
 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 |
|
 |
|
HordeQ
Civilian
Joined: Sat Jul 12, 2014 12:32 am Posts: 0
|
 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 |
|
 |
|
HordeQ
Civilian
Joined: Sat Jul 12, 2014 12:32 am Posts: 0
|
 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 |
|
 |
|
Kavanagh
Ambassador
Joined: Wed Feb 28, 2001 3:00 am Posts: 1410 Location: Boo! inc. Ireland
|
 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 |
|
 |
|
HordeQ
Civilian
Joined: Sat Jul 12, 2014 12:32 am Posts: 0
|
 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 |
|
 |
|
Cruncher
Ambassador
Joined: Fri Feb 23, 2001 3:00 am Posts: 4016 Location: USA
|
 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 |
|
 |
|
HordeQ
Civilian
Joined: Sat Jul 12, 2014 12:32 am Posts: 0
|
 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 |
|
 |
|