Author Topic: Support_Heightcontrol no longer works?  (Read 1294 times)

I have support_heightcontrol and use it on my server, but however it seems the client file is broken and even redownloading it from the RTB archive yields no results.
Client code:
Code: [Select]
//Made by: Lordician

//Ping-Pong is from the compass mod. All credits go to the original creator for this.
//This is a safe and good way to check if the server has the mod and if the client has the clientside.
function clientcmdHC_client_ping(%x)
{
commandtoserver('HC_client_pong',%x);
$HCServer = 1;
}

package supportheightcontrol
{
function crouch(%val)
{
if($HCServer)
{
if(%val==1)
commandtoserver('hoverDescend');
else
commandtoserver('hoverStop');
}
Parent::crouch(%val);
}
function jump(%val)
{
if($HCServer)
{
if(%val==1)
commandtoserver('hoverAscend');
else
commandtoserver('hoverStop');
}
Parent::jump(%val);
}
function disconnect(%a)
{
if($HCServer)
{
commandtoserver('hoverStop');
$HCServer = 0;
}
Parent::disconnect(%a);
}
};
activatePackage(supportheightcontrol);

What mods are you trying to use it on?

I have a stuffton of mods but they should not conflict at all. I have OrBs DaProgs though.

I have a stuffton of mods but they should not conflict at all. I have OrBs DaProgs though.
my point is this doesnt just work for every vehicle on the server; the vehicle must support heightcontrol
e.g. phydeoux's helicopters support it, but the really old UH iroquois doesnt.

Most vehicles I have and attempt to use have support for heightcontrol so it shouldnt be a problem. It is saying i DONT have it.

Hmm, can anyone reproduce this? Anyone else have some problems with this?

Also, can you attach the console.log to a post or something similar?
I do not expect any problems with it.

Aside of that, i have had a newer version in the works, but i kind of lost all energy to work on things some time ago. Long story, nevertheless, recently i was thinking of coming back to it. No promises.
But i will keep an eye on this topic to see if i can help you and/or others with the old version for now at least.

I've been on a few servers today and height control is working fine for me.

Here's the console.log.
Please finish support_heightcontrol Lordician!

http://pastebin.com/WadGNJbJ

How odd. At this time i cannot see a specific reason why it should not work.
There are however a lot of errors regarding the apache.
Could you give me a bit more information on the situation?
Like for example, what vehicle did it not work on and why do you say the client is broken?
Is the latter because you typed /hchelp and it said you did not?