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

FF2 Freak Fortress 2 1.10.14 Released


Post New Thread Reply   
 
Thread Tools Display Modes
Wliu
Veteran Member
Join Date: Apr 2013
Old 11-05-2013 , 08:13   Re: FF2 1.0.8 Released
Reply With Quote #21

Also fixed the end of round damage displays, was due to a slight formatting error.
(While replacing i-->client, I accidentally also replaced %i, which was screwing it up)

EDIT:
Honestly, I'm not sure how checkFirstHale fixes anything-it just makes the boss suicide and change to a different class (with all weapons removed).
__________________
~Wliu

Last edited by Wliu; 11-05-2013 at 08:17.
Wliu is offline
Kanye_East
Junior Member
Join Date: Nov 2013
Old 11-05-2013 , 19:01   Re: FF2 1.0.8 Released
Reply With Quote #22

Quote:
Originally Posted by Wliu View Post
WHAT. JUST WHAT. That doesn't make any sense, but I'll implement and then test it, thanks.
Yeah, I know. When I added a simple output message whenever the function was called it would output as '7' throughout the round.
Kanye_East is offline
Wliu
Veteran Member
Join Date: Apr 2013
Old 11-07-2013 , 20:21   Re: FF2 1.0.8 Released
Reply With Quote #23

So as a side-effect of stalemate being considered as a normal running round, scores won't show up anymore if the round ends in a stalemate (will be fixed by re-implementing FF2RoundState to cover CheckRoundState()'s quirks).

Something seems wrong with the 0 value too, so time for more debugging!
__________________
~Wliu
Wliu is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 11-08-2013 , 05:20   Re: FF2 1.0.8 Released
Reply With Quote #24

You can check the reason a round ends, get it from the event. Teamplay round win should also fire on stalemate, atleast im pretty damn sure it does.... If not just hook stalemate to the same callback as win?
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Wliu
Veteran Member
Join Date: Apr 2013
Old 11-08-2013 , 18:49   Re: FF2 1.0.8 Released
Reply With Quote #25

I think I tracked down most/all of the bugs, so here's 1.0.8 again.

Changelog:
RoundState_PreGame was changed from 0 to -1.
RoundState_Stalemate was changed from 2 to 1 because logic.
Fixed a bug in ClientTimer.
More formatting.
Barely noticeable translation changes.
ff2_halloween's default value was changed from 0 to 2 (which still might not work ).

checkFirstHale is broken and I have no idea to fix it, mostly because all it does is respawn the boss with no weapons. BGMs will still play if a Hale suicides on round start, which I'll be looking into for the next version.

Also, I was wrong when I said the "scoreboard" wouldn't show if the round ended in a stalemate. GameRules is stupid and counts stalemate as a round win and a running round as a stalemate.

I'm thinking of changing the versioning format to major.minor.bugfix (eg for this one it would be 1.8.1), so that I can easily change the number without doing something like 1.0.8_01.
Attached Files
File Type: sp Get Plugin or Get Source (freak_fortress_2.sp - 370 views - 194.5 KB)
File Type: smx freak_fortress_2.smx (100.9 KB, 522 views)
File Type: txt freak_fortress_2.phrases.txt (7.4 KB, 574 views)
__________________
~Wliu

Last edited by Wliu; 11-08-2013 at 18:50.
Wliu is offline
Arokhantos
Member
Join Date: Oct 2013
Old 11-08-2013 , 20:35   Re: FF2 1.0.8 Released
Reply With Quote #26

First person to become hale after each map change bugs into civilian btw.
also their no health bar.

Last edited by Arokhantos; 11-08-2013 at 21:43.
Arokhantos is offline
Wliu
Veteran Member
Join Date: Apr 2013
Old 11-09-2013 , 08:20   Re: FF2 1.0.8 Released
Reply With Quote #27

Quote:
Originally Posted by Arokhantos View Post
First person to become hale after each map change bugs into civilian btw.
also their no health bar.
See
Quote:
checkFirstHale is broken and I have no idea to fix it, mostly because all it does is respawn the boss with no weapons.
Do you have something like the following in your console?
Code:
L 11/03/2013 - 15:21:38: [SM] Native "SetEntProp" reported: Entity -1 (-1) is invalid
L 11/03/2013 - 15:21:38: [SM] Displaying call stack trace for plugin "freak_fortress_2.smx":
L 11/03/2013 - 15:21:38: [SM]   [0]  Line 6823, L:\...\addons\sourcemod\scripting\freak_fortress_2.sp::UpdateHealthBar()
L 11/03/2013 - 15:21:38: [SM]   [1]  Line 6926, L:\...\addons\sourcemod\scripting\freak_fortress_2.sp::HealthbarEnableChanged()
__________________
~Wliu

Last edited by Wliu; 11-09-2013 at 08:20.
Wliu is offline
Arokhantos
Member
Join Date: Oct 2013
Old 11-09-2013 , 19:16   Re: FF2 1.0.8 Released
Reply With Quote #28

Don't known have to check it next time, anyway their also a bug where new boss play's the boss theme of previous chosen boss, tough its very rare.
Arokhantos is offline
Wliu
Veteran Member
Join Date: Apr 2013
Old 11-09-2013 , 19:52   Re: FF2 1.0.8 Released
Reply With Quote #29

Quote:
Originally Posted by Arokhantos View Post
Don't known have to check it next time, anyway their also a bug where new boss play's the boss theme of previous chosen boss, tough its very rare.
See
Quote:
BGMs will still play if a Hale suicides on round start, which I'll be looking into for the next version.
__________________
~Wliu
Wliu is offline
Arokhantos
Member
Join Date: Oct 2013
Old 11-09-2013 , 22:36   Re: FF2 1.0.8 Released
Reply With Quote #30

Quote:
Originally Posted by Wliu View Post
See
thats different bug, what i meant is old theme starts to play instead of new theme from new boss.
Arokhantos is offline
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

Forum Jump


All times are GMT -4. The time now is 19:24.


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