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 04-01-2012, 12:43 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Setting Comments via Script

The title says it all

Is there a way to set a players comments via script?
__________________
Reply With Quote
  #2  
Old 04-01-2012, 02:25 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
Unless a way has been added recently, no. I requested one a while back.
__________________
Reply With Quote
  #3  
Old 04-01-2012, 04:23 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
darn thanks
__________________
Reply With Quote
  #4  
Old 04-02-2012, 05:20 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Quote:
Originally Posted by xAndrewx View Post
The title says it all

Is there a way to set a players comments via script?
I do believe there is way. I remember it being done to my account on Aeon about a year ago. Ask one of their staff members with script access?
__________________
Deep into the Darkness peering...
Reply With Quote
  #5  
Old 04-02-2012, 05:25 AM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
it's addressed in the thread already linked. It's possible to do this via opening the player account file, but giving the NPC-Server write access to player accounts opens the NPC-Server up to wealth of abusive abilities like changing staff rights and folder rights. It's reasonable to allow read access so you can retrieve comments, but there's no good practice way to write to comments
Reply With Quote
  #6  
Old 04-02-2012, 05:45 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 Mark Sir Link View Post
it's addressed in the thread already linked. It's possible to do this via opening the player account file, but giving the NPC-Server write access to player accounts opens the NPC-Server up to wealth of abusive abilities like changing staff rights and folder rights. It's reasonable to allow read access so you can retrieve comments, but there's no good practice way to write to comments
The NPC-server can no longer write to the accounts folder anyway, even if it has rw folder rights.
__________________
Reply With Quote
  #7  
Old 04-02-2012, 06:26 AM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
Quote:
Originally Posted by cbk1994 View Post
The NPC-server can no longer write to the accounts folder anyway, even if it has rw folder rights.
I think UN actually did have RW access to accounts from the NPC-Server for some pointless scripted comment viewer. Not sure if changes could actually be applied though.

I think at least one player had their account blanked out by NPC-Server rw access as well but maybe something else happened to him
Reply With Quote
  #8  
Old 04-05-2012, 03:02 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Aren't comments saved in text files? If they are you could just edit the text files <3
__________________
Reply With Quote
  #9  
Old 04-05-2012, 03:06 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 Emera View Post
Aren't comments saved in text files? If they are you could just edit the text files <3
They are, but they can't be modified via script:

Quote:
Originally Posted by cbk1994 View Post
The NPC-server can no longer write to the accounts folder anyway, even if it has rw folder rights.
__________________
Reply With Quote
  #10  
Old 04-05-2012, 03:08 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by cbk1994 View Post
They are, but they can't be modified via script:
That's completely pointless, since pretty much anybody can modify them through RC if they have the rights to ?_?
__________________
Reply With Quote
  #11  
Old 04-05-2012, 03:58 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 Emera View Post
That's completely pointless, since pretty much anybody can modify them through RC if they have the rights to ?_?
Did you even read this thread?


Quote:
Originally Posted by xAndrewx View Post
Is there a way to set a players comments via script?
__________________
Reply With Quote
  #12  
Old 04-05-2012, 05:27 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by cbk1994 View Post
Did you even read this thread?
Are you reading my posts?
I'm saying that it's pointless not being able to set comments via script if you can do it using RC anyway.
__________________
Reply With Quote
  #13  
Old 04-05-2012, 05:38 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Emera View Post
Are you reading my posts?
I'm saying that it's pointless not being able to set comments via script if you can do it using RC anyway.
It's not pointless at all, it's one of the few good changes they've made for security.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #14  
Old 04-05-2012, 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 Emera View Post
Are you reading my posts?
I'm saying that it's pointless not being able to set comments via script if you can do it using RC anyway.
Your post was ambiguous. The reason you can't set them via script anymore is because the accounts folder can't be written to via script, which, as Ziro said, is good for security reasons.

I would like to see a proper way added to set a player's comments via script.
__________________
Reply With Quote
  #15  
Old 04-05-2013, 05:48 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
any chance of new commands?
__________________
Reply With Quote
  #16  
Old 04-05-2013, 09:11 PM
BlueMelon BlueMelon is offline
asdfg
BlueMelon's Avatar
Join Date: Sep 2008
Posts: 1,481
BlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to beholdBlueMelon is a splendid one to behold
Quote:
Originally Posted by xAndrewx View Post
any chance of new commands?
the chances are low I'm afraid :<
__________________
http://i.imgur.com/OOJbW.jpg
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:00 PM.


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