mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[9663] Include entry of gameobject in gobject near command
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
6148675b0e
commit
53a010d5a5
6 changed files with 10 additions and 4 deletions
|
|
@ -24,7 +24,7 @@ CREATE TABLE `db_version` (
|
||||||
`version` varchar(120) default NULL,
|
`version` varchar(120) default NULL,
|
||||||
`creature_ai_version` varchar(120) default NULL,
|
`creature_ai_version` varchar(120) default NULL,
|
||||||
`cache_id` int(10) default '0',
|
`cache_id` int(10) default '0',
|
||||||
`required_9656_02_mangos_mangos_string` bit(1) default NULL
|
`required_9663_01_mangos_mangos_string` bit(1) default NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|
|
||||||
4
sql/updates/9663_01_mangos_mangos_string.sql
Normal file
4
sql/updates/9663_01_mangos_mangos_string.sql
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
ALTER TABLE db_version CHANGE COLUMN required_9656_02_mangos_mangos_string required_9663_01_mangos_mangos_string bit;
|
||||||
|
|
||||||
|
DELETE FROM mangos_string WHERE entry=517;
|
||||||
|
INSERT INTO mangos_string VALUES (517,'%d, Entry %d - |cffffffff|Hgameobject:%d|h[%s X:%f Y:%f Z:%f MapId:%d]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
|
||||||
|
|
@ -101,6 +101,7 @@ pkgdata_DATA = \
|
||||||
9656_01_mangos_command.sql \
|
9656_01_mangos_command.sql \
|
||||||
9656_02_mangos_mangos_string.sql \
|
9656_02_mangos_mangos_string.sql \
|
||||||
9661_01_characters_character_talent.sql \
|
9661_01_characters_character_talent.sql \
|
||||||
|
9663_01_mangos_mangos_string.sql \
|
||||||
README
|
README
|
||||||
|
|
||||||
## Additional files to include when running 'make dist'
|
## Additional files to include when running 'make dist'
|
||||||
|
|
@ -182,4 +183,5 @@ EXTRA_DIST = \
|
||||||
9656_01_mangos_command.sql \
|
9656_01_mangos_command.sql \
|
||||||
9656_02_mangos_mangos_string.sql \
|
9656_02_mangos_mangos_string.sql \
|
||||||
9661_01_characters_character_talent.sql \
|
9661_01_characters_character_talent.sql \
|
||||||
|
9663_01_mangos_mangos_string.sql \
|
||||||
README
|
README
|
||||||
|
|
|
||||||
|
|
@ -831,7 +831,7 @@ bool ChatHandler::HandleGameObjectNearCommand(const char* args)
|
||||||
if(!gInfo)
|
if(!gInfo)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
PSendSysMessage(LANG_GO_LIST_CHAT, guid, guid, gInfo->name, x, y, z, mapid);
|
PSendSysMessage(LANG_GO_LIST_CHAT, guid, entry, guid, gInfo->name, x, y, z, mapid);
|
||||||
|
|
||||||
++count;
|
++count;
|
||||||
} while (result->NextRow());
|
} while (result->NextRow());
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9662"
|
#define REVISION_NR "9663"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#ifndef __REVISION_SQL_H__
|
#ifndef __REVISION_SQL_H__
|
||||||
#define __REVISION_SQL_H__
|
#define __REVISION_SQL_H__
|
||||||
#define REVISION_DB_CHARACTERS "required_9661_01_characters_character_talent"
|
#define REVISION_DB_CHARACTERS "required_9661_01_characters_character_talent"
|
||||||
#define REVISION_DB_MANGOS "required_9656_02_mangos_mangos_string"
|
#define REVISION_DB_MANGOS "required_9663_01_mangos_mangos_string"
|
||||||
#define REVISION_DB_REALMD "required_9010_01_realmd_realmlist"
|
#define REVISION_DB_REALMD "required_9010_01_realmd_realmlist"
|
||||||
#endif // __REVISION_SQL_H__
|
#endif // __REVISION_SQL_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue