Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] Mutant Tanks (v9.1, 3-20-2024)


Post New Thread Reply   
 
Thread Tools Display Modes
zaviier
Senior Member
Join Date: Aug 2017
Location: Indonesia
Old 08-14-2022 , 01:04   Re: [L4D & L4D2] Mutant Tanks (v8.94, 7-4-2022)
Reply With Quote #1421

Quote:
Originally Posted by Psyk0tik View Post
Do you know when the crash occurs? What happens right before the server crashes? I suspect it happens when the rock explodes or makes contact with a survivor or special infected.
it's random, when bomber tank spawn > crash after 2-3 min after spawn. sometimes longer than 3 min

edit: Psyk0tik, I think it's not random... first i'm testing again with Bomb Rock Chance 33.3
and then i found where is the problem that makes the server crash, crash happen when rock going to sea/water
so to make sure, I change Bomb Rock Chance to 100.0. then, yeessss... it will always crash the server if the rock falls into the sea (tested 5 times)
here I record the video: https://streamable.com/9crini

Last edited by zaviier; 08-14-2022 at 01:51.
zaviier is offline
ddd123
Senior Member
Join Date: May 2021
Old 08-14-2022 , 04:56   Re: [L4D & L4D2] Mutant Tanks (v8.94, 7-4-2022)
Reply With Quote #1422

Quote:
Originally Posted by zaviier View Post
it's random, when bomber tank spawn > crash after 2-3 min after spawn. sometimes longer than 3 min

edit: Psyk0tik, I think it's not random... first i'm testing again with Bomb Rock Chance 33.3
and then i found where is the problem that makes the server crash, crash happen when rock going to sea/water
so to make sure, I change Bomb Rock Chance to 100.0. then, yeessss... it will always crash the server if the rock falls into the sea (tested 5 times)
here I record the video: https://streamable.com/9crini
I'm very curious so i also test Bomber Tank and let Tank throw bomb rock into water and i can also confirm it does crash. Both Unofficial map and Official map.
For some reason mine will either freeze the game or close the game.

https://imgur.com/a/a1WLvNJ (Custom Map)
https://imgur.com/a/x1bkegU (Valve Map)

Last edited by ddd123; 08-14-2022 at 05:10.
ddd123 is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 08-14-2022 , 06:00   Re: [L4D & L4D2] Mutant Tanks (v8.94, 7-4-2022)
Reply With Quote #1423

Quote:
Originally Posted by zaviier View Post
it's random, when bomber tank spawn > crash after 2-3 min after spawn. sometimes longer than 3 min

edit: Psyk0tik, I think it's not random... first i'm testing again with Bomb Rock Chance 33.3
and then i found where is the problem that makes the server crash, crash happen when rock going to sea/water
so to make sure, I change Bomb Rock Chance to 100.0. then, yeessss... it will always crash the server if the rock falls into the sea (tested 5 times)
here I record the video: https://streamable.com/9crini
Quote:
Originally Posted by ddd123 View Post
I'm very curious so i also test Bomber Tank and let Tank throw bomb rock into water and i can also confirm it does crash. Both Unofficial map and Official map.
For some reason mine will either freeze the game or close the game.

https://imgur.com/a/a1WLvNJ (Custom Map)
https://imgur.com/a/x1bkegU (Valve Map)
Thank you for helping me narrow this issue down. I tested on my server and was able to reproduce the crash, so now I know how to address it. I should have it fixed in the next update.
__________________
Psyk0tik is offline
yuzumi
Member
Join Date: Jul 2020
Old 08-19-2022 , 03:58   Re: [L4D & L4D2] Mutant Tanks (v8.94, 7-4-2022)
Reply With Quote #1424

in 8.95-git182d0fe, the Boss setting cannot take effect and errorlog.
PHP Code:
L 08/19/2022 06:46:15: [SMException reported: Array index out-of-bounds (index 4limit 4)
L 08/19/2022 06:46:15: [SMBlamingcompiled_mt/mutant_tanks.smx
L 08
/19/2022 06:46:15: [SMCall stack trace:
L 08/19/2022 06:46:15: [SM]   [1Line 20552WeaponHandling::tTimerUpdateBoss 
Boss Setting:
PHP Code:
"Boss"
{
    
"Boss Base Type" "3-6"
    "Boss Health Stages" "5000,4000,3000,2000"
    "Boss Stages" "4"
    "Boss Types" "3,4,5,6"

The fault manifests as
Stages set to 4: S1->(5000hp)->S2->(3000hp)->S4->dead
Stages set to 3: S1->(5000hp)->S2->(3000hp)->S4->dead
Stages set to 2: S1->(5000hp)->S2->dead
not load stage 3 and 5?

Last edited by yuzumi; 08-19-2022 at 04:00.
yuzumi is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 08-19-2022 , 04:34   Re: [L4D & L4D2] Mutant Tanks (v8.94, 7-4-2022)
Reply With Quote #1425

Quote:
Originally Posted by yuzumi View Post
in 8.95-git182d0fe, the Boss setting cannot take effect and errorlog.
PHP Code:
L 08/19/2022 06:46:15: [SMException reported: Array index out-of-bounds (index 4limit 4)
L 08/19/2022 06:46:15: [SMBlamingcompiled_mt/mutant_tanks.smx
L 08
/19/2022 06:46:15: [SMCall stack trace:
L 08/19/2022 06:46:15: [SM]   [1Line 20552WeaponHandling::tTimerUpdateBoss 
Boss Setting:
PHP Code:
"Boss"
{
    
"Boss Base Type" "3-6"
    "Boss Health Stages" "5000,4000,3000,2000"
    "Boss Stages" "4"
    "Boss Types" "3,4,5,6"

The fault manifests as
Stages set to 4: S1->(5000hp)->S2->(3000hp)->S4->dead
Stages set to 3: S1->(5000hp)->S2->(3000hp)->S4->dead
Stages set to 2: S1->(5000hp)->S2->dead
not load stage 3 and 5?
The "Boss Base Type" setting only takes in one value, not a range. Try these settings since the ones you have are incorrect:
PHP Code:
"Boss"
{
    
"Boss Base Type" "3" // Tank #3 is the boss
    
"Boss Health Stages" "4000,3000,2000" // Health for stages 2, 3, and 4
    
"Boss Stages" "3" // Only 3 stages
    
"Boss Types" "4,5,6" // Tank #4, #5, and #6 are the boss stages

I think you are getting the error because your settings are causing the stage counter to go up without actually changing the Tank itself.
__________________
Psyk0tik is offline
yuzumi
Member
Join Date: Jul 2020
Old 08-19-2022 , 05:31   Re: [L4D & L4D2] Mutant Tanks (v8.94, 7-4-2022)
Reply With Quote #1426

Quote:
Originally Posted by Psyk0tik View Post
The "Boss Base Type" setting only takes in one value, not a range. Try these settings since the ones you have are incorrect:
PHP Code:
"Boss"
{
    
"Boss Base Type" "3" // Tank #3 is the boss
    
"Boss Health Stages" "4000,3000,2000" // Health for stages 2, 3, and 4
    
"Boss Stages" "3" // Only 3 stages
    
"Boss Types" "4,5,6" // Tank #4, #5, and #6 are the boss stages

I think you are getting the error because your settings are causing the stage counter to go up without actually changing the Tank itself.
Can you give me an example?~Thx
yuzumi is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 08-19-2022 , 06:25   Re: [L4D & L4D2] Mutant Tanks (v8.94, 7-4-2022)
Reply With Quote #1427

Quote:
Originally Posted by yuzumi View Post
Can you give me an example?~Thx
I already provided an example. This one:

Quote:
Originally Posted by Psyk0tik View Post
PHP Code:
"Boss"
{
    
"Boss Base Type" "3" // Tank #3 is the boss
    
"Boss Health Stages" "4000,3000,2000" // Health for stages 2, 3, and 4
    
"Boss Stages" "3" // Only 3 stages
    
"Boss Types" "4,5,6" // Tank #4, #5, and #6 are the boss stages

__________________
Psyk0tik is offline
yuzumi
Member
Join Date: Jul 2020
Old 08-19-2022 , 06:38   Re: [L4D & L4D2] Mutant Tanks (v8.94, 7-4-2022)
Reply With Quote #1428

Quote:
Originally Posted by Psyk0tik View Post
I already provided an example. This one:
PHP Code:
"Tank #1"
{
    
"Spawn"
    
{
        
"Spawn Type" "1"
    
}
    
"Boss"
    
{
        
"Boss Base Type" "1"
        "Boss Health Stages" "1000,1000"
        "Boss Stages" "2"
        "Boss Types" "2,3"
    
}
}
"Tank #2"
{
    
"Spawn"
    
{
        
"Spawn Type" "1"
    
}
    
"Boss"
    
{
        
"Boss Base Type" "1"
    
}
}
... 
more 
Is this correct?
yuzumi is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 08-19-2022 , 06:53   Re: [L4D & L4D2] Mutant Tanks (v8.94, 7-4-2022)
Reply With Quote #1429

Quote:
Originally Posted by yuzumi View Post
PHP Code:
"Tank #1"
{
    
"Spawn"
    
{
        
"Spawn Type" "1"
    
}
    
"Boss"
    
{
        
"Boss Base Type" "1"
        "Boss Health Stages" "1000,1000"
        "Boss Stages" "2"
        "Boss Types" "2,3"
    
}
}
"Tank #2"
{
    
"Spawn"
    
{
        
"Spawn Type" "1"
    
}
    
"Boss"
    
{
        
"Boss Base Type" "1"
    
}
}
... 
more 
Is this correct?
Yes, but you must copy the “Boss” section from #1 and give it to #2 and #3 as well. All 3 must have the same “Boss” settings.
__________________
Psyk0tik is offline
yuzumi
Member
Join Date: Jul 2020
Old 08-19-2022 , 07:18   Re: [L4D & L4D2] Mutant Tanks (v8.94, 7-4-2022)
Reply With Quote #1430

Quote:
Originally Posted by Psyk0tik View Post
Yes, but you must copy the “Boss” section from #1 and give it to #2 and #3 as well. All 3 must have the same “Boss” settings.
It work!.. will switch Boss Stages as expected.Thankyou~

but have errorlog
Quote:
L 08/19/2022 - 19:24:41: [SM] Exception reported: Array index out-of-bounds (index 4, limit 4)
L 08/19/2022 - 19:24:41: [SM] Blaming: compiled_mt/mutant_tanks.smx
L 08/19/2022 - 19:24:41: [SM] Call stack trace:
L 08/19/2022 - 19:24:41: [SM] [1] Line 20552, WeaponHandling::tTimerUpdateBoss
it's error will appear in "Boss Stages" set to"4".Tank switch to 5th stage error occurs, Everything works fine except for the error.

Last edited by yuzumi; 08-19-2022 at 07:44.
yuzumi 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 19:38.


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