mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-11 15:04:42 +02:00
Updated Map Server namespace. Moved all other data folders (www and sql) to data folder. Renamed boot name to Project Meteor.
This commit is contained in:
parent
18ef69f3d1
commit
91549bff7a
1823 changed files with 102704 additions and 901 deletions
|
@ -0,0 +1,15 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
floorChoice = callClientFunction(player, "elevatorAskLimsa001", 0);
|
||||
|
||||
if (floorChoice == 1) then
|
||||
callClientFunction(player, "elevatorAskLimsa001", 1);
|
||||
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, -447, 40, 220, -1.574);
|
||||
elseif (floorChoice == 2) then
|
||||
callClientFunction(player, "elevatorAskLimsa001", 2);
|
||||
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, -458, 92, 175, -0.383);
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
end
|
|
@ -0,0 +1,15 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
floorChoice = callClientFunction(player, "elevatorAskLimsa002", 0);
|
||||
|
||||
if (floorChoice == 1) then
|
||||
callClientFunction(player, "elevatorAskLimsa002", 1);
|
||||
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, -447, 19, 220, -1.574);
|
||||
elseif (floorChoice == 2) then
|
||||
callClientFunction(player, "elevatorAskLimsa002", 2);
|
||||
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, -458, 92, 175, -0.383);
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
end
|
|
@ -0,0 +1,15 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
floorChoice = callClientFunction(player, "elevatorAskLimsa003", 0);
|
||||
|
||||
if (floorChoice == 1) then
|
||||
callClientFunction(player, "elevatorAskLimsa003", 1);
|
||||
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, -447, 19, 220, -1.574);
|
||||
elseif (floorChoice == 2) then
|
||||
callClientFunction(player, "elevatorAskLimsa003", 2);
|
||||
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, -447, 40, 220, -1.574);
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithAergwynt_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithBaderon_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithChantine_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithEstrilda_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithFrithuric_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithFzhumii_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithGigirya_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithGnibnpha_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithGregory_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithIsleen_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithJosias_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithKakamehi_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithKokoto_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithLaniaitte_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithLauda_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithMaunie_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "tribeTalk", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
19
Data/scripts/unique/sea0Town01/PopulaceStandard/mytesyn.lua
Normal file
19
Data/scripts/unique/sea0Town01/PopulaceStandard/mytesyn.lua
Normal file
|
@ -0,0 +1,19 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
choice = callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithInn_Desk", nil, nil, nil);
|
||||
|
||||
if (choice == 1) then
|
||||
GetWorldManager():DoZoneChange(player, 244, nil, 0, 15, -160.048, 0, -165.737, 0);
|
||||
elseif (choice == 2) then
|
||||
if (player:GetHomePointInn() ~= 1) then
|
||||
player:SetHomePointInn(1);
|
||||
player:SendGameMessage(GetWorldMaster(), 60019, 0x20, 1070); --Secondary homepoint set to the Mizzenmast
|
||||
else
|
||||
player:SendGameMessage(GetWorldMaster(), 51140, 0x20); --This inn is already your Secondary Homepoint
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithNanaka_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithStephannot_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithSweetnix_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithTirauland_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithZanthael_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultSea = GetStaticActor("DftSea");
|
||||
callClientFunction(player, "delegateEvent", player, defaultSea, "defaultTalkWithZehrymm_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEtc001");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010_2");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010_5");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010_4");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,23 @@
|
|||
require ("global")
|
||||
|
||||
function onSpawn(player, npc)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
npc:SetQuestGraphic(player, 0x2);
|
||||
end
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent020");
|
||||
man0l1Quest:NextPhase(3);
|
||||
player:EndEvent();
|
||||
GetWorldManager():DoZoneChange(player, 133, nil, 0, 15, player.positionX, player.positionY, player.positionZ, player.rotation);
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010_7");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010_6");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010_7");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEtc003");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010_3");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEtc002");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010_8");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue