host player name keeps resetting - Page 2 - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 05-16-2020, 08:26 PM   #11
Tippis
Member
 
Join Date: Jul 2017
Posts: 925
Default

Same. Setting the server name used to be a simple affair; now it resets to PILOT_[whatever] every time it is restarted. Name entries are saved in the nicknames.lua file but that makes absolutely zero difference — it just bloats up with more duplicate names on every restart and name change.
Tippis is offline   Reply With Quote
Old 05-17-2020, 08:26 AM   #12
ViFF
Member
 
ViFF's Avatar
 
Join Date: Jan 2011
Location: Israel
Posts: 418
Default

While I admit its an annoying bug, it most definitely isn't a critical game breaking problem and is probably very low priority on the to do list. I suggest just ignore it until it will be fixed.
__________________
IAF.ViFF

http://www.preflight.us
Israel's Combat Flight Sim Community Website
ViFF is offline   Reply With Quote
Old 05-22-2020, 08:38 AM   #13
PSYKOnz
Member
 
PSYKOnz's Avatar
 
Join Date: Mar 2019
Posts: 198
Default

Quote:
Originally Posted by Tippis View Post
Same. Setting the server name used to be a simple affair; now it resets to PILOT_[whatever] every time it is restarted. Name entries are saved in the nicknames.lua file but that makes absolutely zero difference — it just bloats up with more duplicate names on every restart and name change.
Same thing that happens here.

I agree it’s most likely now on the list but it would be cool if ED could just let us know that there aware of it.

Just for piece of mind
__________________
"I do it 'cause the whole worlds gone crazy
And This is the end!" - Lzzy Hale
PSYKOnz is offline   Reply With Quote
Old 05-22-2020, 08:53 AM   #14
HC_Official
Member
 
Join Date: Nov 2018
Posts: 661
Default

I am assuming you guys are using dedicated server ?

navigate in explorer to
C:\Users\YOU USERNAME\Saved Games\DCS.openbeta_server\Scripts

where openbeta_server is what is specified in the -w start parameter for the server

create a file called dedicatedServer.lua
edit it and stick this in


net.set_name('Admin_name')
local res = net.start_server(serverSettings)
if res ~= 0 then
log.write('Dedicated Server', log.DEBUG, 'Failed to start server with code: ', res)
end


save file, start dedicated server
__________________
Click here for tutorials for using Virpil Hardware and Software


Click here for Virpil Flight equipment dimensions and pictures
.
HC_Official is offline   Reply With Quote
Old 05-22-2020, 12:05 PM   #15
Dispatch
Member
 
Join Date: Apr 2018
Location: East Coast USA
Posts: 251
Default

Quote:
Originally Posted by HC_Official View Post
I am assuming you guys are using dedicated server ?

navigate in explorer to
C:\Users\YOU USERNAME\Saved Games\DCS.openbeta_server\Scripts

where openbeta_server is what is specified in the -w start parameter for the server

create a file called dedicatedServer.lua
edit it and stick this in


net.set_name('Admin_name')
local res = net.start_server(serverSettings)
if res ~= 0 then
log.write('Dedicated Server', log.DEBUG, 'Failed to start server with code: ', res)
end


save file, start dedicated server

Thankyou
this works great
__________________
~
Dispatch is offline   Reply With Quote
Old 05-23-2020, 12:08 AM   #16
PSYKOnz
Member
 
PSYKOnz's Avatar
 
Join Date: Mar 2019
Posts: 198
Default

Works great for me too,

Out of curiosity what do all the lines mean/do

Also

Is there anything else we can do in this .lua to maximise experience/performance?
__________________
"I do it 'cause the whole worlds gone crazy
And This is the end!" - Lzzy Hale
PSYKOnz is offline   Reply With Quote
Old 05-23-2020, 03:56 PM   #17
HC_Official
Member
 
Join Date: Nov 2018
Posts: 661
Default

Quote:
Originally Posted by PSYKOnz View Post
Works great for me too,

Out of curiosity what do all the lines mean/do

Also

Is there anything else we can do in this .lua to maximise experience/performance?

dunno, be better asking ED which is where I got that code snipet from and how to set-up the name
__________________
Click here for tutorials for using Virpil Hardware and Software


Click here for Virpil Flight equipment dimensions and pictures
.
HC_Official is offline   Reply With Quote
Old 05-23-2020, 06:28 PM   #18
davidp57
Member
 
Join Date: Jul 2011
Location: Metz, France
Posts: 518
Default

Works great, thanks a lot !
__________________
Zip - VEAF

If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum
If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze !
davidp57 is offline   Reply With Quote
Old 05-25-2020, 09:20 AM   #19
philstyle
Senior Member
 
Join Date: Jan 2017
Location: The Aeotearoan Republic of Niederbayern
Posts: 1,429
Default

Quote:
Originally Posted by HC_Official View Post
where openbeta_server is what is specified in the -w start parameter for the server
I understand everything except for this sentence.... can someone explain this to an idiot (me)?
What is a "-w parameter", who uses it, where is it, what does it do?
I've never seen such a thing before
__________________
On YouTube @:https://www.youtube.com/philstylenz

Current: AMD 3700x, GTX 1080Ti, 32GB 3200 RAM, Auros Pro X570, 2TB M.2 drive
Previous build: i5-6600k, GTX 1080Ti, 16BG 2666 RAM, ASUS Maximus XIII Ranger Mobo
philstyle is offline   Reply With Quote
Old 05-25-2020, 05:52 PM   #20
Tippis
Member
 
Join Date: Jul 2017
Posts: 925
Default

Quote:
Originally Posted by philstyle View Post
I understand everything except for this sentence.... can someone explain this to an idiot (me)?
What is a "-w parameter", who uses it, where is it, what does it do?
I've never seen such a thing before
You use the -w command line parameter to set your working directory — the one DCS will read all settings and (base) mission directories from. It's used when you want to run multiple instances dedicated server instances in parallel, where each instance gets its own setting. So you may set up different DCS directories called “Server 1”, “Server 2” etc, and when you start your dedicated server, you point each instance to one of those using “-w Server 1” as part of the startup shortcut.

If you only ever run a single instance, and only ever run the dedicated server, you don't need to worry or care about it — DCS will simply read from its default directory (usually %userprofile%\Saved Games\DCS or %userprofile%\Saved Games\DCS.openbeta or some such).
Tippis is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 04:38 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.