alexslx 12 Report post Posted March 1, 2016 (edited) Hello, I'm trying to add new network messages without changing @exile_server files directly. How can I do this? I've tried to create a new addon and expose the functions like exile or enigma revive do, but without success. 2016/03/01, 11:28:45 "ExileServer - Network message dispatch failed: Forbidden message name! Payload: ["sprTiHzO","addlockVehicleRequest",["2:642","1234"]]" Regards, Edited March 1, 2016 by alexslx | twitch.tv/alexslxbr Share this post Link to post Share on other sites
WolfkillArcadia 758 Report post Posted March 1, 2016 11 minutes ago, alexslx | twitch.tv/alexslxbr said: Hello, I'm trying to add new network messages without changing @exile_server files directly. How can I do this? I've tried to create a new addon and expose the functions like exile or enigma revive do, but without success. 2016/03/01, 11:28:45 "ExileServer - Network message dispatch failed: Forbidden message name! Payload: ["sprTiHzO","addlockVehicleRequest",["2:642","1234"]]" Regards, Without changing the exile files? Wait until the next update, they've made it possible. Share this post Link to post Share on other sites
alexslx 12 Report post Posted March 1, 2016 5 minutes ago, WolfkillArcadia said: Without changing the exile files? Wait until the next update, they've made it possible. I mean doing that by creating an addon (like a3_dms or enigma exile). I want to be able to exchange network messages (adding lock is just an example). Share this post Link to post Share on other sites
WolfkillArcadia 758 Report post Posted March 1, 2016 4 minutes ago, alexslx | twitch.tv/alexslxbr said: I mean doing that by creating an addon (like a3_dms or enigma exile). I want to be able to exchange network messages (adding lock is just an example). You can create your own remoteExec but there is a security flaw if you don't add a bunch of checks to make sure the data you are expecting is correct. If you want to use ExileServer_system_network_sendTo or ExileClient_system_network_send, you will need to edit ExileServer_system_network_dispatchIncomingMessage (If you want the client to send a message to access a server side function) or ExileClient_system_network_dispatchIncomingMessage (If you want the server to be able to send a custom message to the client) so they look in the missionConfig for the CfgNetworkMessages class. That's pretty much the only way if you want to use Exile's System. You can always write your own if you don't want to use theirs. Share this post Link to post Share on other sites
alexslx 12 Report post Posted March 1, 2016 4 hours ago, WolfkillArcadia said: You can create your own remoteExec but there is a security flaw if you don't add a bunch of checks to make sure the data you are expecting is correct. If you want to use ExileServer_system_network_sendTo or ExileClient_system_network_send, you will need to edit ExileServer_system_network_dispatchIncomingMessage (If you want the client to send a message to access a server side function) or ExileClient_system_network_dispatchIncomingMessage (If you want the server to be able to send a custom message to the client) so they look in the missionConfig for the CfgNetworkMessages class. That's pretty much the only way if you want to use Exile's System. You can always write your own if you don't want to use theirs. Thanks @WolfkillArcadia. I followed your hint (also had a peek on your banking sys) and did it successfully. 1 Share this post Link to post Share on other sites
MrUnique93 0 Report post Posted July 14, 2017 Hey @alexslx, could i see how you created this? I got the issue myself on my current server. Share this post Link to post Share on other sites