Error in action number 1 of create event for object

Hey guys, I was working on some code then went to run my game but got the following error... Attempting to set gamepadcount to 12 DirectX11: Using hardware device Collision Event time(microsecs)=19 ERROR!!! ...

  • #1

Hey guys, I was working on some code then went to run my game but got the following error…

GML:

Attempting to set gamepadcount to 12
DirectX11: Using hardware device
Collision Event time(microsecs)=19
ERROR!!! :: ############################################################################################
ERROR in
action number 1
of Create Event
for object <undefined>:


Error on load
Unable to find function argument1
############################################################################################

Clearly I’ve messed something up but I’m not sure what. It happens before any code is run (I put a debug message in the creation code of the first room but it doesn’t get there.) I don’t recall dealing with a specific object, mainly just script stuff but I don’t know where to start with that error. Have I deleted an object by mistake and then tried to reference it? Any other ideas where to look?

Last edited: Aug 24, 2020

  • #2

You are using GMS 2.3 with a script function still written the old way. Go through all your scripts and make sure the ones that are NOT mean to execute on startup are written using the new syntax:

GML:

function myscript(arg0, arg1) {
    ...
}

Обновлено: 08.02.2023

Try running the game at 1280 x 768 resolution. I seem to recall seeing on the devs’ Twitter that this was the optimal resolution for the game.

Are there any other external frameworks Hotline Miami has suddenly relied upon and wouldn’t install? The last version worked great.

Are there any other external frameworks Hotline Miami has suddenly relied upon and wouldn’t install? The last version worked great.

As far as I can tell, the game relies on you changing the display resolution of your desktop/monitor itself as there are no resolution settings within the game itself, at least none that I could see. Basically, you’ll have to go to your card’s control panel software (if you have an ATI or Nvidia card) and change your system resolution there.

Are there any other external frameworks Hotline Miami has suddenly relied upon and wouldn’t install? The last version worked great.

Well, you can also try to install the latest Microsoft Visual C++ redist. But Judasiscariot’s suggestion might help too.

Kestrelio: The specific error I get on launch is:

————
ERROR in action number 1
of Create Event
for object objDevolver:

Error defining an external function.
————-

And then it crashes, or sometimes it will run but with no sound. Thoughts?

I’ve had this issue on both my desktop and laptop since buying the game a couple of days after release. Although on my systems it crashed way more than it launched. Sans the awesome soundtrack, I can’t say I was very motivated to play it when I did briefly get it running. However today, I finally found the solution to allow the game to properly load everything.

I located the game .exe in the new directory C:GOG GamesHotline Miami and opened its properties dialogue, clicked on the security tab, then the button to edit user permissions. I checked ‘Full Control’ for every user and group and saved. The game now loads all intro movies and audio correctly. It still crashes from time to time but I think this is just general instability.

I really hope this works for you!

Kestrelio: The specific error I get on launch is:

————
ERROR in action number 1
of Create Event
for object objDevolver:

Error defining an external function.
————-

And then it crashes, or sometimes it will run but with no sound. Thoughts?

Stiffkittin: Hi Kestrelio,

I’ve had this issue on both my desktop and laptop since buying the game a couple of days after release. Although on my systems it crashed way more than it launched. Sans the awesome soundtrack, I can’t say I was very motivated to play it when I did briefly get it running. However today, I finally found the solution to allow the game to properly load everything.

I located the game .exe in the new directory C:GOG GamesHotline Miami and opened its properties dialogue, clicked on the security tab, then the button to edit user permissions. I checked ‘Full Control’ for every user and group and saved. The game now loads all intro movies and audio correctly. It still crashes from time to time but I think this is just general instability.

I really hope this works for you!

Thanks for the tip! I’ve resolved the issue, but did so after updating Win 7 to SP1, which was long overdue anyway.

Вопросы по прохождению

Ответы на все вопросы касающиеся прохождения Hotline Miami можно найти в соответствующих разделах Wiki, а также на нашем форуме. Не стесняйтесь задавать вопросы и делиться своими советами и решениями.

Игра не запускается

Тут собраны ответы на самые распространённые ошибки. В случае если вы не нашли ничего подходящего для решения вашей проблемы — рекомендуем перейти на форум, где более детально можно ознакомиться с любой ошибкой встречающийся в Hotline Miami .

Игра вылетает на рабочий стол без ошибок.
О: Скорее всего проблема в поврежденных файлах игры. В подобном случае рекомендуется переустановить игру, предварительно скопировав все сохранения. В случае если игра загружалась из официального магазина за сохранность прогресса можно не переживать.

Hotline Miami не работает на консоли.
О: Обновите ПО до актуальной версии, а так же проверьте стабильность подключения к интернету. Если полное обновление прошивки консоли и самой игры не решило проблему, то стоит заново загрузить игру, предварительно удалив с диска.

Ошибка 0xc000007b.

О: Есть два пути решения.
Первый — полная переустановка игры. В ряде случаев это устраняет проблему.
Второй состоит из двух этапов:

Ошибка 0xc0000142.


О: Чаще всего данная ошибка возникает из-за наличия кириллицы (русских букв) в одном из путей, по которым игра хранит свои файлы. Это может быть имя пользователя или сама папка в которой находится игра. Решением будет установка игры в другую папку, название которой написано английскими буквами или смена имени пользователя.

Ошибка 0xc0000906.


О: Данная ошибка связана с блокировкой одного или нескольких файлов игры антивирусом или “Защитником Windows”. Для её устранения необходимо добавить всю папку игры в исключени. Для каждого антивируса эта процедура индивидуально и следует обратиться к его справочной системе. Стоит отметить, что вы делаете это на свой страх и риск. Все мы любим репаки, но если вас часто мучает данная ошибка — стоит задуматься о покупке игр. Пусть даже и по скидкам, о которых можно узнать из новостей на нашем сайте.

Отсутствует msvcp 140.dll/msvcp 120.dll/msvcp 110.dll/msvcp 100.dll

О: Ошибка возникает в случае отсутствия на компьютере корректной версии пакета Microsoft Visual C++, в который и входит msvcp 140.dll (и подобные ему). Решением будет установка нужной версии пакета.

  • Нажимаем на Windows + R;
  • Вводим команду“regsvrЗ2 msvcp140.dll”(без кавычек);
  • Нажимаем “ОК”;
  • Перезагружаем компьютер.


Ошибка 0xc0000009a/0xc0000009b/0xc0000009f и другие
О: Все ошибки начинающиеся с индекса 0xc0000009 (например 0xc0000009a, где на месте “а” может находиться любая буква или цифра) можно отнести к одному семейству. Подобные ошибки являются следствием проблем с оперативной памятью или файлом подкачки.


Перед началом выполнения следующих действий настоятельно рекомендуем отключить часть фоновых процессов и сторонних программ, после чего повторно попробовать запустить Hotline Miami .
Увеличиваем размер файла подкачки:

  • Клик правой кнопкой на значку компьютера, а далее: «Дополнительные параметры системы» — «Дополнительно» — «Быстродействие» — «Дополнительно» — «Виртуальная память» — «Изменить».
  • Выбираем один диск, задаем одинаковый размер.
  • Перезагружаемся.

Размер файла подкачки должен быть кратен 1024. Объём зависит от свободного места на выбранном локальном диске. Рекомендуем установить его равным объему ОЗУ.
Если ошибка 0xc0000009а сохранилась, необходимо проверить вашу оперативную память. Для этого нужно воспользоваться функциями таких программ как MemTest86, Acronis, Everest.

Hotline miami error in action number 1 что делать

9 дек. 2016 в 13:06

Hi everybody, usually when i start everything is ok. But today i receive message when i lauch the game :

ERROR in
action number 1
of Create Event
for object objDevolver:

Error defining an external function.

When this message appears , if i click on ignore the game continue without the song. Its is sad because i hate when game i love bug like that without good reasons. Can you help me please ? Do i need to rinstall the game ? I don’t know what to do ? I check on the other subject of the forum and they don’t give a procedure to solve my problem .

10 дек. 2016 в 7:48

Hi everybody, usually when i start everything is ok. But today i receive message when i lauch the game :

ERROR in
action number 1
of Create Event
for object objDevolver:

Error defining an external function.

