Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-05-2007, 06: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
Scripted RC

Scripted RC (18/02/2008)

Notice: Normal scripts cannot use Client-RC anymore. Read more.

This thread will be used to keep track of recent updates and problems in the latest versions of the Scripted RC. There were previously older threads, which can be found at the References section towards the end of this post.

For information surrounding the development of the Client-RC functionality in the gserver, please click here.

The Scripted RC allows RC-like functionality built-into the client. You can access the Scripted RC by pressing the F6 key on a server that you have admin access to.

To use the Scripted RC, you must have your RC set up like a normal RC (be listed in the staff= serveroption, and have your IP range set correctly in your rights).

Current capabilities of the Scripted RC/fixed bugs:
  1. Editing attributes (which are edited seperately; flags, attributes, chests and weapons);
  2. Editing comments;
  3. Editing player bans using the new ban system;
  4. Disconnecting players (optionally with a disconnect reason);
  5. Resetting player's attributes;
  6. Sending admin messages (both to a single player and all players);
  7. Viewing ban history and staff activity of players;
  8. Uploading, downloading and deleting files in the file manager;
  9. Editing server script flags;
  10. Editing server options;
  11. Editing folder configuration;
  12. Adding weapons, classes and Database NPCs;
  13. Editing weapon scripts;
  14. Editing class scripts;
  15. Editing DB NPC scripts and flags;
  16. Not displaying the Scripted RC unless clientrc was started successfully;
  17. Deleting DB NPCs, weapons, class scripts;
  18. Editing player local server rights;
  19. Resetting DB NPCs (currently using the /resetnpc command)
  20. Improved the logon check for Scripted RC;
  21. It is now shown whether the active ban is a global ban;
  22. Fixed a couple of bugs which were causing problems;
  23. Ban and error windows are now closed when switching servers;
  24. A way to see next available ID when creating database NPCs;
  25. The scrollbars are displayed properly in the Script Editor;
  26. Tabs in the script editor might mess up when having both script and attributes open;
  27. It is difficult to tell if someone is banned locally or globally;
  28. A way to log out of the Scripted RC without having to reconnect to the server;
  29. Ban history button is now shown in the ban window;
  30. Searching the account list;
  31. Adding/editing accounts;
  32. Options window to replace /set for changing open on login and chat logging;
  33. External GUI windows supported where the client supports it. This will be widespread with the next client update.

Things which need to be added:
  1. Moving and renaming files in the file browser;
  2. Viewing variable dumps;
  3. Showing how long bans last on the ban type list.

Known problems (will eventually be fixed):
  1. Playerlist is known to misgroup people (Server Admins and Server Players) where there are lots of players online. This is not really a problem but can just make it harder to find staff. This will be corrected in future Graal client versions.

References:
  1. "Scripted RC release" (http://forums.graalonline.com/forums...ad.php?t=71944)
  2. "Scripted RC" (http://forums.graalonline.com/forums...ad.php?t=68912)
  3. "Client-RC updates" (http://forums.graalonline.com/forums...ad.php?t=68580)
Current notes regarding the Scripted RC:
  • The attributes in the Scripted RC work differently, and are separated into four different sections:
    • /open - for opening general attributes such as look and basic flags
    • /openflags - for viewing and editing client script flags
    • /openchests - for viewing and editing opened chests
    • /openweapons - for changing player's weapon lists
  • Currently there is no button to reset DB NPCs, however you can still reset them by typing /resetnpc <npcname> into RC chat.
  • To add NPCs, send broadcast admin messages and perform some functions on yourself, you must open the script menu by pressing the bottom-right button on the main RC window.

If you are noticing any errors or problems while using the Scripted RC, please post them so that they can be resolved in the next update.

Last edited by Skyld; 02-18-2008 at 04:26 PM..
Reply With Quote
  #2  
Old 05-13-2007, 10:39 PM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
I don't really see any... erm... change, in my RC... I also tried to put it as a fired-clientside wep. DIdn't work.
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote
  #3  
Old 07-14-2007, 10:40 PM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
Umm... Looking back at this old post...
Nevermind xD
I didn't know it was client-side xD
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote
  #4  
Old 07-15-2007, 03:30 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 feel I should note now that Client-RC no longer works in normal scripts. If any scripts on your server are using Client-RC functionality, you should remove it. For security reasons, only scripts from the login server are allowed access. This will not affect Mac users already using the Scripted RC by pressing F6.

The restrictclientrctoweapons= serveroption will also become redundant as a result.

I imagine soon that my Scripted RC will be enabled for Windows and Linux users too, so there will be no need to keep it on your server.
__________________
Skyld
Reply With Quote
  #5  
Old 07-15-2007, 03:35 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 Skyld View Post
I feel I should note now that Client-RC no longer works in normal scripts. If any scripts on your server are using Client-RC functionality, you should remove it. For security reasons, only scripts from the login server are allowed access.

The restrictclientrctoweapons= serveroption will also become redundant as a result.

I imagine soon that my Scripted RC will be enabled for Windows and Linux users too, so there will be no need to keep it on your server.
So can Mac still use it? It hasn't been working on my Mac.
__________________

Last edited by Skyld; 07-15-2007 at 03:38 PM.. Reason: I understand it's frustrating but please keep your Intel Mac stuff to the Intel Mac thread
Reply With Quote
  #6  
Old 07-15-2007, 03:37 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 cbkbud View Post
So can Mac still use it? It hasn't been working on my Mac.
Yes. This won't affect Mac users already using it.
__________________
Skyld
Reply With Quote
  #7  
Old 07-15-2007, 06:48 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 have updated the script of the Scripted RC, the following things have changed:
  • Script editor tabs are now working properly when you have both the script and the flags of an NPC open;
  • It is now using the GUI style that you have selected in F3 options;
  • The next available DB NPC ID is retrieved and placed into the Add NPC window automatically;
  • A Script Help button has been added now, so you can get documentation on script functions without flooding your RC chat;
  • RC chat text is escaped properly now, so HTML tags won't mess things up in RC chat;
  • There is an Upload button in the file manager so that if there are no files in a folder, you can still upload files;
  • You can now close your Client-RC session without having to log out of the server (by using the script menu).
I'll improve the file manager some more some other time.

The script will be placed onto the login server later, you will receive the update automatically when you reconnect to Graal.
__________________
Skyld
Reply With Quote
  #8  
Old 01-28-2008, 08:57 AM
CremisiSteam CremisiSteam is offline
Registered User
Join Date: Mar 2007
Posts: 40
CremisiSteam is an unknown quantity at this point
umm I cant read any of my scripts at all... actually anything that opens one of the script files and or text files and shows a white text box...

no text is seen... also when highlighting it highlights in yellow...

I can copy it and load it into notepad on my pc but I cant actually read it online using the editor... not sure why it happens to me though...

any of the f6 rc control boxes I load cause trouble for me... dunno why but they do but it sorta makes it a bit harder to see what is there and stuff...

Last edited by CremisiSteam; 01-28-2008 at 09:10 AM.. Reason: forgot somethings
Reply With Quote
  #9  
Old 01-28-2008, 01:19 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
Update your graphics driver. Did wonders for me.
Reply With Quote
  #10  
Old 01-29-2008, 08:53 AM
CremisiSteam CremisiSteam is offline
Registered User
Join Date: Mar 2007
Posts: 40
CremisiSteam is an unknown quantity at this point
cant update mine anymore XD and I have no graphics problems other than instead of black text showing up its there but it is not...

it only happens in those white script editor dialog type things...
and then only in the scripted rc editor
Reply With Quote
  #11  
Old 01-29-2008, 06:19 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
May be it's a problem with the particular font used for the script editor. Have you tried to disable bitmap fonts in the options?
Reply With Quote
  #12  
Old 01-30-2008, 09:13 AM
CremisiSteam CremisiSteam is offline
Registered User
Join Date: Mar 2007
Posts: 40
CremisiSteam is an unknown quantity at this point
well umm now I cant see any text at all... XD haha
disabled bitmap text and its all gone throught the hole game...

ok in order for me to see any game text at I had to remove the filecache and the config file...

but still can not see the scripted rc script window haha...

Last edited by CremisiSteam; 01-30-2008 at 09:25 AM..
Reply With Quote
  #13  
Old 02-02-2008, 11:55 PM
CremisiSteam CremisiSteam is offline
Registered User
Join Date: Mar 2007
Posts: 40
CremisiSteam is an unknown quantity at this point
hmm ok I tried uninstalling the whole graal client...

but whenever I try and use the ingame rc...

I can use everything in it but changing/adding weapon npc's and serverflags/folderoptions/serveroptions

all of those show an empty white box... the boxes are the editable text boxes I guess...
I can use the rc fine but I cannot see thescripts so I can still upload files and that kind of stuff

Last edited by CremisiSteam; 02-03-2008 at 12:15 AM..
Reply With Quote
  #14  
Old 02-18-2008, 02:59 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
I have been updating the Scripted RC again:
  • Script editor 'Delete' button now has a confirmation window before deleting scripts;
  • Attributes window has been rearranged to work more like the external RC with "Stats", "Look" and "Basic Attributes" tabs;
  • Scripted RC is now capable of searching the accounts list, reading/modifying accounts (for high admins and globals mostly);
  • The three script editor buttons have now been consolidated into one.
This is not yet released, as I will probably add more changes before releasing, but this is just to let you know that it is still being developed and that there is a release coming in the next couple of days.

Things I intend to work on for future versions:
  • Rearranging the Rights window to work more like the external RC with tabs;
  • Improved ban window to show global and computer bans;
  • Moving functions out of the Script Menu into independent buttons;
  • Fixing the playerlist to group admins and players properly;
  • Combo boxes in the attributes window for looks (colours);
  • Staff activity buttons in openaccess, and global ban/computer ban info if possible;
  • Showing how long bans last on the ban list;
  • Resizable edit account window;
  • Changing button order so that tab key is presenting natural order;
  • Adding more Key shortcuts, and using onAction on text fields to accept enter key.
The Scripted RC is also using external GUI windows in the new game client, so when the upgrade becomes available, the Scripted RC no longer uses built-in windows, but instead, external windows that are separate from the game window, and can be used while the game is minimized, etc.

If you have any bug reports or suggestions, please post them here.

Last edited by Skyld; 02-19-2008 at 01:08 PM.. Reason: Updated future versions list
Reply With Quote
  #15  
Old 02-18-2008, 05:12 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
I have been updating the Scripted RC again:
  • Script editor 'Delete' button now has a confirmation window before deleting scripts;
  • Attributes window has been rearranged to work more like the external RC with "Stats", "Look" and "Basic Attributes" tabs;
  • Scripted RC is now capable of searching the accounts list, reading/modifying accounts (for high admins and globals mostly);
  • The three script editor buttons have now been consolidated into one.
This is not yet released, as I will probably add more changes before releasing, but this is just to let you know that it is still being developed and that there is a release coming in the next couple of days.

Things I intend to work on for future versions:
  • Rearranging the Rights window to work more like the external RC with tabs;
  • Improved ban window to show global and computer bans;
  • Moving functions out of the Script Menu into independent buttons;
  • Fixing the playerlist to group admins and players properly.
The Scripted RC is also using external GUI windows in the new game client, so when the upgrade becomes available, the Scripted RC no longer uses built-in windows, but instead, external windows that are separate from the game window, and can be used while the game is minimized, etc.

If you have any bug reports or suggestions, please post them here.
OMG I LOVE YOU <3

I SHALL ATTEMPT TO REP YOU, BUT I WILL PROBABLY HAVE SOME ERRUR.
__________________
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 10:53 AM.


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