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

FF2 Freak Fortress 2 1.10.14 Released


Post New Thread Reply   
 
Thread Tools Display Modes
Wliu
Veteran Member
Join Date: Apr 2013
Old 01-23-2014 , 15:27   Re: FF2 1.0.8 Released (and 1.9.0 betas)
Reply With Quote #111

Did you recompile?
__________________
~Wliu
Wliu is offline
MadaraXDude
Member
Join Date: Oct 2013
Location: Vienna
Old 01-23-2014 , 15:41   Re: FF2 1.0.8 Released (and 1.9.0 betas)
Reply With Quote #112

I have changed the #define MAXSPECIALS 64 to #define MAXSPECIALS 100
recompile?? What Sorry but wath you mean?
{wen i Translate it to German it says me
nothing to }
MadaraXDude is offline
Wliu
Veteran Member
Join Date: Apr 2013
Old 01-23-2014 , 18:20   Re: FF2 1.0.8 Released (and 1.9.0 betas)
Reply With Quote #113

compile.exe freak_fortress_2.sp <--Windows
compile.sh freak_fortress_2.sp <--Mac/Linux
__________________
~Wliu
Wliu is offline
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 01-23-2014 , 19:43   Re: FF2 1.0.8 Released (and 1.9.0 betas)
Reply With Quote #114

Quote:
Originally Posted by Wliu View Post
How...
freak_fortress_2_vsh_feedback.inc only goes up to line 79. Ctrl+F doesn't bring up FF2RoundState, even when I set it to check all my opened documents.
Code:
new Handle:OnIsVSHMap;
new Handle:OnIsEnabled;
new Handle:OnGetHale;
new Handle:OnGetTeam;
new Handle:OnGetSpecial;
new Handle:OnGetHealth;
new Handle:OnGetHealthMax;
new Handle:OnGetDamage;
new Handle:OnGetRoundState;

AskPluginLoad_VSH()
{
    CreateNative("VSH_IsSaxtonHaleModeMap", Native_VSHIsVSHMap);
    OnIsVSHMap = CreateGlobalForward("VSH_OnIsSaxtonHaleModeMap", ET_Hook, Param_CellByRef);
    
    CreateNative("VSH_IsSaxtonHaleModeEnabled", Native_VSHIsEnabled);
    OnIsEnabled = CreateGlobalForward("VSH_OnIsSaxtonHaleModeEnabled", ET_Hook, Param_CellByRef);
    
    CreateNative("VSH_GetSaxtonHaleUserId", Native_VSHGetHale);
    OnGetHale = CreateGlobalForward("VSH_OnGetSaxtonHaleUserId", ET_Hook, Param_CellByRef);
    
    CreateNative("VSH_GetSaxtonHaleTeam", Native_VSHGetTeam);
    OnGetTeam = CreateGlobalForward("VSH_OnGetSaxtonHaleTeam", ET_Hook, Param_CellByRef);
    
    CreateNative("VSH_GetSpecialRoundIndex", Native_VSHGetSpecial);
    OnGetSpecial = CreateGlobalForward("VSH_OnGetSpecialRoundIndex", ET_Hook, Param_CellByRef);
    
    CreateNative("VSH_GetSaxtonHaleHealth", Native_VSHGetHealth);
    OnGetHealth = CreateGlobalForward("VSH_OnGetSaxtonHaleHealth", ET_Hook, Param_CellByRef);
    
    CreateNative("VSH_GetSaxtonHaleHealthMax", Native_VSHGetHealthMax);
    OnGetHealthMax = CreateGlobalForward("VSH_OnGetSaxtonHaleHealthMax", ET_Hook, Param_CellByRef);
    
    CreateNative("VSH_GetClientDamage", Native_VSHGetDamage);
    OnGetDamage = CreateGlobalForward("VSH_OnGetClientDamage", ET_Hook, Param_Cell,Param_CellByRef);
    
    CreateNative("VSH_GetRoundState", Native_VSHGetRoundState);
    OnGetRoundState = CreateGlobalForward("VSH_OnGetRoundState", ET_Hook, Param_CellByRef);

    RegPluginLibrary("saxtonhale");
}

public Native_VSHIsVSHMap(Handle:plugin, numParams)
{
    new result=false;
    new result2=result;

    new Action:act = Plugin_Continue;
    Call_StartForward(OnIsVSHMap);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;        
    return result;
}

public Native_VSHIsEnabled(Handle:plugin, numParams)
{
    new result=(Enabled?2:0);
    new result2=result;

    new Action:act = Plugin_Continue;
    Call_StartForward(OnIsEnabled);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;        
    return result;
}


public Native_VSHGetHale(Handle:plugin, numParams)
{
    decl result;
    if (IsValidClient(Boss[0]))
        result=GetClientUserId(Boss[0]);
    else
        result=-1;
    new result2=result;
        
    new Action:act = Plugin_Continue;
    Call_StartForward(OnGetHale);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;        
    return result;

}

public Native_VSHGetTeam(Handle:plugin, numParams)
{
    new result=BossTeam;
    new result2=result;
    
    new Action:act = Plugin_Continue;
    Call_StartForward(OnGetTeam);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;        
    return result;
}

public Native_VSHGetSpecial(Handle:plugin, numParams)
{
    new result=Special[0];
    new result2=result;
    
    new Action:act = Plugin_Continue;
    Call_StartForward(OnGetSpecial);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;    
        
    return result;
}

public Native_VSHGetHealth(Handle:plugin, numParams)
{
    new result=BossHealth[0];
    new result2=result;
    
    new Action:act = Plugin_Continue;
    Call_StartForward(OnGetHealth);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;    
        
    return result;
}

public Native_VSHGetHealthMax(Handle:plugin, numParams)
{
    new result=BossHealthMax[0];
    new result2=result;
    
    new Action:act = Plugin_Continue;
    Call_StartForward(OnGetHealthMax);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;    
        
    return result;
}

public Native_VSHGetRoundState(Handle:plugin, numParams)
{
    new result=FF2RoundState;
    new result2=result;
    
    new Action:act = Plugin_Continue;
    Call_StartForward(OnGetRoundState);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;    
        
    return result;
}

public Native_VSHGetDamage(Handle:plugin, numParams)
{
    new client = GetNativeCell(1);
    decl result;
    if (!IsValidClient(client))
        result=0;
    else
        result=Damage[client];
    new result2=result;
    
    new Action:act = Plugin_Continue;
    Call_StartForward(OnGetDamage);
    Call_PushCell(client);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;    
        
    return result;
}
Is what is in the include file, 184 lines
__________________
Plugins|Profile
Requests closed

I'm a smartass by nature, get used to it
xXDeathreusXx is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 01-23-2014 , 20:28   Re: FF2 1.0.8 Released (and 1.9.0 betas)
Reply With Quote #115

Can I ask why ff2_old_jump was seemingly removed?
__________________
Chdata is offline
MadaraXDude
Member
Join Date: Oct 2013
Location: Vienna
Old 01-24-2014 , 09:19   Re: FF2 1.0.8 Released (and 1.9.0 betas)
Reply With Quote #116

Wen I want to recompile it cames a error :http://gyazo.com/20876c72282e5afdfbbc7f27ff5a6efc
MadaraXDude is offline
Graffiti
AlliedModders Donor
Join Date: Aug 2013
Location: Russia
Old 01-24-2014 , 12:28   Re: FF2 1.0.8 Released (and 1.9.0 betas)
Reply With Quote #117

Give me please link Health bar Boss
Thank you
Graffiti is offline
Wliu
Veteran Member
Join Date: Apr 2013
Old 01-24-2014 , 14:16   Re: FF2 1.0.8 Released (and 1.9.0 betas)
Reply With Quote #118

Quote:
Originally Posted by xXDeathreusXx View Post
Code:
new Handle:OnIsVSHMap;
new Handle:OnIsEnabled;
new Handle:OnGetHale;
new Handle:OnGetTeam;
new Handle:OnGetSpecial;
new Handle:OnGetHealth;
new Handle:OnGetHealthMax;
new Handle:OnGetDamage;
new Handle:OnGetRoundState;

AskPluginLoad_VSH()
{
    CreateNative("VSH_IsSaxtonHaleModeMap", Native_VSHIsVSHMap);
    OnIsVSHMap = CreateGlobalForward("VSH_OnIsSaxtonHaleModeMap", ET_Hook, Param_CellByRef);
    
    CreateNative("VSH_IsSaxtonHaleModeEnabled", Native_VSHIsEnabled);
    OnIsEnabled = CreateGlobalForward("VSH_OnIsSaxtonHaleModeEnabled", ET_Hook, Param_CellByRef);
    
    CreateNative("VSH_GetSaxtonHaleUserId", Native_VSHGetHale);
    OnGetHale = CreateGlobalForward("VSH_OnGetSaxtonHaleUserId", ET_Hook, Param_CellByRef);
    
    CreateNative("VSH_GetSaxtonHaleTeam", Native_VSHGetTeam);
    OnGetTeam = CreateGlobalForward("VSH_OnGetSaxtonHaleTeam", ET_Hook, Param_CellByRef);
    
    CreateNative("VSH_GetSpecialRoundIndex", Native_VSHGetSpecial);
    OnGetSpecial = CreateGlobalForward("VSH_OnGetSpecialRoundIndex", ET_Hook, Param_CellByRef);
    
    CreateNative("VSH_GetSaxtonHaleHealth", Native_VSHGetHealth);
    OnGetHealth = CreateGlobalForward("VSH_OnGetSaxtonHaleHealth", ET_Hook, Param_CellByRef);
    
    CreateNative("VSH_GetSaxtonHaleHealthMax", Native_VSHGetHealthMax);
    OnGetHealthMax = CreateGlobalForward("VSH_OnGetSaxtonHaleHealthMax", ET_Hook, Param_CellByRef);
    
    CreateNative("VSH_GetClientDamage", Native_VSHGetDamage);
    OnGetDamage = CreateGlobalForward("VSH_OnGetClientDamage", ET_Hook, Param_Cell,Param_CellByRef);
    
    CreateNative("VSH_GetRoundState", Native_VSHGetRoundState);
    OnGetRoundState = CreateGlobalForward("VSH_OnGetRoundState", ET_Hook, Param_CellByRef);

    RegPluginLibrary("saxtonhale");
}

public Native_VSHIsVSHMap(Handle:plugin, numParams)
{
    new result=false;
    new result2=result;

    new Action:act = Plugin_Continue;
    Call_StartForward(OnIsVSHMap);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;        
    return result;
}

public Native_VSHIsEnabled(Handle:plugin, numParams)
{
    new result=(Enabled?2:0);
    new result2=result;

    new Action:act = Plugin_Continue;
    Call_StartForward(OnIsEnabled);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;        
    return result;
}


public Native_VSHGetHale(Handle:plugin, numParams)
{
    decl result;
    if (IsValidClient(Boss[0]))
        result=GetClientUserId(Boss[0]);
    else
        result=-1;
    new result2=result;
        
    new Action:act = Plugin_Continue;
    Call_StartForward(OnGetHale);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;        
    return result;

}

public Native_VSHGetTeam(Handle:plugin, numParams)
{
    new result=BossTeam;
    new result2=result;
    
    new Action:act = Plugin_Continue;
    Call_StartForward(OnGetTeam);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;        
    return result;
}

public Native_VSHGetSpecial(Handle:plugin, numParams)
{
    new result=Special[0];
    new result2=result;
    
    new Action:act = Plugin_Continue;
    Call_StartForward(OnGetSpecial);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;    
        
    return result;
}

public Native_VSHGetHealth(Handle:plugin, numParams)
{
    new result=BossHealth[0];
    new result2=result;
    
    new Action:act = Plugin_Continue;
    Call_StartForward(OnGetHealth);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;    
        
    return result;
}

public Native_VSHGetHealthMax(Handle:plugin, numParams)
{
    new result=BossHealthMax[0];
    new result2=result;
    
    new Action:act = Plugin_Continue;
    Call_StartForward(OnGetHealthMax);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;    
        
    return result;
}

public Native_VSHGetRoundState(Handle:plugin, numParams)
{
    new result=FF2RoundState;
    new result2=result;
    
    new Action:act = Plugin_Continue;
    Call_StartForward(OnGetRoundState);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;    
        
    return result;
}

public Native_VSHGetDamage(Handle:plugin, numParams)
{
    new client = GetNativeCell(1);
    decl result;
    if (!IsValidClient(client))
        result=0;
    else
        result=Damage[client];
    new result2=result;
    
    new Action:act = Plugin_Continue;
    Call_StartForward(OnGetDamage);
    Call_PushCell(client);
    Call_PushCellRef(result2);
    Call_Finish(act);
    if (act==Plugin_Changed)
        result=result2;    
        
    return result;
}
Is what is in the include file, 184 lines
Outdated version; get the new one from Github.

Quote:
Originally Posted by MadaraXDude View Post
Wen I want to recompile it cames a error :http://gyazo.com/20876c72282e5afdfbbc7f27ff5a6efc
compile.exe, not compexe...

Quote:
Originally Posted by Graffiti View Post
Give me please link Health bar Boss
Thank you
wat
__________________
~Wliu

Last edited by Wliu; 01-24-2014 at 14:17.
Wliu is offline
Pitbull3
AlliedModders Donor
Join Date: Aug 2009
Location: Degree-Gaming.com
Old 01-25-2014 , 05:32   Re: FF2 1.0.8 Released (and 1.9.0 betas)
Reply With Quote #119

Completely broken?


Code:
L 01/25/2014 - 05:28:37: [SM] Native "KvRewind" reported: Invalid key value handle 0 (error 4)
L 01/25/2014 - 05:28:37: [SM] Displaying call stack trace for plugin "freak_fortress_2.smx":
L 01/25/2014 - 05:28:37: [SM]   [0]  Line 6035, freak_fortress_2.sp::PickSpecial()
L 01/25/2014 - 05:28:37: [SM]   [1]  Line 1626, freak_fortress_2.sp::event_round_start()
L 01/25/2014 - 05:28:48: [SM] Native "KvRewind" reported: Invalid key value handle 0 (error 4)
L 01/25/2014 - 05:28:48: [SM] Displaying call stack trace for plugin "freak_fortress_2.smx":
L 01/25/2014 - 05:28:48: [SM]   [0]  Line 4365, freak_fortress_2.sp::DoTaunt()
L 01/25/2014 - 05:29:02: [SM] Native "KvRewind" reported: Invalid key value handle 0 (error 4)
L 01/25/2014 - 05:29:02: [SM] Displaying call stack trace for plugin "freak_fortress_2.smx":
L 01/25/2014 - 05:29:02: [SM]   [0]  Line 6035, freak_fortress_2.sp::PickSpecial()
L 01/25/2014 - 05:29:02: [SM]   [1]  Line 1626, freak_fortress_2.sp::event_round_start()
L 01/25/2014 - 05:29:27: [SM] Native "ReadDirEntry" reported: Invalid file handle 0 (error 4)
L 01/25/2014 - 05:29:27: [SM] Displaying call stack trace for plugin "freak_fortress_2.smx":
L 01/25/2014 - 05:29:27: [SM]   [0]  Line 1046, freak_fortress_2.sp::DisableSubPlugins()
L 01/25/2014 - 05:29:27: [SM]   [1]  Line 1528, freak_fortress_2.sp::event_round_start()
Pitbull3 is offline
Wliu
Veteran Member
Join Date: Apr 2013
Old 01-25-2014 , 11:24   Re: FF2 1.0.8 Released (and 1.9.0 betas)
Reply With Quote #120

Quote:
Originally Posted by Pitbull3 View Post
Completely broken?


Code:
L 01/25/2014 - 05:28:37: [SM] Native "KvRewind" reported: Invalid key value handle 0 (error 4)
L 01/25/2014 - 05:28:37: [SM] Displaying call stack trace for plugin "freak_fortress_2.smx":
L 01/25/2014 - 05:28:37: [SM]   [0]  Line 6035, freak_fortress_2.sp::PickSpecial()
L 01/25/2014 - 05:28:37: [SM]   [1]  Line 1626, freak_fortress_2.sp::event_round_start()
L 01/25/2014 - 05:28:48: [SM] Native "KvRewind" reported: Invalid key value handle 0 (error 4)
L 01/25/2014 - 05:28:48: [SM] Displaying call stack trace for plugin "freak_fortress_2.smx":
L 01/25/2014 - 05:28:48: [SM]   [0]  Line 4365, freak_fortress_2.sp::DoTaunt()
L 01/25/2014 - 05:29:02: [SM] Native "KvRewind" reported: Invalid key value handle 0 (error 4)
L 01/25/2014 - 05:29:02: [SM] Displaying call stack trace for plugin "freak_fortress_2.smx":
L 01/25/2014 - 05:29:02: [SM]   [0]  Line 6035, freak_fortress_2.sp::PickSpecial()
L 01/25/2014 - 05:29:02: [SM]   [1]  Line 1626, freak_fortress_2.sp::event_round_start()
L 01/25/2014 - 05:29:27: [SM] Native "ReadDirEntry" reported: Invalid file handle 0 (error 4)
L 01/25/2014 - 05:29:27: [SM] Displaying call stack trace for plugin "freak_fortress_2.smx":
L 01/25/2014 - 05:29:27: [SM]   [0]  Line 1046, freak_fortress_2.sp::DisableSubPlugins()
L 01/25/2014 - 05:29:27: [SM]   [1]  Line 1528, freak_fortress_2.sp::event_round_start()
Version?
__________________
~Wliu
Wliu 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 04:00.


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