SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 14/11/2019, 03:23 AM   #1
sergioduran11
Little Clucker
 
sergioduran11's Avatar
 
Join Date: Jan 2018
Posts: 35
Reputation: 0
Default Someone could help me?

Hi everyone, it turns out that i have a bug in my server, randomly a player is bug and the map objects disappear and appear quickly, I've updated the Streamer plugin but It don't have fixed my bug, I've uploaded a video showing the bug.

My friend can't see me.


(Sorry for my english haha)


https://www.youtube.com/watch?v=uY60...ature=youtu.be
sergioduran11 is offline   Reply With Quote
Old 14/11/2019, 09:11 AM   #2
WalkZ
Big Clucker
 
WalkZ's Avatar
 
Join Date: Oct 2019
Location: Pakistan
Posts: 103
Reputation: 4
Default Re: Someone could help me?

Can you show your server_logs.txt?
__________________
[EN] Chinatown Freeroam [BETA]
- Different Advanced Deathmatches with Times and Scores
- Different Races
- Different Events
- Gangs (Groves, Ballas, Aztecas, Mafia, Bikers & Triads)
- Drugs with Drug Dealers at Streets
- Hitman Bounty System
- Ammunations, Pizza Stacks, Burger-Shots, Banks
- Jobs (Pizza-Boy, Plumber, Trasher, Bus)
- Money-Bag every 30 minutes
- Reaction Test every 15 minutes
- Daily improving by adding new features and fixing present bugs.
WalkZ is offline   Reply With Quote
Old 14/11/2019, 10:25 AM   #3
sergioduran11
Little Clucker
 
sergioduran11's Avatar
 
Join Date: Jan 2018
Posts: 35
Reputation: 0
Default Re: Someone could help me?

The server_log is normal, it don't show anything.
sergioduran11 is offline   Reply With Quote
Old 14/11/2019, 01:18 PM   #4
Kane
Gangsta
 
Kane's Avatar
 
Join Date: Sep 2012
Posts: 814
Reputation: 124
Default Re: Someone could help me?

Is there any code in OnPlayerUpdate or 60 s timers that set virtual world or interior?
__________________
Los Santos Roleplay - Developer
@ls-rp.io

Former Beta Tester
Kane is offline   Reply With Quote
Old 14/11/2019, 04:18 PM   #5
Robson04
Big Clucker
 
Robson04's Avatar
 
Join Date: Aug 2018
Posts: 66
Reputation: 0
Default Re: Someone could help me?

Quote:
Originally Posted by Kane View Post
Is there any code in OnPlayerUpdate or 60 s timers that set virtual world or interior?
+1
This bug look like changing VW. Check the update world/int of player. Maybe your crash vw function.
Robson04 is offline   Reply With Quote
Old 14/11/2019, 05:40 PM   #6
sergioduran11
Little Clucker
 
sergioduran11's Avatar
 
Join Date: Jan 2018
Posts: 35
Reputation: 0
Default Re: Someone could help me?

I put this in OnPlayerUpdate and this function wasn't executed.

I have the objects Maps in any virtualworld but it disappear


Code:
if(GetPlayerVirtualWorld(playerid) != 0)
{
     printf("PlayerID: %d | VirtualWorld: %d",playerid,GetPlayerVirtualWorld(playerid));
}
sergioduran11 is offline   Reply With Quote
Old 14/11/2019, 06:30 PM   #7
Robson04
Big Clucker
 
Robson04's Avatar
 
Join Date: Aug 2018
Posts: 66
Reputation: 0
Default Re: Someone could help me?

Quote:
Originally Posted by sergioduran11 View Post
I put this in OnPlayerUpdate and this function wasn't executed.

I have the objects Maps in any virtualworld but it disappear


Code:
if(GetPlayerVirtualWorld(playerid) != 0)
{
     printf("PlayerID: %d | VirtualWorld: %d",playerid,GetPlayerVirtualWorld(playerid));
}
Try this.
pawn Code:
//Debug; SetPlayerVirtualWorld
stock debug_SetPlayerVirtualWorld(playerid, worldid)
{
    SetPlayerVirtualWorld(playerid, worldid);
    printf("[debug]: Player: %d has changed vw to %d", playerid, worldid);
    return 1;
}

#if defined _ALS_SetPlayerVirtualWorld
    #undef SetPlayerVirtualWorld
#else
    #define _ALS_SetPlayerVirtualWorld
#endif
#define SetPlayerVirtualWorld debug_SetPlayerVirtualWorld

//Debug; SetPlayerInterior
stock debug_SetPlayerInterior(playerid, interiorid)
{
    SetPlayerInterior(playerid, interiorid);
    printf("[debug]: Player: %d has changed interior to %d", playerid, interiorid);
    return 1;
}

#if defined _ALS_SetPlayerInterior
    #undef SetPlayerInterior
#else
    #define _ALS_SetPlayerInterior
#endif
#define SetPlayerInterior debug_SetPlayerInterior
Put the code in your stock space.
This method of debugging should be more effective and should print more accurate information,
then try the error action again to see if the player really changes the world or the interior.
Robson04 is offline   Reply With Quote
Old 14/11/2019, 06:40 PM   #8
Robson04
Big Clucker
 
Robson04's Avatar
 
Join Date: Aug 2018
Posts: 66
Reputation: 0
Default Re: Someone could help me?

Next problem, in the video you (client) lost packets. Server lagging. Command (debug vw) has return values ​​after + - 1000ms, so you most likely updating someone and that gives client / server laggs or you just have such a slow internet.
Robson04 is offline   Reply With Quote
Old 14/11/2019, 07:22 PM   #9
sergioduran11
Little Clucker
 
sergioduran11's Avatar
 
Join Date: Jan 2018
Posts: 35
Reputation: 0
Default Re: Someone could help me?



I put that code and the console filled with a lot of errors.
Code:
[debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
[debug]  Stack pointer (STK) is 0x2FF4558, heap pointer (HEA) is 0x2FF4528
[debug] AMX backtrace:
[debug] #0 001d9628 in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24919
[debug] #1 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #2 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #3 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #4 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #5 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #6 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #7 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #8 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #9 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #10 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #11 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #12 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #13 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #14 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #15 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #16 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #17 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #18 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #19 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #20 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #21 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #22 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #23 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #24 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #25 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #26 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #27 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #28 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #29 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #30 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #31 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #32 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #33 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #34 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #35 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #36 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #37 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #38 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #39 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #40 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #41 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #42 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #43 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #44 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #45 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #46 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #47 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #48 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #49 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #50 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #51 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #52 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #53 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #54 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #55 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #56 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #57 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #58 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #59 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #60 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #61 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #62 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #63 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #64 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #65 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #66 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #67 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #68 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #69 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #70 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #71 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #72 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #73 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #74 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #75 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #76 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #77 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #78 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #79 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #80 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #81 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #82 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #83 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #84 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #85 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #86 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #87 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #88 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #89 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #90 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #91 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #92 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #93 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #94 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #95 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #96 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #97 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #98 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #99 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #100 001d965c in main (playerid=1, params[]=@00000000 "") at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
in this line:

Code:
stock debug_SetPlayerInterior(playerid, interiorid)
{
    SetPlayerInterior(playerid, interiorid);
    printf("[debug]: Player: %d has changed interior to %d", playerid, interiorid); //This line
    return 1;
}
sergioduran11 is offline   Reply With Quote
Old 14/11/2019, 07:40 PM   #10
Robson04
Big Clucker
 
Robson04's Avatar
 
Join Date: Aug 2018
Posts: 66
Reputation: 0
Default Re: Someone could help me?

Quote:
Originally Posted by sergioduran11 View Post


I put that code and the console filled with a lot of errors.
Code:
[debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
[debug]  Stack pointer (STK) is 0x2FF4558, heap pointer (HEA) is 0x2FF4528
[debug] AMX backtrace:
[debug] #0 001d9628 in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24919
[debug] #1 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #2 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #3 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #4 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #5 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #6 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #7 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #8 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #9 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #10 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #11 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #12 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #13 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #14 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #15 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #16 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #17 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #18 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #19 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #20 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #21 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #22 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #23 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #24 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #25 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #26 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #27 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #28 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #29 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #30 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #31 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #32 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #33 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #34 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #35 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #36 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #37 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #38 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #39 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #40 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #41 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #42 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #43 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #44 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #45 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #46 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #47 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #48 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #49 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #50 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #51 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #52 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #53 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #54 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #55 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #56 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #57 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #58 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #59 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #60 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #61 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #62 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #63 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #64 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #65 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #66 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #67 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #68 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #69 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #70 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #71 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #72 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #73 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #74 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #75 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #76 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #77 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #78 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #79 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #80 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #81 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #82 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #83 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #84 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #85 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #86 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #87 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #88 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #89 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #90 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #91 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #92 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #93 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #94 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #95 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #96 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #97 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #98 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #99 001d965c in debug_SetPlayerInterior (playerid=1, interiorid=0) at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
[debug] #100 001d965c in main (playerid=1, params[]=@00000000 "") at C:\Users\Usuario\Documents\FenixZone\gamemodes\FenixZone.pwn:24926
in this line:

Code:
stock debug_SetPlayerInterior(playerid, interiorid)
{
    SetPlayerInterior(playerid, interiorid);
    printf("[debug]: Player: %d has changed interior to %d", playerid, interiorid); //This line
    return 1;
}
Hmmm.
SetPlayerVirtualWorld not give crash? If no, just try without interior debug and check debugs (vw) in console.
If it doesn't show problems, I don't know what causes crash
Robson04 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



All times are GMT. The time now is 01:30 PM.


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