When this message appears , if i click on ignore the game continue without the song. Its is sad because i hate when game i love bug like that without good reasons. Can you help me please ? Do i need to rinstall the game ? I don’t know what to do ? I check on the other subject of the forum and they don’t give a procedure to solve my problem .

Игра тормозит и лагает

Скорее всего данная проблема носит аппаратный характер. Проверьте системные требования игры и установите корректные настройки качества графики. Подробнее об оптимизации игры можно почитать на форуме. Также загляните в раздел файлов, где найдутся программы для оптимизации Hotline Miami для работы на слабых ПК. Ниже рассмотрены исключительные случаи.

Hotline miami error in action number 1 что делать

Евгений Крячко

Евгений Крячко

что делать если игра вообще не запускаеться и пишет немного другое ERROR in
action number 1
of Create Event
for object main:

Error defining an external function.

Евгений Крячко

Евгений Крячко

Hotline Miami не запускается, вылетает — решение любых технических и геймплейных проблем.

Глючит или не запускается Hotline Miami? Решение есть! Постоянные лаги и зависания — не проблема! После установки мода Hotline Miami начала глючить или НПС не реагируют на завершение задания? И на этот вопрос найдется ответ! На этой странице вы сможете найти решение для любых известных проблем с игрой и обсудить их на форуме.

Проблемы с модами

Ошибки загрузки/обновления

Проверьте стабильность подключения к интернету, а также скорость загрузки. При слишком высоком пинге или низкой пропускной способности обновление может выдавать ошибки.

Если магазин или лончер Hotline Miami не завершает обновления или выдает ошибки, то переустановите саму программу. При этом все скачанные вами игры сохранятся.

Запустите проверку целостности данных игры.

Проверьте наличие свободного места на том диске, на котором установлена игра, а также на диске с операционной системой. И в том и в другом случае должно быть свободно места не меньше, чем занимает игра на текущий момент. В идеале всегда иметь запас около 100Гб.

О специфических ошибках связанных с последними обновлениями можно узнать на форуме игры.

Читайте также:

      

  • Кто такой ларри scp secret laboratory
  •   

  • Eve 10 c302 digma как освободить место
  •   

  • Multi gpu d3d12 hitman что это
  •   

  • Glfw error 65542 wgl the driver does not appear to support opengl что делать
  •   

  • Как поставить гифку на телевизоре в майнкрафт

14.11.2022

164 Просмотры

ERROR in action number 1 of Create Event for object objDevolver: Error defining an external function. There are a number of people who have this error.

There can be multiple reasons for the errors; some of the possible reasons are mentioned below.

  • Microsoft Visual C++ helps run games on a computer; if Visual C++ is missing on your PC it may cause errors while running the games
  • The missing XNA framework can cause errors while playing on the PC
  • RoR errors can also be caused by the errors in the Windows updates
  • Outdated Graphic Drivers
  • Various issues with the Steam program can also cause game errors
  • Game issues can also be caused by your antivirus program

The following guide will give you methods to fix the errors on your system.

One of the first methods that you can try to fix the fatal error in action number 1 issue, is you can try installing Microsoft Visual C++ in your system. You can download and install the Microsoft Visual C++ Redistruble packages from the official Microsoft websites.

Often, the game itself is not the problem for game error; instead, the problem may be caused by the Steam platform. One of the methods to fix this issue is to run Steam as an administrator.

Try running the game at 1280 x 768 resolution. I seem to recall seeing on the devs’ Twitter that this was the optimal resolution for the game.

If the XNA framework is missing from your system, you can’t run games on your computer without the XNA framework. However, you can download the XNA framework from the internet for free.

Most common reason for fatal error occurring on your PC is missing Windows updates. A missing Windows update can cause various issues with the programs on your computer, including the Risk of Rain game; so if you are wondering why there is a fatal error, check for the Windows update.

One of major causes of the fatal error i while playing the game is an outdated graphic driver. If you enjoy playing computer games, make sure you are equipped with updated graphic drivers.

Several errors in a game are caused by the corrupted game files; you can try to fix this issue by verifying the integrity of the game file using the Steam program.

If you can’t find a solution, try moving your focus toward your antivirus. Often, your antivirus blocks game files which leads to errors while running the game. You can temporarily disable your antivirus to fix this issue.

Use to get constant crashes and random reboots. tried reinstalls etc. After opting into beta by right clicking then enter hlm forthe beta code everything has worked fine since. not a single crash or audio/graphic bug.

To fix that problem permanently, you could participate in beta version (same content, less bug).
You have to : Right-click “Game” => “Properties” => “Betas” => Enter code “hlm” and select “Beta – Beta branch”. Confirm. When you launch game, you’ll have a launcher where you can change, among other things, resolution and language. After, you’ll have no bug anymore.

Загрузка…

$begingroup$

I am following along with a guide. I’m trying to reference code from an instance in my room, but whenever I try to run the script I get this error:

ERROR in action number 1 of Create Event for object objSmileyFace:

Variable objHealth.(100004, -2147483648) not set before reading it.

at gml_Object_objSmileyFace_Create_0 (line 4) — objHealth.playerHealth = objHealth.playerHealth + 10;

gml_Object_objSmileyFace_Create_0 (line 4)

It says objHealth is not set, which is not true. What am I doing wrong?

Code screenshot

DMGregory's user avatar

DMGregory

122k22 gold badges220 silver badges327 bronze badges

asked Sep 5, 2020 at 22:09

Miriam Harris's user avatar

$endgroup$

3

$begingroup$

The objSmileyFace object is likely created before the objHealth exist.

If you’re going to the room where these are defined, check the instance layer and see if both objects are present. and if objHealth is called before objSmileyFace. (priority depends on the order in the instance layer)

answered Sep 7, 2020 at 6:32

Steven's user avatar

StevenSteven

6765 silver badges18 bronze badges

$endgroup$

You must log in to answer this question.

Not the answer you’re looking for? Browse other questions tagged

.

Автор Тема: непонятная ошибка Error defining an external function  (Прочитано 6146 раз)
0 Пользователей и 1 Гость смотрят эту тему.
henry09

Посетитель
**

Репутация: -4
Offline Offline

Пол: Мужской
Russian Federation Russian Federation

API: Game Maker 8.0 Pro
Сообщений: 35


что это за ошибка,что означает.
___________________________________________

ERROR in
action number 1
of Create Event
for object server:

Error defining an external function.

« Последнее редактирование: Январь 29, 2012, 11:13:15 от FanTom »
Записан

henry09

Посетитель
**

Репутация: -4
Offline Offline

Пол: Мужской
Russian Federation Russian Federation

API: Game Maker 8.0 Pro
Сообщений: 35


А чего непонятного? dll забыл в папку положить.

как это положить


Записан

Kiselnikovgame

Активный участник
*****

Репутация: 36
Offline Offline

Пол: Мужской
Russian Federation Russian Federation

Награды:
За постоянность! [50 дней на форуме]
API: Game Maker 8.0 Pro
Деятельность: В основном программы для Windows!
Сообщений: 326

WWW


Как это? Взять DLL которую ты подключаещь в проект и скопировать в папку с игрой (туда, где у тебя файл gmk или другой)! 


Записан

При запуске пишет мол:
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Create Event
for object obj_player:

Pop :: Execution Error — Variable set failed phy_fixed_rotation — read only variable?
at gml_Object_obj_player_CreateEvent_1 (line 2) — spd=0;
############################################################################################

В Create я написал:
phy_fixed_rotation = true
spd=0;
image_speed=0

В step я написал:
var right_key = keyboard_check(vk_right);
var up_key = keyboard_check(vk_up);
var left_key = keyboard_check(vk_left);
var down_key = keyboard_check(vk_down);

if (right_key) {
phy_position_x += spd;
sprite_index = spr_player_right;
image_speed = .2;
}

if (up_key) {
phy_position_y -= spd;
sprite_index = spr_player_up;
image_speed = .2;
}

if (left_key) {
phy_position_x -= spd;
sprite_index = spr_player_left;
image_speed = .2;
}

if (down_key) {
phy_position_y += spd;
sprite_index = spr_player_down;
image_speed = .2;
}

if (!down_key and !up_key and !left_key and !right_key) {
image_speed = 0;
image_index = 0;
}

В чем может быть проблема, заранее спасибо!

