Server Side Scripting – ArmA: Armed Assault Talk
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
---- | ---- | ||
Of course it doesn't work... that's old news... the Admin VM doesn't currently doesn't allow interaction with the Game VM's.--[[User:Sy|Sy]] 08:13, 8 July 2007 (CEST) | Of course it doesn't work... that's old news... the Admin VM doesn't currently doesn't allow interaction with the Game VM's.--[[User:Sy|Sy]] 08:13, 8 July 2007 (CEST) | ||
I can't get onUnsignedData to work. | |||
I'm using this : | |||
onUnsignedData = "uncheckAddons=[""ofrp_mer_a.pbo"",""editorupdate_v102.pbo""];if !((_this select 1) in uncheckAddons) then {kick (_this select 0)};"; | |||
to avoid a check on these 2 pbos. | |||
I have a key for ofrp_mer_a but it's the wrong one, and the thing work (I've the same code for unHackedData, which should be the one triggered in the case of ofrp_mer_a.pbo), but if I use editorupdate_v102.pbo on the client, without any .bisign made for it, I get kicked even though the onUnsignedData should kick in. What may be wrong? | |||
--[[User:Whisper|Whisper]] 23:25, 14 May 2008 (CEST) |
Revision as of 22:25, 14 May 2008
Perhaps it should be noted which version this functionality is available in. --Sy 12:31, 8 June 2007 (CEST)
- No need to note this. It is available in all versions since 1.00, only no documentation was available so far. --Suma 15:04, 8 June 2007 (CEST)
- Thanks, could you give us an example please.
- eg. in the server.cfg, do we have something like...
- onUserConnected="dummyVar = _this execVM ""scripts\Admin\UserConnected.sqf"";";
- And, if so where would the engine look for the 'UserConnected.sqf'? Within the mission that is currently running? Or somewhere else?
- Sorry, I know you're busy and you've only just put this up... btw... Great Job!--Sy 18:19, 8 June 2007 (CEST)
...
it wont work
Of course it doesn't work... that's old news... the Admin VM doesn't currently doesn't allow interaction with the Game VM's.--Sy 08:13, 8 July 2007 (CEST)
I can't get onUnsignedData to work.
I'm using this :
onUnsignedData = "uncheckAddons=[""ofrp_mer_a.pbo"",""editorupdate_v102.pbo""];if !((_this select 1) in uncheckAddons) then {kick (_this select 0)};";
to avoid a check on these 2 pbos.
I have a key for ofrp_mer_a but it's the wrong one, and the thing work (I've the same code for unHackedData, which should be the one triggered in the case of ofrp_mer_a.pbo), but if I use editorupdate_v102.pbo on the client, without any .bisign made for it, I get kicked even though the onUnsignedData should kick in. What may be wrong? --Whisper 23:25, 14 May 2008 (CEST)