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)

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.


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

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