Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Scripted RC Deleting of Scripts (https://forums.graalonline.com/forums/showthread.php?t=77747)

cbk1994 11-29-2007 02:01 AM

Scripted RC Deleting of Scripts
 
Wow; just looked at the scripted RC and I'm really impressed by it. But what I really wish was that we could host it ourselves. On Syn, I had made a delete confirmation window, so that I didn't accidentally delete something important (I had done this three or four times). I had also modded it slightly to make it more productive.

I really like that tab and styling is working properly in the scripted RC-- I would be ready to move to Mac! However, I really would like to do something about the delete button. It annoys me. It sits there. Watching. Always watching. And then it lunges at me, destroying my hard work.

Would it be possible to disable it on dev shyguy2, or to add it in general? I'd gladly make the dialog for you if you wanted.

Thanks!
Chris Zakuto

Skyld 11-29-2007 11:27 AM

For security reasons you cannot host it on your own server. In the future, there will probably be small handles in the script so that the server can customise it, but the Client-RC features themselves only work for scripts from the login server.

As for the window, I can probably add a confirmation window for deleting scripts, yes.

cbk1994 11-29-2007 01:39 PM

Quote:

Originally Posted by Skyld (Post 1361207)
For security reasons you cannot host it on your own server. In the future, there will probably be small handles in the script so that the server can customise it, but the Client-RC features themselves only work for scripts from the login server.

As for the window, I can probably add a confirmation window for deleting scripts, yes.

Yay! :D

Cookie for Skyld!

Maniaman 11-29-2007 04:25 PM

Quote:

Originally Posted by Skyld (Post 1361207)
For security reasons you cannot host it on your own server.

:cry:

cbk1994 11-29-2007 10:52 PM

Skyld, is it possible to make it so we can modify the GUI, but not change any clientr-RC functions? I previously made it so it looked like the non-gui version of RC. It was so much better. :(

Admins 11-30-2007 01:14 AM

You can change the gui style and background image etc. at least on your own server, you just need to set the right attributes of the RC window (by script) I guess

cbk1994 11-30-2007 02:36 AM

Quote:

Originally Posted by Stefan (Post 1361340)
You can change the gui style and background image etc. at least on your own server, you just need to set the right attributes of the RC window (by script) I guess

Would be easier if the code was released :(

Skyld 11-30-2007 03:11 PM

Quote:

Originally Posted by cbkbud (Post 1361356)
Would be easier if the code was released :(

I shall add some functions into the next script update that will make it easier to change the styling and such.

cbk1994 11-30-2007 11:28 PM

Quote:

Originally Posted by Skyld (Post 1361446)
I shall add some functions into the next script update that will make it easier to change the styling and such.

*sniffle*

Okay :cry:

Can you tell me the name of the delete button so I can just do BUTTONPLX.destroy() for now?

xXziroXx 12-08-2007 09:43 PM

Quote:

Originally Posted by cbkbud (Post 1361521)
*sniffle*

Okay :cry:

Can you tell me the name of the delete button so I can just do BUTTONPLX.destroy() for now?

Late reply, but meh, not like I'm active these days.

PHP Code:

//#CLIENTSIDE
function onCreated()
{
  echo(
"--- GUI Controls START ---");
  for (
tmpGraalControl.controls) {
    echo(
tmp);
  }
  echo(
"--- GUI Controls END ---");


Once you know the name of the Client RC GUI name, replace "GraalControl" with the name of it to find out about buttons etc. on the default client RC window.

Oh and, not entirely sure if its "GraalControl" or something else, but that's the name I think I remember. That, and GUIContainer ^_^

cbk1994 12-08-2007 11:45 PM

Quote:

Originally Posted by xXziroXx (Post 1362789)
Late reply, but meh, not like I'm active these days.

PHP Code:

//#CLIENTSIDE
function onCreated()
{
  echo(
"--- GUI Controls START ---");
  for (
tmpGraalControl.controls) {
    echo(
tmp);
  }
  echo(
"--- GUI Controls END ---");


Once you know the name of the Client RC GUI name, replace "GraalControl" with the name of it to find out about buttons etc. on the default client RC window.

Oh and, not entirely sure if its "GraalControl" or something else, but that's the name I think I remember. That, and GUIContainer ^_^

Yes, it is GraalControl. That's where all the GUIs & player things happen.
GUIContainer has start menu, etc.

I'll do that later I suppose.

EDIT:
For the record, ScriptedRCScriptEditorDelete


All times are GMT +2. The time now is 03:58 PM.

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