custom ini not working

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

TaoPaiPai

Commisaire Van Loc
Jun 13, 2000
1,626
0
0
Matnik
Visit site
I've declared a class that's supposed to use a custom ini file and a couple of config variables
Code:
class blah extends actor config(bla)

var config int dummy;


function one()
{
     save config();
}
but it doesn't work the ini is not generated and variables aren't saved anywhere.

In the log I have several lines saying:
Code:
Warning: Paths may not be valid.
but it may not be related

any ideas?
 

punk129

!!!!!!!!!!!11111111111
Jan 18, 2003
172
0
0
Germany
www.punk129.com
:D You've forget a ";" :

Code:
class blah extends actor config(bla)[COLOR=red];[/COLOR] 

var config int dummy;


function one()
{
     saveconfig();
}
 
Last edited:

TaoPaiPai

Commisaire Van Loc
Jun 13, 2000
1,626
0
0
Matnik
Visit site
yeah right :rolleyes:
Let's suppose the syntax is correct and everything and the code compiles (AND YES, I MAKE A CALL TO THE ONE() FUNCTION...)
I didn't want to post my code here ,but it compiles and everything.
Only problem is that the ini isn't generated.
But according to the tutorials it should.
As anyone actually succeded this process with ut2k3?
All the mods that I have tested were using a renamed copy of ut2003.ini (copied on Hd during installation process).Not a real dynamic ini.
Maybe this feature isn't working in 2k3.I could do it in UT.Now it doesn't seem to work.anyone?
 
Last edited:

TaoPaiPai

Commisaire Van Loc
Jun 13, 2000
1,626
0
0
Matnik
Visit site
yes sorry it was a problem with the parent class.
By changing the mother class I got it to work.
Only problem I have now is to find how to edit a custom instant action tab panel :mad: