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

[TF2] Zombie Fortress Redux - [v1.04 - 12/20/13]


Post New Thread Reply   
 
Thread Tools Display Modes
Requiesta
Senior Member
Join Date: May 2012
Location: Texas
Old 01-25-2016 , 09:56   Re: [TF2] Zombie Fortress Redux - [v1.04 - 12/20/13]
Reply With Quote #41

This code still relies partly on the original zombie fortress code (which is a bit archaic). If a weapon isn't specifically added along with data into the include files then the code won't recognize it and will throw those errors.

As for the first error I have no idea because you didn't provide the necessary line above it.
__________________
YouTuber, Modder, Accountant, and somehow I still enjoy programming after all that.

Check out my YouTube Channel.
Requiesta is offline
braak0327
AlliedModders Donor
Join Date: Dec 2012
Location: NORT....SOUTH KOREA
Old 03-02-2016 , 23:46   Re: [TF2] Zombie Fortress Redux - [v1.04 - 12/20/13]
Reply With Quote #42

still working?
__________________
I'M KIMCHI
braak0327 is offline
Send a message via Skype™ to braak0327
MaloModo
Veteran Member
Join Date: Aug 2008
Old 07-14-2016 , 17:44   Re: [TF2] Zombie Fortress Redux - [v1.04 - 12/20/13]
Reply With Quote #43

I am wondering the same thing.....
MaloModo is offline
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 09-11-2016 , 06:34   Re: [TF2] Zombie Fortress Redux - [v1.04 - 12/20/13]
Reply With Quote #44

Quote:
Originally Posted by braak0327 View Post
still working?
Proved

Edit:
It works as it should but:
Code:
L 12/12/2016 - 18:47:21: [SM] Exception reported: Property "m_iClass" not found (entity 0/worldspawn)

L 12/12/2016 - 18:49:11: [SM] Blaming: zombiefortress_redux.smx()
L 12/12/2016 - 18:49:11: [SM] Call stack trace:
L 12/12/2016 - 18:49:11: [SM]   [0] GetEntProp
L 12/12/2016 - 18:49:11: [SM]   [1] Line 320, C:\Users\User\Desktop\TF2_SERVER\addons\sourcemod\scripting\include\tf2_stocks.inc::TF2_GetPlayerClass()
L 12/12/2016 - 18:49:11: [SM]   [2] Line 847, C:\Users\User\Desktop\TF2_SERVER\addons\sourcemod\scripting\include\zf_util_base.inc::isSpy()
L 12/12/2016 - 18:49:11: [SM]   [3] Line 1059, C:\Users\User\Desktop\TF2_SERVER\addons\sourcemod\scripting\include\zf_util_base.inc::attackWasBackstab()
L 12/12/2016 - 18:49:11: [SM]   [4] Line 379, C:\Users\User\Desktop\TF2_SERVER\addons\sourcemod\scripting\zombiefortress_redux.sp::OnTakeDamage()
L 12/12/2016 - 18:49:11: [SM] Exception reported: Property "m_iClass" not found (entity 270/trigger_hurt)

L 12/12/2016 - 19:11:12: [zombiefortress_redux.smx] [ZF] - stripToMelee() - Invalid weaponId: 1102
L 12/12/2016 - 18:58:59: [zombiefortress_redux.smx] [ZF] - stripToMelee() - Invalid weaponId: 1103
L 12/12/2016 - 18:58:59: [zombiefortress_redux.smx] [ZF] - stripToMelee() - Invalid weaponId: 1121
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux

Last edited by DJPlaya; 12-12-2016 at 14:09.
DJPlaya is offline
Send a message via Skype™ to DJPlaya
Misc
Junior Member
Join Date: Feb 2016
Old 12-20-2017 , 22:14   Re: [TF2] Zombie Fortress Redux - [v1.04 - 12/20/13]
Reply With Quote #45

Code:
public Action:event_PlayerBuiltObject(Handle:event, const String:name[], bool:dontBroadcast)
{
  if(!zf_bEnabled) return Plugin_Continue;

  new index = GetEventInt(event, "index");
  new pObject = GetEventInt(event, "object");

  // 1. Handle dispenser rules.
  //    Disable dispensers when they begin construction.
  //    Increase max health to 250 (default level 1 is 150).      
  if(pObject == PLAYERBUILTOBJECT_ID_DISPENSER)
  {
    SetEntProp(index, Prop_Send, "m_bDisabled", 1);
    SetEntProp(index, Prop_Send, "m_iMaxHealth", 250);
  }

  return Plugin_Continue;     
}
This is the updated function which allows this to compile. All I did was change object to pObject in two places and then life was good :-)
Misc is offline
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 12-21-2017 , 17:32   Re: [TF2] Zombie Fortress Redux - [v1.04 - 12/20/13]
Reply With Quote #46

