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:
Filip Maj 2019-06-19 01:10:15 -04:00
parent 18ef69f3d1
commit 91549bff7a
1823 changed files with 102704 additions and 901 deletions

View file

@ -0,0 +1,54 @@
require ("global")
require ("guildleve")
--DirectorId, GuildleveId, Aetheryte Location (6 or ~6), exMarkerX, exMarkerY, exMarkerZ
--22: Limsa Battle Leve
--14: Gridania Battle Leve
--26: Uldah Battle Leve
--16: Coerthas Faction Leve
--72: Harvest Leve
function init(thisDirector)
return "/Director/Guildleve/PrivateGLBattleSweepNormal", 0x4e25, thisDirector.guildleveId, 6, 0, 0, 0;
end
function main(thisDirector)
guildleveData = GetGuildleveGamedata(thisDirector.guildleveId);
members = thisDirector:GetPlayerMembers();
if (members ~= nil and #members ~= 0) then
player = members[0];
player:SendGameMessage(GetWorldMaster(), 50036, 0x20, thisDirector.guildleveId, player, 0); --"You have started the leve..."
player:PlayAnimation(getGLStartAnimationFromSheet(guildleveData.borderId, guildleveData.plateId, false));
end
wait(3);
thisDirector:StartGuildleve();
thisDirector:SyncAllInfo();
thisDirector:UpdateMarkers(0, 59.0, 44.0, -163.0);
if (members ~= nil and #members ~= 0) then
player = members[0];
player:ChangeMusic(22);
attentionMessage(player, 50022, thisDirector.guildleveId, thisDirector.selectedDifficulty, 0);
player:SendGameMessage(GetWorldMaster(), 50026, 0x20, guildleveData.timeLimit);
end
wait(5);
thisDirector:UpdateAimNumNow(0, 1);
wait(3);
thisDirector:UpdateAimNumNow(0, 2);
wait(3);
thisDirector:UpdateAimNumNow(0, 3);
end
function attentionMessage(player, textId, ...)
player:SendGameMessage(GetWorldMaster(), textId, 0x20, ...);
player:SendDataPacket("attention", GetWorldMaster(), "", textId, ...);
end

View file

@ -0,0 +1,32 @@
require ("global")
require ("guildleve")
--DirectorId, GuildleveId, Aetheryte Location (6 or ~6), exMarkerX, exMarkerY, exMarkerZ
--22: Limsa Battle Leve
--14: Gridania Battle Leve
--26: Uldah Battle Leve
--16: Coerthas Faction Leve
--72: Harvest Leve
function init(thisDirector)
return "/Director/Guildleve/PrivateGLBattleChaseNormal", 0x4e25, thisDirector.guildleveId, 6, 0, 0, 0;
end
function main(thisDirector)
wait(3);
thisDirector:StartGuildleve();
thisDirector:SyncAllInfo();
thisDirector:UpdateMarkers(0, 59.0, 44.0, -163.0);
wait(5);
thisDirector:UpdateAimNumNow(0, 1);
wait(3);
thisDirector:UpdateAimNumNow(0, 2);
wait(3);
thisDirector:UpdateAimNumNow(0, 3);
end

View file

@ -0,0 +1,32 @@
require ("global")
require ("guildleve")
--DirectorId, GuildleveId, Aetheryte Location (6 or ~6), exMarkerX, exMarkerY, exMarkerZ
--22: Limsa Battle Leve
--14: Gridania Battle Leve
--26: Uldah Battle Leve
--16: Coerthas Faction Leve
--72: Harvest Leve
function init(thisDirector)
return "/Director/Guildleve/PrivateGLBattleDetectNormal", 0x4e25, thisDirector.guildleveId, 6, 0, 0, 0;
end
function main(thisDirector)
wait(3);
thisDirector:StartGuildleve();
thisDirector:SyncAllInfo();
thisDirector:UpdateMarkers(0, 59.0, 44.0, -163.0);
wait(5);
thisDirector:UpdateAimNumNow(0, 1);
wait(3);
thisDirector:UpdateAimNumNow(0, 2);
wait(3);
thisDirector:UpdateAimNumNow(0, 3);
end

View file

@ -0,0 +1,26 @@
require ("global")
require ("guildleve")
--DirectorId, GuildleveId
function init()
return "/Director/Guildleve/PrivateGLBattleGatherNormal", 0x4e25, thisDirector.guildleveId, 6, 0, 0, 0;
end
function main(thisDirector)
wait(3);
thisDirector:StartGuildleve();
thisDirector:SyncAllInfo();
thisDirector:UpdateMarkers(0, 59.0, 44.0, -163.0);
wait(5);
thisDirector:UpdateAimNumNow(0, 1);
wait(3);
thisDirector:UpdateAimNumNow(0, 2);
wait(3);
thisDirector:UpdateAimNumNow(0, 3);
end

View file

@ -0,0 +1,32 @@
require ("global")
require ("guildleve")
--DirectorId, GuildleveId, Aetheryte Location (6 or ~6), exMarkerX, exMarkerY, exMarkerZ
--22: Limsa Battle Leve
--14: Gridania Battle Leve
--26: Uldah Battle Leve
--16: Coerthas Faction Leve
--72: Harvest Leve
function init(thisDirector)
return "/Director/Guildleve/PrivateGLBattleHuntNormal", 0x4e25, thisDirector.guildleveId, 6, 0, 0, 0;
end
function main(thisDirector)
wait(3);
thisDirector:StartGuildleve();
thisDirector:SyncAllInfo();
thisDirector:UpdateMarkers(0, 59.0, 44.0, -163.0);
wait(5);
thisDirector:UpdateAimNumNow(0, 1);
wait(3);
thisDirector:UpdateAimNumNow(0, 2);
wait(3);
thisDirector:UpdateAimNumNow(0, 3);
end

View file

@ -0,0 +1,42 @@
require ("global")
require ("guildleve")
--DirectorId, GuildleveId, Aetheryte Location (6 or ~6), exMarkerX, exMarkerY, exMarkerZ
--22: Limsa Battle Leve
--14: Gridania Battle Leve
--26: Uldah Battle Leve
--16: Coerthas Faction Leve
--72: Harvest Leve
function init(thisDirector)
return "/Director/Guildleve/PrivateGLBattleOrbNormal", 0x4e25, thisDirector.guildleveId, 6, 0, 0, 0;
end
function main(thisDirector)
wait(3);
thisDirector:StartGuildleve();
thisDirector:SyncAllInfo();
thisDirector:UpdateMarkers(0, 59.0, 44.0, -163.0);
wait(5);
thisDirector:UpdateAimNumNow(0, 1);
wait(3);
thisDirector:UpdateAimNumNow(0, 2);
wait(3);
thisDirector:UpdateAimNumNow(0, 3);
wait(3);
thisDirector:UpdateAimNumNow(0, 4);
wait(2);
thisDirector:EndGuildleve(true);
wait(30);
player:SendGameMessage(GetWorldMaster(), 50033, 0x20);
thisDirector:EndDirector();
end

View file

@ -0,0 +1,32 @@
require ("global")
require ("guildleve")
--DirectorId, GuildleveId, Aetheryte Location (6 or ~6), exMarkerX, exMarkerY, exMarkerZ
--22: Limsa Battle Leve
--14: Gridania Battle Leve
--26: Uldah Battle Leve
--16: Coerthas Faction Leve
--72: Harvest Leve
function init(thisDirector)
return "/Director/Guildleve/PrivateGLBattleRoundNormal", 0x4e25, thisDirector.guildleveId, 6, 0, 0, 0;
end
function main(thisDirector)
wait(3);
thisDirector:StartGuildleve();
thisDirector:SyncAllInfo();
thisDirector:UpdateMarkers(0, 59.0, 44.0, -163.0);
wait(5);
thisDirector:UpdateAimNumNow(0, 1);
wait(3);
thisDirector:UpdateAimNumNow(0, 2);
wait(3);
thisDirector:UpdateAimNumNow(0, 3);
end

View file

@ -0,0 +1,32 @@
require ("global")
require ("guildleve")
--DirectorId, GuildleveId, Aetheryte Location (6 or ~6), exMarkerX, exMarkerY, exMarkerZ
--22: Limsa Battle Leve
--14: Gridania Battle Leve
--26: Uldah Battle Leve
--16: Coerthas Faction Leve
--72: Harvest Leve
function init(thisDirector)
return "/Director/Guildleve/PrivateGLBattleSurviveNormal", 0x4e25, thisDirector.guildleveId, 6, 0, 0, 0;
end
function main(thisDirector)
wait(3);
thisDirector:StartGuildleve();
thisDirector:SyncAllInfo();
thisDirector:UpdateMarkers(0, 59.0, 44.0, -163.0);
wait(5);
thisDirector:UpdateAimNumNow(0, 1);
wait(3);
thisDirector:UpdateAimNumNow(0, 2);
wait(3);
thisDirector:UpdateAimNumNow(0, 3);
end

View file

@ -0,0 +1,35 @@
require ("global")
require ("guildleve")
--DirectorId, GuildleveId, Aetheryte Location (6 or ~6), exMarkerX, exMarkerY, exMarkerZ
--22: Limsa Battle Leve
--14: Gridania Battle Leve
--26: Uldah Battle Leve
--16: Coerthas Faction Leve
--72: Harvest Leve
function init(thisDirector)
return "/Director/Guildleve/PrivateGLBattleSweepNormal", 0x4e25, thisDirector.guildleveId, 6, 0, 0, 0;
end
function main(thisDirector)
wait(3);
thisDirector:StartGuildleve();
thisDirector:SyncAllInfo();
thisDirector:UpdateMarkers(0, 59.0, 44.0, -163.0);
wait(5);
thisDirector:UpdateAimNumNow(0, 1);
wait(3);
thisDirector:UpdateAimNumNow(0, 2);
wait(3);
thisDirector:UpdateAimNumNow(0, 3);
wait(3);
thisDirector:EndGuildleve(true);
end

View file

@ -0,0 +1,48 @@
require ("global")
require ("guildleve")
--DirectorId, GuildleveId, Aetheryte Location (6 or ~6), exMarkerX, exMarkerY, exMarkerZ
--50101: This is a tutorial covering regional levequests for Disciples of War and Disciples of Magic.
--50102: The general location of your target can be determined by using the minimap.
--50105: Your target is nearby. Proceed with the levequest objectives.
--50107: This levequest asks that you exterminate a total of [@VALUE($E8(1))] targets. Try finding the next one.
--50110: Defeating targets will sometimes earn you experience points.
--50112: An aetherial node will appear when levequest objectives have been met. Try approaching it.
--50114: Use the node to collect your reward and teleport back to the starting location of the levequest.
--22: Limsa Battle Leve
--14: Gridania Battle Leve
--26: Uldah Battle Leve
--16: Coerthas Faction Leve
--72: Harvest Leve
function init(thisDirector)
return "/Director/Guildleve/PrivateGLBattleTutorial", 0x4e25, thisDirector.guildleveId, 6, 0, 0, 0;
end
function main(thisDirector)
wait(3);
thisDirector:StartGuildleve();
thisDirector:SyncAllInfo();
thisDirector:UpdateMarkers(0, 59.0, 44.0, -163.0);
wait(5);
thisDirector:UpdateAimNumNow(0, 1);
wait(3);
thisDirector:UpdateAimNumNow(0, 2);
wait(3);
thisDirector:UpdateAimNumNow(0, 3);
wait(3);
thisDirector:EndGuildleve(true);
end
function attentionMessage(player, textId, ...)
player:SendGameMessage(GetWorldMaster(), textId, 0x20, args);
player:SendDataPacket("attention", GetWorldMaster(), "", textId, args);
end