This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
jocan2003's profile picture

[SMP][Tekkit 3.1.2] Timer dies if unattended [ccSensor]

Started by jocan2003, 24 October 2012 - 05:16 AM
jocan2003 #1
Posted 24 October 2012 - 07:16 AM
ComputerCraft Version Information: 1.3 Client / 1.3 Server

Description of Bug:
Im using ccSensor coming with tekkit, basicly i made a program wich print a form with different value using timer for refresh ( right now only 1 value is being refreshed for debugging purposes. Well if im attended with the terminal open it works fine, but as soon i leave the terminal all timer *disapear* and no more updates. I just want to know if anybody encountered the same behavior and what they did to fix it.

My program runs fine as long i keep my terminal window opened, but as soon i leave it… all stops.

Steps to Reproduce Bug:
Run my program, leave terminal and come back, all timer died. ( sadly i dont have access to the source of y own program i would have to rewrite a few hundred lines….
thepowdertoy #2
Posted 24 October 2012 - 07:36 AM
Did you make the chunk unloaded?
jocan2003 #3
Posted 24 October 2012 - 08:51 AM
I didnt move an inch, simply closed and reopened the terminal, and i dont think the server would unload a chunk if a player is on it.
Cloudy #4
Posted 24 October 2012 - 09:47 AM
Tekkit uses an old version of ComputerCraft - no support I'm afraid.

Are you sure your pull event code doesn't react to key presses? When you press escape a key event with param of 1 is triggered.

In future for stuff like this don't assume it is a bug on our part when most likely it is your code which is at fault. Ask A Pro is the best location for this type of query.