SA-MP Forums Archive
Complete scripting bugs list (0.3 updated) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Complete scripting bugs list (0.3 updated) (/showthread.php?tid=59486)

Pages: 1 2 3 4 5 6 7


Re: Complete scripting bugs list (0.3 updated) - Patrik356b - 22.05.2011

Quote:
Originally Posted by leong124
View Post
OnVehicleDeath - Vortex entering the water will still call OnVehicleDeath, though it actually can float on the water and drive.
Does OnVehicleDeath gets called when you land a leviathan/sea-sparrow on water ? (They both float)


Re: Complete scripting bugs list (0.3 updated) - Joe Staff - 22.05.2011

The "textdraw bugs" aren't bugs, atleast I don't think so, several of my scripts rely on that affect


Re: Complete scripting bugs list (0.3 updated) - leong124 - 23.05.2011

Quote:
Originally Posted by Patrik356b
View Post
Does OnVehicleDeath gets called when you land a leviathan/sea-sparrow on water ? (They both float)
Leviathan: Yes when it enters the water and floats up again, no if it doesn't.
Seasparrow: No if you carefully touch the water, yes if it falls into water and float again.
Vortex: Same as Seasparrow.

Vortex and Seasparrow calls OnVehicleDeath only when I exit them and wait for a while.


Re: Complete scripting bugs list (0.3c updated) - beckzy - 24.05.2011

I've updated the list. Let me know if I have missed anything and I will add it to the list.


Re: Complete scripting bugs list (0.3 updated) - leong124 - 12.06.2011

SetVehicleToRespawn - OnVehicleSpawn seems to be called before respawning the vehicle, which will cause vehicle lock,alarm,etc. problems. I set the vehicles' parameters in OnVehicleSpawn so that they should be correctly set after they are respawned. With this bug I can't set it, because it is reset to -1.

EDIT:
OnVehicleDeath - Sometimes will not call when I try to flip a vehicle by sawn-off shotgun to make it explode. This could cause problems on player vehicle systems, since the variables cannot be reset in the callback.


Re: Complete scripting bugs list (0.3 updated) - shitbird - 21.06.2011

OnPlayerUpdate() - Doesn't detect changes/spawned weapons inside a vehicle.


Re: Complete scripting bugs list (0.3 updated) - Robert_Crawford - 22.06.2011

OnPlayerSpawn() If you Do SetCameraBehindPlayer; Doesn't Work


Re: Complete scripting bugs list (0.3 updated) - shitbird - 22.06.2011

Quote:
Originally Posted by Robert_Crawford
View Post
OnPlayerSpawn() If you Do SetCameraBehindPlayer; Doesn't Work
Works for me.


Re: Complete scripting bugs list (0.3 updated) - leong124 - 26.06.2011

Quote:
Originally Posted by shitbird
View Post
OnPlayerUpdate() - Doesn't detect changes/spawned weapons inside a vehicle.
It's the problem of GetPlayerWeapon,GetPlayerAmmo,etc..

PlayerSpectatePlayer/PlayerSpectateVehicle - when the spectate mode is turned on with this two functions in vehicles, sometimes 2 extra OnPlayerStateChange will be called.

For example:
Code:
[CMD]/spectate 0 //0 is the target ID
OnPlayerStateChange called(driver->spectating) when TogglePlayerSpectating is called
OnPlayerStateChange called(spectating->driver) after the command is finished //This is the problem
OnPlayerStateChange called(driver->spectating)



Re: Complete scripting bugs list (0.3 updated) - Calgon - 26.06.2011

Quote:
Originally Posted by ******
Посмотреть сообщение
Don't know how maintained this still is, but I've developed a fix for the SetTimerEx problem.
How so?


Re: Complete scripting bugs list (0.3 updated) - Calgon - 26.06.2011

Ah, I thought you'd tinker with your y_timers library. Has it been released?


Re: Complete scripting bugs list (0.3 updated) - beckzy - 04.08.2011

Are there any bugs that are still missing from the list?


Re: Complete scripting bugs list (0.3 updated) - leong124 - 04.08.2011

The callback bugs are missing.


AW: Complete scripting bugs list (0.3 updated) - Arrows73 - 15.08.2011

There's also that pickup bug, there was a thread about it, idk if it was fixed yet


Re: Complete scripting bugs list (0.3 updated) - RAEN - 19.08.2011

Plz fix this in R6:
SetVehicleZAngle dont't work in OnVehicleSpawn.

Only:
pawn Код:
public OnVehicleSpawn(vehicleid)
{
    SetTimerEx("SetRightVehicleAngle", 700, false, "i", vehicleid);
    return 1;
}
public SetRightVehicleAngle(vehicleid)
{
    SetVehicleZAngle(vehicleid, CarInfo[vehicleid][oPos][3]);
}



Re: Complete scripting bugs list (0.3 updated) - Kar - 20.08.2011

SetVehicleParamEx and SetVehicleParamsForPlayer doesn't work under onvehiclespawn


Re: Complete scripting bugs list (0.3 updated) - kurta999 - 20.08.2011

Quote:
Originally Posted by RAEN
Посмотреть сообщение
Plz fix this in R6:
SetVehicleZAngle dont't work in OnVehicleSpawn.

Only:
pawn Код:
public OnVehicleSpawn(vehicleid)
{
    SetTimerEx("SetRightVehicleAngle", 700, false, "i", vehicleid);
    return 1;
}
public SetRightVehicleAngle(vehicleid)
{
    SetVehicleZAngle(vehicleid, CarInfo[vehicleid][oPos][3]);
}
Anyway you not need 700ms timer, with 0ms is better. Because run after function finish.


Re: Complete scripting bugs list (0.3 updated) - FireCat - 21.08.2011

"SetPlayerWorldBounds - If you hold down the aim key you can walk through world boundries."
Not anymore.


Re: Complete scripting bugs list (0.3 updated) - Kar - 23.08.2011

setvehicleparamsex conflicts with the players client, if your in a vehicle with a siren, when setvehicleparamsex is on, it turns off the siren

edit: createvehicle does not call onvehiclespawn


Re: Complete scripting bugs list (0.3 updated) - Jon_De - 25.08.2011

Quote:
Originally Posted by RAEN
Посмотреть сообщение
Plz fix this in R6:
SetVehicleZAngle dont't work in OnVehicleSpawn.

Only:
pawn Код:
public OnVehicleSpawn(vehicleid)
{
    SetTimerEx("SetRightVehicleAngle", 700, false, "i", vehicleid);
    return 1;
}
public SetRightVehicleAngle(vehicleid)
{
    SetVehicleZAngle(vehicleid, CarInfo[vehicleid][oPos][3]);
}
offtop:
where you taken R6?