Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   Scripted RC (https://forums.graalonline.com/forums/showthread.php?t=73833)

Skyld 07-02-2010 04:37 PM

Quote:

Originally Posted by TSAdmin (Post 1585501)
Sadly, no such change was made by my input.

Are you still having that issue? I tweaked the code earlier. Check your font size in the Scripted RC options too, see that it isn't defaulting to a bad value.

TSAdmin 07-02-2010 05:39 PM

Quote:

Originally Posted by Skyld (Post 1585515)
Are you still having that issue? I tweaked the code earlier. Check your font size in the Scripted RC options too, see that it isn't defaulting to a bad value.

It appears to have returned back to normal after your tweak. Thanks =)

oo_jazz_oo 07-03-2010 02:19 AM

In the file browser, under the "Modified" column, every file displays 0.

So...its just not displaying when it was modified. :P

fowlplay4 07-03-2010 02:33 AM

Quote:

Originally Posted by oo_jazz_oo (Post 1585604)
In the file browser, under the "Modified" column, every file displays 0.

So...its just not displaying when it was modified. :P

I believe it's because it uses a V6 function to convert the timevar2 value into a timestamp, then again it doesn't display anything at all for me at all on my V6 client.

TSAdmin 07-03-2010 05:06 AM

Quote:

Originally Posted by fowlplay4 (Post 1585607)
then again it doesn't display anything at all for me at all on my V6 client.

I noticed this as well. Just a blank column.

cbk1994 07-03-2010 05:27 AM

The date modified column works fine on Mac v6.

Skyld 07-03-2010 03:30 PM

Quote:

Originally Posted by fowlplay4 (Post 1585607)
I believe it's because it uses a V6 function to convert the timevar2 value into a timestamp, then again it doesn't display anything at all for me at all on my V6 client.

I have uploaded the latest Windows v6 beta that Stefan gave me yesterday, can you download that and check it?

fowlplay4 07-03-2010 04:38 PM

Quote:

Originally Posted by Skyld (Post 1585670)
I have uploaded the latest Windows v6 beta that Stefan gave me yesterday, can you download that and check it?

Updated the client.

Now it's actually crashing the client when I select a folder, instead of listing files.

Skyld 07-03-2010 07:44 PM

Quote:

Originally Posted by fowlplay4 (Post 1585674)
Updated the client.

Now it's actually crashing the client when I select a folder, instead of listing files.

Okay turns out that formattimestring() was crashing the Windows client, so I've disabled it's use on Windows (instead it's just displaying relative to timevar2 like before). In a short while I shall write some quick code to generate the timestamp manually.

Edit: Turns out it's actually to do with Microsoft's strftime not supporting some input, should be fixed now.

Skyld 07-04-2010 12:13 AM

The file browser log is now resizable and you can now open the playerlist by pressing F7 on the RC chat window. Not really sure why the folder log messages are a bit broken but I shall look into that.

Fulg0reSama 07-04-2010 12:56 AM

What else are you going to add Skyld.. Or is that a surprise? :p

Skyld 07-04-2010 02:00 AM

Quote:

Originally Posted by Fulg0reSama (Post 1585755)
What else are you going to add Skyld.. Or is that a surprise? :p

Well I just added a line counter in the Script Editor. :)

oo_jazz_oo 07-10-2010 01:27 AM

In the future, will you add the "Edit as Text" feature for the file browser?

I find this feature helpful when I want to edit gani scripts quickly.

Skyld 07-10-2010 02:50 AM

Added some new updates today:
  • You can now have lots of text editors open (not just one), so openweapons and openflags etc will no longer reuse the same window.
  • You can detach a tab from the script editor now by right-clicking the tab.
Quote:

Originally Posted by oo_jazz_oo (Post 1586770)
In the future, will you add the "Edit as Text" feature for the file browser?

I find this feature helpful when I want to edit gani scripts quickly.

