View Single Post
  #6  
Old 12-11-2007, 11:07 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Switch View Post
NPC Code:
rw levels/esteria/mud/*
rw levels/mud/*
rw levels/sunnyville/mud/*

I commonly have this problem. It's really annoying.

Go in this order, and if it doesn't work, go down the line. If it works, stop.

1) Restart the npc-server
/npcshutdown and /npcstart ... never use /npckill

2) Change the rights to rw levels/sunnyville/mud/*.ini ... sometimes this will fix it. (ALSO: There are some file types you can't save as, but I'm pretty sure .ini is okay ... did you try .txt or .arc?)

3) Try saving in a different folder to see if that works.

4) Get a global to restart the gserver ... this is a last resort, but usually fixes it.

5) Go cry a river. (just kidding)


Also, this once fixed this for me ... change the 0 to false, so you have something like
arr.saveLines( "dir/dir2/dir3/file.ini", false );
__________________
Reply With Quote