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) - hesambia - 07.09.2014

I Tested SPECIAL_ACTION_CUFFED And Also its dont worked.


Re: Complete scripting bugs list (0.3 updated) - ReD_DeVi - 08.09.2014

Some mistakes are there but anyway good


Respuesta: Complete scripting bugs list (0.3 updated) - IvanAyuso - 07.10.2014

a_samp.inc

pawn Код:
native EnableZoneNames(enable);
This function was removed in SA-MP 0.3. This was due to crashes it caused.
https://sampwiki.blast.hk/wiki/EnableZoneNames


AW: Complete scripting bugs list (0.3 updated) - Mellnik - 17.01.2015

Any of these getting fixed in 0.3.7?


Re: Complete scripting bugs list (0.3 updated) - Matess - 18.01.2015

BUG: CreatePickup with ID 14 on water

Example with same Z coord:

ID: 1
CreatePickup(3096, 1, 495.1157,-2869.9233,3.9688, -1);



ID: 14
CreatePickup(3096, 14, 495.1157,-2869.9233,3.9688, -1);



It drops down to water, when the Z coord is lower than 15.13
//well it could be different on different place but still it's a problem


Re: Complete scripting bugs list (0.3 updated) - xerox8521 - 01.01.2016

GetWeaponName returns a null string for weapon 0 aka Fists. Should be noted on the wiki and the workaround needs to be updated aswell.


Re: Complete scripting bugs list (0.3 updated) - Abagail - 02.01.2016

pawn Код:
GetWeaponNameEx(weaponid, const weapon[], len)
{
    if(weaponid == 0)
    {
        strcat(weapon, "Fists", sizeof weapon);
        return 1;
    }
   
    else return GetWeaponName(weaponid, weapon, len);
}

#if defined _ALS_GetWeaponName
    #undef GetWeaponName
#else
#define _ALS_GetWeaponName
#endif
#define GetWeaponName GetWeaponNameEx



Re: Complete scripting bugs list (0.3 updated) - mobiliz - 19.01.2016

https://sampforum.blast.hk/showthread.php?tid=598959


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

I've just had a quick glance through the wiki bug page. Many of them (I believe) aren't bugs - even a couple that I thought were, and documented in this topic, I have learned aren't actually bugs. I've got a busy day ahead of me today, I'll try and update this topic in the coming days to remove the "bugs" that aren't bugs, and add the ones that are missing.


Re: Complete scripting bugs list (0.3 updated) - Freaksken - 05.12.2017

My reported bugs: click.

Also this annoying visual one: click.

EDIT:
Also have a look at the Fixes include. Would be cool if these could get fixed natively. But because they are already fixed, they may be less of a priority.


Re: Complete scripting bugs list (0.3 updated) - CaioTJF - 05.12.2017

In some cases, typing "%%" in dialogs crash the server


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

Quote:
Originally Posted by CaioTJF
Посмотреть сообщение
In some cases, typing "%%" in dialogs crash the server
Why would you use "%%" anyway?


Re: Complete scripting bugs list (0.3 updated) - adri1 - 05.12.2017

Quote:
Originally Posted by CaioTJF
Посмотреть сообщение
In some cases, typing "%%" in dialogs crash the server
It will crash if you format a string with inputtext (and contains '%') and use SendClientMessage.

Fix:
Код:
//top OnDialogResponse
if(!isnull(inputtext))
{
	for(new i, j = strlen(inputtext); i <= j; i++)
	{
		if(inputtext[i] == '%') inputtext[i] = '#';
	}
}



Re: Complete scripting bugs list (0.3 updated) - IstuntmanI - 05.12.2017

Quote:
Originally Posted by BeckzyBoi
Посмотреть сообщение
I've just had a quick glance through the wiki bug page. Many of them (I believe) aren't bugs - even a couple that I thought were, and documented in this topic, I have learned aren't actually bugs. I've got a busy day ahead of me today, I'll try and update this topic in the coming days to remove the "bugs" that aren't bugs, and add the ones that are missing.
Yeah, but most of those you are talking about are mostly unexpected features of the GTA SA engine that definitely look bugged. You can't do anything with most of those unexpected edge cases.


Re: Complete scripting bugs list (0.3 updated) - Admigo - 05.12.2017

The missing animation when a player is entering a locked vehicle(SetVehicleParamsEx) as driver the locked animation is not showing. While entering a locked vehicle as passenger the animation shows fine.


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

Quote:
Originally Posted by BeckzyBoi
Посмотреть сообщение
Why would you use "%%" anyway?
It's not us, the developers who will use it. It's players. I know of a few people who put % in there passwords, and without basic knowledge of sa-mp bugs, your server will easily be crashing.


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

Quote:
Originally Posted by adri1
Посмотреть сообщение
It will crash if you format a string with inputtext (and contains '%') and use SendClientMessage.

Fix:
Код:
//top OnDialogResponse
if(!isnull(inputtext))
{
	for(new i, j = strlen(inputtext); i <= j; i++)
	{
		if(inputtext[i] == '%') inputtext[i] = '#';
	}
}
"i <= j" should be "i < j"


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

Removed the following as it is fixed since 0.3.8 RC4-2:



Re: Complete scripting bugs list (0.3 updated) - adri1 - 03.01.2018

soundid 177 is crashing me
PlayerPlaySound(playerid, 177, 0.0, 0.0, 0.0);