SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Русский/Russian

Reply
 
Thread Tools Display Modes
Old 08/09/2018, 01:27 PM   #11
CamperGTA
Big Clucker
 
Join Date: Jan 2013
Posts: 188
Reputation: 0
Default Re: AMX backtrace: #0 native GetPlayerPos () from samp03svr

PHP Code:
new str[128];
format(strsizeof(str), "Игрок %s желает провести с вами драг-гонку\nСтавка: $%d \nВы согласны?"PlayerName(playerid), DragPrice[playerid]);
ShowPlayerDialog(DragOffer[playerid], 171DIALOG_STYLE_MSGBOX,"Вы согласны?"str"Да""Нет"); 
CamperGTA is offline   Reply With Quote
Old 09/09/2018, 02:22 PM   #12
CamperGTA
Big Clucker
 
Join Date: Jan 2013
Posts: 188
Reputation: 0
Default Re: AMX backtrace: #0 native GetPlayerPos () from samp03svr

/logs/log-core.log
PHP Code:
[02/09/2018 14:31:59] [ERRORsignal 11 (SIGSEGVcatchedshutting log-core down (errno0signal code1, exit status0
CamperGTA is offline   Reply With Quote
Old 09/09/2018, 03:39 PM   #13
Eims
Huge Clucker
 
Eims's Avatar
 
Join Date: May 2013
Location: Восточный Мордор
Posts: 453
Reputation: 15
Default Re: AMX backtrace: #0 native GetPlayerPos () from samp03svr

Крашит именно при вызове диалога? Или при нажатии на кнопку диалога? Или диалог никак не влияет на краш?
__________________
- How many IT Engineers does it take to fix a broken light bulb?
- None, the light bulb works fine in my office, I cannot replicate the issue.
Eims is offline   Reply With Quote
Old 09/09/2018, 05:18 PM   #14
CamperGTA
Big Clucker
 
Join Date: Jan 2013
Posts: 188
Reputation: 0
Default Re: AMX backtrace: #0 native GetPlayerPos () from samp03svr

Quote:
Originally Posted by Eims View Post
Крашит именно при вызове диалога? Или при нажатии на кнопку диалога? Или диалог никак не влияет на краш?
крашит при обработке диалога
CamperGTA is offline   Reply With Quote
Old 09/09/2018, 06:07 PM   #15
White_116
High-roller
 
Join Date: Sep 2010
Location: Russia/116
Posts: 1,485
Reputation: 69
Default Re: AMX backtrace: #0 native GetPlayerPos () from samp03svr

Скорее всего ошибка не в GetPlayerPos, она происходит выше. Старый добрый метод расставить принты и смотреть уже логи. Стэк портится и начинает ссылаться на эту строку кода.
__________________
White_116 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
Help with GetPlayerPos C0oL3r Scripting Help 5 08/02/2018 12:57 PM
GetPlayerPos Bussyman Scripting Help 2 16/06/2017 04:59 PM
GetPlayerPos Help lewismichaelbbc Scripting Help 2 15/06/2012 08:57 PM
GetPlayerPos DragonYancy Scripting Help 6 14/06/2012 08:14 PM
GetPlayerPos bartje01 Help Archive 22 31/01/2010 09:20 PM


All times are GMT. The time now is 03:42 AM.


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