Page 3 of 7
Re: [Beta 0.3]Fox Control for TM²
Posted: 19 Aug 2011, 01:57
by Steve_59
The bash error is caused by editing the script on a Windows machine.
If you must edit it on a Windows machine then use Notepad++, there is an option in the format menu to convert the file to Unix format.
The FoxControl.pid is created by the system when the FoxControl process starts.
PID stands for Process ID, it is not a file that will be shipped as the system will automatically create it when the program runs.
Re: [Beta 0.3]Fox Control for TM²
Posted: 19 Aug 2011, 03:38
by pajo
Steve_59 wrote:The bash error is caused by editing the script on a Windows machine.
If you must edit it on a Windows machine then use Notepad++, there is an option in the format menu to convert the file to Unix format.
The FoxControl.pid is created by the system when the FoxControl process starts.
PID stands for Process ID, it is not a file that will be shipped as the system will automatically create it when the program runs.
Yeah I edited in on Win :$ ( bad install / readme text included so really I can't know what to expect , hehe ) . Okay thanks mate ( I knew what PID stands for but never the less it's nice you care to explain

) . Oh ok I thought it has to be put there manually ( at least creator should explain again in readme or something

) . Now when I re-uploaded new zip of fox control and have tried to edit it directly on linux it gives same error ? Weird ha ?

, only option is to edit with notepad++ on win then to upload it on linux or ?
Re: [Beta 0.3]Fox Control for TM²
Posted: 19 Aug 2011, 09:55
by Leigham
If you're on a linux machine or server you can use the dos2unix command to convert the file. Just make sure the tofrodos package is installed and then cd to the directory and type 'dos2unix control.sh'.
Re: [Beta 0.3]Fox Control for TM²
Posted: 19 Aug 2011, 11:34
by lordfiSh
Re: [Beta 0.3]Fox Control for TM²
Posted: 19 Aug 2011, 15:30
by pajo
Worked fine till this error didn't pop up :
Code: Select all
[19.08.11 14:54:40] -->Enable custom_ui..
[19.08.11 14:54:40] -->Custom_ui enabled!
PHP Fatal error: Call to a member function fetch_object() on a non-object in /usr/games/tm2/server02/fox02/plugins/plugin.records.php on line 110
Re: [Beta 0.3]Fox Control for TM²
Posted: 19 Aug 2011, 17:02
by Libero
Crash Bug is known now and we will try to fix it with the next bugfix update in the next days which also should bring fox control more powerfull. Please stay tuned
Re: [Beta 0.3]Fox Control for TM²
Posted: 19 Aug 2011, 17:08
by pajo
Libero wrote:Crash Bug is known now and we will try to fix it with an bugfix update in the next days which also should bring fox control faster and powerfull. Please stay tuned
So I can't start fox control ? rofl.. Because now I don't have any widgets in game..
Re: [Beta 0.3]Fox Control for TM²
Posted: 19 Aug 2011, 17:09
by Libero
You could start it but its possible that it crashs after 4 or 5 maps
Re: [Beta 0.3]Fox Control for TM²
Posted: 19 Aug 2011, 17:30
by pajo
Libero wrote:You could start it but its possible that it crashs after 4 or 5 maps
How I'm gonna start it when it reports this error ?

Re: [Beta 0.3]Fox Control for TM²
Posted: 19 Aug 2011, 17:32
by cdrw700
Execute the SQL script in the .sql in phpmyadmin