Yes that's something I'll add the moment that Stefan adds the script functionality I need (or tells me how it works if it's already there). Won't work with v5 or the current v6 betas though; it'll need an updated client.

TSAdmin 07-10-2010 06:05 AM

I've noticed that occasionally when the first tab in the script editor opens up, the scrollbar may only allow you to scroll down to a certain point (I estimate around 30-40 lines) and you have to open a second tab, close the first, (Optionally close the second) reopen the one you originally wanted to edit before the scrollbar will allow you to go right to the end of the script.

Edit: Will post a screenshot when I can replicate this, but it is really easy to replicate.

Edit 2:
http://i32.tinypic.com/yl6w8.png

Using CTRL + End, you are able to make the cursor go to the bottom, though you cannot see it. The bottom visible line is line 59 and doesn't allow you to scroll any lower unless you do the above mentioned actions.

cbk1994 07-10-2010 06:39 AM

Quote:

Originally Posted by TSAdmin (Post 1586814)
I've noticed that occasionally when the first tab in the script editor opens up, the scrollbar may only allow you to scroll down to a certain point (I estimate around 30-40 lines) and you have to open a second tab, close the first, (Optionally close the second) reopen the one you originally wanted to edit before the scrollbar will allow you to go right to the end of the script.

Using CTRL + End, you are able to make the cursor go to the bottom, though you cannot see it. The bottom visible line is line 59 and doesn't allow you to scroll any lower unless you do the above mentioned actions.

Does resizing the window fix it?

TSAdmin 07-10-2010 12:51 PM

Quote:

Originally Posted by cbk1994 (Post 1586821)
Does resizing the window fix it?

Yes, it does.

Skyld 07-10-2010 12:54 PM

Quote:

Originally Posted by TSAdmin (Post 1586849)
Yes, it does.

It's just because the control is initialised with a fixed size, I'll add some code to resize it to match the text.

Skyld 07-10-2010 08:41 PM

More features added today:
  • Find/replace in the Script Editor, which allows you to search scripts and replace text in the currently selected tab.
  • Edit as Text has been added to the file browser.
These new changes require the latest v6 beta to work (version 5.257 or later). The latest Mac beta is uploaded right now for testers and I think a Windows version is following shortly.

Loriel 07-20-2010 11:32 PM

It would be cool if the huge scripts list would not immediately try to load a script just because I click its name in order to focus the list so I can start a type-ahead search which should, incidentally, also work. Also when I am not scrolled all the way up, mouseovering entries in the huge lists seems to force them to be re-rendered in a slightly different position than scrolling renders them at. The script window itself seems not entirely certain where to render its tabs, and occasionally half-overwrites the top couple of pixels of the text area with a half-rendered tab bar.

I am using the blue theme, fwiw.

Loriel 07-21-2010 12:02 AM

  • When the chat input bar gets focus it should immediately go to the phase of the animation in which the cursor is visible instead of leaving me hanging and wondering whether it really has focus for a second!
  • The popup menu for rightclicking players on the playerlist is not actually a window, that makes it close to useless with a reasonably sized playerlist window. Also scrolling it makes the surrounding parts of the playerlist render in slightly the wrong place, too.
  • When the game is minimized or whatever there is no indication of incoming PMs.

Admins 07-21-2010 06:04 PM

Quote:

Originally Posted by Loriel (Post 1588776)
  • When the game is minimized or whatever there is no indication of incoming PMs.

On Linux?

WhiteDragon 07-21-2010 06:44 PM

Quote:

Originally Posted by Stefan (Post 1588926)
On Linux?

You could always interface with libnotify if it's on the system. That'd be neat.

Loriel 07-21-2010 10:32 PM

Quote:

Originally Posted by Stefan (Post 1588926)
On Linux?

Yeah.

oo_jazz_oo 07-24-2010 11:04 PM

When I detach a tab in the script editor, it adds blank lines between every line in the script.

So, the scripts lines literally double. A script like

PHP Code:

function onCreated() {
  echo(
"Hello!");


then becomes
PHP Code:

function onCreated() {

echo(
"Hello!");



So, if you were to update the script after detaching...you would have a lot of blank lines. XD

devilsknite1 07-25-2010 08:55 AM

Quote:

Originally Posted by oo_jazz_oo (Post 1589435)
When I detach a tab in the script editor, it adds blank lines between every line in the script.

So, the scripts lines literally double. A script like

PHP Code:

function onCreated() {
  echo(
"Hello!");


then becomes
PHP Code:

function onCreated() {

echo(
"Hello!");



So, if you were to update the script after detaching...you would have a lot of blank lines. XD

Why script with this RC anyways? XD

oo_jazz_oo 07-25-2010 09:22 AM

Quote:

Originally Posted by devilsknite1 (Post 1589488)
Why script with this RC anyways? XD

Because NC on UN takes forever to load and if I want to quickly edit a script...

Also, getting used to it when we are forced to use client rc.

TSAdmin 07-25-2010 09:23 AM

Quote:

Originally Posted by devilsknite1 (Post 1589488)
Why script with this RC anyways? XD

Because it's intended to take the place of the external RC.

cbk1994 07-25-2010 09:25 AM

Quote:

Originally Posted by TSAdmin (Post 1589498)
Because it's intended to take the place of the external RC.

And it does a very ****ty job of it.

oo_jazz_oo 07-25-2010 09:29 AM

If the client rc doesn't perfectly replicate external rc by the time we are forced to use it...I seriously don't know if I can script with it.

Maybe if I use notepad+ and just import the scripts....

cbk1994 07-25-2010 09:34 AM

Quote:

Originally Posted by oo_jazz_oo (Post 1589502)
If the client rc doesn't perfectly replicate external rc by the time we are forced to use it...I seriously don't know if I can script with it.

Maybe if I use notepad+ and just import the scripts....

I doubt we will be forced to use it, despite what Skyld and Stefan say. Stefan has an updated RC version which he's given to a few people which works a bit better with community names and pings NC to avoid disconnecting. The scripting features are also greatly improved (not sure if this is something he implemented or an update to GTK), you can select blocks of code and indent (tab) or lower the indent (shift + tab).

LordOfPi13 08-23-2010 03:50 AM

NC Isn't working...
 
I don't know if this is just me, but NC doesn't work in my Client-RC. Does this happen to anyone else?

TSAdmin 08-23-2010 06:02 AM

Quote:

Originally Posted by LordOfPi13 (Post 1595939)
I don't know if this is just me, but NC doesn't work in my Client-RC. Does this happen to anyone else?

What exactly isn't working? EG: Can't open scripts in script editor that you have rights to?

adam 08-23-2010 06:13 AM

Quote:

Originally Posted by TSAdmin (Post 1595961)
What exactly isn't working? EG: Can't open scripts in script editor that you have rights to?

It seems when NC sends messages to the RC chat, he can't see them, but we can.

DustyPorViva 12-22-2010 09:12 PM

Multiline text boxes still don't show scrollbars until you resize them.

There is some conflicts between the in-game playerlist and scripted RC playerlist... simply that it doesn't work. If I have scripted RC in focus and press F7 the window appears then disappears. The playerlist button does nothing. It forces me to use the in-game playerlist... which would be fine, except it removes a lot of features useful for RC playerlist. Like the ability to open commends/rights and such. Also, the fact that I have to go back to the Graal window to open the playerlist is a little annoying.

Admins 02-12-2011 04:57 PM

Updated the scripted RC:
- Clicking on the playerlist button opens the playerlist in v6
- The playerlist menu now shows the extended actions in v6
- When you already have a tab with a script open then clicking on the script name in the script list will highlight that tab (and show the script)
- Ctrl+F in the script and text editors opens the find dialog
- When opening the find dialog then it's focussing the find text field

MattKan 02-12-2011 05:28 PM

Quote:

Originally Posted by Stefan (Post 1630379)
Updated the scripted RC:
- Clicking on the playerlist button opens the playerlist in v6
- The playerlist menu now shows the extended actions in v6
- When you already have a tab with a script open then clicking on the script name in the script list will highlight that tab (and show the script)
- Ctrl+F in the script and text editors opens the find dialog
- When opening the find dialog then it's focussing the find text field

Awesome!

PowerProNL 02-12-2011 07:11 PM

Quote:

Originally Posted by Stefan (Post 1630379)
Updated the scripted RC:
- Clicking on the playerlist button opens the playerlist in v6
- The playerlist menu now shows the extended actions in v6
- When you already have a tab with a script open then clicking on the script name in the script list will highlight that tab (and show the script)
- Ctrl+F in the script and text editors opens the find dialog
- When opening the find dialog then it's focussing the find text field

Thanks!

Deas_Voice 02-12-2011 07:20 PM

Quote:

Originally Posted by Stefan (Post 1630379)
Updated the scripted RC

nice but,

Quote:

Originally Posted by Stefan (Post 1630379)
- Clicking on the playerlist button opens the playerlist in v6

what button? F7? it always worked?

Quote:

Originally Posted by Stefan (Post 1630379)
- The playerlist menu now shows the extended actions in v6

such as? :o

Quote:

Originally Posted by Stefan (Post 1630379)
- When you already have a tab with a script open then clicking on the script name in the script list will highlight that tab (and show the script)

neato, but what if we want to open two copies of it?
(i typically got two scripts of the same scripts open if i'm rewriting it or converting it to GS2)
Quote:

Originally Posted by Stefan (Post 1630379)
- Ctrl+F in the script and text editors opens the find dialog

doesn't seem to work for me (using Linux, Ubuntu 10.04)
also, which text editor? o.o;

edit: no "find" button in the script editor~

DustyPorViva 02-12-2011 07:44 PM

Quote:

Originally Posted by Deas_Voice (Post 1630428)
nice but,


what button? F7? it always worked?


such as? :o

See my post above his.


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

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