From 154ae551658caf40f58cdeaa28c3dc772fd10c91 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Thu, 16 Apr 2020 09:22:56 +0800 Subject: [PATCH] Fix string format --- ryzom/common/data_common/r2/r2_features_bandits_camp.lua | 2 +- ryzom/common/data_common/r2/r2_features_boss_spawner.lua | 2 +- ryzom/common/data_common/r2/r2_features_counter.lua | 2 +- ryzom/common/data_common/r2/r2_features_default.lua | 4 ++-- ryzom/common/data_common/r2/r2_features_delivery_task.lua | 2 +- ryzom/common/data_common/r2/r2_features_easter_egg.lua | 2 +- ryzom/common/data_common/r2/r2_features_empty.lua | 2 +- ryzom/common/data_common/r2/r2_features_fauna.lua | 2 +- .../data_common/r2/r2_features_get_item_from_scenery.lua | 2 +- .../data_common/r2/r2_features_get_item_from_scenery_task.lua | 2 +- ryzom/common/data_common/r2/r2_features_give_item.lua | 2 +- ryzom/common/data_common/r2/r2_features_hunt_task.lua | 2 +- ryzom/common/data_common/r2/r2_features_kill_npc.lua | 2 +- ryzom/common/data_common/r2/r2_features_loot_spawner.lua | 2 +- ryzom/common/data_common/r2/r2_features_man_hunt.lua | 2 +- ryzom/common/data_common/r2/r2_features_npc_interaction.lua | 2 +- ryzom/common/data_common/r2/r2_features_quest.lua | 2 +- ryzom/common/data_common/r2/r2_features_random_chest.lua | 2 +- ryzom/common/data_common/r2/r2_features_request_item.lua | 2 +- ryzom/common/data_common/r2/r2_features_reward_provider.lua | 2 +- .../data_common/r2/r2_features_scenery_object_interaction.lua | 2 +- .../r2/r2_features_scenery_object_interaction_task.lua | 2 +- .../data_common/r2/r2_features_scenery_object_remover.lua | 2 +- ryzom/common/data_common/r2/r2_features_talk_to.lua | 2 +- ryzom/common/data_common/r2/r2_features_target_mob.lua | 2 +- ryzom/common/data_common/r2/r2_features_time_trigger.lua | 2 +- ryzom/common/data_common/r2/r2_features_timer.lua | 2 +- ryzom/common/data_common/r2/r2_features_user_item.lua | 2 +- ryzom/common/data_common/r2/r2_features_user_trigger.lua | 2 +- ryzom/common/data_common/r2/r2_features_visit_zone.lua | 2 +- ryzom/common/data_common/r2/r2_logic.lua | 2 +- ryzom/common/data_common/r2/r2_translator.lua | 2 +- 32 files changed, 33 insertions(+), 33 deletions(-) diff --git a/ryzom/common/data_common/r2/r2_features_bandits_camp.lua b/ryzom/common/data_common/r2/r2_features_bandits_camp.lua index 87058269d..d7e11a0bd 100644 --- a/ryzom/common/data_common/r2/r2_features_bandits_camp.lua +++ b/ryzom/common/data_common/r2/r2_features_bandits_camp.lua @@ -865,7 +865,7 @@ component.create = function() debugInfo("Cancel form for bandit camp creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of bandit camp at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of bandit camp at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("BanditCamp") == 1 then r2.displayFeatureHelp("BanditCamp") end diff --git a/ryzom/common/data_common/r2/r2_features_boss_spawner.lua b/ryzom/common/data_common/r2/r2_features_boss_spawner.lua index 92538bdb9..d99fc59c1 100644 --- a/ryzom/common/data_common/r2/r2_features_boss_spawner.lua +++ b/ryzom/common/data_common/r2/r2_features_boss_spawner.lua @@ -518,7 +518,7 @@ component.create = function() debugInfo("Cancel form for 'BossSpawnerFeature' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'BossSpawnerFeature' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'BossSpawnerFeature' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("BossSpawner") == 1 then r2.displayFeatureHelp("BossSpawner") end diff --git a/ryzom/common/data_common/r2/r2_features_counter.lua b/ryzom/common/data_common/r2/r2_features_counter.lua index 30a7153e0..6a0863833 100644 --- a/ryzom/common/data_common/r2/r2_features_counter.lua +++ b/ryzom/common/data_common/r2/r2_features_counter.lua @@ -245,7 +245,7 @@ component.create = function() debugInfo("Cancel form for 'CounterFeature' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'CounterFeature' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'CounterFeature' at pos (%f, %f, %f)", x, y, z)) r2:doForm("CounterFeatureForm", {X=x, Y=y}, paramsOk, paramsCancel) end local function posCancel() diff --git a/ryzom/common/data_common/r2/r2_features_default.lua b/ryzom/common/data_common/r2/r2_features_default.lua index 70d129380..d94e2f656 100644 --- a/ryzom/common/data_common/r2/r2_features_default.lua +++ b/ryzom/common/data_common/r2/r2_features_default.lua @@ -1495,7 +1495,7 @@ local registerFeature = function () debugInfo("Cancel form for 'User Component' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'User Component' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'User Component' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("UserComponent") == 1 then r2.displayFeatureHelp("UserComponent") end @@ -1568,7 +1568,7 @@ local registerFeature = function () debugInfo("Cancel form for 'User Component' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'User Component' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'User Component' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("UserComponent") == 1 then r2.displayFeatureHelp("UserComponent") end diff --git a/ryzom/common/data_common/r2/r2_features_delivery_task.lua b/ryzom/common/data_common/r2/r2_features_delivery_task.lua index 5205e716b..cd2590236 100644 --- a/ryzom/common/data_common/r2/r2_features_delivery_task.lua +++ b/ryzom/common/data_common/r2/r2_features_delivery_task.lua @@ -562,7 +562,7 @@ component.create = function() if not r2:checkAiQuota() then return end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'DeliveryTask' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'DeliveryTask' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("DeliveryTask") == 1 then r2.displayFeatureHelp("DeliveryTask") end diff --git a/ryzom/common/data_common/r2/r2_features_easter_egg.lua b/ryzom/common/data_common/r2/r2_features_easter_egg.lua index 76b185f8b..c613a8ddd 100644 --- a/ryzom/common/data_common/r2/r2_features_easter_egg.lua +++ b/ryzom/common/data_common/r2/r2_features_easter_egg.lua @@ -434,7 +434,7 @@ function component.create() debugInfo("Cancel form for 'EasterEggFeature' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'EasterEggFeature' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'EasterEggFeature' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("EasterEgg") == 1 then r2.displayFeatureHelp("EasterEgg") end diff --git a/ryzom/common/data_common/r2/r2_features_empty.lua b/ryzom/common/data_common/r2/r2_features_empty.lua index 07f934bad..7c745bef6 100644 --- a/ryzom/common/data_common/r2/r2_features_empty.lua +++ b/ryzom/common/data_common/r2/r2_features_empty.lua @@ -207,7 +207,7 @@ component.create = function() debugInfo("Cancel form for 'EmptyFeature' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'EmptyFeature' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'EmptyFeature' at pos (%f, %f, %f)", x, y, z)) r2:doForm("EmptyFeatureForm", {X=x, Y=y}, paramsOk, paramsCancel) end local function posCancel() diff --git a/ryzom/common/data_common/r2/r2_features_fauna.lua b/ryzom/common/data_common/r2/r2_features_fauna.lua index 3ebc561a3..3a58d95b9 100644 --- a/ryzom/common/data_common/r2/r2_features_fauna.lua +++ b/ryzom/common/data_common/r2/r2_features_fauna.lua @@ -636,7 +636,7 @@ component.create = function() resetForm() end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'FaunaFeature' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'FaunaFeature' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("Fauna") == 1 then r2.displayFeatureHelp("Fauna") end diff --git a/ryzom/common/data_common/r2/r2_features_get_item_from_scenery.lua b/ryzom/common/data_common/r2/r2_features_get_item_from_scenery.lua index b0237ee9a..dfcf5546c 100644 --- a/ryzom/common/data_common/r2/r2_features_get_item_from_scenery.lua +++ b/ryzom/common/data_common/r2/r2_features_get_item_from_scenery.lua @@ -425,7 +425,7 @@ component.create = function() debugInfo("Cancel form for 'GetItemFromSceneryObject' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'GetItemFromSceneryObject' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'GetItemFromSceneryObject' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("GetItemFromSceneryObject") == 1 then r2.displayFeatureHelp("GetItemFromSceneryObject") end diff --git a/ryzom/common/data_common/r2/r2_features_get_item_from_scenery_task.lua b/ryzom/common/data_common/r2/r2_features_get_item_from_scenery_task.lua index e28e2fa77..9f07b9433 100644 --- a/ryzom/common/data_common/r2/r2_features_get_item_from_scenery_task.lua +++ b/ryzom/common/data_common/r2/r2_features_get_item_from_scenery_task.lua @@ -481,7 +481,7 @@ component.create = function() if not r2:checkAiQuota() then return end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'getItemFromSceneryObjectTaskStep' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'getItemFromSceneryObjectTaskStep' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("GetItemFromSceneryObjectTaskStep") == 1 then r2.displayFeatureHelp("GetItemFromSceneryObjectTaskStep") end diff --git a/ryzom/common/data_common/r2/r2_features_give_item.lua b/ryzom/common/data_common/r2/r2_features_give_item.lua index ce43e67f8..9fbe91ebd 100644 --- a/ryzom/common/data_common/r2/r2_features_give_item.lua +++ b/ryzom/common/data_common/r2/r2_features_give_item.lua @@ -452,7 +452,7 @@ component.create = function() debugInfo("Cancel form for 'GiveItem' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'GiveItem' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'GiveItem' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("GiveItem") == 1 then r2.displayFeatureHelp("GiveItem") end diff --git a/ryzom/common/data_common/r2/r2_features_hunt_task.lua b/ryzom/common/data_common/r2/r2_features_hunt_task.lua index e2f965e04..f4e3954ed 100644 --- a/ryzom/common/data_common/r2/r2_features_hunt_task.lua +++ b/ryzom/common/data_common/r2/r2_features_hunt_task.lua @@ -641,7 +641,7 @@ component.create = function() debugInfo("Cancel form for 'HuntTask' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'HuntTask' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'HuntTask' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("HuntTask") == 1 then r2.displayFeatureHelp("HuntTask") end diff --git a/ryzom/common/data_common/r2/r2_features_kill_npc.lua b/ryzom/common/data_common/r2/r2_features_kill_npc.lua index 07bbdd0e5..c1eb50dc2 100644 --- a/ryzom/common/data_common/r2/r2_features_kill_npc.lua +++ b/ryzom/common/data_common/r2/r2_features_kill_npc.lua @@ -416,7 +416,7 @@ component.create = function() debugInfo("Cancel form for 'KillNpc' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'KillNpc' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'KillNpc' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("KillNpc") == 1 then r2.displayFeatureHelp("KillNpc") end diff --git a/ryzom/common/data_common/r2/r2_features_loot_spawner.lua b/ryzom/common/data_common/r2/r2_features_loot_spawner.lua index bcadf417b..19b0901b1 100644 --- a/ryzom/common/data_common/r2/r2_features_loot_spawner.lua +++ b/ryzom/common/data_common/r2/r2_features_loot_spawner.lua @@ -466,7 +466,7 @@ component.create = function() debugInfo("Cancel form for 'LootSpawnerFeature' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'LootSpawnerFeature' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'LootSpawnerFeature' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("LootSpawner") == 1 then r2.displayFeatureHelp("LootSpawner") end diff --git a/ryzom/common/data_common/r2/r2_features_man_hunt.lua b/ryzom/common/data_common/r2/r2_features_man_hunt.lua index f45fca421..6cd0953dc 100644 --- a/ryzom/common/data_common/r2/r2_features_man_hunt.lua +++ b/ryzom/common/data_common/r2/r2_features_man_hunt.lua @@ -403,7 +403,7 @@ component.create = function() debugInfo("Cancel form for 'ManHuntFeature' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'ManHuntFeature' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'ManHuntFeature' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("ManHunt") == 1 then r2.displayFeatureHelp("ManHunt") end diff --git a/ryzom/common/data_common/r2/r2_features_npc_interaction.lua b/ryzom/common/data_common/r2/r2_features_npc_interaction.lua index e5f92cdb9..86d39c87b 100644 --- a/ryzom/common/data_common/r2/r2_features_npc_interaction.lua +++ b/ryzom/common/data_common/r2/r2_features_npc_interaction.lua @@ -351,7 +351,7 @@ component.create = function() debugInfo("Cancel form for 'NpcInteraction' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'NpcInteraction' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'NpcInteraction' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("NpcInteraction") == 1 then r2.displayFeatureHelp("NpcInteraction") end diff --git a/ryzom/common/data_common/r2/r2_features_quest.lua b/ryzom/common/data_common/r2/r2_features_quest.lua index fcc4ffbb3..be10e81f2 100644 --- a/ryzom/common/data_common/r2/r2_features_quest.lua +++ b/ryzom/common/data_common/r2/r2_features_quest.lua @@ -526,7 +526,7 @@ component.create = function() debugInfo("Cancel form for 'Quest' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'Quest' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'Quest' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("Quest") == 1 then r2.displayFeatureHelp("Quest") end diff --git a/ryzom/common/data_common/r2/r2_features_random_chest.lua b/ryzom/common/data_common/r2/r2_features_random_chest.lua index dd4226617..e7aef9918 100644 --- a/ryzom/common/data_common/r2/r2_features_random_chest.lua +++ b/ryzom/common/data_common/r2/r2_features_random_chest.lua @@ -418,7 +418,7 @@ function component.create() debugInfo("Cancel form for 'RandomChest' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'RandomChest' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'RandomChest' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("RandomChest") == 1 then r2.displayFeatureHelp("RandomChest") end diff --git a/ryzom/common/data_common/r2/r2_features_request_item.lua b/ryzom/common/data_common/r2/r2_features_request_item.lua index 0bcb46b99..bc292785a 100644 --- a/ryzom/common/data_common/r2/r2_features_request_item.lua +++ b/ryzom/common/data_common/r2/r2_features_request_item.lua @@ -498,7 +498,7 @@ component.create = function() debugInfo("Cancel form for 'RequestItem' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'RequestItem' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'RequestItem' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("RequestItem") == 1 then r2.displayFeatureHelp("RequestItem") end diff --git a/ryzom/common/data_common/r2/r2_features_reward_provider.lua b/ryzom/common/data_common/r2/r2_features_reward_provider.lua index 3b0bc1845..cf2d44b3b 100644 --- a/ryzom/common/data_common/r2/r2_features_reward_provider.lua +++ b/ryzom/common/data_common/r2/r2_features_reward_provider.lua @@ -369,7 +369,7 @@ component.create = function() debugInfo("Cancel form for 'RewardProvider' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'RewardProvider' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'RewardProvider' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("RewardProvider") == 1 then r2.displayFeatureHelp("RewardProvider") end diff --git a/ryzom/common/data_common/r2/r2_features_scenery_object_interaction.lua b/ryzom/common/data_common/r2/r2_features_scenery_object_interaction.lua index 4fc3f79fa..6d2628144 100644 --- a/ryzom/common/data_common/r2/r2_features_scenery_object_interaction.lua +++ b/ryzom/common/data_common/r2/r2_features_scenery_object_interaction.lua @@ -376,7 +376,7 @@ component.create = function() debugInfo("Cancel form for 'SceneryObjectInteraction' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'SceneryObjectInteraction' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'SceneryObjectInteraction' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("SceneryObjectInteraction") == 1 then r2.displayFeatureHelp("SceneryObjectInteraction") end diff --git a/ryzom/common/data_common/r2/r2_features_scenery_object_interaction_task.lua b/ryzom/common/data_common/r2/r2_features_scenery_object_interaction_task.lua index e6f32c4cd..d830378fa 100644 --- a/ryzom/common/data_common/r2/r2_features_scenery_object_interaction_task.lua +++ b/ryzom/common/data_common/r2/r2_features_scenery_object_interaction_task.lua @@ -487,7 +487,7 @@ component.create = function() r2:checkAiQuota() local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'SceneryObjectInteractionTaskStep' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'SceneryObjectInteractionTaskStep' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("SceneryObjectInteractionTaskStep") == 1 then r2.displayFeatureHelp("SceneryObjectInteractionTaskStep") end diff --git a/ryzom/common/data_common/r2/r2_features_scenery_object_remover.lua b/ryzom/common/data_common/r2/r2_features_scenery_object_remover.lua index 608c574d4..64a899a47 100644 --- a/ryzom/common/data_common/r2/r2_features_scenery_object_remover.lua +++ b/ryzom/common/data_common/r2/r2_features_scenery_object_remover.lua @@ -393,7 +393,7 @@ component.create = function() debugInfo("Cancel form for 'SceneryObjectRemoverFeature' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'SceneryObjectRemoverFeature' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'SceneryObjectRemoverFeature' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("SceneryObjectRemover") == 1 then r2.displayFeatureHelp("SceneryObjectRemover") end diff --git a/ryzom/common/data_common/r2/r2_features_talk_to.lua b/ryzom/common/data_common/r2/r2_features_talk_to.lua index ec42e68c5..ebcede5bc 100644 --- a/ryzom/common/data_common/r2/r2_features_talk_to.lua +++ b/ryzom/common/data_common/r2/r2_features_talk_to.lua @@ -466,7 +466,7 @@ component.create = function() debugInfo("Cancel form for 'TalkTo' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'TalkTo' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'TalkTo' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("TalkTo") == 1 then r2.displayFeatureHelp("TalkTo") end diff --git a/ryzom/common/data_common/r2/r2_features_target_mob.lua b/ryzom/common/data_common/r2/r2_features_target_mob.lua index 7bd2bbb43..31d783e3a 100644 --- a/ryzom/common/data_common/r2/r2_features_target_mob.lua +++ b/ryzom/common/data_common/r2/r2_features_target_mob.lua @@ -373,7 +373,7 @@ component.create = function() debugInfo("Cancel form for 'TargetMob' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'TargetMob' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'TargetMob' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("TargetMob") == 1 then r2.displayFeatureHelp("TargetMob") end diff --git a/ryzom/common/data_common/r2/r2_features_time_trigger.lua b/ryzom/common/data_common/r2/r2_features_time_trigger.lua index ed6449bf4..bf31226ca 100644 --- a/ryzom/common/data_common/r2/r2_features_time_trigger.lua +++ b/ryzom/common/data_common/r2/r2_features_time_trigger.lua @@ -329,7 +329,7 @@ feature.create = function() debugInfo("Cancel form for 'TimeTrigger' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'TimeTrigger' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'TimeTrigger' at pos (%f, %f, %f)", x, y, z)) r2:doForm("TimeTriggerForm", {X=x, Y=y}, paramsOk, paramsCancel) end local function posCancel() diff --git a/ryzom/common/data_common/r2/r2_features_timer.lua b/ryzom/common/data_common/r2/r2_features_timer.lua index 91a2c4af2..82b87d3f5 100644 --- a/ryzom/common/data_common/r2/r2_features_timer.lua +++ b/ryzom/common/data_common/r2/r2_features_timer.lua @@ -409,7 +409,7 @@ component.create = function() debugInfo("Cancel form for 'Timer' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'Timer' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'Timer' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("Timer") == 1 then r2.displayFeatureHelp("Timer") end diff --git a/ryzom/common/data_common/r2/r2_features_user_item.lua b/ryzom/common/data_common/r2/r2_features_user_item.lua index b162a9219..fd70d75cb 100644 --- a/ryzom/common/data_common/r2/r2_features_user_item.lua +++ b/ryzom/common/data_common/r2/r2_features_user_item.lua @@ -176,7 +176,7 @@ component.create = function() debugInfo("Cancel form for 'UserItemFeature' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'UserItemFeature' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'UserItemFeature' at pos (%f, %f, %f)", x, y, z)) r2:doForm("UserItemFeatureForm", {X=x, Y=y}, paramsOk, paramsCancel) end local function posCancel() diff --git a/ryzom/common/data_common/r2/r2_features_user_trigger.lua b/ryzom/common/data_common/r2/r2_features_user_trigger.lua index 86d619a3d..bbd1b24c9 100644 --- a/ryzom/common/data_common/r2/r2_features_user_trigger.lua +++ b/ryzom/common/data_common/r2/r2_features_user_trigger.lua @@ -268,7 +268,7 @@ component.create = function(this) end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'UserTrigger' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'UserTrigger' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("UserTrigger") == 1 then r2.displayFeatureHelp("UserTrigger") end diff --git a/ryzom/common/data_common/r2/r2_features_visit_zone.lua b/ryzom/common/data_common/r2/r2_features_visit_zone.lua index fb40d9a0f..f7d5a19a2 100644 --- a/ryzom/common/data_common/r2/r2_features_visit_zone.lua +++ b/ryzom/common/data_common/r2/r2_features_visit_zone.lua @@ -437,7 +437,7 @@ component.create = function() debugInfo("Cancel form for 'VisitZone' creation") end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of 'VisitZone' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'VisitZone' at pos (%f, %f, %f)", x, y, z)) if r2.mustDisplayInfo("VisitZone") == 1 then r2.displayFeatureHelp("VisitZone") end diff --git a/ryzom/common/data_common/r2/r2_logic.lua b/ryzom/common/data_common/r2/r2_logic.lua index d50a15faf..9d0f67a16 100644 --- a/ryzom/common/data_common/r2/r2_logic.lua +++ b/ryzom/common/data_common/r2/r2_logic.lua @@ -669,7 +669,7 @@ Logic.Components.ChatSequence = { if r2.mustDisplayInfo("ChatSequence") == 1 then r2.displayFeatureHelp("ChatSequence") end - debugInfo(string.format("Validate creation of 'Dialog' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of 'Dialog' at pos (%f, %f, %f)", x, y, z)) r2.dialogs:newSequenceInst(x, y, z) end local function posCancel() diff --git a/ryzom/common/data_common/r2/r2_translator.lua b/ryzom/common/data_common/r2/r2_translator.lua index e1c4701ba..eccbe368c 100644 --- a/ryzom/common/data_common/r2/r2_translator.lua +++ b/ryzom/common/data_common/r2/r2_translator.lua @@ -4403,7 +4403,7 @@ function Translator.CreateUserComponent(featureName) end local function posOk(x, y, z) - debugInfo(string.format("Validate creation of '"..featureName.."' at pos (%d, %d, %d)", x, y, z)) + debugInfo(string.format("Validate creation of '"..featureName.."' at pos (%f, %f, %f)", x, y, z)) local component = r2.Features[featureName].createUserComponent( x, y) component.Texts = nil r2.requestInsertNode(r2:getCurrentAct().InstanceId, "Features", -1, "", component)