mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
"Seeing the Seers" quest etc3g0 scripted, no reward handling currently. Requires actor "Nellaure" (http://ffxiv.gamerescape.com/w/index.php?title=Nellaure) to be added in. Hangs out in back-right corner of Carpenter's Guild.
Added a quest completion check to etc5g0.lua to prevent it showing "!" on quest-givers' head when you've cleared the quest already. Fixed regression on select GM commands, !warp instant-warps within same zone again, !mypos reports to the thousandths place, !speed command works with one argument again.
This commit is contained in:
parent
4bb222a47a
commit
3145ec5663
11 changed files with 363 additions and 54 deletions
|
@ -16,7 +16,7 @@ function onTrigger(player)
|
|||
|
||||
local messageID = MESSAGE_TYPE_SYSTEM_ERROR;
|
||||
local sender = "[mypos] ";
|
||||
local message = string.format("current position X:%d Y:%d Z:%d (Rotation: %d) Zone:%d", x, y, z, rot, zone);
|
||||
local message = string.format("X:%.3f Y:%.3f Z:%.3f (Rotation: %.3f) Zone:%d", x, y, z, rot, zone);
|
||||
|
||||
player:SendMessage(messageID, sender, message);
|
||||
end;
|
|
@ -8,6 +8,11 @@ function onTrigger(player, argc, stop, walk, run)
|
|||
stop = tonumber(stop) or 0;
|
||||
walk = tonumber(walk) or 2;
|
||||
run = tonumber(run) or 5;
|
||||
|
||||
player:ChangeSpeed(stop, walk, run, run);
|
||||
end;
|
||||
if argc == 3 then
|
||||
player:ChangeSpeed(stop, walk, run, run);
|
||||
elseif argc == 1 then
|
||||
player:ChangeSpeed(0, stop/2, stop, stop);
|
||||
else
|
||||
player:ChangeSpeed(0,2,5,5);
|
||||
end
|
||||
end
|
|
@ -53,7 +53,7 @@ function onTrigger(player, argc, p1, p2, p3, p4, privateArea, name, lastName)
|
|||
local z = tonumber(applyPositionOffset(p3, player_z)) or player_z;
|
||||
|
||||
player:SendMessage(messageID, sender, string.format("setting coordinates X:%d Y:%d Z:%d within current zone (%d)", x, y, z, player_zone));
|
||||
worldManager:DoPlayerMoveInZone(player, x, y, z, 0x0F);
|
||||
worldManager:DoPlayerMoveInZone(player, x, y, z, player_rot, 0x00);
|
||||
else
|
||||
local zone = tonumber(applyPositionOffset(p1, player_zone)) or player_zone;
|
||||
local x = tonumber(applyPositionOffset(p2, player_x)) or player_x;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue