Page 1 of 8 12345 ... LastLast
Results 1 to 10 of 72

Thread: [Dedicated] ServerSide settings, no grass and such

  1. #1

    ServerSide Addon - Force visual settings, 3PoV for vehicle only, and more

    Doolittle made this little tool for ArmA back in the days, I don't know if he's still active, but anyway, I took his concept and adapted to ArmA2. Originally intended for my server, I guess I can make it public.


    EDIT June 16th 2010 : : New release has changed the installed files and addon requirements on server. People already using this should re-read the description below



    Goal

    This addon is to be installed only on your server.
    It requires Extended_Eventhandlers, that are included in CBA (on your server only, once again, clients don't need these addons, they can run Vanilla ArmA2 or whatever addon permitted)

    It will, at each mission startup, send a string to each client containing scripting code. This code will be executed on every clients, even clients connecting after mission startup.
    This code will be executed for every mission

    Installation

    Uncompress in main ArmA2 directory of server, it'll create in the main directory a serverSide subfolder and 2 .sqf files :
    ArmA2\globalscript.sqf
    ArmA2\serverside.sqf
    ArmA2\serverSide\Addons\serverSide.pbo

    Launch the server with -mod=@CBA;serverSide

    Utilization

    globalscript.sqf file contains the code that will be sent to all connected machines, in the format :
    Code:
    "
    <Code to execute>
    ...
    " call WHIS_createLogicCode;
    This file is in readable format at the root ArmA2 directory
    It can be modified before launching the server.

    From this code, you can execute on each client commands independantly of the mission played, using commands that should only have a local use, like setting the grass level of detail, view distance, or printing regular hints and messages.

    serverside.sqf contains a script that will be executed exclusively on the server. Handy to separate server and client sides of things


    Examples

    Here are some examples of globalscript.sqf coding for various uses :

    * Disabling grass and forcing view distance on clients
    * Having regular hint advertisement on player's screen
    * Disabling 3rd Person View only for infantry, enabling 3rd Person View only when in vehicle

    Download and feedback

    The ServerSide Addon now has a Dev-Heaven project space, for bug reporting, help and further suggestion:

    http://dev-heaven.net/projects/serve...ting/wiki/Wiki

    You can get latest versions when they come out on the Files area of the DH project space :
    http://dev-heaven.net/projects/serve...cripting/files

    Report bugs and wishlist on the Issues pages
    http://dev-heaven.net/projects/serve...ripting/issues

    Versions

    1.1 : Added CBA and postInit_XEH usage, now works on any island

    1.0 : Initial release, Chernarus only


    Future

    I'm going to concentrate on adding new features in globalscript.sqf and serverside.sqf. Next target is releasing a server-wide anti-TK feature.

    Credits

    Doolitle for the original concept.
    CBA crew
    Sickboy for advice and permanent help
    Kju for advice and permanent help
    Mikero and Killswitch for easing workload on Linux server
    ArmaLiga.de for the excellent infantry 3rd person view system
    Last edited by whisper; Jun 16 2010 at 10:00. Reason: Explicite title
    Whisper / Kalbuth / MrK
    ex-OFrP member.
    OFCRA lurker : OFCRA www
    Planetside 2 / Tribes Ascend, member of Formido Clan

  2. #2
    What's:
    while {true} do {
    hint ""TeamSpeak Server IP :X.X.X.X:8767"";
    sleep 10;
    hint ""InGame VoIP activated on server, Caps Lock to use"";
    sleep 10;
    hint ""use ingame chat with /, change your channels to be heard!"";
    sleep 300;
    };
    ....?

    Ranger School - Make your own mission in game! Full MP support (Old ver)
    DooACS - Arma2 anti-cheat to protect your server, feared by cheaters

  3. #3
    Chief Warrant Officer
    Join Date
    Jul 16 2001
    Posts
    3,446
    Author of the Thread
    A permanent in-game messaging system. I use it to advertise from time to time the TS IP address, and tell things for newcomers

  4. #4
    Ahh okay, so I can just take the globalServer.sqf file and place it in the addons folder to our server?
    -sorry for bump, posted in the wrong forum somehow...-
    Last edited by Minizzzile; Jul 11 2009 at 16:47.

  5. #5
    Chief Warrant Officer
    Join Date
    Jul 16 2001
    Posts
    3,446
    Author of the Thread
    In your main ArmA directory, you should have :
    globalServer.sqf
    noGrass directory, containing an "Addons" directory with a pbo in it

    Modify the globaServer.sqf to suit your needs.
    Launch the server with parameter -mod=noGrass

  6. #6
    I have problems to download it, please reupload it to another server. Thx.

  7. #7
    Chief Warrant Officer
    Join Date
    Jul 16 2001
    Posts
    3,446
    Author of the Thread
    Looks like dump.no is unavailable. Will sort that out asap

  8. #8
    Chief Warrant Officer
    Join Date
    Jul 16 2001
    Posts
    3,446
    Author of the Thread
    Hosting changed to filefront, it should be OK now, check OP. Sorry for the long delay
    Beware I changed the filename and instructions
    Last edited by whisper; Jul 20 2009 at 12:24.

  9. #9
    sorry if this is a dumb question - but would this allow me to force people joining my server to use a mod such as afp's minimal crosshair - even if they don't have it installed?
    "Gentlemen, you can't fight in here... this is the War Room!"

    "Always remember, opinions are like assholes...everybody's got one." - D. Devito

  10. #10
    Chief Warrant Officer
    Join Date
    Jul 16 2001
    Posts
    3,446
    Author of the Thread
    easily, no.
    With a bit of heavy investigation on how to check client-side the existance of a class specific to your addon (if any) and forcing client disconnection, perhaps

Page 1 of 8 12345 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •