[Pomoc] Crash na eventu

Započeo Haris353, Septembar 14, 2013, 13:09:43 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Pozdrav raja. Imam problem sa crashovanjem igraca na server. Znaci evo u cemu se radi. POkrenem event sve super i porta me na event i to radi i vozila se spawnaju i sve i kada pokrenem event ima count i kada count dode do 0 samo se igra zatvori a na onom ServerLog pise da je crash. Kada mi crasha imam ovaj report:
SA-MP 0.3x-R1-2
Exception At Address: 0x00727B45
Base: 0x02260000

Registers:
EAX: 0x781E2327 EBX: 0x00BA0002 ECX: 0x00C5BECC EDX: 0x00FFFF00
ESI: 0x00BAAE5B EDI: 0x00000000 EBP: 0x00BAE483 ESP: 0x0022FBAC
EFLAGS: 0x00010206

Stack:
+0000: 0x00719867 0x00BA0002 0x0022FBDC 0x00000000
+0010: 0x00000000 0x00000000 0x00BAAE5B 0x00BAE483
+0020: 0x00719B62 0x00FFFF00 0x00000000 0x00719DE7
+0030: 0x43B6D000 0x43F8E802 0x00BAAE5B 0x00BAE483
+0040: 0x00000000 0x00BAAE58 0x00BAE483 0x00BAAE5B
+0050: 0x00BAAE00 0xFF106290 0x00000000 0x0071A56A
+0060: 0x43B81000 0x43FA3EDD 0xFF106290 0x40000000
+0070: 0x00000000 0x43C80000 0x434F96DC 0x77D68E69
+0080: 0x00BAAE40 0x53C08000 0x427F0000 0x43B81000
+0090: 0x0000000A 0x427F0000 0x00000002 0x43FA3EDD
+00A0: 0x427F0000 0x00000000 0xFF106290 0x00000001
+00B0: 0x00000001 0x00724D4F 0x00C7DE28 0x00C7DDF8
+00C0: 0x00725921 0xC2C130D2 0xC4C02C73 0x40207CB3
+00D0: 0x40000000 0x00BA873E 0xF4A460FF 0x77D68E69
+00E0: 0x00000001 0x027E7EF8 0x00000000 0xC2C130D2
+00F0: 0xC4C02C73 0x40207CB3 0x452879FC 0xC4D51604
+0100: 0x412D8106 0x00000000 0x00B7CD98 0x0000021B
+0110: 0x0072859C 0x00000001 0x00000000 0x00000005
+0120: 0x00C80468 0x00000004 0x00584954 0x42EA2AA9
+0130: 0x440148A2 0x00000000 0x4401FC31 0x00725BF5
+0140: 0x00020001 0x41600000 0xC4D51604 0x40000000
+0150: 0x000000FF 0x00000000 0x00000000 0x0000004C
+0160: 0x00000800 0x3E4CCCCD 0x00000001 0x00000000
+0170: 0x00000000 0x00000000 0x00000000 0x00585CE9
+0180: 0x00020001 0x00000001 0x00BA8720 0x40000000
+0190: 0x000000FF 0x022C6AC4 0x000003ED 0x00585C2C
+01A0: 0x000003ED 0x00000001 0x00000000 0x00000000
+01B0: 0x0071A807 0x00000001 0x43C80000 0x434F96DC
+01C0: 0x00BAAE40 0x00000000 0x00000000 0x00000000
+01D0: 0x00000090 0x00000062 0x00000010 0x000000FF
+01E0: 0x0058CFA5 0x43C80000 0x434F96DC 0x00BAAE40
+01F0: 0x0058FD06 0x00000190 0x0053E504 0x00000001
+0200: 0x00000001 0x77D68E69 0x0022FDC8 0x00000000
+0210: 0x80002101 0x00B6F028 0x0230D71C 0x0000001A
+0220: 0x00000001 0x00000000 0x0053EB17 0x43C80000
+0230: 0x43960000 0x0053ECC2 0x00000001 0x00619B71
+0240: 0x0000001A 0x00000001 0x00000001 0x0000000A
+0250: 0x00748DA0 0x0000001A 0x00000001 0x77E7AD86
+0260: 0x00000000 0x0022FFC0 0x7FFDF000 0x01F40000
+0270: 0x4F2EBB81 0x02C10048 0x00000008 0x00000100

SCM Op: 0x470, lDbg: 0 LastRendObj: 3095

Game Version: US 1.0

State Information: Ped Context: 0
P0 (0,0) P1 (0,0)

Ako treba i skripta evo msm da je ovo dovoljno:

forward eventcountgo();
public eventcountgo()
{
   foreach(Player, i)
   {
      if(ecp == 1 || ecp == 2 || ecp == 3 || ecp == 4)
      {
            new Float:X, Float:Y, Float:Z;
         mjesta = 0;
           SledeciCP = 0;
            GetPlayerPos(i, X, Y, Z);
            GameTextForPlayer(i, "~n~~g~-~y~]~g~-~g~START~g~-~y~]~g~-", 1000, 3);
            PlayerPlaySound(i, 1057, X, Y, Z);
         TogglePlayerControllable(i, 1);
      }
      if(ecp == 1)
      {
          DestroyDynamicObject(huntlayrobj[1]); DestroyDynamicObject(huntlayrobj[2]); DestroyDynamicObject(huntlayrobj[3]); DestroyDynamicObject(huntlayrobj[4]); DestroyDynamicObject(huntlayrobj[5]);
         PlayerInfo[pEventX] = gHuntlay[SledeciCP][0];
         PlayerInfo[pEventY] = gHuntlay[SledeciCP][1];
         PlayerInfo[pEventZ] = gHuntlay[SledeciCP][2];
           SetPlayerRaceCheckpoint(i, 2, PlayerInfo[pEventX], PlayerInfo[pEventY], PlayerInfo[pEventZ], PlayerInfo[pEventX], PlayerInfo[pEventY], PlayerInfo[pEventZ], 5);
           SledeciCP = SledeciCP+1;
      }
Space RP
Forum: www.space-rp.info
TS3: 5.196.183.103:9998