mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-25 06:07:46 +00:00
another attempt to get opening fight working (client hangs after talking to yda for second time for some reason..)
This commit is contained in:
parent
ba8184db89
commit
56491266cc
2 changed files with 31 additions and 15 deletions
|
@ -128,7 +128,7 @@ namespace FFXIVClassic_Map_Server.actors.director
|
||||||
((GuildleveDirector)this).LoadGuildleve();
|
((GuildleveDirector)this).LoadGuildleve();
|
||||||
}
|
}
|
||||||
|
|
||||||
StartCoroutine("main", this);
|
CallLuaScript("main", this, contentGroup);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void StartContentGroup()
|
public void StartContentGroup()
|
||||||
|
@ -314,8 +314,5 @@ namespace FFXIVClassic_Map_Server.actors.director
|
||||||
DynValue value = coroutine.Resume(args2);
|
DynValue value = coroutine.Resume(args2);
|
||||||
LuaEngine.GetInstance().ResolveResume(player, coroutine, value);
|
LuaEngine.GetInstance().ResolveResume(player, coroutine, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -22,23 +22,35 @@ function onCreateContentArea(players, director, contentArea, contentGroup)
|
||||||
mob3 = GetWorldManager():SpawnBattleNpcById(5, contentArea);
|
mob3 = GetWorldManager():SpawnBattleNpcById(5, contentArea);
|
||||||
|
|
||||||
local added = false;
|
local added = false;
|
||||||
for _, player in pairs(players) do
|
for i = 0, players.Count do
|
||||||
|
local player = players[i];
|
||||||
if player.currentParty and not added then
|
if player.currentParty and not added then
|
||||||
player.currentParty.AddMember(yshtola);
|
player.currentParty.members.Add(6);
|
||||||
player.currentParty.AddMember(stahlmann);
|
print("cunt")
|
||||||
|
player.currentParty.members.Add(7);
|
||||||
|
print("dickbag")
|
||||||
added = true;
|
added = true;
|
||||||
end;
|
end;
|
||||||
-- dont let player die
|
-- dont let player die
|
||||||
player.SetModifier(modifiersGlobal.MinimumHpLock, 1);
|
player.SetMod(modifiersGlobal.MinimumHpLock, 1);
|
||||||
|
print("shittttt")
|
||||||
contentGroup:AddMember(player);
|
contentGroup:AddMember(player);
|
||||||
|
player:EndEvent();
|
||||||
|
i = i + 1;
|
||||||
end;
|
end;
|
||||||
|
print("shit")
|
||||||
contentGroup:AddMember(director);
|
contentGroup:AddMember(director);
|
||||||
|
print("shit2");
|
||||||
contentGroup:AddMember(yshtola);
|
contentGroup:AddMember(yshtola);
|
||||||
|
print("shit3")
|
||||||
contentGroup:AddMember(stahlmann);
|
contentGroup:AddMember(stahlmann);
|
||||||
contentGroup:AddMember(mob1);
|
print("shit4")
|
||||||
contentGroup:AddMember(mob2);
|
contentGroup:AddMember(mob1);
|
||||||
contentGroup:AddMember(mob3);
|
print("shit5")
|
||||||
|
contentGroup:AddMember(mob2);
|
||||||
|
print("shit6")
|
||||||
|
contentGroup:AddMember(mob3);
|
||||||
|
print("dicks")
|
||||||
end
|
end
|
||||||
|
|
||||||
function onEventStarted(player, actor, triggerName)
|
function onEventStarted(player, actor, triggerName)
|
||||||
|
@ -62,7 +74,7 @@ function onEventStarted(player, actor, triggerName)
|
||||||
|
|
||||||
man0g0Quest:NextPhase(6);
|
man0g0Quest:NextPhase(6);
|
||||||
closeTutorialWidget(player);
|
closeTutorialWidget(player);
|
||||||
|
print("ass")
|
||||||
--[[
|
--[[
|
||||||
IF DoW:
|
IF DoW:
|
||||||
OpenWidget (TP)
|
OpenWidget (TP)
|
||||||
|
@ -84,6 +96,7 @@ function onEventStarted(player, actor, triggerName)
|
||||||
end
|
end
|
||||||
|
|
||||||
function onUpdate(deltaTime, area)
|
function onUpdate(deltaTime, area)
|
||||||
|
print("fuck")
|
||||||
end
|
end
|
||||||
|
|
||||||
function onTalkEvent(player, npc)
|
function onTalkEvent(player, npc)
|
||||||
|
@ -102,3 +115,9 @@ end
|
||||||
|
|
||||||
function onCommand(player, command)
|
function onCommand(player, command)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function main(director, contentGroup)
|
||||||
|
print("shitstain")
|
||||||
|
onCreateContentArea(director:GetPlayerMembers(), director, director:GetZone(), contentGroup);
|
||||||
|
player:EndEvent();
|
||||||
|
end;
|
Loading…
Add table
Reference in a new issue