Пробовал удалить временные файлы и откомпилированные ДЛЛки? Возможно, не работает ЕСС, и студия просто забивает на .es-файлы, это объяснил бы скорую компиляцию.
Where did all the dragons go? We searched in the hills and we searched down the canyons, we even scanned the depths of the caves with our armour, swords and lanterns. Oh, if only had we seen him lurch, from his glorious skull covered perch.
CRACK went his claws and SMACK swipped the tail, a ROAR of might, one big BITE.
MasterST, сдаётся мне, ты делаешь не всё, что тебе тут говорят. Вот что, открой в MSVC любой .es-файл и нажми Build->Compile, если он доступен. Если нет, пиши сюда.
Where did all the dragons go? We searched in the hills and we searched down the canyons, we even scanned the depths of the caves with our armour, swords and lanterns. Oh, if only had we seen him lurch, from his glorious skull covered perch.
CRACK went his claws and SMACK swipped the tail, a ROAR of might, one big BITE.
Абсолютно все делаю так как надо, я что по твоему тупой, чтоли? Просто во всем виновата винда. Поэтому больше не буду задавать вопросы, после переустановки займусь СДК сам. По статьям Хеминга учился
До сих пор в топе загрузок и просмотров... Неужели я тоже оставил свой след на этом сайте? А ведь я здесь уже целых двенадцать лет... Удалил свои старые карты из профиля, на кой они мне. Маппер из меня никудышный.
Если бы была виновата винда, у тебя бы ничего не компилировалось. По своему опыту знаю, что после переустановки кое-что сбивается вне зависимости от сборки винды. Ты сделал то, что я сказал? Нажал Compile для какого-нибудь .es-файла?
Сообщение отредактировалSLAwww - Четверг, 02.02.2012, 20:33
Where did all the dragons go? We searched in the hills and we searched down the canyons, we even scanned the depths of the caves with our armour, swords and lanterns. Oh, if only had we seen him lurch, from his glorious skull covered perch.
CRACK went his claws and SMACK swipped the tail, a ROAR of might, one big BITE.
ураа я добавил alternative fire токо его надо от регулировать
Добавлено (04.02.2012, 20:51) --------------------------------------------- всё я закончил с вылетами врагов у бигхэда теперь осталось за комментировать watcher.es блин но не могу когда я уже за комментировал бигхэда и игрока то редактор вылетает при атаки монстров -------------------- помогите может кто нибудь подскажет как надо было комментировать Watcher.es
Сообщение отредактировалxd76 - Пятница, 03.02.2012, 09:03
Переформулируй задачу, ничего не понятно. Опиши, чего ты хотел добиться, и что ты для этого делал.
Where did all the dragons go? We searched in the hills and we searched down the canyons, we even scanned the depths of the caves with our armour, swords and lanterns. Oh, if only had we seen him lurch, from his glorious skull covered perch.
CRACK went his claws and SMACK swipped the tail, a ROAR of might, one big BITE.
Тогда этого мало, тебе нужно переписать код Watcher'а таким образом, чтобы он в качестве указателя на врага мог возвращать не только указатель на игрока, но и на любого видимого BigHead'a. Придётся итерировать через все объекты на уровне с помощью FOREACHINDYNAMICCONTAINER.
Where did all the dragons go? We searched in the hills and we searched down the canyons, we even scanned the depths of the caves with our armour, swords and lanterns. Oh, if only had we seen him lurch, from his glorious skull covered perch.
CRACK went his claws and SMACK swipped the tail, a ROAR of might, one big BITE.
Во-первых, тебе нужно применить IsOfClass(pen,"BigHead"), а не IsDerivedFromClass. А IsOfClass(penPlayer, "Player") от сюда вообще надо убрать - игроки находятся не таким путём, к тому же, далее в коде ты обращаешься к методам, отсутствующим у класса игрока. Во вторых - CEnemyBase *penEnemy = (CBigHead *)pen; - ты приводишь pen к типу указателя на CBigHead, а затем присваиваешь указателю на CEnemyBase это значение. Зачем? Можно ведь сразу CBigHead *penEnemy = (CBigHead *)pen;. А вылетает из-за того, что этот код находит игрока, но пытается получить доступ к переменной m_bTemplate, которой у него нет.
Where did all the dragons go? We searched in the hills and we searched down the canyons, we even scanned the depths of the caves with our armour, swords and lanterns. Oh, if only had we seen him lurch, from his glorious skull covered perch.
CRACK went his claws and SMACK swipped the tail, a ROAR of might, one big BITE.
Where did all the dragons go? We searched in the hills and we searched down the canyons, we even scanned the depths of the caves with our armour, swords and lanterns. Oh, if only had we seen him lurch, from his glorious skull covered perch.
CRACK went his claws and SMACK swipped the tail, a ROAR of might, one big BITE.
Ищи ошибку в другом месте. Попробуй закомментировать возбуждение события EReconsiderBehaviour сразу после вызова SetTargetHardForce в EnemyBase.es, там этот вызов всего один.
Where did all the dragons go? We searched in the hills and we searched down the canyons, we even scanned the depths of the caves with our armour, swords and lanterns. Oh, if only had we seen him lurch, from his glorious skull covered perch.
CRACK went his claws and SMACK swipped the tail, a ROAR of might, one big BITE.
// if you have new player visible closer than current and in threat distance CEntity *penNewEnemy = GetWatcher()->CheckCloserPlayer(m_penEnemy, GetThreatDistance()); if (penNewEnemy!=NULL) { // switch to that player SetTargetHardForce(penNewEnemy); // start new behavior SendEvent(EReconsiderBehavior()); stop; } я изменил на это
// if you have new player visible closer than current and in threat distance CEntity *penNewEnemy = GetWatcher()->CheckCloserPlayer(m_penEnemy, GetThreatDistance()); if (penNewEnemy!=NULL) { // switch to that player SetTargetHardForce(penNewEnemy); // start new behavior SendEvent(EReconsiderBehavior()); stop; }
Сообщение отредактировалxd76 - Воскресенье, 05.02.2012, 17:28
Ты ничего не изменил. ) Закомментируй SetTargetHardForce и SendEvent(EReconsiderBehavior());.
Where did all the dragons go? We searched in the hills and we searched down the canyons, we even scanned the depths of the caves with our armour, swords and lanterns. Oh, if only had we seen him lurch, from his glorious skull covered perch.
CRACK went his claws and SMACK swipped the tail, a ROAR of might, one big BITE.
Охх.. Извини, не могу понять, что ты говоришь. Будь добр, переведи на Русский.
Where did all the dragons go? We searched in the hills and we searched down the canyons, we even scanned the depths of the caves with our armour, swords and lanterns. Oh, if only had we seen him lurch, from his glorious skull covered perch.
CRACK went his claws and SMACK swipped the tail, a ROAR of might, one big BITE.
xd76, нет. Если ты просишь помощи, прояви хоть немного уважения к людям, у которых её просишь, и хотя бы постарайся писать грамотно, это ведь не тяжело. Я продолжу отвечать на вопросы, когда увижу грамотно заданный вопрос, с точками, запятыми и прописными буквами.
Where did all the dragons go? We searched in the hills and we searched down the canyons, we even scanned the depths of the caves with our armour, swords and lanterns. Oh, if only had we seen him lurch, from his glorious skull covered perch.
CRACK went his claws and SMACK swipped the tail, a ROAR of might, one big BITE.
Просто поставь // перед строками, которые нужно закомментировать, и они не будут считаться выполняемым кодом.
Where did all the dragons go? We searched in the hills and we searched down the canyons, we even scanned the depths of the caves with our armour, swords and lanterns. Oh, if only had we seen him lurch, from his glorious skull covered perch.
CRACK went his claws and SMACK swipped the tail, a ROAR of might, one big BITE.
Where did all the dragons go? We searched in the hills and we searched down the canyons, we even scanned the depths of the caves with our armour, swords and lanterns. Oh, if only had we seen him lurch, from his glorious skull covered perch.
CRACK went his claws and SMACK swipped the tail, a ROAR of might, one big BITE.
Пока сам это не поймёшь, тебе следует воздержаться от написания кода.
Where did all the dragons go? We searched in the hills and we searched down the canyons, we even scanned the depths of the caves with our armour, swords and lanterns. Oh, if only had we seen him lurch, from his glorious skull covered perch.
CRACK went his claws and SMACK swipped the tail, a ROAR of might, one big BITE.