Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-04-2007, 12:44 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
Exclamation Scripted RC Release

Being that it is functioning well now, I have decided to release the Scripted RC script. In order to use the Scripted RC on your server, you must have access to a normal RC (listed in staff= in the serveroptions, and have a correct IP address). After that, just ensure the weapon is added to who you want to use it on logon, and then press F6 to open it.

The main capabilities of this Scripted RC are:
  • Editing player attributes (seperately: /open, /openweapons, /openflags and /openchests)
  • Editing player local rights
  • Editing player local bans using the new ban system
  • Editing player comments
  • Viewing ban history and staff activity
  • Disconnecting players (with disconnect reasons)
  • Resetting attributes
  • Sending admin messages
  • Adding (using the Script Menu button to the right of the NC buttons), editing and deleting DB NPCs, weapons and classes in the tabbed script editor
  • Uploading, downloading and deleting files
  • Editing server flags, folder configuration and server options
  • RC chat logging (activated with /set logRCChat true, saved into scriptfiles/<server name>/)
Most RC chat commands (i.e. /openaccess, /opencomments and /reset) should still work.

There are a couple of currently known bugs, which will probably be fixed when I next release the script:
  • File manager files are not displaying properly always when spaces are in the filenames
  • NPC attributes and NPC scripts are not always working properly when opened at the same time
  • The playerlist is known to mess up with lots of players online, miscategorising people
Let me know if you pick up on any other odd problems which should be fixed.

Notes:
  • If you are having trouble with images not loading, log onto Rudora and go into Updates. You'll find a package with Scripted RC images there, which should install the images and work across servers.
  • If you are having trouble with functions not working, it's possible that your gserver hasn't been updated yet. Try restarting the gserver, and if not, send me a forum PM and let me know what's not working. I think the main thing that won't work is adding DB NPCs perhaps, since I am not sure that all gservers have been updated yet.

Enjoy.
Attached Files
File Type: txt ScriptedRC.txt (57.4 KB, 1140 views)
__________________
Skyld

Last edited by Skyld; 02-05-2007 at 03:28 PM.. Reason: Added the notes section to answer a couple of common questions
Reply With Quote
  #2  
Old 02-04-2007, 12:49 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
Yay for Captain Gscript!!!

Err.....Skyld!!
Reply With Quote
  #3  
Old 02-04-2007, 12:52 PM
Devil Devil is offline
Banned
Join Date: Feb 2003
Location: Australia
Posts: 2,835
Devil has a little shameless behaviour in the past
Send a message via AIM to Devil Send a message via MSN to Devil
Well done Skyld.
Reply With Quote
  #4  
Old 02-04-2007, 01:53 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
Amazing, I like it

Just found a class error, the horizontal scrollers are out of position. It looks as though it's for most of the tabbed NC horizontal scrollers.
Attached Thumbnails
Click image for larger version

Name:	error_classesView.PNG
Views:	673
Size:	125.5 KB
ID:	39418  
Reply With Quote
  #5  
Old 02-04-2007, 04:42 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 Chandler View Post
Amazing, I like it

Just found a class error, the horizontal scrollers are out of position. It looks as though it's for most of the tabbed NC horizontal scrollers.
Okay I'll check that out. It's probably just a wrong extent value.
__________________
Skyld
Reply With Quote
  #6  
Old 02-04-2007, 05:11 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
This question goes to Stefan. What happens to people who are in jail levels and need to contact an admin? Will jail people be able to PM people with an active clientrc?
Reply With Quote
  #7  
Old 02-04-2007, 05:18 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Just amazing Skyld!

Skyld, when loading the flags of the player, is it possible to show more then 255 chars..?
Only shows 255 chars for me..

Edit:

I see that if you request the player flags, then echo them, they will return 255 chars max for 1 variable

Can this be fixed or something?

Whenever I edit my attributes it will make the variable with 255 chars, and not what it was when it was setted >_>
__________________

Last edited by Chompy; 02-04-2007 at 06:58 PM..
Reply With Quote
  #8  
Old 02-05-2007, 12:11 AM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Nice Skyld =]
__________________
What signature? I see no signature?
Reply With Quote
  #9  
Old 02-05-2007, 01: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 Chompy View Post
Just amazing Skyld!

Skyld, when loading the flags of the player, is it possible to show more then 255 chars..?
Only shows 255 chars for me..

Edit:

I see that if you request the player flags, then echo them, they will return 255 chars max for 1 variable

Can this be fixed or something?

Whenever I edit my attributes it will make the variable with 255 chars, and not what it was when it was setted >_>
There should not be a limit on this, and it's not a limit imposed by the script. I shall see what Stefan says about it.
Quote:
Originally Posted by Matt
When i open client RC, the backround images and all buttons don't show. Do we still need the other WEAPONS still (FileBrowser,TextEditor ect..)?
You don't need the other weapons, but you can download the Scripted RC images and such by logging onto Rudora and going into the Updates section of the serverlist.
__________________
Skyld
Reply With Quote
  #10  
Old 02-05-2007, 01:49 PM
xXziroXx xXziroXx is offline
Master of Puppets
xXziroXx's Avatar
Join Date: May 2004
Location: Sweden
Posts: 5,288
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
Send a message via AIM to xXziroXx Send a message via MSN to xXziroXx
Quote:
Originally Posted by Skyld View Post
There should not be a limit on this, and it's not a limit imposed by the script. I shall see what Stefan says about it.

You don't need the other weapons, but you can download the Scripted RC images and such by logging onto Rudora and going into the Updates section of the serverlist.
Stefan posted about it here: http://forums.graalonline.com/forums...ad.php?t=71958
__________________

"A delayed game is eventually good, but a rushed game is forever bad." - Shigeru Miyamoto
Reply With Quote
  #11  
Old 02-05-2007, 03:13 PM
Matt Matt is offline
iZone Administrator
Matt's Avatar
Join Date: Apr 2005
Location: United States
Posts: 2,690
Matt is a jewel in the roughMatt is a jewel in the rough
Quote:
Originally Posted by Skyld View Post
You don't need the other weapons, but you can download the Scripted RC images and such by logging onto Rudora and going into the Updates section of the serverlist.
Thank you.
__________________
Need Playerworld or Account support?
GraalOnline/Toonslab Support Center
Reply With Quote
  #12  
Old 03-04-2007, 12:04 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 Skyld View Post
logging onto Rudora and going into the Updates section of the serverlist.
You mean 'Install Packages'? Nothing in it.
__________________
Reply With Quote
  #13  
Old 03-04-2007, 01:01 AM
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 cbkbud View Post
You mean 'Install Packages'? Nothing in it.
Yes, that's because the server has been cleared recently. I'll readd the package tomorrow, or I'll get Stefan to put it on the login server.
__________________
Skyld
Reply With Quote
  #14  
Old 03-04-2007, 01:20 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 Skyld View Post
Yes, that's because the server has been cleared recently. I'll readd the package tomorrow, or I'll get Stefan to put it on the login server.
I uploaded it on Vivitron, hit F8 -> Start -> Update Packages -> Vivitron -> Client-RC Images -> Install.

Also, just had an idea.
Since the tab button doesn't work in script editor its really hard to format code. So what about a button in the window that says 'Format Code' and does the command "/style weapon/npc/script name" or whatever the command is.
__________________
Reply With Quote
  #15  
Old 03-04-2007, 01:01 AM
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 cbkbud View Post
You mean 'Install Packages'? Nothing in it.
Yes, that's because the server has been cleared recently. I'll readd the package tomorrow, or I'll get Stefan to put it on the login server.
__________________
Skyld
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 11:53 AM.


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