Barrykensett
12-08-2016, 05:56 PM
I have moved from AST and most of my sim is working fine, I have a few small details now to fix.
I already have many sheets of SIOC routines, most of which continue to work. I don't want to start again if I can help it, I just want to patch up the things that don't work. In general the standard FS offsets work, it is the custom ones that don't, however it does not appear as simple as swapping the AST ones for Jeehell.
I thought I would try the SIOC generator to give me the text to add/substitute to my existing.
I already had success with my MCDU keys, the generator gave me a line of code to append to the existing script, just needed to change variable number. The process generated a new FMGSServer.iocp.ini. I edited the SIOC.ini to point to airbus.ssi instead of jeehellware.ssi.
This all worked.
I then tried to do a little more with the generator. I added my existing text in the box at the starter page (having pointed to the SIOC of course)
I tried a test with a few lights and signs; the result was a number of new lines added above my existing script and a lot more lines added to FMGSServer.iocp.ini. It created a jeehellware.ssi and altered my SIOC.ini to point to it. I compiled and ran the scripts and the new entries worked - I could turn lights, belts etc on and off. However nothing else worked.
I then tried merging the scripts (taking care with variables), saved and compiled the airbus.ssi and altered SIOC.ini but now nothing worked.
A small section of my old text which works the "No Smoking" switch
(I know the lines are deactivated but that is only because I patched in the line generated by SIOC Generator. It shows what I used to use hoiwever)
// Var 0001, name Switch_overhea, Link FSUIPC_INOUT, Offset $4602, Length 1 // Smoke
// Var 0002, Link IOCARD_SW, Input 78
// {
// IF V0002 = 1
// {
// &Switch_overhea = 78
// }
// ELSE
// {
// &Switch_overhea = 77
// }
// }
The 4602 offset is an AST custom one which I need to replace.
The SIOC generator just gave me one line:
Var 9, name NoSmokingUP, Link IOCARD_SW, Input 78
I have a really complex bit of script which handles the refuelling panel which now does not work.
Can anyone give me some general pointers?
Barry
www.a320sim.com (http://www.a320sim.com)
I already have many sheets of SIOC routines, most of which continue to work. I don't want to start again if I can help it, I just want to patch up the things that don't work. In general the standard FS offsets work, it is the custom ones that don't, however it does not appear as simple as swapping the AST ones for Jeehell.
I thought I would try the SIOC generator to give me the text to add/substitute to my existing.
I already had success with my MCDU keys, the generator gave me a line of code to append to the existing script, just needed to change variable number. The process generated a new FMGSServer.iocp.ini. I edited the SIOC.ini to point to airbus.ssi instead of jeehellware.ssi.
This all worked.
I then tried to do a little more with the generator. I added my existing text in the box at the starter page (having pointed to the SIOC of course)
I tried a test with a few lights and signs; the result was a number of new lines added above my existing script and a lot more lines added to FMGSServer.iocp.ini. It created a jeehellware.ssi and altered my SIOC.ini to point to it. I compiled and ran the scripts and the new entries worked - I could turn lights, belts etc on and off. However nothing else worked.
I then tried merging the scripts (taking care with variables), saved and compiled the airbus.ssi and altered SIOC.ini but now nothing worked.
A small section of my old text which works the "No Smoking" switch
(I know the lines are deactivated but that is only because I patched in the line generated by SIOC Generator. It shows what I used to use hoiwever)
// Var 0001, name Switch_overhea, Link FSUIPC_INOUT, Offset $4602, Length 1 // Smoke
// Var 0002, Link IOCARD_SW, Input 78
// {
// IF V0002 = 1
// {
// &Switch_overhea = 78
// }
// ELSE
// {
// &Switch_overhea = 77
// }
// }
The 4602 offset is an AST custom one which I need to replace.
The SIOC generator just gave me one line:
Var 9, name NoSmokingUP, Link IOCARD_SW, Input 78
I have a really complex bit of script which handles the refuelling panel which now does not work.
Can anyone give me some general pointers?
Barry
www.a320sim.com (http://www.a320sim.com)