Complete scripting bugs list (0.3 updated)

I Tested SPECIAL_ACTION_CUFFED And Also its dont worked.
Reply

Some mistakes are there but anyway good
Reply

a_samp.inc

pawn Код:
native EnableZoneNames(enable);
  • EnableZoneNames - Doesn't work - is easilly scriptable so should be removed?
This function was removed in SA-MP 0.3. This was due to crashes it caused.
https://sampwiki.blast.hk/wiki/EnableZoneNames
Reply

Any of these getting fixed in 0.3.7?
Reply

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
Reply

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

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
Reply

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

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.
Reply

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.
Reply

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

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

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] = '#';
	}
}
Reply

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.
Reply

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.
Reply

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.
Reply

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"
Reply

Removed the following as it is fixed since 0.3.8 RC4-2:
  • SetPlayerCheckpoint - If the checkpoint is set on a custom object or a non-solid surface it will show floating above the surface.
Reply

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


Forum Jump:


Users browsing this thread: 1 Guest(s)