Raised This Month: $51 Target: $400
 12% 

Solved Unregistering the hooks outside their functions might cause a crash


Post New Thread Reply   
 
Thread Tools Display Modes
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-28-2022 , 13:45   Re: Server Crash with exit code 139
Reply With Quote #31

Quote:
Originally Posted by DJEarthQuake View Post
Why not?
because i need to create a module and see where does the set_task function get called from.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-28-2022 , 17:02   Re: Server Crash with exit code 139
Reply With Quote #32

an Update I've found what causing all the issues its because i am unregistering some hooks while its been used.

In jb_days_custom function called check_fwds.

Edit: I think its a module problem because when i unregister the hook it seems like when i try to hook it again the last hook will be called, which was already freed, which makes a memory access error.

Code:
L 01/29/2022 - 00:01:53: JAILBREAK Specialday 'Snowball Day' has started!
L 01/29/2022 - 00:01:53: [Jailbreak_main.amxx] performance issue. Function days_menu_handle executed more than 1.5ms.
L 01/29/2022 - 00:01:53: [jb_days_custom.amxx] performance issue. Function fw_touch_post executed more than 1.2ms.
L 01/29/2022 - 00:01:56: "Natsheh<1><STEAM_0:0:26622031><TERRORIST>" committed suicide with "world"
L 01/29/2022 - 00:01:56: "[P*D]U're Dead (99)<8><BOT><TERRORIST>" committed suicide with "world"
JAILBREAK | [POD]Sigourney_Weaver (96) has won the specialday!
L 01/29/2022 - 00:01:56: JAILBREAK Specialday 'Snowball Day' has ended!
L 01/29/2022 - 00:01:56: [Jailbreak_main.amxx] performance issue. Function fw_player_killed_post executed more than 1.3ms.
L 01/29/2022 - 00:01:56: "[POD]Sigourney_Weaver (96)<9><BOT><CT>" committed suicide with "world"
L 01/29/2022 - 00:01:56: [Jailbreak_main.amxx] performance issue. Function jailbreak_commands executed more than 2.7ms.
L 01/29/2022 - 00:01:57: [RegisterSystem.amxx] performance issue. Function PlayerPreThink executed more than 1.7ms.
bHAS_ROUND_ENDED: F bHAS_ROUND_ENDING: T aWinner: 3, aWinner: 3, taskid: 0
L 01/29/2022 - 00:02:01: JAILBREAK Guards win!
L 01/29/2022 - 00:02:01: JAILBREAK Round is ending...
L 01/29/2022 - 00:02:01: Team "TERRORIST" triggered "Terrorists_Win" (CT "0") (T "2")
L 01/29/2022 - 00:02:01: JAILBREAK Round has ended!
L 01/29/2022 - 00:02:01: World triggered "Round_End"
RoundEndType: 3 FirstConnect: 1 WinStatus: 2 Terminating: 1
L 01/29/2022 - 00:02:06: JAILBREAK Round has started!
L 01/29/2022 - 00:02:06: JAILBREAK Today is 'Tuesday'
no precache: weapons/357_cock1.wav
L 01/29/2022 - 00:02:09: World triggered "Round_Start"
/entrypoint.sh: line 36:    19 Segmentation fault      (core dumped) ./hlds_run -console -game ${HLDS_GAME} -port ${SERVER_PORT} -sport ${VAC_PORT} +map ${SRCDS_MAP} +ip 0.0.0.0 -strictportbind -norestart +maxplayers ${MAX_PLAYERS}
container@pterodactyl~ Server marked as offline...

[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 139
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Updating process configuration files...
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
[Pterodactyl Daemon]: Finished pulling Docker container image
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 01-28-2022 at 19:05.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 01-28-2022 , 22:09   Re: Server Crash with exit code 139
Reply With Quote #33

Bool or something to only unregister it when not in use?
If task is not valid task_exists native may help.
Which module ham or orpheu?
The debugging is like night and day better.
__________________
DJEarthQuake is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-29-2022 , 09:57   Re: Server Crash with exit code 139
Reply With Quote #34

how is it possible to trace an index out of bounds error ?


Code:
L 01/29/2022 - 13:48:51: Start of error session.
L 01/29/2022 - 13:48:51: Info (map "jail_blue") (file "addons/amxmodx/logs/error_20220129.log")
L 01/29/2022 - 13:48:51: [FAKEMETA] Invalid entity
L 01/29/2022 - 13:48:51: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 13:48:51: [AMXX] Run time error 10: native error (native "pev")
L 01/29/2022 - 13:48:51: [AMXX]    [0] jb_days_custom.sma::task_nightcrawler_hudmsg (line 1641)
L 01/29/2022 - 14:19:44: Start of error session.
L 01/29/2022 - 14:19:44: Info (map "jail_blue") (file "addons/amxmodx/logs/error_20220129.log")
L 01/29/2022 - 14:19:44: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:44: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:44: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:44: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:44: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:44: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:44: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:44: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:44: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:44: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:44: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:44: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:44: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:44: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:44: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:44: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:46: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:46: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:46: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:46: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:46: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:46: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:46: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:46: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:46: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:46: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:46: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:46: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:46: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:46: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:46: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:46: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:46: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:46: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:46: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:46: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:46: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:46: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:46: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:46: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:20:15: Invalid player id 77
L 01/29/2022 - 14:20:15: [AMXX] Displaying debug trace (plugin "Jailbreak_main.amxx", version "2.6.6")
L 01/29/2022 - 14:20:15: [AMXX] Run time error 10: native error (native "player_menu_info")
L 01/29/2022 - 14:20:15: [AMXX]    [0] Jailbreak_main.sma::votedays_menu_handle (line 6666)
L 01/29/2022 - 14:20:15: Invalid player id 77
L 01/29/2022 - 14:20:15: [AMXX] Displaying debug trace (plugin "Jailbreak_main.amxx", version "2.6.6")
L 01/29/2022 - 14:20:15: [AMXX] Run time error 10: native error (native "player_menu_info")
L 01/29/2022 - 14:20:15: [AMXX]    [0] Jailbreak_main.sma::votedays_menu_handle (line 6666)
L 01/29/2022 - 14:20:15: Invalid player id 100
L 01/29/2022 - 14:20:15: [AMXX] Displaying debug trace (plugin "Jailbreak_main.amxx", version "2.6.6")
L 01/29/2022 - 14:20:15: [AMXX] Run time error 10: native error (native "player_menu_info")
L 01/29/2022 - 14:20:15: [AMXX]    [0] Jailbreak_main.sma::votedays_menu_handle (line 6666)
L 01/29/2022 - 14:20:15: Invalid player id 100
L 01/29/2022 - 14:20:15: [AMXX] Displaying debug trace (plugin "Jailbreak_main.amxx", version "2.6.6")
L 01/29/2022 - 14:20:15: [AMXX] Run time error 10: native error (native "player_menu_info")
L 01/29/2022 - 14:20:15: [AMXX]    [0] Jailbreak_main.sma::votedays_menu_handle (line 6666)
L 01/29/2022 - 14:20:15: Invalid player id 100
L 01/29/2022 - 14:20:15: [AMXX] Displaying debug trace (plugin "Jailbreak_main.amxx", version "2.6.6")
L 01/29/2022 - 14:20:15: [AMXX] Run time error 10: native error (native "player_menu_info")
L 01/29/2022 - 14:20:15: [AMXX]    [0] Jailbreak_main.sma::votedays_menu_handle (line 6666)
L 01/29/2022 - 14:24:59: Invalid player id 77
L 01/29/2022 - 14:24:59: [AMXX] Displaying debug trace (plugin "multilingual.amxx", version "1.10.0.5461")
L 01/29/2022 - 14:24:59: [AMXX] Run time error 10: native error (native "client_print")
L 01/29/2022 - 14:24:59: [AMXX]    [0] multilingual.sma::dispInfo (line 58)
L 01/29/2022 - 14:24:59: Invalid player id 77
L 01/29/2022 - 14:24:59: [AMXX] Displaying debug trace (plugin "multilingual.amxx", version "1.10.0.5461")
L 01/29/2022 - 14:24:59: [AMXX] Run time error 10: native error (native "client_print")
L 01/29/2022 - 14:24:59: [AMXX]    [0] multilingual.sma::dispInfo (line 58)
L 01/29/2022 - 14:24:59: Invalid player id 77
L 01/29/2022 - 14:24:59: [AMXX] Displaying debug trace (plugin "multilingual.amxx", version "1.10.0.5461")
L 01/29/2022 - 14:24:59: [AMXX] Run time error 10: native error (native "client_print")
L 01/29/2022 - 14:24:59: [AMXX]    [0] multilingual.sma::dispInfo (line 58)
L 01/29/2022 - 14:24:59: Invalid player id 77
L 01/29/2022 - 14:24:59: [AMXX] Displaying debug trace (plugin "multilingual.amxx", version "1.10.0.5461")
L 01/29/2022 - 14:24:59: [AMXX] Run time error 10: native error (native "client_print")
L 01/29/2022 - 14:24:59: [AMXX]    [0] multilingual.sma::dispInfo (line 58)
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 01-29-2022 at 10:01.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 01-29-2022 , 10:35   Re: Server Crash with exit code 139
Reply With Quote #35

Quote:
Originally Posted by Shadows Adi View Post
Leave the source codes with your debug messages.
.

Quote:
Originally Posted by Natsheh View Post
how is it possible to trace an index out of bounds error ?


Code:
L 01/29/2022 - 13:48:51: Start of error session.
L 01/29/2022 - 13:48:51: Info (map "jail_blue") (file "addons/amxmodx/logs/error_20220129.log")
L 01/29/2022 - 13:48:51: [FAKEMETA] Invalid entity
L 01/29/2022 - 13:48:51: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 13:48:51: [AMXX] Run time error 10: native error (native "pev")
L 01/29/2022 - 13:48:51: [AMXX]    [0] jb_days_custom.sma::task_nightcrawler_hudmsg (line 1641)
L 01/29/2022 - 14:19:44: Start of error session.
L 01/29/2022 - 14:19:44: Info (map "jail_blue") (file "addons/amxmodx/logs/error_20220129.log")
L 01/29/2022 - 14:19:44: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:44: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:44: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:44: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:44: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:44: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:44: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:44: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:44: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:44: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:44: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:44: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:44: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:44: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:44: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:44: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:46: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:46: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:46: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:46: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:46: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:46: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:46: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:46: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:46: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:46: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:46: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:46: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:46: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:46: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:46: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:46: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:46: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:46: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:46: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:46: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:19:46: [FAKEMETA] Invalid entity
L 01/29/2022 - 14:19:46: [AMXX] Displaying debug trace (plugin "jb_days_custom.amxx", version "2.6.6")
L 01/29/2022 - 14:19:46: [AMXX] Run time error 10: native error (native "set_pev")
L 01/29/2022 - 14:19:46: [AMXX]    [0] jb_days_custom.sma::task_UnChill (line 1175)
L 01/29/2022 - 14:20:15: Invalid player id 77
L 01/29/2022 - 14:20:15: [AMXX] Displaying debug trace (plugin "Jailbreak_main.amxx", version "2.6.6")
L 01/29/2022 - 14:20:15: [AMXX] Run time error 10: native error (native "player_menu_info")
L 01/29/2022 - 14:20:15: [AMXX]    [0] Jailbreak_main.sma::votedays_menu_handle (line 6666)
L 01/29/2022 - 14:20:15: Invalid player id 77
L 01/29/2022 - 14:20:15: [AMXX] Displaying debug trace (plugin "Jailbreak_main.amxx", version "2.6.6")
L 01/29/2022 - 14:20:15: [AMXX] Run time error 10: native error (native "player_menu_info")
L 01/29/2022 - 14:20:15: [AMXX]    [0] Jailbreak_main.sma::votedays_menu_handle (line 6666)
L 01/29/2022 - 14:20:15: Invalid player id 100
L 01/29/2022 - 14:20:15: [AMXX] Displaying debug trace (plugin "Jailbreak_main.amxx", version "2.6.6")
L 01/29/2022 - 14:20:15: [AMXX] Run time error 10: native error (native "player_menu_info")
L 01/29/2022 - 14:20:15: [AMXX]    [0] Jailbreak_main.sma::votedays_menu_handle (line 6666)
L 01/29/2022 - 14:20:15: Invalid player id 100
L 01/29/2022 - 14:20:15: [AMXX] Displaying debug trace (plugin "Jailbreak_main.amxx", version "2.6.6")
L 01/29/2022 - 14:20:15: [AMXX] Run time error 10: native error (native "player_menu_info")
L 01/29/2022 - 14:20:15: [AMXX]    [0] Jailbreak_main.sma::votedays_menu_handle (line 6666)
L 01/29/2022 - 14:20:15: Invalid player id 100
L 01/29/2022 - 14:20:15: [AMXX] Displaying debug trace (plugin "Jailbreak_main.amxx", version "2.6.6")
L 01/29/2022 - 14:20:15: [AMXX] Run time error 10: native error (native "player_menu_info")
L 01/29/2022 - 14:20:15: [AMXX]    [0] Jailbreak_main.sma::votedays_menu_handle (line 6666)
L 01/29/2022 - 14:24:59: Invalid player id 77
L 01/29/2022 - 14:24:59: [AMXX] Displaying debug trace (plugin "multilingual.amxx", version "1.10.0.5461")
L 01/29/2022 - 14:24:59: [AMXX] Run time error 10: native error (native "client_print")
L 01/29/2022 - 14:24:59: [AMXX]    [0] multilingual.sma::dispInfo (line 58)
L 01/29/2022 - 14:24:59: Invalid player id 77
L 01/29/2022 - 14:24:59: [AMXX] Displaying debug trace (plugin "multilingual.amxx", version "1.10.0.5461")
L 01/29/2022 - 14:24:59: [AMXX] Run time error 10: native error (native "client_print")
L 01/29/2022 - 14:24:59: [AMXX]    [0] multilingual.sma::dispInfo (line 58)
L 01/29/2022 - 14:24:59: Invalid player id 77
L 01/29/2022 - 14:24:59: [AMXX] Displaying debug trace (plugin "multilingual.amxx", version "1.10.0.5461")
L 01/29/2022 - 14:24:59: [AMXX] Run time error 10: native error (native "client_print")
L 01/29/2022 - 14:24:59: [AMXX]    [0] multilingual.sma::dispInfo (line 58)
L 01/29/2022 - 14:24:59: Invalid player id 77
L 01/29/2022 - 14:24:59: [AMXX] Displaying debug trace (plugin "multilingual.amxx", version "1.10.0.5461")
L 01/29/2022 - 14:24:59: [AMXX] Run time error 10: native error (native "client_print")
L 01/29/2022 - 14:24:59: [AMXX]    [0] multilingual.sma::dispInfo (line 58)
It sais [FAKEMETA] Invalid entity:
PHP Code:
if(pev_valid(iEnt) != 2)
          return 
Invalid player id 77
PHP Code:
if(!is_user_connected(id))
          return 
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]

Last edited by Shadows Adi; 01-29-2022 at 10:37.
Shadows Adi is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 01-29-2022 , 10:45   Re: Server Crash with exit code 139
Reply With Quote #36

His doubt is why he's getting an entity with index greater than max players. Although those checks will likely solve the problem, he expects to get only player indexes, but that's not what's happening.

Quote:
Invalid player id 77
__________________








CrazY. is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-29-2022 , 13:22   Re: Server Crash with exit code 139
Reply With Quote #37

Quote:
Originally Posted by Shadows Adi View Post
.



It sais [FAKEMETA] Invalid entity:
PHP Code:
if(pev_valid(iEnt) != 2)
          return 
Invalid player id 77
PHP Code:
if(!is_user_connected(id))
          return 


This will barely solve the problem its just a walkaround solution which won't fix the problem, as crazy stated i am trying to figure out what is causing the set_task callback functions to operate an unusual behavior, i for myself i've been trying to figure it out for ages but now i ran out of luck.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 01-29-2022 at 13:23.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 01-29-2022 , 14:34   Re: Server Crash with exit code 139
Reply With Quote #38

Quote:
Originally Posted by Shadows Adi View Post
Leave the source codes with your debug messages.
x2
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-29-2022 , 14:56   Re: Server Crash with exit code 139
Reply With Quote #39

Quote:
Originally Posted by Shadows Adi View Post
x2

This won't help you nor help me.

I Already made debuggings but in this situation debuggings are pretty much useless, if i already had any logic out of debugs i would've already solved it with no help what so ever.

so stop asking me for a code with debugs because i am not going to give it to you not because i am lazy but rather because its useless if you think i am wrong then do debugs urself.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 01-29-2022 at 15:00.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 01-29-2022 , 15:20   Re: Server Crash with exit code 139
Reply With Quote #40

https://www.diffchecker.com/RT5pL1DX

Here you have some changes by me, try the code from right side ( modified code ) by yourself and tell the results. I could have tried it, but I am lazy.
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 08:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode