Working on Network : script has externally changed, reload it ?

Started by Peter Bear, Mon 21/06/2010 09:37:36

Previous topic - Next topic

Peter Bear

Hello everybody !

I work on my game project on a network drive , say : Z:/
on windows. ( this is a windows share from my server ( samba )) I have full rights on it.

When I edit the scripts, then launch the game, the updates are not automatically taken in the game execution.
I have to manually click on the floppy drive to SAVE the scripts before launching.

If I dont do so, AGS shows me this message : the  script room0....  has been externally modified, reload it ?

It detects a change ( mine, from AGS ! ) but asks me everytime to reload the script.
This is quite annoying as to test my scripts & game, I have to click on the launch, reload, close the game then relaunch it, each time ...

This doesnt do it locally , when the game project folder is on C:/ per example.

What is the issue ? I haven't found any preference setting to avoid this script modification notification.


Not much time for gaming neither creating, but keeping an eye on everything :)

Gilbert


Peter Bear

Not much time for gaming neither creating, but keeping an eye on everything :)

Gilbert

I'm not quite sure, maybe the game files being on a shared drive could somewhat make the editor recognise the last user who accessed and edited the file a user other than the current user (i.e. you), that causes this problem. I have no knowledge on network drives, but if their operations are like, when you save/modify a file on that drive, you're requesting the file to be updated and then the networking software does the update for you (instead of you directly changing the file) this may happen. Someone who has more knowledge in this department may give you a better explanation.

RickJ

I am running AGS on Kubuntu Linux via VirtualBox/ & XP.  I keep the game filers on the linux disk by mapping a linux directory to drive Z as you have done.  This works for me flawlessly.  

I have set the AGS preferences so that New Games are created in the Z:\ directory.  I don't know if this helps or not?  Also you may want to check file/folder properties such as ownership, permissions, etc.   There was a different problem writing to a network mapped drive in an earlier version of AGS but has been fixed in later versions.

Pumaman

Yeah I remember we had some other issue when the game files were stored on a Linux share.

I'm not sure that there's anything I can do about this, it seems to be some sort of problem related to a combination of .NET Framework, Windows and Samba.

SMF spam blocked by CleanTalk