Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   savelog2 (https://forums.graalonline.com/forums/showthread.php?t=24699)

Cybnext_Design 02-27-2002 01:25 PM

savelog2
 
I was thinking maybe adding the command savelog2:

savelog2 textfilename,<what to be saved in log>;

savelog is nice, but it saves in the nc-log and sometimes can be hard to find little logs in there.

Faheria_LAT3 02-27-2002 01:36 PM

S I L V E R:
Very good idea :cool:

Saga2001 02-28-2002 12:18 AM

VERY good idea. ;)

TDK_RC6 02-28-2002 04:15 AM

savelog??

what is the syntax for that??

Cybnext_Design 02-28-2002 08:43 AM

Quote:

Originally posted by TDK_RC6
savelog??

what is the syntax for that??

savelog <text to be saved in nc-log.txt

Example:

NPC Code:

savelog -hat: #v(hat) at [#v(dropx),#v(dropy)] in #L from #a;


amonrabr 02-28-2002 09:06 PM

Its cool to see who is the hacker and all, but I think that its too laggy

Saga2001 03-01-2002 12:56 AM

Quote:

Originally posted by amonrabr
Its cool to see who is the hacker and all, but I think that its too laggy
laggy?

Faheria_LAT3 03-01-2002 01:00 AM

Quote:

Originally posted by amonrabr
Its cool to see who is the hacker and all, but I think that its too laggy
SI LV ER:
huh, where are you from? It's to keep track of things such as gralats or items or chat text (see Falados' chat npc on Fah ;p). It doesnt lag...

Saga2001 03-01-2002 01:07 AM

Quote:

Originally posted by Faheria_LAT3


SI LV ER:
huh, where are you from? It's to keep track of things such as gralats or items or chat text (see Falados' chat npc on Fah ;p). It doesnt lag...

don't worry, hes just on crack...

Faheria_LAT3 03-01-2002 02:09 AM

Quote:

Originally posted by Saga2001


don't worry, hes just on crack...

Ah... ok ;p

TDK_RC6 03-01-2002 04:33 AM

thats awesome

Saga2001 03-01-2002 06:40 AM

Quote:

Originally posted by TDK_RC6
thats awesome
hell yes!

amonrabr 03-01-2002 08:46 PM

:rolleyes:
Server Lag.. Do u know the time until the server give u a message from a sign and all? it will be bigger..
There is one more thing to comunicate with the server, so there will be 1k people posting logs all the time..

TDK_RC6 03-01-2002 09:30 PM

Quote:

Originally posted by amonrabr
:rolleyes:
Server Lag.. Do u know the time until the server give u a message from a sign and all? it will be bigger..
There is one more thing to comunicate with the server, so there will be 1k people posting logs all the time..

why do they take so long to show up??


if it will work better, i'll just use a npc and say2 :P

Loriel 03-01-2002 11:45 PM

Re: savelog2
 
Quote:

Originally posted by Cybnext_Design
I was thinking maybe adding the command savelog2:
savelog2 textfilename,<what to be saved in log>;
savelog is nice, but it saves in the nc-log and sometimes can be hard to find little logs in there.

Pretty good idea, but everybody else already had it, I guess.

Python523 03-02-2002 05:20 AM

Quote:

Originally posted by amonrabr
:rolleyes:
Server Lag.. Do u know the time until the server give u a message from a sign and all? it will be bigger..
There is one more thing to comunicate with the server, so there will be 1k people posting logs all the time..

The NPC Server isn't laggy unless the scripts make it laggy, lag time was non existance when I tested savelog on providence

amonrabr 03-02-2002 06:18 AM

Quote:

Originally posted by Python523

The NPC Server isn't laggy unless the scripts make it laggy, lag time was non existance when I tested savelog on providence

I dunno, it the samething that a chat.. or setting strings all the time with "savelog2 textfilename,<what to be saved in log>;"

Python523 03-02-2002 06:31 AM

It's not laggy at all, adding an extra line that saves it to a different file wont do anything, you may not know this but the NPC Server is contantly opening txt files to record the player count, the players online with there positions, the server online time, and a few other things. It does all this without lag

Cybnext_Design 03-02-2002 07:10 AM

Quote:

Originally posted by amonrabr


I dunno, it the samething that a chat.. or setting strings all the time with "savelog2 textfilename,<what to be saved in log>;"

It wouldn't be used for saving chat conversations. It would be mostly used for NPC actions. Like there is a hat log on Graal2001 and uses savelog.

amonrabr 03-02-2002 07:59 AM

Quote:

Originally posted by Cybnext_Design


It wouldn't be used for saving chat conversations. It would be mostly used for NPC actions. Like there is a hat log on Graal2001 and uses savelog.

Yap but its the same thing if I use:
setstring server.log[i], #a used #w - #s(day)..........
but i dont wanna see alot of "logs" in my Pw, so Stefan could make a " log.flag"
The sameway that the server flags are saved in a txt file, log.flag woud be too...

so? ........ more lag..

Python523 03-02-2002 08:50 AM

Quote:

Originally posted by amonrabr


Yap but its the same thing if I use:
setstring server.log[i], #a used #w - #s(day)..........
but i dont wanna see alot of "logs" in my Pw, so Stefan could make a " log.flag"
The sameway that the server flags are saved in a txt file, log.flag woud be too...

so? ........ more lag..

Not really, the NPC Server runs so much faster than the normal free server

Cybnext_Design 03-02-2002 09:06 AM

Quote:

Originally posted by amonrabr


Yap but its the same thing if I use:
setstring server.log[i], #a used #w - #s(day)..........
but i dont wanna see alot of "logs" in my Pw, so Stefan could make a " log.flag"
The sameway that the server flags are saved in a txt file, log.flag woud be too...

so? ........ more lag..

There would be no lag at all. Seeing as you think there will be, please elaborate. Its not constantly saving logs of anything, just certain little things. I believe it is mostly used for item logs.

Spanko 03-04-2002 08:33 PM

Whoo, I didn't know that, I just thought it added a little text to someones alt+0 log.

konidias 03-16-2002 04:09 AM

*Update* Stefan added this command :)

savelog2 tradelog.txt, Trade: #s(this.seller) sold #v(this.count) #s(this.typename)(s) to #s(this.buyer) for #v(this.price);

Slaktmaster 03-16-2002 05:41 AM

Great, time for <3!

ZORG1986 03-16-2002 06:06 AM

Quote:

Originally posted by amonrabr
:rolleyes:
Server Lag.. Do u know the time until the server give u a message from a sign and all? it will be bigger..
There is one more thing to comunicate with the server, so there will be 1k people posting logs all the time..

Erm no it wouldn't savelog is a server side command, so would be done by NPCs already running on the server meaning it would take up no bandwidth what so ever only a small part of the server's proccessor (about 0.0001 seconds to write to a txt file) which im pretty sure Unixmad's servers could handle. If savelog2 was added the time to read a sign would not change at all.

amonrabr 03-16-2002 08:53 AM

Quote:

Originally posted by ZORG1986

Erm no it wouldn't savelog is a server side command, so would be done by NPCs already running on the server meaning it would take up no bandwidth what so ever only a small part of the server's proccessor (about 0.0001 seconds to write to a txt file) which im pretty sure Unixmad's servers could handle. If savelog2 was added the time to read a sign would not change at all.

Its not what he was saying.. he said that it should be:

savelog -hat: #v(hat) at [#v(dropx),#v(dropy)] in #L from #a;
You can say what it will save...
So there is a connecting Server-player...


All times are GMT +2. The time now is 10:46 PM.

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