From 0d159da185b88fb71f64c7f7c6bc562454a5ada3 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 9 Mar 2011 13:52:52 +0100 Subject: [PATCH] Changed: Changes from last patch --- .../ryzom/server/src/entities_game_service/admin.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/code/ryzom/server/src/entities_game_service/admin.cpp b/code/ryzom/server/src/entities_game_service/admin.cpp index 5db31d071..6c8a8f555 100644 --- a/code/ryzom/server/src/entities_game_service/admin.cpp +++ b/code/ryzom/server/src/entities_game_service/admin.cpp @@ -5473,7 +5473,7 @@ NLMISC_COMMAND(setFamePlayer, "set the fame value of a player in the given facti //---------------------------------------------------------------------------- -NLMISC_COMMAND(eventCreateNpcGroup, "create an event npc group", " [ [ [ []]]]") +NLMISC_COMMAND(eventCreateNpcGroup, "create an event npc group", " [ [ [ [ [ []]]]]]") { if (args.size () < 3) return false; GET_ENTITY @@ -5531,6 +5531,16 @@ NLMISC_COMMAND(eventCreateNpcGroup, "create an event npc group", " < std::string botsName; if (args.size()>6) botsName = args[6]; + if (args.size()>7) + { + NLMISC::fromString(args[7], x); + x = x * 1000; + } + if (args.size()>8) + { + NLMISC::fromString(args[8], y); + y = y * 1000; + } CMessage msgout("EVENT_CREATE_NPC_GROUP"); uint32 messageVersion = 1;