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)

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? ^^

cbk1994 04-29-2008 03:43 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.

:cry:

I want to go back to Mac

zokemon 04-29-2008 05:02 AM

Quote:

Originally Posted by cbkbud (Post 1388158)
:cry:

I want to go back to Mac

It's to laggy to be worth it to use in the public releases of Graal and it doesn't work very much at all because you can't see much of what you are doing in the external windows because of the bugs.

Best just to wait for Stefan to fix the two bugs (and add windows taskbar button/system tray icon support to mimic the old rc!).

zokemon 04-29-2008 06:00 AM

2 Attachment(s)
Well, I guess I can give you a little spoiler but it's nothing to fancy to look at right now.

EDIT: Re-uploaded the screenshot with icons made by Dusty! Thank you Dusty! ^^

cbk1994 04-30-2008 01:17 AM

Quote:

Originally Posted by zokemon (Post 1388171)
It's to laggy to be worth it to use in the public releases of Graal and it doesn't work very much at all because you can't see much of what you are doing in the external windows because of the bugs.

I have the unofficial release with external windows :cry:

I can tell you how well it works on Mac with external windows.

Anyway, it looks great so far! Keep up the good work.

zokemon 04-30-2008 07:25 AM

Quote:

Originally Posted by cbkbud (Post 1388240)
I have the unofficial release with external windows :cry:

I can tell you how well it works on Mac with external windows.

Anyway, it looks great so far! Keep up the good work.

I created a thread about it here. If you want to try it out, contact me from one of my contacts in my signature and we can arrange something.

Programmer 05-03-2008 12:48 AM

1 Attachment(s)
Regarding Scripted RC File List: I've noticed that when I tried to upload a guild file, it changed the case of said file and messed up the guild name. It changed it from guildManager.txt to guildmanager.txt. The client takes the file names and puts them in lower case and presents them, effectively turning "Administrator.MEDIANEXUS" to "administrator.medianexus". This can screw up some file uploads and should be fixed.

Thanks.

Skyld 05-03-2008 12:55 AM

Seems to be a client problem (since the file upload window is built into the client). Stefan will need to look at it I guess.

Robin 05-03-2008 01:43 AM

Skyld, dude, srsly. Can you please just script the RC to have seperate windows for scripts and the different script type listing? I know, tabs == cool, but I'd rather have usability than have to run Graal via PowerPC emulation and the RC via Windows Virtualisation!

cbk1994 05-03-2008 02:38 AM

Quote:

Originally Posted by Robin (Post 1388741)
Skyld, dude, srsly. Can you please just script the RC to have seperate windows for scripts and the different script type listing? I know, tabs == cool, but I'd rather have usability than have to run Graal via PowerPC emulation and the RC via Windows Virtualisation!

Chill, external windows will save you. Intel Graal (not Universal!) will be released soon I've heard; the pre-release I have runs much smoother.

Robin 05-03-2008 03:26 AM

I'm not about a seperate window in the external window sense.

I'm on about pretty much cloning the current RC, I don't see any technical limitations for it not being the same to be honest.

cbk1994 05-03-2008 03:46 AM

Quote:

Originally Posted by Robin (Post 1388767)
I'm not about a seperate window in the external window sense.

I'm on about pretty much cloning the current RC, I don't see any technical limitations for it not being the same to be honest.

I like the new improvements, actually. Some things needs to be added, yes, but I like the improvements made.

Robin 05-03-2008 04:00 AM

The only "improvement" (I'd say moar like, addition), is the GUI builder, and even that could use some work.

zokemon 05-03-2008 08:22 AM

There should be an option to have them in separate windows or tabbed.

cbk1994 05-03-2008 03:02 PM

Quote:

Originally Posted by Robin (Post 1388776)
The only "improvement" (I'd say moar like, addition), is the GUI builder, and even that could use some work.

I dislike the GUI builder; I generally don't allow it on servers I work on, it's much cleaner if you script them yourself, and the code matches your standards (perhaps if some options such as braces on new lines, spaces after parenthesis ( x ), etc?)
Quote:

Originally Posted by zokemon (Post 1388797)
There should be an option to have them in separate windows or tabbed.

I agree, sometimes I've needed to switch back and forth between scripts and it is more convenient. But still, I would probably stick with tabs.

Robin 05-03-2008 03:45 PM

Quote:

Originally Posted by cbkbud (Post 1388825)
I dislike the GUI builder; I generally don't allow it on servers I work on, it's much cleaner if you script them yourself, and the code matches your standards (perhaps if some options such as braces on new lines, spaces after parenthesis ( x ), etc?)


I agree, sometimes I've needed to switch back and forth between scripts and it is more convenient. But still, I would probably stick with tabs.

Braces on new lines is the devil.

Brace placement is always going to be one of those hotly debated things though

Personally I think masses of whitespace is horrid to look at.

PHP Code:

function onCreated()
{
  
player.chat "This looks horrible";
  if (
you.really.think.this.is.nice == true)
  {
    
player.chat "You ought to be shot.";
  }
  else
  {
    
player.chat "Look at that else. Makes me feel sick.";
  }
}

function 
onCreated()
   {
     
player.chat "I actually saw someone doing this the other day. You know who you are. *slap*";
   }

function 
onCreated() {
  
player.chat "Ah much clearer.";
  if (
you.are.clever == true) {
    
player.chat "Then you probably prefer this";
  } else {
    
player.chat "That is a sexy else.";
  }


You know it makes sense.

Chompy 05-03-2008 04:18 PM

Quote:

Originally Posted by Robin (Post 1388837)
Braces on new lines is the devil.

Brace placement is always going to be one of those hotly debated things though

Personally I think masses of whitespace is horrid to look at.

PHP Code:

... 

You know it makes sense.

Well, it's a matter of personal preference though.. I style my scripts pretty much as you do..

And I think it's different from community to community (talking about scripting discussion on forums, ie a c++ or java forum) and who you were taught by (when self-learning and look at others scripts you would probably style like that)

Anyways, there are so many discussions on this, that I'll just say, its all personal preference

cbk1994 05-03-2008 04:46 PM

Quote:

Originally Posted by Robin (Post 1388837)
Braces on new lines is the devil.

Brace placement is always going to be one of those hotly debated things though

It's personal preference. I really don't care if you like looking at whitespace, when I am in charge of scripting at a server, that is how it's done.

I feel that it makes it look more organized, on the same line looks too cluttered.

All I'm saying is that it should be added so that people who prefer it can have it (and I could allow it on my server).

AlexP_P 12-09-2008 10:16 PM

O_o
 
Quote:

Originally Posted by Skyld (Post 1330729)
Yes. This won't affect Mac users already using it.

so it will affect new mac users?O_o

Skyld 12-09-2008 11:54 PM

Quote:

Originally Posted by AlexP_P (Post 1448185)
so it will affect new mac users?O_o

No.

ApothiX 12-10-2008 10:09 PM

Quote:

Originally Posted by cbk1994 (Post 1388861)
It's personal preference. I really don't care if you like looking at whitespace, when I am in charge of scripting at a server, that is how it's done.

I feel that it makes it look more organized, on the same line looks too cluttered.

All I'm saying is that it should be added so that people who prefer it can have it (and I could allow it on my server).

I'm pretty sure GUI builders in any language are just there to establish some guidelines. You should never blindly accept any generated code, ever.

Loriel 12-10-2008 10:20 PM

Quote:

Originally Posted by ApothiX (Post 1448410)
I'm pretty sure GUI builders in any language are just there to establish some guidelines. You should never blindly accept any generated code, ever.

Personally I always step through all the assembly that gcc generates from my C++ code before letting it assemble it into machine code (and then I go through it again before executing it)

devilsknite1 04-07-2009 10:10 PM

After making one GUI with the GUI builder, you cannot make another without restarting Graal. The options for the GUI don't show up.

Tyhm 04-07-2009 11:52 PM

One thing I always wanted was a Backup Button. Push one button (with the appropriate rights) and it downloads everything on the server; drag that folder back in and you can restore the entire server. A different button downloads all the updates since the last time you did a backup, a different button downloads all the accounts' stats...maybe it happened when I wasn't looking, but if it hain't, Skyld's more likely to bother adding it than Stefan. :-D

devilsknite1 04-08-2009 01:34 AM

Quote:

Originally Posted by Tyhm (Post 1482083)
One thing I always wanted was a Backup Button. Push one button (with the appropriate rights) and it downloads everything on the server; drag that folder back in and you can restore the entire server. A different button downloads all the updates since the last time you did a backup, a different button downloads all the accounts' stats...maybe it happened when I wasn't looking, but if it hain't, Skyld's more likely to bother adding it than Stefan. :-D

That may cause problems in a few ways I'm not allowed to mention on the Graal Forums :rolleyes:

Tyhm 04-08-2009 02:28 AM

Pssh, it's not like Graal's files are useful to any other games...

devilsknite1 04-08-2009 02:50 AM

Quote:

Originally Posted by Tyhm (Post 1482139)
Pssh, it's not like Graal's files are useful to any other games...

Not useful for other games, but lets just put it this way:
The files can be leaked

Codein 04-08-2009 03:23 AM

Quote:

Originally Posted by devilsknite1 (Post 1482145)
Not useful for other games, but lets just put it this way:
The files can be leaked

I suppose you'd only be able to back up what you have rights to.

Tyhm 04-08-2009 03:43 AM

Quote:

Originally Posted by Tyhm (Post 1482083)
(with the appropriate rights)

See Above

Codein 04-08-2009 03:46 AM

Quote:

Originally Posted by Tyhm (Post 1482159)
See Above

Oooh, I missed that, haha.

Tigairius 04-08-2009 03:51 AM

Quote:

Originally Posted by Codein (Post 1482155)
I suppose you'd only be able to back up what you have rights to.

Even if you do that, it still makes it easy for corrupt administrators to leak backups of entire servers to Anti-Graal.

I say: leave the backups to the system they already have and give trusted PWA members access to them (the private worlds only, not the servers like UN, Zone, etc), which would make it very easy to get your server restored if something were to happen.

Tyhm 04-08-2009 04:03 AM

I was figuring it'd be a right given solely to the server owner. If the server's owner wants to leak it to anti-graal, we got bigger problems than how easy it is to backup and restore.

xXziroXx 04-08-2009 03:38 PM

Quote:

Originally Posted by Tigairius (Post 1482162)
Even if you do that, it still makes it easy for corrupt administrators to leak backups of entire servers to Anti-Graal.

I say: leave the backups to the system they already have and give trusted PWA members access to them (the private worlds only, not the servers like UN, Zone, etc), which would make it very easy to get your server restored if something were to happen.

I say: Add a "Backup" button, that only the server owner can use.

Stephen 04-08-2009 03:43 PM

Backup should just be stored locally - like it is now. If the server needs to be restored it's not a large task for an admin like Tig or Stefan to do and I don't think we have to worry about Graal's servers disappearing overnight.

That way you avoid any potentially damaging or threatening activities while maintaining complete functionality.

Tyhm 04-08-2009 03:46 PM

Well sure, but even if we're going to assume Tig and Stefan are going to be available to restore a server from its local backup copy, what about "Hey, I've got a great idea to completely change the system, it's a little risky but I think I can get it to work in one go - but maybe I should back up everything first"?

Stephen 04-08-2009 03:47 PM

Quote:

Originally Posted by Tyhm (Post 1482265)
Well sure, but even if we're going to assume Tig and Stefan are going to be available to restore a server from its local backup copy, what about "Hey, I've got a great idea to completely change the system, it's a little risky but I think I can get it to work in one go - but maybe I should back up everything first"?

Then you request a back up? They're automatically scheduled anyways.

Mountain out of a mole hill imo.


All times are GMT +2. The time now is 05:05 AM.

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