No music in game.

Avatar image for funzzo

When ever I load this up I get this error.

ERROR in

action number 1

of Create Event

for object objDevolver:

Error defining an external function. I hit abort and the game loads up but without music. I get sound fx but no music. Is anyone else having this problem?

10 years ago

Avatar image for mcgrittles

Some who had that problem said that restarting their computers have fixed it

10 years ago

Avatar image for maxopower

@Funzzo: Jep me too. FUCK, I bought this game for the music alone. Not that it isn’t fun, but fuck the soundtrack i great.

10 years ago

Avatar image for funzzo

Ya it’s playable without sound right now but fuck that. I hope they patch this quick. Also I have re-installed/restated and done all the normal steam fix shit but nothing works.

10 years ago

Avatar image for funzzo

Just tried installing game again and restarting computer. Now game wont even launch. WHAT THE FUCK!!! Don’t put out broken fucking games! FUCK!

10 years ago

Avatar image for ballsnbayonets

yea i bought this game cuz the quicklook had awesome music and no music fuck.

10 years ago

Avatar image for chaser324

Worked for me perfectly fine this morning, but now there’s no music or the game crashes.

10 years ago

Avatar image for vitor

Having the same issue. Error 1 or whatever and then you can ignore it but no music. Seriously blows. It’s just not much fun without it.

10 years ago

Avatar image for fengshuigod

At least you guys can play it. For some reason the game chugs at about 1 frame every 2 seconds for me.

10 years ago

Avatar image for boxing_snatcher

I was playing it fine earlier, but now I get «Unexpected Error when Running game». The fuck am I supposed to do with that? Thanks for the info game.

10 years ago

Avatar image for impartialgecko

OH man, the music is integral to that experience. My sympathies. Game is buggy as hell at present.

10 years ago

Avatar image for audiosnow

@Funzzo: Where did you buy it? Is it a zip file or an installation? I don’t know how it’s distributed, but I have some experience with Game Maker.

The game is trying to call the external library for playing the OGG soundtrack files but it can’t find it.

Ensure your folder structure is intact. Make sure the DLL is in the proper place, which is probably the game’s immediate directory or a music subdirectory.

10 years ago

Avatar image for doctorchimp

Came in just to say this…what a fucking bummer.

Whatever, I have the soundcloud page up, I think I’ll hop on Sleeping Dogs for a bit. I hope they fix it soon.

10 years ago

Avatar image for metal_mills

Same. I’m lucky to even launch it. Siiiiiiiigh.

10 years ago

Avatar image for funzzo

I ran windows update and installed a few minor security updates and now it works. Not sure why. Great game.

10 years ago

Avatar image for blatantninja23

I didn’t have music either, I installed windows 8, restarted the computer and have had music since.

10 years ago

Avatar image for funzzo

Game has been patched and now it is not working once again.

10 years ago

Avatar image for maxopower

@Funzzo: A Patch? Where?!

10 years ago

Avatar image for gaminghooligan

Yep same here, had music last night but now nothing after that error. It’s such a bummer because the music really is amazing. Also whenever I try to turn on my gamepad controls I lose control of the game completely and have to go into Processes to close it, does anyone else have this issue?

10 years ago

Avatar image for funzzo

@MaxOpower said:

@Funzzo: A Patch? Where?!

On steam go to view update history. When I could not get the game working I contacted Dennis Wedin (Dennaton Games) over steam chat about how to fix this. He said to uninstall and then re-install and restart computer. This worked for me. Game is running great. I wish that when I select start game it would start me where I left off and not at the first «how to kill tutorial».

10 years ago

Avatar image for bjohndick

I just had this issue — updated Visual C++, updated my graphics driver, reinstalled the game. Whatever I did, no music.

Scratched my head, ran the game as administrator, then music and facepalm ensued.

I’m using a limited account on a different computer than normal so it didn’t immediately occur to me that it could be a user rights issue with the OGG library.

10 years ago

Avatar image for funzzo

Game has just been patched again with 360 controller support which feels ok to me. KB&M still better. Also new bonus chapter!!!

10 years ago

Avatar image for evo

Patch didn’t seem to fix it. I’m getting the error.

10 years ago

