Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Graal Main Forum (English) (https://forums.graalonline.com/forums/forumdisplay.php?f=4)
-   -   Graal Mac (https://forums.graalonline.com/forums/showthread.php?t=45120)

Admins 05-29-2003 04:03 AM

Quote:

Originally posted by tlf288


A program that directly edits levels on a g_server?

'updateboard x,y,width,height' on server-side (sends tiles updates to the client), also you can access tiles on terrain gmaps, need to add saving of changed tiles to hard disk if some serveroption is set.
There are already functions for creating and deleting levels :-)

So this new way of level editing will be completely scripted, so it can be used online and offline. When used online then it is ran on server-side and you can check if the player has the right to edit the level (will add functions for checking that). The level editing mainly consists of tile editing and npc editing, for npc editing we can soon use the gui objects of v3 (creating windows, buttons, scrollbars with script).

Questa 05-29-2003 05:22 AM

Quote:

Originally posted by Stefan


'updateboard x,y,width,height' on server-side (sends tiles updates to the client), also you can access tiles on terrain gmaps, need to add saving of changed tiles to hard disk if some serveroption is set.
There are already functions for creating and deleting levels :-)

So this new way of level editing will be completely scripted, so it can be used online and offline. When used online then it is ran on server-side and you can check if the player has the right to edit the level (will add functions for checking that). The level editing mainly consists of tile editing and npc editing, for npc editing we can soon use the gui objects of v3 (creating windows, buttons, scrollbars with script).

So does that mean Admins can give access rights to people so they can edit their playerhouses on classic playerworlds without giving them an RC?

tlf288 05-29-2003 07:22 AM

Quote:

Originally posted by Stefan

for npc editing we can soon use the gui objects of v3 (creating windows, buttons, scrollbars with script).

I like this. Will v3 have something like a mini-Windows API?

CheeToS2 05-29-2003 12:57 PM

Quote:

Originally posted by Stefan


'updateboard x,y,width,height' on server-side (sends tiles updates to the client), also you can access tiles on terrain gmaps, need to add saving of changed tiles to hard disk if some serveroption is set.
There are already functions for creating and deleting levels :-)

So this new way of level editing will be completely scripted, so it can be used online and offline. When used online then it is ran on server-side and you can check if the player has the right to edit the level (will add functions for checking that). The level editing mainly consists of tile editing and npc editing, for npc editing we can soon use the gui objects of v3 (creating windows, buttons, scrollbars with script).

think it could be possible to get tiles from a player that is in another level with tiles[]? :(

Admins 05-29-2003 04:30 PM

Quote:

Originally posted by tlf288


I like this. Will v3 have something like a mini-Windows API?

Yes, you can create windows of the same quality like the options window or the help window

Admins 05-29-2003 04:32 PM

Quote:

Originally posted by Questa

So does that mean Admins can give access rights to people so they can edit their playerhouses on classic playerworlds without giving them an RC?

Yes that should be possible, we probably need to add more rights than just r and w, may be special rights for only editing tiles (t), moving npcs (m?) and changing npcs (n?)

Spark910 05-29-2003 05:00 PM

Quote:

Originally posted by Stefan


Yes that should be possible, we probably need to add more rights than just r and w, may be special rights for only editing tiles (t), moving npcs (m?) and changing npcs (n?)

Double post! *slaps*

rwtmn levels/*

lol :D.

t=tiles
n=npcs
s=editing npcs (S = Stands for Script)

Admins 05-29-2003 05:56 PM

w would include tiles, moving and scripting though?

Spark910 05-29-2003 06:48 PM

Quote:

Originally posted by Stefan
w would include tiles, moving and scripting though?
Well if you want it so that you can edit levels and have RC you can use:

rw levels/mylevels/nickname* (for example)

Then if you want a player to be able to only be able to edit their levels. Like it was mention before you would probably have to do it like this:

rw t levels/levelname*

or you could do this:

rw levels/playerlevels/myhouse_nickname/*(a,b,c)

The a,b,c would be the letters for tiles, moving NPCs and editing NPCs. But of course dont use a,b,c unless you want to. And that would give me the power to do everything as a player to my level.

Oh right Stefan, i get what you mean. So if the W means you can edit tiles then it would be something like:

rw levels/playerlevels/myhouse_nickname/*(b,c)

(b=move, c=edit NPCs)

Johnny_5 05-29-2003 08:15 PM

I dont think it would be such a great idea for regular players to edit NPCs. They could upload anything they wanted then and cause havok(sp?) on a server.

Spark910 05-29-2003 08:47 PM

Quote:

Originally posted by Johnny_5
I dont think it would be such a great idea for regular players to edit NPCs. They could upload anything they wanted then and cause havok(sp?) on a server.
It could go that way. But it couuld be useful for staff who arent given RCs...

tlf288 05-29-2003 10:20 PM

Quote:

Originally posted by Johnny_5
I dont think it would be such a great idea for regular players to edit NPCs. They could upload anything they wanted then and cause havok(sp?) on a server.
Regular players won't have the rights to edit the levels, obviously.

Spark910 05-29-2003 11:19 PM

So does that mean Admins can give access rights to people so they can edit their playerhouses on classic playerworlds without giving them an RC?
--------------------------------------------------------------------------------
Yes that should be possible, we probably need to add more rights than just r and w, may be special rights for only editing tiles (t), moving npcs (m?) and changing npcs (n?)

Ibonic 05-29-2003 11:43 PM

Quote:

Originally posted by Spark910
So does that mean Admins can give access rights to people so they can edit their playerhouses on classic playerworlds without giving them an RC?

hmm
wouldn't this make it easier for people to modify to NPCs or levels that shouldn't be on the server(s)? or would it not be in real time and have reviewers still?

tlf288 05-30-2003 12:32 AM

Quote:

Originally posted by Ibonic


hmm
wouldn't this make it easier for people to modify to NPCs or levels that shouldn't be on the server(s)? or would it not be in real time and have reviewers still?

According to Stefan, you can turn off NPC edit rights.


All times are GMT +2. The time now is 12:30 PM.

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