ApiStef

[Solved] XM8 On at startup

13 posts in this topic

Hi all i'm searching how my server can swith on the XM8 (of players) automaticly when they connect ?

Thx in advance for any help :-)

 

Edited by ApiStef

Share this post


Link to post
Share on other sites

There might be a better solution to this but i just tested and this works.

init.sqf

missionNamespace setVariable ["ExileClientXM8IsPowerOn",true];

 

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

I have this set on my server but I'm away right now so can't check the file you'd need to change. I'll post back here on Saturday with the solution for you if no one else has solved this for you by then.

Share this post


Link to post
Share on other sites
32 minutes ago, 533DK said:

There might be a better solution to this but i just tested and this works.

init.sqf

Might be better in initplayerlocal

Share this post


Link to post
Share on other sites
1 hour ago, [4THC] NoRulez said:

Hi, and exists any way to set "Show my device in 8G Network" ON by default?

thanks

Copy and edit this file from you ExileServer.pbo:

ExileServer_object_player_createBambi.sqf

And change this line (line #87) from:

_bambiPlayer setVariable ["ExileXM8IsOnline", false, true];

To:

_bambiPlayer setVariable ["ExileXM8IsOnline", true, true];

Save the file and copy it to your mission file (Exile.MapName, located in mpmissions folder) and add the new file details to the CustomCode section on config.cpp in the mission file. Save, start the server. Tada. :)

Edited by kuplion
  • Like 3

Share this post


Link to post
Share on other sites

So this used to work.   I'm doing a total rebuild of my server as 64 bit and have the server overwrite for ExileServer_object_player_createBambi.sqf.  I changed the line to _bambiPlayer setVariable ["ExileXM8IsOnline", true, true]; but it isn't on when I log on.   I can't say whether it worked on v1.76 32 bit or not but it definitely worked on versions prior to 1.76 32 bit.  What could've changed?

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.