Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Updateboard (https://forums.graalonline.com/forums/showthread.php?t=46737)

voicedcow6666 08-03-2003 01:52 PM

Updateboard
 
I got bored and wanted to play with the new functions (hasright, serverside updateboard) and (since I knew one was to be made anyway, wanted to play) started making an online level editor. It's pretty much done, just have to do minor stuff now really...like adding the stuff in a box you can move around the screen and scroll through it and stuff, and a few other things, all of which are simple....anyway...when I use updateboard on Delteria it'll update for everyone on the level, then like 10 seconds later it disappears and goes back to what it was before...

Is Delt's gserver just not setup to handle that yet, or what? I'm not really worried about it that much till I get the rest of this finished (started about 4-5 hours ago, 'bout to go to bed...it'll take me like an hour or two to finish and have it nice, which I'll do tomorrow)....but I thought I'd post in here and ask (will prolly ask Jagen on aim tomorrow too) and see if anyone knew what was up.

Bleh, sorry for the long nonsense parts of the post...It's 6am and I'm tired and that's just the way my brain works under these conditions.

konidias 08-03-2003 07:54 PM

Re: Updateboard
 
Quote:

Originally posted by voicedcow6666
I got bored and wanted to play with the new functions (hasright, serverside updateboard) and (since I knew one was to be made anyway, wanted to play) started making an online level editor. It's pretty much done, just have to do minor stuff now really...like adding the stuff in a box you can move around the screen and scroll through it and stuff, and a few other things, all of which are simple....anyway...when I use updateboard on Delteria it'll update for everyone on the level, then like 10 seconds later it disappears and goes back to what it was before...

Is Delt's gserver just not setup to handle that yet, or what? I'm not really worried about it that much till I get the rest of this finished (started about 4-5 hours ago, 'bout to go to bed...it'll take me like an hour or two to finish and have it nice, which I'll do tomorrow)....but I thought I'd post in here and ask (will prolly ask Jagen on aim tomorrow too) and see if anyone knew what was up.

Bleh, sorry for the long nonsense parts of the post...It's 6am and I'm tired and that's just the way my brain works under these conditions.

Is Delteria the first place you tested it online? If so, it might be because you're not setting the tiles serverside? The updateboard and tile setting needs to be done serverside.

Python523 08-03-2003 08:02 PM

you need the serveroption savelevels=true if you want the changes to save permanentelly

konidias 08-03-2003 08:05 PM

Quote:

Originally posted by Python523
you need the serveroption savelevels=true if you want the changes to save permanentelly
Yeah lol, that also. :p

Python523 08-03-2003 08:07 PM

oh, and the permanent change command is updateboard2, updateboard changes back in ~10 seconds

TribulationStaff 08-03-2003 08:39 PM

Yay updateboard :)

voicedcow6666 08-03-2003 08:54 PM

Quote:

Originally posted by Python523
oh, and the permanent change command is updateboard2, updateboard changes back in ~10 seconds

Ah, Thanks. :)

CheeToS2 08-03-2003 10:19 PM

Quote:

Originally posted by Python523
you need the serveroption savelevels=true if you want the changes to save permanentelly
:confused: :confused: :confused: When was all this new stuff added? I knew about changing tiles serverside, but not saving them; I think it'd be better if savelevel was a command, not a serveroption :x. Also, how does hasright work? o.o

voicedcow6666 08-03-2003 10:23 PM

Quote:

Originally posted by CheeToS2


:confused: :confused: :confused: When was all this new stuff added? I knew about changing tiles serverside, but not saving them; I think it'd be better if savelevel was a command, not a serveroption :x. Also, how does hasright work? o.o

if (hasright(w,levels/level.graal))



I have it so that the tiles change for everyone and stays, but doesn't save. :(

I put the savelevels=true in server ops and did updateboard2 and everything....dunno why. :(

Oh well, I'll worry about that after I finish the editor. I'm fixing up the image for the scrolling window now.

zs0 08-03-2003 11:51 PM

someone teach me this in english ^_^

Tseng 08-04-2003 12:01 AM

Quote:

Originally posted by zs0
someone teach me this in english ^_^
Some people just shouldn't be scripters.

Projectshifter 08-04-2003 12:44 AM

Quote:

Originally posted by Tseng


Some people just shouldn't be scripters.

LOL, amen ;)
I need to lookup on the new commands. I never use updateboard or updateboard2. hasright() I'll start playing with... does it also work for like warping and such I wonder?
---Shifter

voicedcow6666 08-04-2003 01:18 AM

Quote:

Originally posted by Projectshifter


LOL, amen ;)
I need to lookup on the new commands. I never use updateboard or updateboard2. hasright() I'll start playing with... does it also work for like warping and such I wonder?
---Shifter

