You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a DM or ADMIN, we see " ### has just logged on for the first time." when a new user logs in.
More often than not it's a newbie, although it may also be an established player on an alternate account - but when in doubt, help!
To continue building the social nature of the game - helped by the additional setting to adjust broadcast mana, this would be a beneficial message to be seen by the players themselves, for veterans who should be meeting and greeting the newbies of Meridian, and for newbies to receive a warm welcome.
current code is below:
% Returns a running count of player's logged in time, across sessions
% Used by quest engine to check how much time a player has spent online
% since performing a quest
GetTimeLoggedIn()
{
if piLastLoginTime = 0
{
return 0;
}
poSession = session_id;
pbLogged_on = TRUE;
if piLastLoginTime = 0 AND piLast_Restart_Time = 0
{
Debug("Sending first time appeal");
Send(self,@SendFirstTimeAppeal);
}
piLastLoginTime = GetTime();
% Gotta load interface early!
Send(self,@UserLoadModule,#module=user_interface_module);
Send(self,@MsgSendUser,#message_rsc=user_logon);
Send(SYS,@SystemUserLogon,#what=self);
if NOT (IsClass(self,&DM) AND Send(self,@IsHidden)) ################### GUT IT?
{
% Advertise as normally.
Send(SYS,@SystemUserLogonAdvertise,#what=self);
}
else
{
% We don't want to be seen, except by #################
for i in Send(SYS,@GetUsersLoggedOn)
{
% Only do this for admins
if IsClass(i,&Admin)
{
Send(i,@SomeoneLogon,#what=self);
user_first_time_appeal = "### %s has just logged on for the first time."****
Request:
As a DM or ADMIN, we see " ### has just logged on for the first time." when a new user logs in.
More often than not it's a newbie, although it may also be an established player on an alternate account - but when in doubt, help!
To continue building the social nature of the game - helped by the additional setting to adjust broadcast mana, this would be a beneficial message to be seen by the players themselves, for veterans who should be meeting and greeting the newbies of Meridian, and for newbies to receive a warm welcome.
current code is below:
% Returns a running count of player's logged in time, across sessions
% Used by quest engine to check how much time a player has spent online
% since performing a quest
GetTimeLoggedIn()
{
if piLastLoginTime = 0
{
return 0;
}
}
SendFirstTimeAppeal()
{
Send(self,@UserAppeal,#first_time=TRUE);
}
UserLogon(session_id = $)
{
local i;
user_first_time_appeal = "### %s has just logged on for the first time."****
From:
Meridian59/kod/object/active/holder/nomoveon/battler/player/user.kod
The text was updated successfully, but these errors were encountered: