Page MenuHomeFeedback Tracker

SendLogoutTime
Feedback, UrgentPublic

Description

Can SendLogoutTime be given an Ex or a stepped void so people can add time to the logout without having to override MissionServer and not be able to call super.

Eg:

	proto native void		SendLogoutTime(Object player, int time);


void SendLogoutTimeEx(Object player, int time)
{
 SendLogoutTime(player, time);
}

So something like the following could be done.

override void SendLogoutTimeEx(Object player, int time)
{
  if (time == 0) super.SendLogoutTimeEx(player, time);

  if (player.IsInCombat())
  {
   time += (time * time);
  }
  super.SendLogoutTimeEx(player, time);
}

And change lines 575 and 600 in file...
5_mission/mission/MissionServer.c
To use Ex instead.

Details

Severity
Tweak
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
General

Event Timeline

TrueDolphin updated the task description. (Show Details)Sat, Apr 27, 2:41 PM
Geez changed the task status from New to Feedback.Mon, Apr 29, 1:56 PM