SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 02/09/2018, 04:06 PM   #1
CamperGTA
Big Clucker
 
Join Date: Jan 2013
Posts: 188
Reputation: 0
Default AMX backtrace: #0 native GetPlayerPos () from samp03svr

PHP Code:
Server crashed while executing new.amx
[02/09/2018 14:31:59] [debugAMX backtrace:
[
02/09/2018 14:31:59] [debug#0 native GetPlayerPos () from samp03svr
[02/09/2018 14:31:59] [debug#1 0069f42c in public OnDialogResponse (playerid=1, dialogid=171, response=1, listitem=-1, inputtext[]=@0023418c "") at C:\Users\Desktop\Сервер\gamemodes\new.pwn:53272
[02/09/2018 14:31:59] [debugNative backtrace:
[
02/09/2018 14:31:59] [debug#0 f742b180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[02/09/2018 14:31:59] [debug#1 f7423064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[02/09/2018 14:31:59] [debug#2 f7423d64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[02/09/2018 14:31:59] [debug#3 f7425cdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[02/09/2018 14:31:59] [debug#4 f742a4d5 in ?? () from plugins/crashdetect.so
[02/09/2018 14:31:59] [debug#5 f7782410 in ?? ()
[02/09/2018 14:31:59] [debug#6 080d861b in ?? () from ./samp03svr
[02/09/2018 14:31:59] [debug#7 080950e4 in ?? () from ./samp03svr
[02/09/2018 14:31:59] [debug#8 f7424ad3 in _ZN11CrashDetect17HandleAMXCallbackEiPiS0_ () from plugins/crashdetect.so
[02/09/2018 14:31:59] [debug#9 0023418c in ?? () from *    uчHuчґЪ
[02/09/2018 14:31:59] [debugґЪ
[02/09/2018 14:31:59] [debugµ Ъ
[02/09/2018 14:31:59] [debugґЪ
[02/09/2018 14:31:59] [debugJ!Ъ
[02/09/2018 14:31:59] [debugґ
[02/09/2018 | 14:31:59] [debug] ґЎuч
[02/09/2018 | 14:31:59] [debug] Registers:
[02/09/2018 | 14:31:59] [debug] EAX: 00000000 EBX: 0b23a220 ECX: 09966818 EDX: 4500b3b8
[02/09/2018 | 14:31:59] [debug] ESI: f4f69eb0 EDI: 09966818 EBP: ff83a668 ESP: ff83a640
[02/09/2018 | 14:31:59] [debug] EIP: 080d861b EFLAGS: 00210286
[02/09/2018 | 14:31:59] [debug] Stack:
[02/09/2018 | 14:31:59] [debug] ESP+00000000: 09966818 006d961c ff83a658 00000000
[02/09/2018 | 14:31:59] [debug] ESP+00000020: 00000a70 09966818 ff83a698 080950e4
[02/09/2018 | 14:31:59] [debug] ESP+00000040: ff83a790 00000000 080d85a0 f744fff4
[02/09/2018 | 14:31:59] [debug] ESP+00000060: 09966818 0000008d ff83a88c f4f69eb0
[02/09/2018 | 14:31:59] [debug] ESP+00000080: f77a2d00 f73636f4 ff83a758 f75871ec
[02/09/2018 | 14:31:59] [debug] ESP+000000a0: 00000000 0000002d 00000002 f76b9b27
[02/09/2018 | 14:31:59] [debug] ESP+000000c0: 09793b88 09790d28 09790d28 00000001
[02/09/2018 | 14:31:59] [debug] ESP+000000e0: 097a2ca4 0815a63d ff83a8d1 00000090
[02/09/2018 | 14:31:59] [debug] ESP+00000100: 00001d11 00000000 f75870fd f7779000
[02/09/2018 | 14:31:59] [debug] ESP+00000120: 00000000 00000002 ff83a8d1 00000090
[02/09/2018 | 14:31:59] [debug] ESP+00000140: 097a1d11 f77a2fd4 f74526ec f74245a4
[02/09/2018 | 14:31:59] [debug] ESP+00000160: 0000008d 09966818 00000000 00238168
[02/09/2018 | 14:31:59] [debug] ESP+00000180: 097a2c01 f77a2fd4 0978f898 f77a2d00
[02/09/2018 | 14:31:59] [debug] ESP+000001a0: 09966818 0978f928 ff83aa30 f7429560
[02/09/2018 | 14:31:59] [debug] ESP+000001c0: 097a2ca0 0815214c ff83a951 00000040
[02/09/2018 | 14:31:59] [debug] ESP+000001e0: 09966818 f4cc1960 f4622538 f742d50f
[02/09/2018 | 14:31:59] [debug] ESP+00000200: fe14a21f 02001d11 0069f42c f461f008
[02/09/2018 | 14:31:59] [debug] ESP+00000220: 00238168 00238188 00234190 f4622538
[02/09/2018 | 14:31:59] [debug] ESP+00000240: 00000000 00000000 f777635d 00000001
[02/09/2018 | 14:31:59] [debug] ESP+00000260: 0978f928 00000038 f7450660 f7426376
[02/09/2018 | 14:31:59] [debug] ESP+00000280: 00000000 00000038 f7775e49 f740a7d4
[02/09/2018 | 14:31:59] [debug] ESP+000002a0: 09790d28 09793b88 00000004 00000008
[02/09/2018 | 14:31:59] [debug] ESP+000002c0: 09790d28 09793b88 09966818 00000001
[02/09/2018 | 14:31:59] [debug] ESP+000002e0: 0b00182c 09790808 00000001 f760d000
[02/09/2018 | 14:31:59] [debug] ESP+00000300: ffffffff 0023418c 00000008 0809571b
[02/09/2018 | 14:31:59] [debug] ESP+00000320: 097a2ca4 f7487066 f4f63f88 f744fff4
[02/09/2018 | 14:31:59] [debug] ESP+00000340: 0978f928 ff83aa30 00000038 f740a7d4
[02/09/2018 | 14:31:59] [debug] ESP+00000360: ff83a9b4 7fffffff f73f5948 09966818
[02/09/2018 | 14:31:59] [debug] ESP+00000380: 00000038 09966818 ff83aa08 f7371406
[02/09/2018 | 14:31:59] [debug] ESP+000003a0: 00000005 00238174 00000005 00000000
[02/09/2018 | 14:31:59] [debug] ESP+000003c0: 00000001 ff83aba0 ff83aa48 080a682f
[02/09/2018 | 14:31:59] [debug] ESP+000003e0: 00000000 00000000 00000001 00000000
[02/09/2018 | 14:31:59] [debug] Loaded modules:
[02/09/2018 | 14:31:59] [debug] 00000000 - 00187dc3 samp03svr
[02/09/2018 | 14:31:59] [debug] f7784000 - f7784530 
[02/09/2018 | 14:31:59] [debug] f7775000 - f7777873 /lib/libdl.so.2
[02/09/2018 | 14:31:59] [debug] f775b000 - f7773edb /lib/libpthread.so.0
[02/09/2018 | 14:31:59] [debug] f766f000 - f7762d5c /lib/libstdc++.so.6
[02/09/2018 | 14:31:59] [debug] f762d000 - f766e45f /lib/libm.so.6
[02/09/2018 | 14:31:59] [debug] f7611000 - f762a718 /lib/libgcc_s.so.1
[02/09/2018 | 14:31:59] [debug] f7454000 - f76199c7 /lib/libc.so.6
[02/09/2018 | 14:31:59] [debug] f7783000 - f77a30b8 /lib/ld-linux.so.2
[02/09/2018 | 14:31:59] [debug] f740d000 - f744fac4 plugins/crashdetect.so
[02/09/2018 | 14:31:59] [debug] f7337000 - f740d7f0 plugins/streamer.so
[02/09/2018 | 14:31:59] [debug] f7327000 - f732dda7 /lib/librt.so.1
[02/09/2018 | 14:31:59] [debug] f7316000 - f7325290 plugins/sscanf.so
[02/09/2018 | 14:31:59] [debug] f72b7000 - f7315aec plugins/mysql.so
[02/09/2018 | 14:31:59] [debug] f7294000 - f72b5108 /plugins/../log-core.so
[02/09/2018 | 14:31:59] [debug] f6fab000 - f72989c8 /usr/lib/mysql/libmysqlclient.so.18
[02/09/2018 | 14:31:59] [debug] f6f94000 - f6fa8e30 /lib/libz.so.1
[02/09/2018 | 14:31:59] [debug] f6f2f000 - f6f95f94 /lib/libssl.so.10
[02/09/2018 | 14:31:59] [debug] f6d65000 - f6f46f4c /lib/libcrypto.so.10
[02/09/2018 | 14:31:59] [debug] f6d1c000 - f6d65864 /lib/libgssapi_krb5.so.2
[02/09/2018 | 14:31:59] [debug] f6c4a000 - f6d23c6c /lib/libkrb5.so.3
[02/09/2018 | 14:31:59] [debug] f777b000 - f777d765 /lib/libcom_err.so.2
[02/09/2018 | 14:31:59] [debug] f6c17000 - f6c48f04 /lib/libk5crypto.so.3
[02/09/2018 | 14:31:59] [debug] f6bfd000 - f6c17713 /lib/libresolv.so.2
[02/09/2018 | 14:31:59] [debug] f6bee000 - f6bfaf74 /lib/libkrb5support.so.0
[02/09/2018 | 14:31:59] [debug] f6be9000 - f6bebc38 /lib/libkeyutils.so.1
[02/09/2018 | 14:31:59] [debug] f6bc5000 - f6be87dc /lib/libselinux.so.1
[02/09/2018 | 14:31:59] [debug] f6b60000 - f6bc42d8 /lib/libpcre.so.1
[02/09/2018 | 14:31:59] [debug] f6b36000 - f6b5fa0c /lib/liblzma.so.5
[02/09/2018 | 14:31:59] [debug] f5b21000 - f5b32807 /lib/libnss_files.so.2
Catch server shutdown. Restarting ... 3, 2, 1, 
строка 53272:
PHP Code:
GetPlayerPos(playeridInitialPosition[playerid][0], InitialPosition[playerid][1], InitialPosition[playerid][2]); 
Объявление InitialPosition:
PHP Code:
new Float:InitialPosition[MAX_PLAYERS][3]; 
в чем может быть проблема?
CamperGTA is offline   Reply With Quote
Old 02/09/2018, 06:52 PM   #2
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

Quote:
Originally Posted by CamperGTA View Post
в чем может быть проблема?
Скинь полностью код обработки диалога.
__________________
White_116 is offline   Reply With Quote
Old 03/09/2018, 04:51 PM   #3
CamperGTA
Big Clucker
 
Join Date: Jan 2013
Posts: 188
Reputation: 0
Default Re: AMX backtrace: #0 native GetPlayerPos () from samp03svr

PHP Code:
                  if(DragOffer[playerid] != -&& DragStatus[playerid] == && DragStatus[DragOffer[playerid]] == && DuelStatus[playerid] == && DuelStatus[DragOffer[playerid]] == && PlayerInfo[playerid][pDm] == && PlayerInfo[DragOffer[playerid]][pDm] == 0)
                {
                    if(
GetPlayerMoney(playerid) < DragPrice[playerid]) { SendClientMessage(playerid0xFF0000FF"У вас нет столько денег!"), DragPrice[playerid] = 0DragOffer[playerid] = -1; return true; }
                       if(
GetPlayerMoney(DragOffer[playerid]) < DragPrice[playerid]){ SendClientMessage(playerid0xFF0000FF"У соперника нет столько денег!"), DragPrice[playerid] = 0DragOffer[playerid] = -1; return true; }
                    new 
str[128], rand random(10000), rand2 random(10000);
                    new 
world 100000000 rand rand2;
                    
DragID[playerid] = random(MAX_DRAGS);
                    new 
dragid DragID[playerid];
                    
DragID[DragOffer[playerid]] = DragID[playerid];
                    new 
endcheck;
                    if(
DragID[playerid] == 0endcheck sizeof(DragPos1)-1;
                    else if(
DragID[playerid] == 1endcheck sizeof(DragPos2)-1;
                    else if(
DragID[playerid] == 2endcheck sizeof(DragPos3)-1;
                    
GetPlayerPos(playeridInitialPosition[playerid][0], InitialPosition[playerid][1], InitialPosition[playerid][2]);
                    
GetPlayerPos(DragOffer[playerid], InitialPosition[DragOffer[playerid]][0], InitialPosition[DragOffer[playerid]][1], InitialPosition[DragOffer[playerid]][2]);
                    
SetPlayerVirtualWorld(playeridworld);
                      
SetPlayerVirtualWorld(DragOffer[playerid], world);
                    
SetPlayerPos(playeridDragStartPos[dragid][0], DragStartPos[dragid][1], DragStartPos[dragid][2]);
                      
SetPlayerPos(DragOffer[playerid], DragStartPos[dragid][3], DragStartPos[dragid][4], DragStartPos[dragid][5]);
                      
DragVehicle[playerid] = CreateVehicle(411DragStartPos[dragid][0], DragStartPos[dragid][1], DragStartPos[dragid][2], DragStartPos[dragid][6], -1, -190000);
                      
DragVehicle[DragOffer[playerid]] = CreateVehicle(411DragStartPos[dragid][3], DragStartPos[dragid][4], DragStartPos[dragid][5], DragStartPos[dragid][6], -1, -190000);
                    
SetVehicleParamsEx(DragVehicle[playerid],true,true,false,false,false,false,false);
                    
SetVehicleParamsEx(DragVehicle[DragOffer[playerid]],true,true,false,false,false,false,false);
                    
SetVehicleVirtualWorld(DragVehicle[playerid], world);
                      
SetVehicleVirtualWorld(DragVehicle[DragOffer[playerid]], world);
                      
PutPlayerInVehicle(playeridDragVehicle[playerid], 0);
                      
PutPlayerInVehicle(DragOffer[playerid], DragVehicle[DragOffer[playerid]], 0);
                    
DragStatus[playerid] = 1;
                    
DragStatus[DragOffer[playerid]] = 1;
                    
DragEndCheck[playerid] = endcheck;
                    
DragEndCheck[DragOffer[playerid]] = endcheck;
                    
GiveMoney(playerid, -DragPrice[playerid]);
                    
GiveMoney(DragOffer[playerid], -DragPrice[playerid]);
                    
TogglePlayerControllable(playeridfalse);
                    
TogglePlayerControllable(DragOffer[playerid], false);
                    
DragCount[playerid] = 10;
                    
DragCount[DragOffer[playerid]] = 10;
                    
DragCheckpoint[playerid] = 0;
                     
DragCheckpoint[DragOffer[playerid]] = 0;
                    
DragTimer[playerid] = SetTimerEx("DragStartTime"1000true"i"playerid);
                    
PlayerInfo[playerid][pDrag]++;
                    
PlayerInfo[DragOffer[playerid]][pDrag]++;
                } 
CamperGTA is offline   Reply With Quote
Old 03/09/2018, 06:55 PM   #4
Mcc
Huge Clucker
 
Join Date: May 2015
Posts: 472
Reputation: 19
Default Re: AMX backtrace: #0 native GetPlayerPos () from samp03svr

Макросов на GetPlayerPos никаких нет? АнтиЧит может?
Mcc is offline   Reply With Quote
Old 03/09/2018, 08:45 PM   #5
joker2020pro
Big Clucker
 
Join Date: Jan 2015
Posts: 110
Reputation: 17
Default Re: AMX backtrace: #0 native GetPlayerPos () from samp03svr

В какой момент происходит краш? Можешь ли ты запустить сервер под gdb?
joker2020pro is offline   Reply With Quote
Old 04/09/2018, 09:39 AM   #6
OKStyle
High-roller
 
OKStyle's Avatar
 
Join Date: May 2008
Location: Russia, Orenburg Money: GTA$ 999,999,999
Posts: 3,143
Reputation: 137
Default Re: AMX backtrace: #0 native GetPlayerPos () from samp03svr

И скинь код самого диалога.
__________________
O.K.Style™ Laboratory
Kalcor: "... it's makes the game look like it's not GTA. This mod is called San Andreas Multiplayer. It's not a custom game engine which you can script..."
OKStyle is online now   Reply With Quote
Old 06/09/2018, 12:59 PM   #7
CamperGTA
Big Clucker
 
Join Date: Jan 2013
Posts: 188
Reputation: 0
Default Re: AMX backtrace: #0 native GetPlayerPos () from samp03svr

Quote:
Originally Posted by OKStyle View Post
И скинь код самого диалога.
Я выше кинул
CamperGTA is offline   Reply With Quote
Old 06/09/2018, 01:01 PM   #8
CamperGTA
Big Clucker
 
Join Date: Jan 2013
Posts: 188
Reputation: 0
Default Re: AMX backtrace: #0 native GetPlayerPos () from samp03svr

Quote:
Originally Posted by joker2020pro View Post
В какой момент происходит краш? Можешь ли ты запустить сервер под gdb?

Сервер на ru-hoster
CamperGTA is offline   Reply With Quote
Old 06/09/2018, 01:03 PM   #9
CamperGTA
Big Clucker
 
Join Date: Jan 2013
Posts: 188
Reputation: 0
Default Re: AMX backtrace: #0 native GetPlayerPos () from samp03svr

Quote:
Originally Posted by Mcc View Post
Макросов на GetPlayerPos никаких нет? АнтиЧит может?
Нету
CamperGTA is offline   Reply With Quote
Old 07/09/2018, 04:25 AM   #10
OKStyle
High-roller
 
OKStyle's Avatar
 
Join Date: May 2008
Location: Russia, Orenburg Money: GTA$ 999,999,999
Posts: 3,143
Reputation: 137
Default Re: AMX backtrace: #0 native GetPlayerPos () from samp03svr

Quote:
Originally Posted by CamperGTA View Post
Я выше кинул
Кода показа диалога там нет.
__________________
O.K.Style™ Laboratory
Kalcor: "... it's makes the game look like it's not GTA. This mod is called San Andreas Multiplayer. It's not a custom game engine which you can script..."
OKStyle is online now   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:11 AM.


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