Avatar image for funzzo

@EVO said:

Patch didn’t seem to fix it. I’m getting the error.

Try this. Open task manager then click on «services» tab and find the one called spooler. It is the printer spooler. I turned this off and the game works every time now. I was getting an error every time I went to play this but now it starts right up with music.

10 years ago

Avatar image for evo

@Funzzo: Thanks, but after typing that message I restarted my computer and that fixed it.

10 years ago

Avatar image for mattraymond16

Disabling the printer apps in my tray fixed this. The game’s readme says printers may well affect the running of the game, but they don’t know why. I also updated my graphics drivers, not sure which one fixed it but I reckon the printer!

10 years ago

Avatar image for professoress

@Funzzo said:

@EVO said:

Patch didn’t seem to fix it. I’m getting the error.

Try this. Open task manager then click on «services» tab and find the one called spooler. It is the printer spooler. I turned this off and the game works every time now. I was getting an error every time I went to play this but now it starts right up with music.

Thanks Funzzo. I tried ever other recommendation and none of them worked. Killed the spooler process and it’s back up and running.

I never would’ve even considered doing this on my own :)

10 years ago

Когда включаю игру выбивает вот это:

############################################################################################

ERROR in

action number 1

of Create Event

for object SteamNetworkingTest:

Error defining an external function.

at gml_Script_dll_init

############################################################################################

———————————————————————————————

stack frame is

gml_Script_dll_init (line 0)

gml_Object_SteamNetworkingTest_Create_0

Что делать?

Учитесь грамотно описывать свои запросы, чем грамотнее и понятливее Вы их опишите, тем больше вероятность того, что Вам помогут.

Для начала, данная ошибка вылезала на ранних релизах игры, даже на официальных связанных со Steam. Что требуется, так это обновить игру, но если она у Вас пиратского происхождения, перекачайте другой репак. Второй момент, если играете в пиратские репаки, будьте готовы к тому, чтобы отключать антивирус на время запуска данного контента, или вообще добавляйте в доверительную зону, чтобы сам антивирус ничего не отключал.

Судя по логам Valve, разработчик зарыл некий сегмент ошибок в игру, который вызывал бы Баг-репорт, если отсутствует определённая библиотека игры, судя по всему она у Вас не подгрузилась, почему, см. выше.

Добрый день, в первую очередь попробуйте обновить драйвера, а если всё же проблема не исчезнет, то можно скачать steam_api.dll, у меня была похожая проблема с игрой, именно так я и вышел из ситуации, если же совсем ничего из вышесказанного не поможет, то можно поскачивать и поустанавливать и другие DLL-ки, что можно найти на FIXDLL, проблемы с запусками игр весьма распространённые, но многие из них решаются довольно просто …

Сударь, с такими методами Вам надо работать предсказателем, там вероятность совпадения равна тому как Вы целитесь пальцем в небо. Не зная сути проблемы, Вы советуете то, что по факту может только навредить.

У меня случалось такое. Дело оказалось в том, что антивирус блокировал dll файл physxloader.dll, в котором поселился какой-то вирусняк. Я долго колдовал и пытался переустанавливать Nidhogg, но ничего не помогало. В конце концов решил скачать physxloader.dll и заменить испорченный файл. Вам в принципе правильно ответили, нужно использовать официальную версию, потому что в репаках одни вирусы.

Вы лишь отчасти правы, почему, см мой ответ выше. В репаках вирусов примерно столько же, сколько в процентном соотношении «прокладок» между креслом и мониторами! Если Вы не в курсе, любая пиратка содержит модифицированное программное обеспечение, которое обходит защиту разработчиков или компаний которые официально продают их на разных площадках, эти скрипты по факту вызывают некий способ отключения определённых функций, а то и наоборот дополнительно включают, и то, что это вирус, лишь Ваши догадки, не более.

Если не доверяете репаку и думаете что там «зловред», используйте отчуждённую зону в виде виртуальных машин.

Понравилась статья? Поделить с друзьями:
  • Error in a uploading bitrix
  • Error impossible constraint in asm
  • Error importing repomd xml for base damaged repomd xml file
  • Error importing hplip modules is hplip installed
  • Error implicit declaration of function itoa