mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Removed all the unique talk defaults for Wil region (thx Jorge). Got most of man0l0 working with the new system. Fixed nullterm str parsing.
This commit is contained in:
parent
6e869af4fb
commit
26fd79bea5
133 changed files with 481 additions and 2247 deletions
|
@ -8,7 +8,7 @@ Switches between active and passive mode states
|
|||
|
||||
--]]
|
||||
|
||||
function onEventStarted(player, command, triggerName)
|
||||
function onEventStarted(player, command, eventType, eventName)
|
||||
|
||||
if (player.currentMainState == 0x0000) then
|
||||
player.Engage(0, 0x0002);
|
||||
|
|
|
@ -32,11 +32,11 @@ function onTrigger(player, argc, p1, p2, p3, p4, privateArea, name, lastName)
|
|||
|
||||
-- we're getting a list/array from c# so 0 index
|
||||
local pos = player:GetPos();
|
||||
local player_x = pos[0];
|
||||
local player_y = pos[1];
|
||||
local player_z = pos[2];
|
||||
local player_rot = pos[3];
|
||||
local player_zone = pos[4];
|
||||
local player_x = pos[1];
|
||||
local player_y = pos[2];
|
||||
local player_z = pos[3];
|
||||
local player_rot = pos[4];
|
||||
local player_zone = pos[5];
|
||||
|
||||
local worldManager = GetWorldManager();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue