You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


 
Go Back   The Unreal Admins Page > Forums > Unreal Admins > Unreal Tournament > UT Server - General Chat

Reply
Thread Tools Display Modes
  #1  
Unread 10th May, 2013, 01:21 AM
dizzy's Avatar
dizzy dizzy is offline
Rampage
 
Join Date: Apr 2012
Posts: 81
Exclamation BTPlusPlus records not saving to INI file correctly

I'm using the latest version of BT++ on my BT servers, and players are complaining that their records are not being saved correctly. I have seen this happen too.

It seems that players can get a record, but when they come back the next day (or in a couple of hours) their record is no longer there. I've checked the BTPlusPlus.ini file on the server and the record is apparently not being written to it in some cases.

I can't give a specific case to re-create this bug, unfortunately. But I suspect it may have something to do with the fact that I run multiple servers (3 BT servers) using the same BT++ package, and they all share the same BTPlusPlus.ini file.

I don't know if this would cause any problems, because I was under the impression (from looking at the code) that the INI file was only accessed on-demand, and wasn't being cached or completely overwritten by the server. I thought the servers just accessed one line at a time as needed.

Any thoughts on this?
__________________
BunnyTrack.net: Great BT for Everyone
Reply With Quote
  #2  
Unread 10th May, 2013, 03:19 AM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Default

tbh I think , each server should use its own .ini

that would probably work best.

having all 3 access the same .ini could and probably does cause issues , as you have found.
Reply With Quote
  #3  
Unread 10th May, 2013, 07:55 AM
Chamberly's Avatar
Chamberly Chamberly is offline
Godlike
 
Join Date: Dec 2011
Location: Tennessee, USA
Posts: 441
Default

Track note when it is gone and try to find out how it is gone... Are they gone when you restart the game or server? Or after map switch on all server, do the log provide an late update from another rec? (Maybe try setting 3 servers to have their own bt++.ini?)
__________________


irc.globalgamers.net #uscript
http://irc.lc/globalgamers/uscript
Reply With Quote
  #4  
Unread 10th May, 2013, 03:44 PM
dizzy's Avatar
dizzy dizzy is offline
Rampage
 
Join Date: Apr 2012
Posts: 81
Default

Quote:
Originally Posted by back4more View Post
tbh I think , each server should use its own .ini
that would probably work best.
having all 3 access the same .ini could and probably does cause issues , as you have found.
That won't be possible without either modifying the code (which I don't want to do because I am not its author), or using 3 separate installations of UT (which I can't do because that would be a huge waste of space).
__________________
BunnyTrack.net: Great BT for Everyone
Reply With Quote
  #5  
Unread 10th May, 2013, 11:12 PM
CPanoplyd CPanoplyd is offline
Holy Shit!!
 
Join Date: Feb 2005
Posts: 742
Default

I'm pretty sure you can specify the UnrealTournament.INI file in the commandline to start the server. It's the INI= part of UCC Server...

That way you use the same files...just load different configurations. Now as to file sharing to run the game, I've never hosted more than one server from an installation.
__________________
CPan
Reply With Quote
  #6  
Unread 11th May, 2013, 09:14 AM
SoNY_scarface SoNY_scarface is offline
Holy Shit!!
 
Join Date: Mar 2007
Posts: 1,726
Default

I don't think you can use ucc server to use a different ini for BT itself though. ..the ini tap is actually only for the server config
__________________




Reply With Quote
  #7  
Unread 11th May, 2013, 03:23 PM
CPanoplyd CPanoplyd is offline
Holy Shit!!
 
Join Date: Feb 2005
Posts: 742
Default

I agree with that. If BT has its own INI then my post won't work.
__________________
CPan
Reply With Quote
  #8  
Unread 12th May, 2013, 03:43 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Default

a rather tricky alternative would be

decompile bt___.u

recompile 3 sep versions with unique names/configs

install into each installation..

something like this.?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:58 PM.


 

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.