Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Update level with NPC Server (https://forums.graalonline.com/forums/showthread.php?t=134261706)

Twaina 01-16-2011 06:51 PM

Update level with NPC Server
 
SO i made a level thats update evry 1 minute but i cant go in the level evrytime so i ask can i make a NPC so that with the script the NPC server update the level Thanks :/

__________________________
:noob:

fowlplay4 01-16-2011 06:54 PM

You can but updating the level every minute is not a proper solution for your problem.

What are you trying to do?

This example script will run every minute:

PHP Code:

function onCreated() {
  
this.0;
  
onTimeout();
}

function 
onTimeout() {
  
this.i++;
  echo(
this.i);
  
setTimer(60);



Twaina 01-16-2011 07:04 PM

ok but evry minute update the NPC server the level automaticly

Twaina 01-16-2011 07:05 PM

that i mean

nullify 01-16-2011 07:25 PM

I sure glad Twaina is trying to learn.

LoneAngelIbesu 01-16-2011 11:27 PM

Why do you need to update a level every minute?

Skyld 01-16-2011 11:30 PM

Quote:

Originally Posted by Twaina (Post 1623201)
SO i made a level thats update evry 1 minute but i cant go in the level evrytime so i ask can i make a NPC so that with the script the NPC server update the level Thanks :/

__________________________
:noob:

You absolutely should not update the level every minute. In fact, the NPC-Server should not be updating levels automatically regardless.

What do you mean you can't go in the level every time? That sounds like a deeper problem.

Twaina 01-17-2011 03:43 AM

no the NPC server update the level automaticly with a script evry minute
(i am germn sowwe)

xXziroXx 01-17-2011 05:04 AM

Quote:

Originally Posted by Twaina (Post 1623356)
no the NPC server update the level automaticly with a script evry minute

Yeah and you should NEVER do that. :\

fowlplay4 01-17-2011 06:15 AM

Time to rephrase the question... It's exactly like Sonnfel and Valtor all over again...

Why do you need to update the level every minute?

Jiroxys7 01-17-2011 04:11 PM

Quote:

Originally Posted by fowlplay4 (Post 1623401)
Time to rephrase the question... It's exactly like Sonnfel and Valtor all over again...

Why do you need to update the level every minute?

Let me take a crack at this..

I think he's saying that he can't normally enter the level unless he updates it first. To this respect, automatically updating the level would serve as a fix.

But if this is the case, it sounds like it might be a folderconfig or filebrowser problem.

NicoX 01-17-2011 05:39 PM

Maybe he uploaded the Level in a wrong folder ??

Liberated 01-17-2011 05:57 PM

Quote:

Originally Posted by MattKan (Post 1623561)
I'm going to point out Twaina is a she. :p

Well there's your problem.

RegretZ 01-17-2011 06:04 PM

Quote:

Originally Posted by Liberated (Post 1623562)
Well there's your problem.

There are computers in the kitchen?

I keed, I keed. ;)

Twaina 01-17-2011 06:52 PM

1..iam a she


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

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