mirror of
https://github.com/SoDOff-Project/sodoff-mmo.git
synced 2025-10-11 08:18:49 -07:00
LIMBO related fixes
This commit is contained in:
parent
eb4fc7df40
commit
bfea453118
@ -1,11 +1,6 @@
|
|||||||
using sodoffmmo.Attributes;
|
using sodoffmmo.Attributes;
|
||||||
using sodoffmmo.Core;
|
using sodoffmmo.Core;
|
||||||
using sodoffmmo.Data;
|
using sodoffmmo.Data;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace sodoffmmo.CommandHandlers
|
namespace sodoffmmo.CommandHandlers
|
||||||
{
|
{
|
||||||
@ -15,8 +10,7 @@ namespace sodoffmmo.CommandHandlers
|
|||||||
public override Task Handle(Client client, NetworkObject receivedObject)
|
public override Task Handle(Client client, NetworkObject receivedObject)
|
||||||
{
|
{
|
||||||
// set client room to limbo
|
// set client room to limbo
|
||||||
Room limbo = Room.GetOrAdd("LIMBO");
|
client.SetRoom(Room.GetOrAdd("LIMBO"));
|
||||||
if (limbo != null) client.SetRoom(limbo);
|
|
||||||
|
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
}
|
}
|
||||||
|
@ -49,18 +49,6 @@ class LoginHandler : CommandHandler
|
|||||||
r2.Add(WorldEvent.Get().EventInfoArray(true));
|
r2.Add(WorldEvent.Get().EventInfoArray(true));
|
||||||
rl.Add(r2);
|
rl.Add(r2);
|
||||||
|
|
||||||
NetworkArray r3 = new();
|
|
||||||
r3.Add(2);
|
|
||||||
r3.Add("LIMBO");
|
|
||||||
r3.Add("default");
|
|
||||||
r3.Add(false);
|
|
||||||
r3.Add(false);
|
|
||||||
r3.Add(false);
|
|
||||||
r3.Add((short)31);
|
|
||||||
r3.Add((short)10000);
|
|
||||||
r3.Add(new NetworkArray());
|
|
||||||
rl.Add(r3);
|
|
||||||
|
|
||||||
NetworkObject content = new();
|
NetworkObject content = new();
|
||||||
content.Add("rl", rl);
|
content.Add("rl", rl);
|
||||||
content.Add("zn", client.PlayerData.ZoneName);
|
content.Add("zn", client.PlayerData.ZoneName);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user