Aller au contenu

Photo

BootPC Crashing server


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Madasahatter

Madasahatter
  • Members
  • 111 messages
Any ideas as to why this would be crashing the server, server is running NWNX2

#2
FunkySwerve

FunkySwerve
  • Members
  • 1 308 messages
Yes. If you boot a character that's already left the server, it will crash. Use a wrapper when booting:

void DoBoot(object oPC)
{
    if (GetIsObjectValid(oPC))
    {
        BootPC(oPC);
    }
}

Funky

#3
Madasahatter

Madasahatter
  • Members
  • 111 messages
Thanks all working now