mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
fixed method casing in lua
This commit is contained in:
@@ -25,14 +25,14 @@ function init(npc)
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
player:runEventFunction("eventTalkType", 0x30, true, 0x02CE, 0x356, 0x367, true, 0, nil, 0x29, 0,0,0);
|
||||
player:RunEventFunction("eventTalkType", 0x30, true, 0x02CE, 0x356, 0x367, true, 0, nil, 0x29, 0,0,0);
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, step, menuOptionSelected)
|
||||
--player:runEventFunction("eventTalkType", 0x32, true, 0x02CE, 0x356, 0x367, false, 2, nil, 0x29, 0,0,0);
|
||||
player:runEventFunction("eventTalkPack", 201, 207);
|
||||
--player:runEventFunction("eventTalkCard", 0x30C3, 0x30C4, 0x30C1, 0x30C5, 0x30C6, 0x30C7, 0x30C8, 0x30C9);
|
||||
--player:runEventFunction("eventTalkDetail", 0x30C4, 2, 0xF4242, 0xD, 0xF4242, 0, 0xFF, true, 11);
|
||||
--player:runEventFunction("eventGLChangeDetail", 0xDEAD, 0x30C4, 0xFF, 0xF4242, 0xD, 0xF4242, 0, 2, true);
|
||||
player:endEvent();
|
||||
--player:RunEventFunction("eventTalkType", 0x32, true, 0x02CE, 0x356, 0x367, false, 2, nil, 0x29, 0,0,0);
|
||||
player:RunEventFunction("eventTalkPack", 201, 207);
|
||||
--player:RunEventFunction("eventTalkCard", 0x30C3, 0x30C4, 0x30C1, 0x30C5, 0x30C6, 0x30C7, 0x30C8, 0x30C9);
|
||||
--player:RunEventFunction("eventTalkDetail", 0x30C4, 2, 0xF4242, 0xD, 0xF4242, 0, 0xFF, true, 11);
|
||||
--player:RunEventFunction("eventGLChangeDetail", 0xDEAD, 0x30C4, 0xFF, 0xF4242, 0xD, 0xF4242, 0, 2, true);
|
||||
player:EndEvent();
|
||||
end
|
@@ -4,25 +4,25 @@ end
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
isNew = false;
|
||||
player:runEventFunction("eventTalkStep1", isNew);
|
||||
player:RunEventFunction("eventTalkStep1", isNew);
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
|
||||
|
||||
if (menuOptionSelected == nil) then
|
||||
player:endEvent();
|
||||
player:EndEvent();
|
||||
return;
|
||||
end
|
||||
|
||||
isNew = false;
|
||||
if (menuOptionSelected == 1) then
|
||||
player:runEventFunction("eventTalkStep2", isNew);
|
||||
player:RunEventFunction("eventTalkStep2", isNew);
|
||||
elseif (menuOptionSelected == 10) then
|
||||
player:endEvent();
|
||||
player:EndEvent();
|
||||
return;
|
||||
elseif (menuOptionSelected == 3) then
|
||||
--createLinkshell
|
||||
player:runEventFunction("eventTalkStepMakeupDone", isNew);
|
||||
player:RunEventFunction("eventTalkStepMakeupDone", isNew);
|
||||
end
|
||||
|
||||
end
|
@@ -28,10 +28,10 @@ function init(npc)
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
player:runEventFunction("talkOfferWelcome", player, 1);
|
||||
player:RunEventFunction("talkOfferWelcome", player, 1);
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
|
||||
--player:runEventFunction("askOfferQuest", player, 1000);
|
||||
player:endEvent();
|
||||
--player:RunEventFunction("askOfferQuest", player, 1000);
|
||||
player:EndEvent();
|
||||
end
|
@@ -4,10 +4,10 @@ function init(npc)
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
player:sendMessage(0x20, "", "This PopulaceStandard actor has no event set. Actor Class Id: " .. tostring(npc:getActorClassId()));
|
||||
player:endEvent();
|
||||
player:SendMessage(0x20, "", "This PopulaceStandard actor has no event set. Actor Class Id: " .. tostring(npc:GetActorClassId()));
|
||||
player:EndEvent();
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, blah, menuSelect)
|
||||
player:endEvent();
|
||||
player:EndEvent();
|
||||
end
|
@@ -3,13 +3,13 @@ function init(npc)
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
player:sendMessage(0x20, "", "This PopulaceShopSalesman actor has no event set. Actor Class Id: " .. tostring(npc:getActorClassId()))
|
||||
player:endEvent();
|
||||
--player:runEventFunction("welcomeTalk");
|
||||
player:SendMessage(0x20, "", "This PopulaceShopSalesman actor has no event set. Actor Class Id: " .. tostring(npc:GetActorClassId()))
|
||||
player:EndEvent();
|
||||
--player:RunEventFunction("welcomeTalk");
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
|
||||
|
||||
player:endEvent();
|
||||
player:EndEvent();
|
||||
|
||||
end
|
Reference in New Issue
Block a user