You can get a LFS 0.6A1 InSim Version 5 compatible patch for
PRISM here. Actually, even 0.3.5 should still work with the current patch, due to how PRISM handles packets. But, anyway, this version includes the new packets in the 0.6A1 patch for LFS. There is only one thing that I've not worked on that I must, and that's sending IS_AXM packets to InSim from PRISM.
Please do test, and you can all expect the next official patch pretty soon after this if no one finds major bugs. Any issues please report them here or in
PRISM's Issue Tracker. Thank you all for using PRISM, and I hope to continue this development pace over the coming weeks.
One last quick note, in order to get all of the new fetures from the new InSim packets you must change the flags in your hosts.ini file.
My hosts.ini file looks like this for my local server.
; InSim Connection Hosts (automatically genereated)
; File location: ./PHPInSimMod/configs/hosts.ini
[localhost]
ip = "127.0.0.1"
port = 29999
flags = 2024
prefix = "!"
password = "password"
pps = 5
;[intranet]
;ip = "192.168.0.245"
;port = 29999
;prefix = "!"
;password = "password"
;pps = 5
So, to get the best out of PRISM all of these should be active (in bold).
define('ISF_RES_0', 1); // bit 0 : spare
define('ISF_RES_1', 2); // bit 1 : spare
define('ISF_LOCAL', 4); // bit 2 : guest or single player
[b]define('ISF_MSO_COLS', 8); // bit 3 : keep colours in MSO text[/b]
define('ISF_NLP', 16); // bit 4 : receive NLP packets
[b]define('ISF_MCI', 32); // bit 5 : receive MCI packets[/b]
[b]define('ISF_CON', 64); // bit 6 : receive CON packets[/b]
[b]define('ISF_OBH', 128); // bit 7 : receive OBH packets[/b]
[b]define('ISF_HLV', 256); // bit 8 : receive HLV packets[/b]
[b]define('ISF_AXM_LOAD', 512); // bit 9 : receive AXM when loading a layout[/b]
[b]define('ISF_AXM_EDIT', 1024); // bit 10 : receive AXM when changing objects[/b]