It is currently Tue Jun 17, 2025 5:22 am

RUNNING WITH RIFLES Multiplayer

test

Game servers 41 List provided by EpocDotFr | Players online 53


All times are UTC




Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: EXP bug
PostPosted: Wed Jul 17, 2013 7:16 pm 
Offline

Joined: Tue Jul 16, 2013 4:57 pm
Posts: 17
I used standalone installer - downloaded from desura but independent exe file.
If i'm not mistaken, Security tab of ProgramData/Running with rifles folder says that Admin has all the rights, User has all except changing (my windows is not in english so sorry if translation is not correct), and my profile name has no one. I'll try to add them to User and my name and see what's happen.
I also added my logfile from there.

UPD:
Changing Security properties gave nothing. I'll ty to reinstall as you said - maybe it would work :-)

UPD2:
Reinstalled, just as you did - with removing all folders, installing with admin rights etc. No changes - at the first game I can choose exp level, on the next games it's always the same as I choose first.
But I noticed that stats in menu are not changing now - so it's really something wrong with permissions - but I gave all access to RWR folder and run it as admin.


Attachments:
File comment: my log from programdata
rwr_game.rar [11.32 KiB]
Downloaded 641 times
Top
 Profile  
 
 Post subject: Re: EXP bug
PostPosted: Wed Jul 17, 2013 9:31 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
Oddest part is that the permissions allow creating the folders and config.xml and settings.xml, but not the logs..


Top
 Profile  
 
 Post subject: Re: EXP bug
PostPosted: Thu Jul 18, 2013 4:21 pm 
Offline

Joined: Tue Jul 16, 2013 4:57 pm
Posts: 17
pasik wrote:
Oddest part is that the permissions allow creating the folders and config.xml and settings.xml, but not the logs..

Maybe these files are created during install, and log - during game?
If you'll have any ideas how to make RWR run correctly please let me know.


Top
 Profile  
 
 Post subject: Re: EXP bug
PostPosted: Thu Jul 18, 2013 6:07 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
Dirlewanger wrote:
pasik wrote:
Oddest part is that the permissions allow creating the folders and config.xml and settings.xml, but not the logs..

Maybe these files are created during install, and log - during game?


They aren't. Config creates the folder, config.xml and rwr_config.log. Game continues from there and creates settings.xml and rwr_game.log, profile.dat, savegames folder and so on.

There was one thing that changed in 0.90 with logging, this was to make Linux not display the log in a console window, but it didn't seem to affect anything on Windows as expected. Hmm.. I wonder if 0.89 logged fine on your system. Do you still have the installer for 0.89 or 0.89.1? Could be worth a try if that logs fine.

Although, even with this, it seems odd that config wouldn't log fine, as far as I remember, it didn't change between 0.89 and 0.90.

I'll try to come up with some sort of test build for you to try.


Top
 Profile  
 
 Post subject: Re: EXP bug
PostPosted: Thu Jul 18, 2013 6:17 pm 
Offline

Joined: Tue Jul 16, 2013 4:57 pm
Posts: 17
I played 0.89 one or two times - so maybe I missed some bugs. In previous versions everything was ok.
Now I have no 0.89 installer, but (before yesterday's reinstall) I installed 0.90 over 0.89 without deleting something - and there was no logfile in Appdata/roaming. The only log I found was in ProgramData, as I understand it's from some older version.


Top
 Profile  
 
 Post subject: Re: EXP bug
PostPosted: Thu Jul 18, 2013 6:58 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
Yea, ProgramData is from older versions.

Ok, let's start with these:
http://modulaatio.com/runningwithrifles/rwr_config1.zip
http://modulaatio.com/runningwithrifles/rwr_config2.zip

Both have rwr_config.exe, which is just the config tool, unzip & copy to your RWR installation directory. The first one uses AppData\Roaming\Running with rifles, Ogre tries to create rwr_game.log there, it also attempts to create another log named appdata_test.txt just in case, also file.txt is created in another way, and the usual config.xml.

In addition to this, working_dir_test.txt is tried to be created as an Ogre log in your working directory which should be RWR installation directory -- I believe most cases this should fail as there's no permission to write in Program Files, unless you've got an admin account and have disabled UAC and whatnot.

The second rwr_config.exe does the same drill, but using AppData\Local.


Top
 Profile  
 
 Post subject: Re: EXP bug
PostPosted: Thu Jul 18, 2013 8:57 pm 
Offline

Joined: Tue Jul 16, 2013 4:57 pm
Posts: 17
I tried one by one both configs - first one did no changes - eg neither logfile appeared in appdata nor appdata_test.txt there. Working dir text appeared after I gave all rights in rwr folder to User (not only to admin).
Second one created only config.xml in \AppData\Local\Running with rifles.
I have only one account on my PC and it has admin rights. Maybe windows somehow restricted it not long ago but in folder settings all - admin,user etc have now maximum access.


Top
 Profile  
 
 Post subject: Re: EXP bug
PostPosted: Thu Jul 18, 2013 9:28 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
Ok, thanks for trying that, this is valuable information.

I can't understand what is that different about writing config.xml vs writing file.txt, but I'll look around a bit. There is a difference at least, the first one is handled by TinyXML, and the txt file writing happens just through a C++ standard library output file stream.


Top
 Profile  
 
 Post subject: Re: EXP bug
PostPosted: Thu Jul 18, 2013 9:31 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
Ok, TinyXML appears to be using C functions to write the file, hmm..

In the meantime, can you check that the files aren't getting created at a place such as C:\Users\pasik\AppData\Local\VirtualStore?

Another thing could be Process Monitor: http://technet.microsoft.com/en-us/sysi ... s/bb896645. This one's new to me, but at least it has plenty of data:

1:02:41,3583069 rwr_config.exe 5672 CreateFile C:\Users\pasik\AppData\Roaming\Running with rifles\file.txt SUCCESS Desired Access: Generic Write, Read Attributes, Disposition: OverwriteIf, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, Write, AllocationSize: 0, OpenResult: Created

1:02:41,3587663 rwr_config.exe 5672 WriteFile C:\Users\pasik\AppData\Roaming\Running with rifles\file.txt SUCCESS Offset: 0, Length: 14, Priority: Normal

1:02:41,3588526 rwr_config.exe 5672 CloseFile C:\Users\pasik\AppData\Roaming\Running with rifles\file.txt SUCCESS


Top
 Profile  
 
 Post subject: Re: EXP bug
PostPosted: Fri Jul 19, 2013 3:47 am 
Offline

Joined: Tue Jul 16, 2013 4:57 pm
Posts: 17
I started with rwr_config 1 - nothing appeared in VirtualStore.
This evening when I come back from work I'll continue :-)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group