Hello Guest it is April 25, 2024, 07:24:26 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Rimmel

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 »
11
Mach4 General Discussion / Mach4 Lua programatically clicking button
« on: July 29, 2022, 11:52:59 AM »
Mach4 Lua programatically clicking button ... or changing the state of a button programatically, can it be done?? e.g. calling the click or state change from code?

thanks

12
Mach4 Plugins / Re: mcX360 Plugin for Lua
« on: July 29, 2022, 11:51:15 AM »
Smashing idea Daz - thank you!!!!  ;)

13
Mach4 Plugins / Re: mcX360 Plugin for Lua
« on: July 28, 2022, 12:07:52 PM »
Unfortunately the standard Plugin does not allow any change on the D-Pad or Analogue stick movements. The LUA version was perfect (how they should all be written) but like I say just buzzes/vibrates all the time in Win7.

I can't seem to get acess to the Plugin core files etc or I would have had look at it myself.

thanks anyway.

14
Mach4 Plugins / Re: mcX360 Plugin for Lua
« on: July 28, 2022, 11:13:39 AM »
Treid this on a few machines, basically the Plugin doesn't seem to work properly on Win7.

Could @dazthegaz have a look at this please?

thanks

15
Mach4 General Discussion / Re: Mach4 API/SDK
« on: June 20, 2022, 05:41:44 AM »
Hi,
the majority of things that you might want to do to your machine can be handled by coding in Lua, and for this the Mach4CoreAPI.chm is perfect.

You may notice that the API gives both Lua and C/C++ syntax. Further you may notice that there are specific and critical motion commands that do not have
Lua syntax,  these are intended for C/C++  use only, ie within a plugin, and as Steve pointed out then you need to enter into an NDA with NFS.

May I suggest you experiment with Lua to start with, I think you'll be very pleasantly surprised about the functionality it provides WITHOUT the need to write a plugin.

Craig
I've already used the Lua and written a Carousel 6 tool changer M6 script (among others). It's a bit niche and dated, a strange choice for a large project.

Like I said... it's a lot of work (especially for people with no programming experience) to get a single machine up and running.

But more to the point I did specifically contact Artsoft and ask about the SDK etc and was brushed off with a link to the api docs. Not really what you expect from a paid product. It feels more like a "shareware or Opensource atmospere" e.g. if it's broke then fix it yourself. With the Caveat being, they don't want to give you the tools to fix it.

Ah well... I suppose the small saving grace is that it wan't that abomination of a language "Python". Speed wise it pretty close though.



16
Mach4 General Discussion / Re: Mach4 API/SDK
« on: June 19, 2022, 03:25:48 PM »
Really? Thats strange you'd think they'd want people to develop stuff for their product and give out example code freely.

So they supply the MACH4API docs but not actually any tools/SDK to use it????

I did contact them asking just that and they just pointed me to the docs... This Mach4 is getting hard work just to get it running... never mind anything else.  :-\

17
Mach4 General Discussion / Mach4 API/SDK
« on: June 19, 2022, 02:23:26 PM »
Anyone know where it is? I messaged Artsoft and they told me the docs were in the DOCS folder... but they reference non existent MACH4SDK etc and no actual help in program structure compiling etc etc. "Include the MachAPI.h file in your source files." where is that then?

Anyone got a base code example for the SDK? I've asked DazTheGaz and Brian Barker with no reply.

Can't get the XBOX360 lua plugin working properly as it rumbled persistently. Developer not responding the messages/forum posts.

thanks


18
Mach4 Plugins / Re: DaztheGaz XBOX 360 Lua bug/error
« on: June 18, 2022, 07:05:56 AM »
Just to confirm - I tried this on 2 different machines. One un-licensed using the simulator and the other on the miller Licensed with ESS.

Both the same, the rumble is randomly but consistently active on the DaztheGaz XBOX 360 Lua version. But fine on the version supplied with Mach4 (non Lua).

thanks

19
Mach4 Plugins / DaztheGaz XBOX 360 Lua bug/error
« on: June 18, 2022, 05:51:05 AM »
Trying to get the DaztheGaz XBox360 lua working on my Miller/Registered Mach4 system and for the most part it works fine.

However when I use the DaztheGaz XBOX 360 Lua plugin the controller randomly buzzes/vibrates. It doesn't seem to do it in any patterns but every second or so it vibrates for no apparent reason. This is WITHOUT adding a simple line of Lua scripting. Just plugging the controller in and activating the plugin.

I have tried a few different versions and they are the same... BUT the original XBOX controller plugin that comes bundled with Mach does not.

Anyone else had this problem? It looks to me like the plugin is polling the rumble feature of the controller causing it to vibrate (????) It may be because the plugin was developed on Win10 and I am using Win7. (or something like that)

Any help appreciated.

PS has anyone got a sample base code/snippet for reading inputs from controllers? I tried private messaging to usual suspects but never got a reply.

thanks again

20
Mach4 Plugins / Re: mcX360 Plugin for Lua
« on: June 17, 2022, 10:02:39 AM »
I have a problem with the XBOX 360 LUA plugin. Whenever I install it to Mach4, the controller randomly (but consistently) rumbles.

It doesn't stop, just jumbles all the time randomly.

Any ideas? It is a Genuine MS controller and is picked up by the plugin successfully.

thanks

PS this is before I add any LUA code for it.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 »