Graal Forums

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

screen_name 08-28-2002 01:26 PM

._______.
 
I would like to be able to edit player attributes even when they are offline.

So whenever a player logs off I could warp them to a certain level.


X.x

Max-imus 08-28-2002 02:39 PM

Re: ._______.
 
Quote:

Originally posted by screen_name
I would like to be able to edit player attributes even when they are offline.

So whenever a player logs off I could warp them to a certain level.


X.x

Do you mean with a script? Because you can already do that with a RC.

screen_name 08-28-2002 02:51 PM

Re: Re: ._______.
 
Quote:

Originally posted by Max-imus


Do you mean with a script? Because you can already do that with a RC.

Oh, yeah. I should specified.

I mean for scripting.

Poogle 08-28-2002 06:39 PM

ugh u can do offline people with rc and u can with scripting x.x

screen_name 08-29-2002 12:19 AM

In the npcserver document, it says that if you use with (getplayer(accountname)) and the player isn't online, then nothing inside will be executed.

I want it to automatically edit the player's attributes when they log off, I don't want to sit there in RC doing it whenever someone logs off.

Falcor 08-29-2002 12:45 AM

Will it make a different if you warp the person when they log on? =\

Com013 08-29-2002 05:21 PM

Editing offline players using a script would be nice.
It would make a voting system very simple.
I once thought of making a voting system, where every player has one vote and a string-flag saving the number of votes he got...so every time somebody voted for you, your number of votes should increase no matter whether you are on- or offline.

Tyhm 08-30-2002 03:31 AM

It is possible to have a server string storing what changes you want to make to what accounts, then have a system scan that string on logon, if the account matches up, do that action and delete that part of the string...but it's too much hassle, and I'm pretty sure you can't generally unset #t(1); as easy as that.

Graal2001_LAT 08-30-2002 11:52 AM

Quote:

Originally posted by Falcor
Will it make a different if you warp the person when they log on? =\
Maybe they won't be on, and they want the person to be in that level. Think cucumber think.

G_yoshi 08-30-2002 01:13 PM

NPC Code:
if (!playeronline && strequals(#a,<account>)) {
setstring server.<string>,true;
} else if (playeronline && strequals(#a,<account)) {
if (#s(server.<string>)==true) {
with (getplayer(<account>)) {
setlevel2 <level>,<x>,<y>;
}
}


would something like that work?

Falcor 08-30-2002 10:28 PM

Quote:

Originally posted by Graal2001_LAT

Maybe they won't be on, and they want the person to be in that level. Think cucumber think.

But if they aren't online, in reality they aren't in ANY level, just their account references them to the last level they were at prior to log off. Its not like they can do anything from offline anyhow.

screen_name 08-31-2002 08:51 AM

the whole actionplayeronline is fine and dandy, but it just takes about 5 seconds to load properlly, which I really don't like for what is needed

:(


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

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