/Dr. Orpheus
So I spent some time today looking at widgets to see if I could figure out how they work in the db. Just to add some more controversy as to the current state of lifts, the Eldarr Grove lift worked perfectly fine on my local (1199 client, milestone 1 data). So I figured I would try to get the kelethin lifts working or atleast one, I can tell you they definitely weren't set up right in the db, although not sure that they were ever worked on so that could be why
I was able to get the lifts to elevate and drop back down perfectly fine, but experienced the problem of the lifts passing right through the player, so the question is why does the Eldarr Grove lift stay solid and the acorn lifts not? Possibly the widget ids are wrong (would that effect it?) or need the values set to something hardcoded in the zone files possibly?
EDIT: I noticed if I got in the acorn while it was going down that it would put me on an invis platform where the widget currently is if I stop and when I would move I'd fall down to the floor of the acorn . I could run against the walls without going though also, so maybe the widgets can't force the player to move? (but then why does the eldarr grove one work)? posting some stuff so others can see the conditions I'm testing with and try it themselves if they want.
Code: Select all
insert into spawn (id, name, sub_title, race, model_type, size, size_offset, targetable, show_name, command_primary, command_secondary, visual_state, attackable, show_level, show_command_icon, display_hand icon, faction_id, collision_radius, hp, power, merchant_id, merchant_type) values (1149999, 'Tunares Sapling Acorn Lift', NULL, '0', '49', '32', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '409', '0', '0', '0', '0', '0');
INSERT INTO `spawn_widgets` (`spawn_id`, `widget_id`, `widget_x`, `widget_y`, `widget_z`, `include_heading`, `include_location`, `icon`, `type`, `open_heading`, `closed_heading`, `open_y`, `action_spawn_id`, `open_sound_file`, `close_sound_file`, `open_duration`, `close_y`, `linked_spawn_id`, `house_id`) VALUES
(1149999, 1958019821, 60.6389, 9.14952, 16.9433, 0, 1, 0, 'Door', -1, -1, 88, 0, '0', '0', 0, 9.14952, 0, 0);
INSERT INTO `spawn_location_placement` (
`zone_id` ,
`spawn_location_id` ,
`x` ,
`y` ,
`z` ,
`x_offset` ,
`y_offset` ,
`z_offset` ,
`heading` ,
`respawn` ,
`expire_timer` ,
`expire_offset` ,
`grid_id`
)
VALUES (
'114', '999999', '60.6389', '9.14952', '16.9433', '0', '0', '0', '0', '3600', '0', '0', '352540949'
);
INSERT INTO `spawn_location_entry` (
`id` ,
`spawn_id` ,
`spawn_location_id` ,
`spawnpercentage`
)
VALUES (
NULL , '1149999', '999999', '100'
);