It is currently Thu May 01, 2025 7:17 am

RUNNING WITH RIFLES Multiplayer

test

Game servers 48 List provided by EpocDotFr | Players online 128


All times are UTC




Post new topic Reply to topic  [ 15 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sat Aug 31, 2013 12:45 pm 
Offline

Joined: Fri Jun 14, 2013 6:38 pm
Posts: 51
Alright, with version 0.92/0.92.1 I get some strange issues ragarding only the campaign. This does not apply to the normal quick matches.

If I continue my old save game (Campaign, currently on the map Insular Complex) the game freezes after playing about 5 minutes or less. There's no error report. The game just stops working and I can only exit it with the task manager.
To better categorize this problem I wanted to lauch a new camapaign (maybe it only happens at Insular Complex in the campaign). But after pressing the start button nothing happens. The map does not change from the lobby although the menu has changed to the layout, which is also shown during the campaign. Really weird...
Until version 0.91 (including) everything went fine. But now, I really have no idea where the problem could be.

_________________
Creator of the "Alternative Icons" Mod (http://www.modulaatio.com/runningwithrifles/phpBB3/viewtopic.php?f=11&t=1764)


Top
 Profile  
 
PostPosted: Sat Aug 31, 2013 1:00 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
Can you post rwr_game.log? In C:\Users\your_username\AppData\Roaming\Running with rifles.


Top
 Profile  
 
PostPosted: Sat Aug 31, 2013 5:56 pm 
Offline

Joined: Fri Jun 14, 2013 6:38 pm
Posts: 51
Ok, I attached the whole game log to this reply. (This is the log when I try to start a new campaign.) I think the problem is in the middle where it says very often: "Can't assign material _missing_material_ ...".

Note: I had to zip the log before i could upload it. Why are txt, log, etc. extensions not allowed?!


Attachments:
rwr_game.zip [16.35 KiB]
Downloaded 722 times

_________________
Creator of the "Alternative Icons" Mod (http://www.modulaatio.com/runningwithrifles/phpBB3/viewtopic.php?f=11&t=1764)
Top
 Profile  
 
PostPosted: Sat Aug 31, 2013 6:53 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
Tummerhore wrote:
Note: I had to zip the log before i could upload it. Why are txt, log, etc. extensions not allowed?!
No idea, default forum behavior?


Top
 Profile  
 
PostPosted: Sat Aug 31, 2013 7:08 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
Something fishy is going on for sure, nothing to do with missing materials (that's a trace not to worry about, none of our meshes have material info with them, they are bound externally).

Here's some stuff to try:
- start the game with parameters "verbose metagame_debugmode"
- with verbose, rwr_game.log will have plenty more traces, try to start campaign and re-send the log on forum
- with metagame_debugmode, there could be another log from the gamemode script generated at RWR installation folder\media\packages\vanilla\scripts\metagame.log; it's possible it isn't if your user account isn't an admin one, but if you happen to have that file, then awesome, send it to forum as well please

In the game log you had there's this:
18:05:23: : starting metagame
18:05:23: : starting metagame script, tools/php/php-win.exe media/packages/vanilla/scripts/gamemode_invasion.php single_player settings="<settings savegame='battle1' username='Mr. Green' />" anonymous_pipes
18:05:23: : process created ok

This actually sounds about right, but it's odd that the script dies/doesn't start even if it appears to start in perspective of game, as you're not getting the first map change command.

Here's what I'm getting with verbose metagame_debugmode parameters:
22:03:20: : starting metagame
22:03:20: : starting metagame script, tools/php/php.exe media/packages/vanilla/scripts/gamemode_invasion.php single_player settings="<settings savegame='battle15' username='pasik' />" debug_output anonymous_pipes
22:03:20: Texture: crosshair_poor.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
22:03:20: : process created ok
22:03:20: : poll: is connected 1
22:03:20: : send: <dummy_event />

22:03:20: : send: is connected 1
22:03:20: : send: success 1 len=20 num bytes=20 error=0
22:03:20: : poll: is connected 1
22:03:21: : poll: is connected 1
22:03:21: : read: success 1 num bytes=4 incoming message length = 5109
22:03:21: : read: success 1 num bytes=5109
22:03:21: : received: <command class='change_map' map='media/packages/vanilla/maps/map2'><map_config>
<faction file="green.xml" />
...

Let me know if you've got problems finding the right place to put those parameters in, I'll try to help.


Top
 Profile  
 
PostPosted: Sun Sep 01, 2013 10:12 am 
Offline

Joined: Fri Jun 14, 2013 6:38 pm
Posts: 51
The wiki did its job just fine with helping me out where to put the parameters in. :)

The game log looks like your's until this:
Quote:
22:03:21: : read: success 1 num bytes=4 incoming message length = 5109
22:03:21: : read: success 1 num bytes=5109
22:03:21: : received: <command class='change_map' map='media/packages/vanilla/maps/map2'><map_config>
<faction file="green.xml" />

The last line is even completely missed out. It seems that the game always repeats the last steps, instead?!


Attachments:
rwr_game_log.zip [33.59 KiB]
Downloaded 763 times
File comment: Ok, even though I've got an admin account, there was no metagame.log But I've found this: RWR Installation folder\media\packages\vanilla\scripts\internal\metagame.php However it's likely something total different :(
metagame.zip [1.56 KiB]
Downloaded 724 times

_________________
Creator of the "Alternative Icons" Mod (http://www.modulaatio.com/runningwithrifles/phpBB3/viewtopic.php?f=11&t=1764)
Top
 Profile  
 
PostPosted: Sun Sep 01, 2013 11:33 am 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
One thing can be read from what the game's getting from the script: instead of proper data in form of the agreed protocol, a warning about issue in execution of the script comes down the pipe, indeed stating that the log can't be created because of permission denied.

I've obviously overlooked something in the initialization part of the script that sets up logging, causing the comms never get back in sync of getting proper data after the warning.

You could try this as first aid: http://modulaatio.com/runningwithrifles/log.zip. Unzip that in your RWR installation folder\media\packages\vanilla\scripts\internal so that it overwrites log.php. Make a backup of the original file.

Other alternative could be to create metagame.log manually in RWR installation folder\media\packages\vanilla\scripts\, contents don't matter.

Why it isn't able to create metagame.log in there even if admin account is used could be because of UAC, user access control in Windows 7. It's commonly known Windows 7 prohibits applications from writing in Program Files while running by default, so my decision of having metagame.log there is obviously a poor choice (it even says in log.php: // TODO: figure out path to appdata?). Anyway, the log was only supposed to be used for debugging and development for myself mostly, and now it seems it's the one causing major issues for players.


Top
 Profile  
 
PostPosted: Sun Sep 01, 2013 4:19 pm 
Offline

Joined: Fri Jun 14, 2013 6:38 pm
Posts: 51
HOORAY! It's finally working. :D No more game freezes and I can start a new campaign. A really BIG THANKS for your help, pasik!
By the way, I used the first method to solve it.

_________________
Creator of the "Alternative Icons" Mod (http://www.modulaatio.com/runningwithrifles/phpBB3/viewtopic.php?f=11&t=1764)


Top
 Profile  
 
PostPosted: Thu Dec 05, 2013 9:01 pm 
Offline

Joined: Thu Dec 05, 2013 8:21 pm
Posts: 6
Thanks for the fix. Just got the game and couldn't get the campaign to start until I replaced that log file.


Top
 Profile  
 
PostPosted: Sun Dec 15, 2013 4:42 pm 
Offline

Joined: Sat Jul 07, 2012 11:11 am
Posts: 57
I have same problem with 0.92 on Linux, but the proposed fixes does not work.

I replaced the log.php by extracting the zipped file. Did not work.
Created metagame.log to the /Games/running_with_rifles/media/packages/vanilla/scripts/ (just an empty file) Did not work.

Attached should be the game log, if all goes well.. (no, better make that .zip)


Attachments:
copy of rwr_game.log.zip [17.26 KiB]
Downloaded 731 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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