Legun / runuo-nerun-distro

Automatically exported from code.google.com/p/runuo-nerun-distro
0 stars 0 forks source link

cfg files of Teleporters&Signs not found during world creation(let there be light) #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.[PremiumSpawner
2.Let there be light
3.High seas - age II

What is the expected output? What do you see instead?
expect output is "Teleporters/Signs created/remove"
instead:it report all cfg files in "Data/Nerun's Distro/Signs" and 
"Data/Nerun's Distro/Teleporters" NOT FOUND.

What version of the product are you using? On what operating system?
RunUO 2.3 + Rev128.7z and RunUO SVN 1057 + Rev130.7z get same result.
i am using debian + mono.i also try on windows7,the problems DO NOT happen.

Please provide any additional information below.
i finally track it down to Scripts/Nerun's Distro/New/Commands/Library.cs,at 
function ListOfLines,there is code :

string path = basic_path.Replace("/","\\"); 

i remove the Replace,modified it like:

string path = basic_path;

and this works well both on windows7 and debian+mono.

it seem that at windows,"c:\RunUO/Data" is a legal path no matter it is '\' or 
'/',but under debian,only "/" work.

Original issue reported on code.google.com by tra...@gmail.com on 3 Apr 2013 at 6:06

GoogleCodeExporter commented 9 years ago
I had the same problem.  Runing fedora 17.  Server Compiled nicely.  I tried 
the above bug reporters solution and this solved the problem.  

Original comment by jazzmanf...@gmail.com on 18 Apr 2013 at 4:25

GoogleCodeExporter commented 9 years ago
Thank you, i will fix it.

Original comment by danieldi...@gmail.com on 18 Apr 2013 at 3:38

GoogleCodeExporter commented 9 years ago
FIXED TO DISTRO v.131.

Original comment by nerunblogs on 18 Apr 2013 at 3:53