PDA

View Full Version : Saving to scriptfiles? X.x


bscharff
12-25-2007, 07:14 PM
I'm using a save command (savelines - append) and no matter what I do, it saves to scriptfiles/ instead of control/bloo/logs/

Here's the (npcserver) rights:
rw CLASSES/*
rw WEAPONS/*
rw WEAPONS/*/*
rw WEAPONS/*/*/*
rw NPCS/*
rw */*
rw */*/*
rw */*/*/*
rw */*/*/*/*
rw */*/*/*/*/*
rw */*/*/*/*/*/*
rw */*/*/*/*/*/*/*


Any ideas?

coreys
12-25-2007, 07:46 PM
You have to set SPECIFIC folder rights.
For example:
rw mud/*
rw mud/players/*

etc

Skyld
12-25-2007, 11:34 PM
If you are using save commands clientside, they will save to scriptfiles/ on the user's computer regardless. You need to make sure the NPC-Server has fairly specific rights (don't use wildcards like that; it is hellishly insecure and is just waiting for someone to break something) and do it serverside.

bscharff
12-26-2007, 04:28 AM
Yeah, it's serverside and I'll try the specific rights :)

EDIT: Still saves to scriptfiles.
Here's the new rights:
rw CLASSES/*
rw WEAPONS/*
rw WEAPONS/*/*
rw WEAPONS/*/*/*
rw NPCS/*
rw */*
rw */*/*
rw */*/*/*
rw */*/*/*/*
rw */*/*/*/*/*
rw */*/*/*/*/*/*
rw */*/*/*/*/*/*/*
rw control/*
rw control/bloo/*
rw control/bloo/logs/*
(I'll make them more secure later)

Does the flag in serverops "npcrights=true" have anything to do with it?

BTW, this is on Utopia.
I'm not going to post the script publicly. (Sorry, I'm paranoid!)
Skyld, if you could come on Utopia's RC to check it out that'd be great :)

cbk1994
12-26-2007, 05:17 AM
Yeah, it's serverside and I'll try the specific rights :)

EDIT: Still saves to scriptfiles.
Here's the new rights:
rw CLASSES/*
rw WEAPONS/*
rw WEAPONS/*/*
rw WEAPONS/*/*/*
rw NPCS/*
rw */*
rw */*/*
rw */*/*/*
rw */*/*/*/*
rw */*/*/*/*/*
rw */*/*/*/*/*/*
rw */*/*/*/*/*/*/*
rw control/*
rw control/bloo/*
rw control/bloo/logs/*
(I'll make them more secure later)

Does the flag in serverops "npcrights=true" have anything to do with it?

BTW, this is on Utopia.
I'm not going to post the script publicly. (Sorry, I'm paranoid!)
Skyld, if you could come on Utopia's RC to check it out that'd be great :)

So, you'll fire me for taking over the server but continue to use all of my systems as you will? I'm almost surprised...

bscharff
12-26-2007, 05:27 AM
So, you'll fire me for taking over the server but continue to use all of my systems as you will? I'm almost surprised...

This is completely unrelated to you or your systems.

It's for logging actions on my tools in an easier-to-read form.

cbk1994
12-26-2007, 05:50 AM
This is completely unrelated to you or your systems.

It's for logging actions on my tools in an easier-to-read form.

control/bloo/

I recall setting that up for you. ;)

coreys
12-26-2007, 05:59 AM
You know there is a handy savelog feature, works just fine.

Horrified
12-26-2007, 06:07 AM
You know there is a handy savelog feature, works just fine.

He's trying to make everything over-complicated so it looks like he put lots and lots of effort and it's really good and all that.

One day the information he gained from it might actually help him though, oddly.

Rapidwolve24
12-26-2007, 06:33 AM
He's trying to make everything over-complicated so it looks like he put lots and lots of effort and it's really good and all that.

One day the information he gained from it might actually help him though, oddly.

Well said.

coreys
12-26-2007, 05:30 PM
Meh.
I don't see a particularly good reason.

Twinny
12-26-2007, 05:46 PM
Should keep all logging in the log folders. To do otherwise kinda gives the impression you wish to hide stuff. Anyhoo,


rw */*
rw */*/*
rw */*/*/*
rw */*/*/*/*
rw */*/*/*/*/*
rw */*/*/*/*/*/*
rw */*/*/*/*/*/*/*


Let's just let the NPC-Server wipe everything including the accounts folder, hmmm? I do believe someone can do that from a level npc. You say you wanted to 'secure' your zombified script when you haven't even considered overall server security.

Shameful to think that such a useless tool can get you the highest positions in UC worlds. Doesn't say much for the average playerworld owner / high staff I suppose.

cbk1994
12-26-2007, 07:20 PM
Should keep all logging in the log folders. To do otherwise kinda gives the impression you wish to hide stuff. Anyhoo,



Let's just let the NPC-Server wipe everything including the accounts folder, hmmm? I do believe someone can do that from a level npc. You say you wanted to 'secure' your zombified script when you haven't even considered overall server security.

Shameful to think that such a useless tool can get you the highest positions in UC worlds. Doesn't say much for the average playerworld owner / high staff I suppose.

Well put.

Tigairius
12-26-2007, 07:28 PM
So, you'll fire me for taking over the server but continue to use all of my systems as you will? I'm almost surprised...

Not only is that against the rules, but it makes you look completely stupid.

cbk1994
12-26-2007, 08:24 PM
Not only is that against the rules, but it makes you look completely stupid.

I didn't take over the server, he was fired and used someone elses account to remove the manager and myself, the co manager who fired him in the first place. He banned us for taking over the server (perhaps wondering how anyone could fire the almighty bloo). We owned the server and simply moved to frankies because night wanted us off of his so he could start feudal combat again.

I'd post more but its hard enough to type on my iPhone.

Horrified
12-26-2007, 08:27 PM
I didn't take over the server, he was fired and used someone elses account to remove the manager and myself, the co manager who fired him in the first place. He banned us for taking over the server (perhaps wondering how anyone could fire the almighty bloo). We owned the server and simply moved to frankies because night wanted us off of his so he could start feudal combat again.

I'd post more but its hard enough to type on my iPhone.

Why do you bother working on a server if you don't expect this stuff to happen?

cbk1994
12-26-2007, 09:47 PM
Why do you bother working on a server if you don't expect this stuff to happen?

because I enjoy developing on small servers.

coreys
12-26-2007, 10:16 PM
I didn't take over the server, he was fired and used someone elses account to remove the manager and myself, the co manager who fired him in the first place. He banned us for taking over the server (perhaps wondering how anyone could fire the almighty bloo). We owned the server and simply moved to frankies because night wanted us off of his so he could start feudal combat again.

I'd post more but its hard enough to type on my iPhone.

Sounds to me like this guy should be banned.

One for making useless, abusable scripts, and two for what you just said. xP
Assuming it's true, anyways.

bscharff
12-26-2007, 10:51 PM
OK, can we just get back on subject?
I'm making a logging function that saves in CST time.

If you're not here to help, leave.

coreys
12-26-2007, 10:52 PM
savelog2 ftw

cbk1994
12-26-2007, 10:57 PM
OK, can we just get back on subject?
I'm making a logging function that saves in CST time.

If you're not here to help, leave.

Use hell ravens time class and just savelines. Restart the NPC server if you haven't.

Also notice how you avoided what I said. :/