Jump to content
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×