SA-MP Forums

Go Back   SA-MP Forums > SA-MP > Bug Reports

Reply
 
Thread Tools Display Modes
Old 05/12/2017, 01:45 PM   #211
CaioTJF
Gangsta
 
CaioTJF's Avatar
 
Join Date: Sep 2012
Location: Rio de Janeiro
Posts: 528
Reputation: 144
Default Re: Complete scripting bugs list (0.3 updated)

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

IP: 192.99.94.236:7771 / Website: www.gtatorcidas.net

Procurando VPS para hospedar seu servidor? --> www.blasthosting.com.br


CaioTJF is offline   Reply With Quote
Old 05/12/2017, 02:54 PM   #212
BeckzyBoi
Beta Tester
 
Join Date: Dec 2006
Posts: 1,679
Reputation: 122
Default Re: Complete scripting bugs list (0.3 updated)

Quote:
Originally Posted by CaioTJF View Post
In some cases, typing "%%" in dialogs crash the server
Why would you use "%%" anyway?
__________________
BeckzyBoi is offline   Reply With Quote
Old 05/12/2017, 02:58 PM   #213
adri1
Banned
 
Join Date: Oct 2010
Posts: 1,940
Reputation: 955
Default Re: Complete scripting bugs list (0.3 updated)

Quote:
Originally Posted by CaioTJF View Post
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:
Code:
//top OnDialogResponse
if(!isnull(inputtext))
{
	for(new i, j = strlen(inputtext); i <= j; i++)
	{
		if(inputtext[i] == '%') inputtext[i] = '#';
	}
}
adri1 is offline   Reply With Quote
Old 05/12/2017, 03:36 PM   #214
IstuntmanI
High-roller
 
IstuntmanI's Avatar
 
Join Date: Mar 2009
Location: Romania
Posts: 1,871
Reputation: 370
Default Re: Complete scripting bugs list (0.3 updated)

Quote:
Originally Posted by BeckzyBoi View Post
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.
__________________


IstuntmanI is offline   Reply With Quote
Old 05/12/2017, 09:37 PM   #215
Admigo
High-roller
 
Admigo's Avatar
 
Join Date: Oct 2010
Location: The Netherlands
Posts: 2,046
Reputation: 294
Default Re: Complete scripting bugs list (0.3 updated)

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.
__________________
QUITED SA-MP
Follow me on Instagram @brandonvanommen
Admigo is offline   Reply With Quote
Old 05/12/2017, 11:14 PM   #216
Kar
High-roller
 
Kar's Avatar
 
Join Date: May 2010
Location: Black Asylum
Posts: 3,174
Reputation: 488
Default Re: Complete scripting bugs list (0.3 updated)

Quote:
Originally Posted by BeckzyBoi View Post
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.
Kar is offline   Reply With Quote
Old 23/12/2017, 09:14 AM   #217
BeckzyBoi
Beta Tester
 
Join Date: Dec 2006
Posts: 1,679
Reputation: 122
Default Re: Complete scripting bugs list (0.3 updated)

Quote:
Originally Posted by adri1 View Post
It will crash if you format a string with inputtext (and contains '%') and use SendClientMessage.

Fix:
Code:
//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"
__________________
BeckzyBoi is offline   Reply With Quote
Old 28/12/2017, 06:23 PM   #218
BeckzyBoi
Beta Tester
 
Join Date: Dec 2006
Posts: 1,679
Reputation: 122
Default Re: Complete scripting bugs list (0.3 updated)

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.
__________________
BeckzyBoi is offline   Reply With Quote
Old 03/01/2018, 10:37 PM   #219
adri1
Banned
 
Join Date: Oct 2010
Posts: 1,940
Reputation: 955
Default Re: Complete scripting bugs list (0.3 updated)

soundid 177 is crashing me
PlayerPlaySound(playerid, 177, 0.0, 0.0, 0.0);
adri1 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GameMode] [GM] Complete War MrXavier Gamemode Scripts 22 02/04/2013 11:25 AM
Complete Server Setup SanAntonio Server Support 5 31/10/2009 02:38 PM
need help with scripting and bugs and server and website mi33le Server Support 1 06/09/2009 09:52 PM
The Big Damn List of Tutorials (Photoshop) -Will be Updated! RobertGraham Everything and Nothing 10 01/07/2009 08:40 PM


All times are GMT. The time now is 02:51 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.