Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

help :saving variable without ADDON!

help :saving variable without

  • Please log in to reply
3 replies to this topic

#1
snooop87

snooop87

    100+ Post Club

  • Forum Member
  • 123 posts
  • Country: Country Flag
  • snooop1987

hello you all helped me so often, at first I would like to thank you ( special kiloSwiss and Viba).

 

now my Question ,

is it possible to save Variable over Disconnects /server restarts without an addon,

 

my server have 0.33 FPS while running (all features of my Wasteland mod + Special killingsystem,object save (inidbi)+ 1 Running Mission +1 Special Loop Mission (Capture Server Core),

 

i had also running playerDB with inidbi but no profile loaded over 30Player+ it took hours to load. so i decide to Disable playerDB,

 

now its saves ServerSide by an Defined Object  - 

chocoland setvariable[(getplayeruid player),[_stats],true];

but players dont like this system , i decreased all prices but there worry

 

 

Please help me to save Player Profiles on Client without Addon or increase ServerFPS  // or  some ideas .

 

here is my MissionFile :https://github.com/snooop87/Chocoland/

here my server Performance: (it execute with 30players by 56% CPU and half GB)

2x 2,2 Ghz AMD Opteron 8354

4 GB Ram

120 GB HDD++

WINDOWS 2008 DATACENTER R2 64bit

78MBIT DOWNLOAD

4MB upload


Edited by snooop87, 29 December 2014 - 08:11 PM.




#2
KiloSwiss

KiloSwiss

    100+ Post Club

  • Forum Member
  • 455 posts
  • Country: Country Flag

Not possible.

 

Use publicVariableServer and publicVariableClient instead of "setVariable ["var", value, true]" to send data directly from the server to the client and back.

Also destroy any unneccessary looping script with heavy code and/or a search for objects (nearestObjects and similar).

 

Also go with a CPU that has a better single thread performance if this is possible.

 

Greez KiloSwiss


Edited by KiloSwiss, 02 January 2015 - 05:15 PM.


#3
Viba

Viba

    100+ Post Club

  • Forum Member
  • 165 posts
  • Country: Country Flag

It's possible.

 

Look at these;

https://community.bi...rofileNamespace

https://community.bi...rofileNamespace

 

You can save stuff into the arma profile file on client pc:s.

 

But I believe the problem is somewhere else, check that you have proper cleanup on the server, optimize your scripts and tune your basic.cfg settings. Like KiloSwiss mentioned, if possible upgrade to a CPU with better single thread performance.


  • KiloSwiss likes this

b_350_20_020822_0E0E11_FFFFFF_F5F5F5.png

 


#4
KiloSwiss

KiloSwiss

    100+ Post Club

  • Forum Member
  • 455 posts
  • Country: Country Flag
@Viba
I edited an A3 save system (based on saveProfileNameSpace) to be used in A2 Wasteland, only to figure out, that it does not work in A2 when You connect to a Server as Client.
And ofc I set "enableSaving [true, false];" and tried many other stuff, but nothing worked.

Greez KiloSwiss

Edited by KiloSwiss, 06 February 2015 - 03:16 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users