Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-25-2007, 07:14 PM
bscharff bscharff is offline
Bloo
bscharff's Avatar
Join Date: Sep 2006
Location: San Antonio, Texas
Posts: 185
bscharff has a little shameless behaviour in the past
Send a message via AIM to bscharff Send a message via MSN to bscharff Send a message via Yahoo to bscharff
Saving to scriptfiles? X.x

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?
__________________
Trying to be nice now...
Reply With Quote
  #2  
Old 12-25-2007, 07:46 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
You have to set SPECIFIC folder rights.
For example:
rw mud/*
rw mud/players/*

etc
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #3  
Old 12-25-2007, 11:34 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
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.
Reply With Quote
  #4  
Old 12-26-2007, 04:28 AM
bscharff bscharff is offline
Bloo
bscharff's Avatar
Join Date: Sep 2006
Location: San Antonio, Texas
Posts: 185
bscharff has a little shameless behaviour in the past
Send a message via AIM to bscharff Send a message via MSN to bscharff Send a message via Yahoo to bscharff
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
__________________
Trying to be nice now...
Reply With Quote
  #5  
Old 12-26-2007, 05:17 AM
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 bscharff View Post
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...
__________________
Reply With Quote
  #6  
Old 12-26-2007, 05:27 AM
bscharff bscharff is offline
Bloo
bscharff's Avatar
Join Date: Sep 2006
Location: San Antonio, Texas
Posts: 185
bscharff has a little shameless behaviour in the past
Send a message via AIM to bscharff Send a message via MSN to bscharff Send a message via Yahoo to bscharff
Quote:
Originally Posted by cbkbud View Post
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.
__________________
Trying to be nice now...
Reply With Quote
  #7  
Old 12-26-2007, 05:50 AM
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 bscharff View Post
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.
__________________
Reply With Quote
  #8  
Old 12-26-2007, 05:59 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
You know there is a handy savelog feature, works just fine.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #9  
Old 12-26-2007, 06:07 AM
Horrified Horrified is offline
Rediculously inactive
Join Date: Jul 2007
Posts: 961
Horrified is on a distinguished road
Send a message via ICQ to Horrified Send a message via AIM to Horrified Send a message via MSN to Horrified Send a message via Yahoo to Horrified
Quote:
Originally Posted by coreys View Post
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.
Reply With Quote
  #10  
Old 12-26-2007, 06:33 AM
Rapidwolve24 Rapidwolve24 is offline
North*
Join Date: Oct 2007
Location: Massachusetts
Posts: 178
Rapidwolve24 is on a distinguished road
Send a message via AIM to Rapidwolve24 Send a message via MSN to Rapidwolve24
Quote:
Originally Posted by Horrified View Post
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.
Reply With Quote
  #11  
Old 12-26-2007, 05:30 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Meh.
I don't see a particularly good reason.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #12  
Old 12-26-2007, 05:46 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Should keep all logging in the log folders. To do otherwise kinda gives the impression you wish to hide stuff. Anyhoo,

Quote:
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.

Last edited by Twinny; 12-26-2007 at 05:57 PM..
Reply With Quote
  #13  
Old 12-26-2007, 07:20 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 Twinny View Post
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.
__________________
Reply With Quote
  #14  
Old 12-26-2007, 07:28 PM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by cbkbud View Post
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.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #15  
Old 12-26-2007, 08:24 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 Tigairius View Post
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.
__________________
Reply With Quote
  #16  
Old 12-26-2007, 08:27 PM
Horrified Horrified is offline
Rediculously inactive
Join Date: Jul 2007
Posts: 961
Horrified is on a distinguished road
Send a message via ICQ to Horrified Send a message via AIM to Horrified Send a message via MSN to Horrified Send a message via Yahoo to Horrified
Quote:
Originally Posted by cbkbud View Post
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?
Reply With Quote
  #17  
Old 12-26-2007, 09:47 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 Horrified View Post
Why do you bother working on a server if you don't expect this stuff to happen?
because I enjoy developing on small servers.
__________________
Reply With Quote
  #18  
Old 12-26-2007, 10:16 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Quote:
Originally Posted by cbkbud View Post
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.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #19  
Old 12-26-2007, 10:51 PM
bscharff bscharff is offline
Bloo
bscharff's Avatar
Join Date: Sep 2006
Location: San Antonio, Texas
Posts: 185
bscharff has a little shameless behaviour in the past
Send a message via AIM to bscharff Send a message via MSN to bscharff Send a message via Yahoo to bscharff
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.
__________________
Trying to be nice now...
Reply With Quote
  #20  
Old 12-26-2007, 10:52 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
savelog2 ftw
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #21  
Old 12-26-2007, 10:57 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 bscharff View Post
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. :/
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.