![]() |
Страницы (2): « 1 [2] Показать все 22 сообщений этой темы на одной странице |
HLFX.Ru Forum (https://hlfx.ru/forum/index.php)
- Half-Life SDK (https://hlfx.ru/forum/forumdisplay.php?forumid=8)
-- Как адаптировать ботов у чужим модам? (https://hlfx.ru/forum/showthread.php?threadid=2681)
Дядя Миша Чёт не найду таковых... А можно без адаптации - т.е. чтобы они были тупыми созданиями ходящими взад вперёд?
__________________
How interesting, just look at that!
© Scientist
__________________
My Projects: download page
F.A.Q по XashNT
Блог разработчика в телеграме
C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'
У меня что-то не получается. Скачал HPB10, а он играет только Half-Life. Он сам отдельно мод. По типу Jumbot. Потому скачал исходники HPB bot (которая плагин для метамода), визуалку, кое-что отредактировал, насколько мог, и жму F7. И внизу появляется:
--------------------Configuration: HPB_bot_mm - Win32 Release--------------------
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(21): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(22): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(23): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(24): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(28): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(29): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(30): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(31): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(33): Could not find the file usercmd.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(17): Could not find the file entity_state.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(26): Could not find the file dirent.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(16): Could not find the file meta_api.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(13): Could not find the file extdll.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(14): Could not find the file dllapi.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(15): Could not find the file h_export.h.
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(16): Could not find the file meta_api.h.
Compiling...
bot.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_chat.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_client.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_combat.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_models.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_navigate.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_start.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
dll.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
engine.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
h_export.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
util.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(28) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
waypoint.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(21) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
Error executing cl.exe.
HPB_bot_mm.dll - 12 error(s), 0 warning(s)
То же самое происходит и при попытке компиляции исходника без изменений.
Не хватает исходников метамода? Или я не так установил студио?
KorteZZ эээ. Ну у тебя он походу требует файлы из метамода.
Добавлено 11-03-2011 в 22:40:
Так и есть. Все ошибки о том что файл не найден.
__________________
-Brain is dead-
Такс, скачал исходники метамода и залвы, поставил, часть ошибок исчезла, но осталась нижняя часть:
--------------------Configuration: HPB_bot_mm - Win32 Release--------------------
Compiling...
bot.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_chat.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_chat.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_client.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_client.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_combat.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_combat.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_models.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_models.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_navigate.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_navigate.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
bot_start.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\bot_start.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
dll.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\dll.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
engine.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\engine.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
h_export.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\h_export.cpp(13) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
util.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\util.cpp(28) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
waypoint.cpp
D:\HL-Mods\Bots\HPB Bot\HPB Source 2\hpb_bot_plugin\waypoint.cpp(21) : fatal error C1083: Cannot open include file: 'extdll.h': No such file or directory
Error executing cl.exe.
HPB_bot_mm.dll - 12 error(s), 0 warning(s)
Я вот не понимаю, почему он ищет в файле? Ладно, если в папке. Всякое делал, но так и не смог устранить это дело. Как быть? Что посоветуете?
Пути к хлсдк ему надо прописать, видимо. Это в опциях, Additional Include Directories.
Либо ставить ботов в папку с хлсдк (но не факт, что они не перезапишут как-ие-то имеющиеся файлы, так что осторожнее).
__________________
Хмм, что-то не получается. Везде всякое прописывал, в переменных средах системы, в свойствах проекта в закладке MIDL, в С/С++ project options, в Tools\ Options\directories. Не помогает. Скорее всего я сам что-то не так пишу. Помогите плз. Очень уж охота сотворить что-нибудь дельное.
__________________
Killing Floor: Horzine Outbreak
Временная зона GMT. Текущее время 01:43. | Страницы (2): « 1 [2] Показать все 22 сообщений этой темы на одной странице |
На основе vBulletin версии 2.3.0
Авторское право © Jelsoft Enterprises Limited 2000 - 2002.
Дизайн и программирование: Crystice Softworks © 2005 - 2024