Raised This Month: $ Target: $400
 0% 

FF2 Freak Fortress 2 1.10.14 Released


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Wliu
Veteran Member
Join Date: Apr 2013
Old 05-18-2014 , 08:24   Re: Freak Fortress 2 1.9.3 Released (and 1.10.0 betas)
Reply With Quote #1

Quote:
Originally Posted by Ojing View Post
*Question about queue points error*

If hale give up or exit the game, queue points is give ordinarily.
but when users kill hale, there was error

[SM] Displaying call stack trace for plugin "freak_fortress_2.smx":
L 05/18/2014 - 14:07:26: [SM] [0] Line 2330, tf\addons\sourcemod\scripting\freak_fortress_ 2.sp::event_round_end()

and queue points are not given

ps) I use 1.10.0version which i download at github

https://github.com/50DKP/FF2-Official
Thanks, will investigate.
Could you display the full error please? There's usually at least 3 lines (so I can know what's going on-invalid index, etc).
__________________
~Wliu

Last edited by Wliu; 05-18-2014 at 08:25.
Wliu is offline
Eggman
Senior Member
Join Date: Jan 2010
Old 05-19-2014 , 06:53   Re: Freak Fortress 2 1.9.3 Released (and 1.10.0 betas)
Reply With Quote #2

Some little bug:
Code:
public Action:TF2_CalcIsAttackCritical(client, weapon, String:weaponname[], &bool:result)
{
	if(Enabled && IsBoss(client) && CheckRoundState()==1 && !TF2_IsPlayerCritBuffed(client) && BossCrits)
	{
		result=false;
		return Plugin_Changed;
	}
	return Plugin_Continue;
}
It shall be && !BossCrits, because cvar says "Can Boss get crits?", and 1 must mean "yes, he has"
Attached Files
File Type: sp Get Plugin or Get Source (freak_fortress_2.sp - 82 views - 215.3 KB)

Last edited by Eggman; 05-19-2014 at 06:55.
Eggman is offline
Wliu
Veteran Member
Join Date: Apr 2013
Old 05-19-2014 , 15:30   Re: Freak Fortress 2 1.9.3 Released (and 1.10.0 betas)
Reply With Quote #3

Whoops.
__________________
~Wliu
Wliu is offline
Wliu
Veteran Member
Join Date: Apr 2013
Old 05-19-2014 , 18:25   Re: Freak Fortress 2 1.9.3 Released (and 1.10.0 betas)
Reply With Quote #4

@ojing:
Have you updated your translation files? That's probably what's happening.

@Eggman:
Fixed, will commit in a few minutes.
__________________
~Wliu

Last edited by Wliu; 05-19-2014 at 18:26.
Wliu is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 05-20-2014 , 16:00   Re: Freak Fortress 2 1.9.3 Released (and 1.10.0 betas)
Reply With Quote #5

What's this, eggman lives?
__________________
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 05-20-2014 , 16:43   Re: Freak Fortress 2 1.9.3 Released (and 1.10.0 betas)
Reply With Quote #6

^Yup.

Anyway, I believe that I've fixed the exploit, thanks to some code Powerlord wrote (but didn't activate).
What this code does is intercept whenever a player is trying to change the team, and 99% of the time deny the switch. For example, if you're trying to switch to the boss team, nothing would happen. Note that this doesn't affect plugins that use ChangeClientTeam() (since the method catches the "jointeam" command).

Some more examples:
FF2 switches someone to the boss team-Switch succeeds.
You try to join spectator-Not allowed, unless your server has mp_allowspectators enabled.
You try to join a different team-Not allowed, period.
__________________
~Wliu
Wliu is offline
Wliu
Veteran Member
Join Date: Apr 2013
Old 05-20-2014 , 21:19   Re: Freak Fortress 2 1.9.3 Released (and 1.10.0 betas)
Reply With Quote #7

Here's Beta 12.

This only exists because I changed around a whole lot of core functionality, and want to make sure it works.