Quote:
Originally Posted by Misc View Post
This is the updated function which allows this to compile. All I did was change object to pObject in two places and then life was good :-)
You know this wont fix a Thing lel ^^ - Also, why p? its an integer, give it an i ^^

Lets agree on adding an Vality check for the Entitys too, I dont like spammed Logs
Code:
if(!iEntity)
   return Plugin_Handled;
I may fix this Plug up a bit when i find time
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux

Last edited by DJPlaya; 12-22-2017 at 04:24.
DJPlaya is offline
Send a message via Skype™ to DJPlaya
RavensBro
Veteran Member
Join Date: Sep 2009
Location: Wisonsin USA
Old 07-22-2018 , 10:49   Re: [TF2] Zombie Fortress Redux - [v1.04 - 12/20/13]
Reply With Quote #47

L 07/21/2018 - 13:25:21: [SM] Blaming: zombiefortress_redux.smx
L 07/21/2018 - 13:25:21: [SM] Call stack trace:
L 07/21/2018 - 13:25:21: [SM] [0] GetEntProp
L 07/21/2018 - 13:25:21: [SM] [1] Line 1222, C:\Users\RavensBro\Desktop\source mod and meta mod\sourcemod-1.7.3-git5225-windows-tf2ware+Zombie Fortress Redux\addons\sourcemod\scripting\zombiefortre ss_redux.sp::timer_postSpawn
L 07/21/2018 - 13:26:12: [SM] Exception reported: Entity -1 (-1) is invalid
L 07/21/2018 - 13:26:12: [SM] Blaming: zombiefortress_redux.smx
L 07/21/2018 - 13:26:12: [SM] Call stack trace:
L 07/21/2018 - 13:26:12: [SM] [0] GetEntProp
L 07/21/2018 - 13:26:12: [SM] [1] Line 1222, C:\Users\RavensBro\Desktop\source mod and meta mod\sourcemod-1.7.3-git5225-windows-tf2ware+Zombie Fortress Redux\addons\sourcemod\scripting\zombiefortre ss_redux.sp::timer_postSpawn
L 07/21/2018 - 13:26:19: [SM] Exception reported: Entity -1 (-1) is invalid
L 07/21/2018 - 13:26:19: [SM] Blaming: zombiefortress_redux.smx
RavensBro is offline
Nightmare Pyro
Member
Join Date: Mar 2020
Location: Cedar Falls
Old 07-26-2020 , 19:12   Re: [TF2] Zombie Fortress Redux - [v1.04 - 12/20/13]
Reply With Quote #48

Is this plugin still work? If so does this plugin WILL runs Zombie Escape map?
Nightmare Pyro is offline
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 07-28-2020 , 15:53   Re: [TF2] Zombie Fortress Redux - [v1.04 - 12/20/13]
Reply With Quote #49

Quote:
Originally Posted by Nightmare Pyro View Post
Is this plugin still work? If so does this plugin WILL runs Zombie Escape map?
It should work with Escape Maps, but i wouldent recommend using it without testing and fixing some Bugs first.
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux

Last edited by DJPlaya; 07-28-2020 at 15:53.
DJPlaya is offline
Send a message via Skype™ to DJPlaya
Nightmare Pyro
Member
Join Date: Mar 2020
Location: Cedar Falls
Old 06-18-2021 , 20:21   Re: [TF2] Zombie Fortress Redux - [v1.04 - 12/20/13]
Reply With Quote #50

I try recompile this plugin again and showing this funky error...


Code:
//// zombiefortress_redux.sp
//
// F:\Dev Server\Servers\Owl testing\Server\tf\addons\sourcemod\scripting\include\steamtools.inc(270) : fatal error 196: deprecated syntax; see https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Typedefs
//
// Compilation aborted.
// 1 Error.
//
// Compilation Time: 0.14 sec
// ----------------------------------------

Press enter to exit ...
Nightmare Pyro 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 04:32.


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