sbsmac 0 Posted July 16, 2009 I'm working on a multiplayer script pack (http://forums.bistudio.com/showthread.php?t=79842) and trying to debug the inevitable locality issues. To do this, I start up a dedicated server and start up a couple of windowed instances of Arma2. The problem is that I can't log on to the server with the second instance, despite having set 'kickduplicate=0;" in my server config (whole file reproduced below). I'm running Vista. Is this deliberate behaviour ? I can see why BIS would want to prevent LAN play from a single copy but this does make debugging complex multiplayer scripts rather awkward - I don't particularly want to pay for extra copies to be able to do this ;-) // // server.cfg // // GLOBAL SETTINGS hostname="MacServer"; kickDuplicate=0; // SCRIPTING ISSUES onUserConnected=""; onUserDisconnected=""; doubleIdDetected=""; regularCheck=""; Share this post Link to post Share on other sites
MJK-Ranger 0 Posted July 16, 2009 Other thing doesn't work ether. I was trying to just change a cpp file inside a default addon.. i just added some more numbers and saved the pbo file and put it into the addon folder... my server let me inn without any problem.. hmmmmmmmmmmmmmm verifySignatures=1; only worked on signed addons. If i put a new addon on my arma2/addons, then the server stop me... But it's not stopping me for editing a signed addons cpp file. i have also added this to my server.cfg onHackedData = "ban (_this select 0)"; // auto ban hacked addons onDifferentData = "kick (_this select 0)"; // auto ban modified files onUnsignedData = "kick (_this select 0)"; // unsigned data detected Do we really have an unprotected game here??? Share this post Link to post Share on other sites
.kju 3245 Posted July 17, 2009 At times the check does not seem to be happening on connect. Instead after some minutes it does check again and again. @sbsmac Please post your complete server.cfg at www.pastebin.com. Share this post Link to post Share on other sites
bhaz 0 Posted July 17, 2009 and start up a couple of windowed instances of Arma2. Are you running the server with -config=server.cfg in the shortcut? Also, doesn't connecting two clients to the same server trigger FADE? Share this post Link to post Share on other sites
sbsmac 0 Posted July 18, 2009 The entire config file is actually posted at the end of my first post - it really is just <start of file> // // server.cfg // // GLOBAL SETTINGS hostname="MacServer"; kickDuplicate=0; // SCRIPTING ISSUES onUserConnected=""; onUserDisconnected=""; doubleIdDetected=""; regularCheck=""; <EOF> I know the -config option is working because when I browse the LAN, the server is identified as 'MacServer' as specified in the file. >Also, doesn't connecting two clients to the same server trigger FADE? Yes, and a message comes up warning that 'illegal copies may degrade'. That's fine - I'm not trying to have a proper game, just test out multi-client/server interactions in the scripts I'm testing. The problem is that the second client doesn't stay logged in - it's as if kickDuplicate is forced to true. To put this another way, has anyone actually been able to log on to a dedicated server with multiple client instances of the same game installation ? If so, there's clearly something wrong with my config. If not, I'd assume it's either deliberate server behaviour or else a bug. Share this post Link to post Share on other sites
.kju 3245 Posted July 18, 2009 try this reportingIP="<>"; More info at http://community.bistudio.com/wiki/server.cfg Share this post Link to post Share on other sites
sbsmac 0 Posted July 19, 2009 Fantastic - that solved it. Thanks :-) Share this post Link to post Share on other sites