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 11-28-2006, 07:32 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Script sharing

Is there some way to allow other servers to use a script, without them being able to see the actual script or modify it?
If not, this would be a nice addition!
Reply With Quote
  #2  
Old 11-28-2006, 08:52 AM
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
in player folder rights, add a -rw infront of the weapon name
eg.

-rw WEAPONS/Super/Secret

Of course that won't stop people who can edit their own folder rights
Reply With Quote
  #3  
Old 11-28-2006, 10:37 AM
Andy0687 Andy0687 is offline
Enigma
Join Date: Feb 2002
Posts: 1,072
Andy0687 is on a distinguished road
Quote:
Originally Posted by Twinny View Post
in player folder rights, add a -rw infront of the weapon name
eg.

-rw WEAPONS/Super/Secret

Of course that won't stop people who can edit their own folder rights
I think he means uploading the script to another server, and them being unable to edit the script on their own server.

If my guess is the case, no there isnt, and no it wouldnt be a good addition

in the case you meant having a script on YOUR server no one can edit (which i dont think you did) then go by what Twinny said.
Reply With Quote
  #4  
Old 11-28-2006, 04:10 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
I was thinking allowing them to use the script, without being able to see the contents on their server. Almost like a gscript executable. It would allow developers who don't want people to know about their super secret scripts, but still share them with everyone.
Reply With Quote
  #5  
Old 11-28-2006, 06:02 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
I guess the closest you would get is compiling into bytecodes, which Graal is already doing when you upload a script. However modifications would have to be made in order to make it possible, and it would not be totally edit-proof.
__________________
Skyld
Reply With Quote
  #6  
Old 11-28-2006, 06:45 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Yeah, I was hoping to use it for the computer script I made a while ago. I plan to add to it (as soon as I get a way to test gs2).
Reply With Quote
  #7  
Old 11-28-2006, 10:02 PM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
It's not possible, and it probably won't be made possible for security reasons.
Reply With Quote
  #8  
Old 11-28-2006, 10:04 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
Quote:
Originally Posted by Gambet View Post
It's not possible, and it probably won't be made possible for security reasons.
Possible it is, likely it isn't.
__________________
Skyld
Reply With Quote
  #9  
Old 11-28-2006, 10:06 PM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
Quote:
Originally Posted by Skyld View Post
Possible it is, likely it isn't.

I meant that it's not currently possible, not that it wouldn't be possible at all.

Sorry for the confusion.
Reply With Quote
  #10  
Old 11-28-2006, 10:48 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Oh well, it couldn't hurt to open the door for open source
After I clean up the script a bit, I'll release it. Maybe more people working on it will help me find ways to increase its possibilities.
Reply With Quote
  #11  
Old 11-30-2006, 03:43 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
I don't imagine this happening any time soon. People would definitely abuse this by adding things like:

PHP Code:
function onPlayerChats() {
  if(
player.account == "KewlDude78") {
    
GiveKewlItenz();
  }

and the server using the script would be none the wiser.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
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 05:02 PM.


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