AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   round problem (https://forums.alliedmods.net/showthread.php?t=337845)

Usama Ali 05-20-2022 00:19

round problem
 
Hello Alliedmodders im back again with a new problem :)

im using zombie escape 2.3 and the problem is that the round does not end neither does the players get killed after the escape is success, also it shows the following error in the console.

L 05/20/2022 - 09:23:58: [AMXX] Displaying debug trace (plugin "zombie_escape_v2.3.amxx")
L 05/20/2022 - 09:23:58: [AMXX] Run time error 10: native error (native "ShowSyncHudMsg")
L 05/20/2022 - 09:23:58: [AMXX] [0] zombie_escape_v2.3.sma::client_PostThink (line 1710)
L 05/20/2022 - 09:23:58: HudSyncObject -1 is invalid

theqramboq 05-20-2022 02:38

Re: round problem
 
Where is the sma file?

Usama Ali 05-20-2022 04:20

Re: round problem
 
1 Attachment(s)
Quote:

Originally Posted by theqramboq (Post 2779771)
Where is the sma file?

Here

OW3R 05-20-2022 10:19

Re: round problem
 
1 Attachment(s)
Quote:

Originally Posted by Usama Ali (Post 2779764)
Hello Alliedmodders im back again with a new problem :)

im using zombie escape 2.3 and the problem is that the round does not end neither does the players get killed after the escape is success, also it shows the following error in the console.

L 05/20/2022 - 09:23:58: [AMXX] Displaying debug trace (plugin "zombie_escape_v2.3.amxx")
L 05/20/2022 - 09:23:58: [AMXX] Run time error 10: native error (native "ShowSyncHudMsg")
L 05/20/2022 - 09:23:58: [AMXX] [0] zombie_escape_v2.3.sma::client_PostThink (line 1710)
L 05/20/2022 - 09:23:58: HudSyncObject -1 is invalid

Try this. If zombies take damage but don't die, it might be related to trigger_hurt. Which map are you using, is it like this in all of them, this mode is a bit old, you can try new zombie escape modes. If I'm not mistaken, there were similar topics on the forum.

Usama Ali 05-20-2022 16:03

Re: round problem
 
the mod does not starts and still shows this error in console.
HudSyncObject -1 is invalid
L 05/21/2022 - 01:01:19: [AMXX] Run time error 10 (plugin "zombie_escape_v2.3.amxx") (native "ShowSyncHudMsg") - debug not enabled!
L 05/21/2022 - 01:0

i cannot change the mod because i have been using it for years also it works fine on linux, but no player gets any kind of damage.

also im using ze_egypt.

OciXCrom 05-20-2022 17:42

Re: round problem
 
The error is because ShowSyncHudMsg() is used before CreateHudSyncObj().

Usama Ali 05-20-2022 22:42

Re: round problem
 
Quote:

Originally Posted by OciXCrom (Post 2779822)
The error is because ShowSyncHudMsg() is used before CreateHudSyncObj().

and how can this be fixed?

OciXCrom 05-21-2022 06:20

Re: round problem
 
By creating the HUD object before trying to display a message on it.

Usama Ali 05-21-2022 08:23

Re: round problem
 
the object is already there, you can check it.

PS oxicrom i guess you are currently the owner of ls zombie escape anyway i have this other problem when i use this zombie escape 2.3 fix the round does not restarts neither does any player gets damage. the round time ends but it does not restart. also in zombie_escape.ini the [MAIN_CONFIG] MIN_PLAYER = 1 does not work. any solutions?

OciXCrom 05-21-2022 10:02

Re: round problem
 
I do not "own" any Zombie Escape.


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

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