-Reworked joining a team, thanks to Powerlord's code
-Reworked changing classes as boss (NOT TESTED)
-Merged the two event_player_death functions into one
-Changed the BossCrits cvar back to the callback-based function to save on attributes and also make sure ALL crits were blocked (thanks Eggman)
-Fixed a regression that stopped 1-5 second warnings (before the stalemate) from playing
-Fixed a regression where Ninja Spy wouldn't "teleport" to the target during slow-mo
-Fixed a bug where Ninja Spy could get stuck in ceilings during slow-mo
-Fixed a bug where certain cvars weren't getting set properly on plugin start
-Fixed some functions failing to work if the client was previously a minion
-Fixed jarate/marked-for-death/etc. not disappearing immediately
-Changed Goomba Stomp's jump power from 5000 to 50 following complaints

Pretty big changelog .
Also, not sure if the include file changed, but I included it for good measure ;).
Attached Files
File Type: sp Get Plugin or Get Source (freak_fortress_2.sp - 195 views - 216.4 KB)
File Type: sp Get Plugin or Get Source (ff2_1st_set_abilities.sp - 199 views - 29.5 KB)
File Type: inc freak_fortress_2.inc (16.7 KB, 217 views)
File Type: smx freak_fortress_2.smx (107.9 KB, 207 views)
File Type: smx ff2_1st_set_abilities.smx (22.2 KB, 222 views)
__________________
~Wliu
Wliu is offline
dikkid
Member
Join Date: Jul 2013
Old 05-25-2014 , 21:34   Re: Freak Fortress 2 1.9.3 Released (and 1.10.0 betas)
Reply With Quote #8

Quote:
Originally Posted by Wliu View Post
Here's Beta 12.

This only exists because I changed around a whole lot of core functionality, and want to make sure it works.

-Reworked joining a team, thanks to Powerlord's code
-Reworked changing classes as boss (NOT TESTED)
-Merged the two event_player_death functions into one
-Changed the BossCrits cvar back to the callback-based function to save on attributes and also make sure ALL crits were blocked (thanks Eggman)
-Fixed a regression that stopped 1-5 second warnings (before the stalemate) from playing
-Fixed a regression where Ninja Spy wouldn't "teleport" to the target during slow-mo
-Fixed a bug where Ninja Spy could get stuck in ceilings during slow-mo
-Fixed a bug where certain cvars weren't getting set properly on plugin start
-Fixed some functions failing to work if the client was previously a minion
-Fixed jarate/marked-for-death/etc. not disappearing immediately
-Changed Goomba Stomp's jump power from 5000 to 50 following complaints

Pretty big changelog .
Also, not sure if the include file changed, but I included it for good measure ;).
@Wliu may i asked where can i find this string? i found that 50 is not really working for my mates, they asked me to revert back to my previous setting (300) Thanks in advance
__________________
dikkid is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 05-26-2014 , 11:17   Re: Freak Fortress 2 1.9.3 Released (and 1.10.0 betas)
Reply With Quote #9

Quote:
Originally Posted by dikkid View Post
@Wliu may i asked where can i find this string? i found that 50 is not really working for my mates, they asked me to revert back to my previous setting (300) Thanks in advance
Find this:
PHP Code:
JumpPower=50.0

Last edited by WildCard65; 05-26-2014 at 11:17.
WildCard65 is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 05-27-2014 , 10:56   Re: Freak Fortress 2 1.9.3 Released (and 1.10.0 betas)
Reply With Quote #10

Quote:
Originally Posted by Wliu View Post
Here's Beta 12.
This only exists because I changed around a whole lot of core functionality, and want to make sure it works.
Keep up the hard work. This BETA seems to "break" the BGM..reload 1.9.3 BGM back. Just my experience and I like my BGM BUT the skeleton king works only with 1.10.x

Last edited by MaloModo; 05-27-2014 at 10:57.
MaloModo 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 13:58.


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