Home   Help Search Login Register  

Author Topic: hoz_timer serialization error  (Read 1890 times)

0 Members and 1 Guest are viewing this topic.

Offline CaptainBravo

  • Members
  • *
hoz_timer serialization error
« on: 22 Mar 2010, 11:39:22 »
Hey everyone,

I am using the countdown timer by hoz but for osme reason I keep getting following error at begining of mission:

"Variable 'hoz_timer' does not support serialization and should not be stored in the mission namespace."

It still works but just annoying. Anyone knows how to fix?

Thanks for your help.

Offline hoz

  • OFPEC Site
  • Administrator
  • *****
Re: hoz_timer serialization error
« Reply #1 on: 22 Mar 2010, 14:34:34 »
Use the Arma2 verision found here
Xbox Rocks

Offline CaptainBravo

  • Members
  • *
Re: hoz_timer serialization error
« Reply #2 on: 22 Mar 2010, 16:48:51 »
Thanks Hoz, works great now. Last related question, what do I need to change to have timer stays on longer,so every time it comes up it stays for 60 seconds.

Thanks for your help.

Offline hoz

  • OFPEC Site
  • Administrator
  • *****
Re: hoz_timer serialization error
« Reply #3 on: 22 Mar 2010, 17:46:32 »

[[warningFreq],maxTime,displayTime,timeFormat] execvm "hoz_timer\scripts\HozTimer.sqf";
[[120,60,30,10],120,10,"HH:MM:SS"] execvm "hoz_timer\scripts\HozTimer.sqf";

You  need to change the displayTime in the init.sqf

Hoz
Xbox Rocks

Offline CaptainBravo

  • Members
  • *
Re: hoz_timer serialization error
« Reply #4 on: 22 Mar 2010, 17:53:45 »
Thanks hos. I must be a bit sssslow today but still shows up only for 2 seconds.

This is what I have in first line in init:

HOZ_timerOn =true;
[[1200,900,600,300,120,30],1200,30,"HH:MM:SS"] execvm "hoz_timer\scripts\HozTimer.sqf";

Wanting to stay up for 30 seconds but only shows for 2 seconds  ???

Offline hoz

  • OFPEC Site
  • Administrator
  • *****
Re: hoz_timer serialization error
« Reply #5 on: 24 Mar 2010, 00:41:01 »
Even version you downloaded from OFPEC does this? I just tried it and for sure it was counting down from 30 seconds.
Xbox Rocks

Offline CaptainBravo

  • Members
  • *
Re: hoz_timer serialization error
« Reply #6 on: 25 Mar 2010, 15:44:38 »
Hi hoz,

I have downloaded latest version from here and still.

Here is the link to mission where I am difficulty getting the timer to show display for the duration I want.

Mission: http://www.filefront.com/15928059/ACE2_Snipers_AND_Hunters.Chernarus.rar

I am sure it is something silly  have missed  :whistle:

Thank you for yoru help.