Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Smokehouse

Can't complile "Mission" script module!

Recommended Posts

Hello all,

 

Server was working fine yesterday, then today after the update now when I try to start the server I'm getting an error message Compile Error "Can't compile "Mission" script module!            scripts/5_Mission/mission\missiongameplay.c(380): Can't fine vari8able 'UADropitem'.

So I've unpacked the Scripts folder with PBM and I do see two lines with the UADropitem in it. Is there anything wrong with what I have?

 

//if(GetUApi().GetInputByName("UADropitem").LocalPress())

if(input.GetActionDown(UADropitem, false))

 

Thanks

Share this post


Link to post
Share on other sites
16 minutes ago, Smokehouse said:

 

//if(GetUApi().GetInputByName("UADropitem").LocalPress())

if(input.GetActionDown(UADropitem, false))

 

changed mine to this, and got mine fired back up. Simply switched out was commented out.

if(GetUApi().GetInputByName("UADropitem").LocalPress())

//if(input.GetActionDown(UADropitem, false))

Working now, seemingly without any issues currently.

  • Like 1

Share this post


Link to post
Share on other sites
14 minutes ago, RRP47 said:

changed mine to this, and got mine fired back up. Simply switched out was commented out.


if(GetUApi().GetInputByName("UADropitem").LocalPress())

//if(input.GetActionDown(UADropitem, false))

Working now, seemingly without any issues currently.

This seems to have gotten rid of the error, thank you. But now everyone seems to be hanging when trying to join the server despite everything saying it's running fine server side. 

Share this post


Link to post
Share on other sites

me too 

Please explain in detail what to do.

What is a PBM?

Edited by ChopaRaice

Share this post


Link to post
Share on other sites
13 minutes ago, ChopaRaice said:

me too 

Please explain in detail what to do.

What is a PBM?

PBO Manager, you have to unpack the Scripts file, go into scripts/5_Mission/mission\missiongameplay.c and open it with a text editor, change what was listed above, save it and re-pack the scrips file using PBO Manager and replace the one in your server (Make backups)

Share this post


Link to post
Share on other sites
1 minute ago, Smokehouse said:

PBO Manager, you have to unpack the Scripts file, go into scripts/5_Mission/mission\missiongameplay.c and open it with a text editor, change what was listed above, save it and re-pack the scrips file using PBO Manager and replace the one in your server (Make backups)

Thank you very much for your explanation!

Share this post


Link to post
Share on other sites

This is how you fix it. It's a client side issue: 

If you edited the server files, you should revert that change. This fixed it for me.

Oh yeah, and this forum is a better place to look for Troubleshooting help: https://forums.dayz.com/forum/126-troubleshooting/

Edited by GrossKopfZed

Share this post


Link to post
Share on other sites

×