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)

Admins 04-27-2008 01:16 PM

Drag'n'Drop for uploading is working for Windows and Linux. It's not working for the new external windows yet though, also you cannot use it for downloading yet, but that should be added of course.
On Windows RC it's doing it like that (opening the default program association, check for file update and reupload it then). For Mac and Linux that would require some more work, but at least the normal editing of text should be enabled.

cbk1994 04-27-2008 02:11 PM

Quote:

Originally Posted by Robin (Post 1387947)
It would be good that if/when editing a file within the OS came along it could be done like SmartFTP does it on Windows and Cyberduck does it on OS X. You chose the file to edit, it opens in your chosen Text editor (TextMate :D OS X) and when you save it, it automatically gets reuploaded.

This is how the external RC does it on Windows.
Quote:

Originally Posted by Skyld (Post 1387948)
There is already support for drag and drop in the script but it is only available on the Windows client at the minute. Support will most likely be added for Mac soon I think.

Wait .. why does Windows need this? Anyone in their right mind would be using the external RC.
Quote:

Originally Posted by Stefan (Post 1387949)
Drag'n'Drop for uploading is working for Windows and Linux. It's not working for the new external windows yet though, also you cannot use it for downloading yet, but that should be added of course.

Can we add this, because otherwise it's virtually impossible to use the file browser.
Quote:

On Windows RC it's doing it like that (opening the default program association, check for file update and reupload it then). For Mac and Linux that would require some more work, but at least the normal editing of text should be enabled.
Well, can we add this to Mac and Linux? Like I said, there's no way Windows would need this as they would use the external RC most likely.

Skyld 04-27-2008 02:37 PM

Quote:

Originally Posted by cbkbud (Post 1387953)
Wait .. why does Windows need this? Anyone in their right mind would be using the external RC.

There are quite a lot of people on Windows using the Scripted RC because it does not need downloading. :)

cbk1994 04-27-2008 02:38 PM

Quote:

Originally Posted by Skyld (Post 1387959)
There are quite a lot of people on Windows using the Scripted RC because it does not need downloading. :)

But not any serious developers ... especially not scripters.

Skyld 04-27-2008 02:48 PM

Quote:

Originally Posted by Stefan (Post 1387949)
For Mac and Linux that would require some more work, but at least the normal editing of text should be enabled.

It would be very easy on Mac; the OS X developers have a command line tool which is used by Finder to open files and applications. You would just use an exec call:
HTML Code:

Usage: open [-e] [-t] [-f] [-W] [-n] [-g] [-h] [-b <bundle identifier>] [-a <application>] [filenames]
Help: Open opens files from a shell.
      By default, opens each file using the default application for that file. 
      If the file is in the form of a URL, the file will be opened as a URL.
Options:
      -a                Opens with the specified application.
      -b                Opens with the specified application bundle identifier.
      -e                Opens with TextEdit.
      -t                Opens with default text editor.
      -f                Reads input from standard input and opens with TextEdit.
      -W, --wait-apps  Blocks until the used applications are closed (even if they were already running).
      -n, --new        Open a new instance of the application even if one is already running.
      -g, --background  Does not bring the application to the foreground.
      -h, --header      Searches header file locations for headers matching the given filenames, and opens them.

For instance:
HTML Code:

$ open test.txt
... opens test.txt either in the application it is associated with (some files have metadata which contains the program it was created in), or the default selected application otherwise.

The `open' command is not blocking unless you use the -W option; it terminates automatically once the new program has been opened successfully. The application appears as normal in the Dock though, or opens the document in the existing application process if it is already open.

Admins 04-27-2008 07:48 PM

Can try that yes

cbk1994 04-27-2008 08:12 PM

Quote:

Originally Posted by Stefan (Post 1387977)
Can try that yes

How about releasing your level editor so I can start using Mac again?

Robin 04-27-2008 10:52 PM

Yeah might be nice to have a fully featured level editor, scripted or not. For Mac. Yus.

zokemon 04-28-2008 04:40 AM

Quote:

Originally Posted by cbkbud (Post 1387982)
How about releasing your level editor so I can start using Mac again?

I'm almost done with my nw level editor (which edits an actual opened nw file on the client or server instead of editing just the tiles on the current level the player is in) but I'm waiting for a few bug fixes with external windows before I can go on (GuiDrawingPanel transparency, polygon support, etc.).

As it stands right now I have almost all of the features that the external editor for Windows has completed (just need to fix the displaying of polygons and such for the external window). I also have tile layer support completely done (need DrawingPanel transparency fixed to really see it in all its glory though). The other features like paintbrushes, patterns and npc related things are still in mid-development.

This script I actually made about 1.5 - 2 years ago but stopped working on it when I discovered how laggy and hard to use it was with the internal windows. Recently I pulled the script out of a dusty closet and powered it up with the new external windows and not a bit of lag :).

cbk1994 04-28-2008 10:56 PM

Quote:

Originally Posted by zokemon (Post 1388066)
I'm almost done with my nw level editor (which edits an actual opened nw file on the client or server instead of editing just the tiles on the current level the player is in) but I'm waiting for a few bug fixes with external windows before I can go on (GuiDrawingPanel transparency, polygon support, etc.).

As it stands right now I have almost all of the features that the external editor for Windows has completed (just need to fix the displaying of polygons and such for the external window). I also have tile layer support completely done (need DrawingPanel transparency fixed to really see it in all its glory though). The other features like paintbrushes, patterns and npc related things are still in mid-development.

This script I actually made about 1.5 - 2 years ago but stopped working on it when I discovered how laggy and hard to use it was with the internal windows. Recently I pulled the script out of a dusty closet and powered it up with the new external windows and not a bit of lag :).

Gimme script :(

That sounds awesome.

Edit: Post screenshots ;o

zokemon 04-29-2008 02:39 AM

Quote:

Originally Posted by cbkbud (Post 1388121)
Gimme script :(

That sounds awesome.

Edit: Post screenshots ;o

It needs better graphics (icons for the various tools) before I post a screenshot as I'm just using random tiles for the tool icons which just looks like gibberish.

Stephen 04-29-2008 02:49 AM

Quote:

Originally Posted by zokemon (Post 1388142)
It needs better graphics (icons for the various tools) before I post a screenshot as I'm just using random tiles for the tool icons which just looks like gibberish.

I'll do some graphics for you once you do some scripts for me.



Re: GK

cbk1994 04-29-2008 02:52 AM

Quote:

Originally Posted by zokemon (Post 1388142)
It needs better graphics (icons for the various tools) before I post a screenshot as I'm just using random tiles for the tool icons which just looks like gibberish.

Just post the script :(

I'll figure it out.

zokemon 04-29-2008 03:10 AM

Just wait till the bugs are fixed x_x.

Quote:

Originally Posted by Stephen (Post 1388147)
I'll do some graphics for you once you do some scripts for me.



Re: GK

It's not really for me considering Atexia doesn't even use normal .nw levels anyways.

I just thought I'd finish it up for the rest of the community.

Stephen 04-29-2008 03:40 AM

Quote:

Originally Posted by zokemon (Post 1388150)
Just wait till the bugs are fixed x_x.



It's not really for me considering Atexia doesn't even use normal .nw levels anyways.

I just thought I'd finish it up for the rest of the community.

Hey, just because what I want is for me doesn't mean yours is about you. I can only care about one person at a time, and I'm first in line.




Now how about dem scripts? ^^


All times are GMT +2. The time now is 10:29 PM.

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