View Single Post
  #135  
Old November 8th, 2008, 04:28 PM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: LlamaServer: status and bug reports

Quote:
Originally Posted by llamabeast View Post
Aaaagh! This is getting ridiculous! It actually knows when I go out!

I sat in the house for about 5 hours this morning, and everything was fine. I went out for about an hour and a half, and about four games crashed.

Now I am stumped. First I thought it was lack of disk space, then I thought it was running as the wrong user. But it seems it's neither. The error is:

Något gick fel!
LoadBattleMap: can't open file
Något gick fel!
LoadBattleMap: can't open file

I'm pretty sure the battle maps are all fine, but more strangely it always works fine when I rehost the games myself. Any ideas are welcome.

Anyway, I'm going out to the fireworks, so I am going to have to turn hosting off again. Also, apologies to those whose games have crashed/disappeared. Hopefully I can sort this out finally tomorrow.
I think the errors can come from one of two reasons, insufficient permissions or different environment settings. I don't know on which OS the server is running but in Unix terms I'd say you either rule out possible permissions problem or .bashrc/.profile etc that cause some shell variable to have an undesired value.
Key questions:
1. What map file can't be loaded?
2. What is path to map file?
3. Who/What is running the process of hosting?
4. What does dom -ddd have to say about all this?- i.e. in what path does it search for the file?- Why can't it open it?
5. Can you run diagnostic commands the same you way you run the hosting?- For example, observe whether commands such as
Code:
 $ cat  [path_to_map_file]
succeed.

Or give full permissions to files and check if it make a difference.
Code:
$chmod 777 [path_to_map_file]

HTH,
WL

Oh and not to forget, THANK YOU SO MUCH FOR ALL YOUR EFFORT!
Reply With Quote