hasright()? Naw, it only works for files in FTP. It finds out what files you can access whenever you logon player and holds it. So if you set your rights after you're connected to player, you have to reconnect before it shows you having rights to 'em. That was like one of the first things I tested.

osrs 08-04-2003 02:07 AM

Quote:

Originally posted by voicedcow6666


hasright()? Naw, it only works for files in FTP. It finds out what files you can access whenever you logon player and holds it. So if you set your rights after you're connected to player, you have to reconnect before it shows you having rights to 'em. That was like one of the first things I tested.

Does it work server-side/client-side?

Python523 08-04-2003 02:09 AM

Quote:

Originally posted by osrs


Does it work server-side/client-side?

it wouldn't be secure if it was clientside

voicedcow6666 08-04-2003 02:24 AM

Oh, and Also...it seems to take awhile for the changes to be saved permenantly. If you make the changes, then don't wait long enough and you or someone else updates the level, it'll all be lost. I didn't time it (I'm about to do that), but it takes upwards of 10-20 minutes atleast.

TribulationStaff 08-04-2003 03:08 AM

Quote:

I never use updateboard or updateboard2
Are you kidding me? Updateboard does TONS of cool effects. Among other things, it is a far nicer way of protecting a door to have tiles laid down as opposed to a gif.

Also, with practice you can make graal DANCE. One of my more complex tile animations was the creation of a bridge.

Knuckles 08-05-2003 07:07 AM

...time to start generating random dungeons/quests... >=)

Tseng 08-05-2003 07:18 AM

Quote:

Originally posted by voicedcow6666
Oh, and Also...it seems to take awhile for the changes to be saved permenantly. If you make the changes, then don't wait long enough and you or someone else updates the level, it'll all be lost. I didn't time it (I'm about to do that), but it takes upwards of 10-20 minutes atleast.
Jagen mentioned something about every 2 minutes.

As for rights: your rights (be they RC or client) don't refresh until you reconnect on client.

voicedcow6666 08-05-2003 08:12 AM

Quote:

Originally posted by Tseng


Jagen mentioned something about every 2 minutes.

As for rights: your rights (be they RC or client) don't refresh until you reconnect on client.

It's more than 2 minutes. I started to clock how long it takes, but got impatient. It takes more than 15 though.


And that's not entirely true about the rights. As far as NC and rights on client when using hasright(), and warpto/update level goes, it is...but if you change your FTP rights or you remove/add rights other than those which I listed and you're on client, you can still use them on RC without having to reconnect on client.

MysticHasteP2P_2 08-05-2003 08:21 AM

I would Like to ste-ah... seee! ..at this online level editor in action :O

voicedcow6666 08-05-2003 08:39 AM

Quote:

Originally posted by MysticHasteP2P_2
I would Like to ste-ah... seee! ..at this online level editor in action :O
After I get it finished (work gets in the way) imma put it where everyone can warp to my test level and edit it. There's some stuff I wanna do first...like instead of it just automatically updating, where it does it clientsided, holding what you change in a string, and you have to press a button to save it serversided.

Andy0687 08-10-2003 11:05 AM

Quote:

Originally posted by voicedcow6666


After I get it finished (work gets in the way) imma put it where everyone can warp to my test level and edit it. There's some stuff I wanna do first...like instead of it just automatically updating, where it does it clientsided, holding what you change in a string, and you have to press a button to save it serversided.

wouldnt that bother if many people tried editing at once, but all only saw their clientside effects?
and then a lot of people at once sent to the server to save the tiles :megaeek:


All times are GMT +2. The time now is 11:36 PM.

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