RPTools.net

Discussion and Support

Skip to content

It is currently Sun Nov 19, 2017 7:20 am 




Forum rules


PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)



Reply to topic  [ 5 posts ] 

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Dragon
 
Joined: Thu Dec 23, 2010 12:12 am
Posts: 253
Location: San Antonio, Texas
 Post subject: External input/output?
PostPosted: Sat Apr 08, 2017 12:05 pm 
Is it possible to have maptool receive input from an external program and/or output to an external program? If so, would it have to be a program built with a certain language, or would any programming language work with the proper scripting?

_________________
"I love being wrong, for if I was always right, there would be nothing left to learn, and that would be a world I would not want to live in."
-Benjamin Fisher
"Knowledge is knowing a tomato is a fruit; wisdom is not putting it in a fruit salad."
-Miles Kington
"Space is his favorite thing in the world!"
-Kayla Kros


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1704
Location: Chicagoland
 Post subject: Re: External input/output?
PostPosted: Sat Apr 08, 2017 12:51 pm 
Are you talking in theory or right now? Right now, technically no, although in my Fork i do have requestURL & sendURL so that provides a partial RESTful service but has to be initiated from MapTool. Craig had started on a "web engine" as well but it's POC. My fork also reads Hero Lab portfolios, so that is a form of "input from another source/program". It also can post an syrinscape URI which is an example of "output to another program"...

With that said, MT is open source, so you could build an API for communication to/from MT. Hard to answer anything more with more details.

_________________
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
More information here: MapTool Nerps! Fork | TokenTool Nerps! Fork
Custom TokenTool (version 1.0b33): TokenTool.exe


Top
 Profile  
 
User avatar  Offline
Dragon
 
Joined: Thu Dec 23, 2010 12:12 am
Posts: 253
Location: San Antonio, Texas
 Post subject: Re: External input/output?
PostPosted: Sat Apr 08, 2017 1:05 pm 
Thanks, I am planning on learning some programming and I want to eventually make a inventory tracker/character sheet program that can be called upon by maptool. This is going to be part of a larger project of building a beastly gaming table and I hope to make the program decently graphical as to be displayed on small tablets built into the table.

_________________
"I love being wrong, for if I was always right, there would be nothing left to learn, and that would be a world I would not want to live in."
-Benjamin Fisher
"Knowledge is knowing a tomato is a fruit; wisdom is not putting it in a fruit salad."
-Miles Kington
"Space is his favorite thing in the world!"
-Kayla Kros


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1704
Location: Chicagoland
 Post subject: Re: External input/output?
PostPosted: Sat Apr 08, 2017 1:32 pm 
It may be ambitious if you are just starting out learning to program. You will need to make modifications to MapTool so you might as well stick with Java for your solutions. The WebAPI may be the way to go as well. I don't know where Craig left off with it but it's a start: https://github.com/RPTools/maptool/tree/webapi

*Note: That branch is based on 1.4.0.0 so you would have to merge it with 1.4.0.5 or the 1.4.1 branch if you want the latest code...

_________________
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
More information here: MapTool Nerps! Fork | TokenTool Nerps! Fork
Custom TokenTool (version 1.0b33): TokenTool.exe


Top
 Profile  
 
User avatar  Offline
Dragon
 
Joined: Thu Dec 23, 2010 12:12 am
Posts: 253
Location: San Antonio, Texas
 Post subject: Re: External input/output?
PostPosted: Sat Apr 08, 2017 2:48 pm 
It's more of an side goal, I don't expect to do it overnight xD I want to learn programming and when I start learning something new I set a goal that coincides with one of my interests as sort of a motivation to continue on when it gets tough. So I think I will start researching java courses, thanks!

_________________
"I love being wrong, for if I was always right, there would be nothing left to learn, and that would be a world I would not want to live in."
-Benjamin Fisher
"Knowledge is knowing a tomato is a fruit; wisdom is not putting it in a fruit salad."
-Miles Kington
"Space is his favorite thing in the world!"
-Kayla Kros


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 5 posts ] 

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:

Who is online

In total there are 4 users online :: 2 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman