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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 08-03-2020 , 06:20   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #791

Quote:
Originally Posted by Crasher_3637 View Post
Max HP is 65,535 total; it doesn't matter how much the base and bonus HP are.
The range that can be sent to players is only 0 to 65,535 since it's an unsigned short, internally the range for hp is -2,147,483,648 to 2,147,483,647

Hope this clears it up for ya 3aljiyavslgazana
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 08-03-2020 , 06:25   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #792

Quote:
Originally Posted by Lux View Post
The range that can be sent to players is only 0 to 65,535 since it's an unsigned short, internally the range for hp is -2,147,483,648 to 2,147,483,647

Hope this clears it up for ya 3aljiyavslgazana
Oh, derp. I thought he was asking about MT specifically, so I was telling him that it doesn't matter what he sets the base and bonus HP settings for MT to. MT will limit the final value to 65,535 either way.
__________________
Psyk0tik is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 08-03-2020 , 06:28   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #793

https://github.com/Psykotikism/Mutan...sp#L4997-L4999

Does it tho? I can't find where other than where you set the HP to match 65k so much code
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 08-03-2020 , 06:31   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #794

Quote:
Originally Posted by Lux View Post
https://github.com/Psykotikism/Mutan...sp#L4997-L4999

Does it tho? I can't find where other than where you set the HP to match 65k so much code
Yeah, it's somewhere above that. Just look at all the variables above that where it checks if the value is higher than "MT_MAXHEALTH" and you'll see what I mean.
__________________
Psyk0tik is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 08-03-2020 , 06:34   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #795

Quote:
Originally Posted by Crasher_3637 View Post
Yeah, it's somewhere above that. Just look at all the variables above that where it checks if the value is higher than "MT_MAXHEALTH" and you'll see what I mean.
OH yea i see it, why do you limit it?
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 08-03-2020 , 06:37   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #796

Quote:
Originally Posted by Lux View Post
OH yea i see it, why do you limit it?
In the original Super Tanks, there was no limit and it caused bugs where Tanks would have either no HP (die instantly) or infinite HP (never dying unless slayed). I made MT limit it just to make it easier for everyone. I could always add a setting to let users decide if they want a limit or not, but nobody has really asked for one so meh.
__________________
Psyk0tik is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 08-03-2020 , 06:42   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #797

Ohh i see, yea people tend to use "Prop_Send" in other plugins ect, less hassle for you i guess one of the many reasons i stopped publishing gameplay altering plugins can't be bothered to deal with people.

Anyway good job with MT++
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D

Last edited by Lux; 08-03-2020 at 06:44.
Lux is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 08-03-2020 , 06:44   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #798

Quote:
Originally Posted by Lux View Post
Ohh i see, yea people tend to use "Prop_Send" in other plugins ect, less hassle for you i guess one of the many reasons i stopped publishing gameplay altering plugins.

Anyway good job with MT++
Yep, exactly. I am trying to save everyone the trouble of encountering HP bugs on their servers and then blaming MT for it.

Thanks!
__________________

Last edited by Psyk0tik; 08-03-2020 at 06:45.
Psyk0tik is offline
3aljiyavslgazana
Member
Join Date: Dec 2018
Old 08-04-2020 , 04:58   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #799

Yep, I was wondering if I could set it higher than 65k (in mutant tanks).. I want it to be 130k, because 65k is just not enough for me
3aljiyavslgazana is offline
SilentBr
Veteran Member
Join Date: Jan 2009
Old 08-15-2020 , 12:35   Re: [L4D & L4D2] Mutant Tanks (v8.76, 8-1-2020) [Human/AI Tanks Supported]
Reply With Quote #800

Hi Crasher, I would like to report a bug.

Sometimes random tanks don't move/attack survivors. People have reported me that around 1 tank per map has this bug, some maps all of them like the last map of Blood Harvest. The issue is not related with 1 special tank, is randomly. The same tank can have or not this issue.

I am using Multant Tanks version 8.75 with Dhooks.

No error logs.

Thanks.

Last edited by SilentBr; 08-15-2020 at 12:35.
SilentBr 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:14.


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