Raised This Month: $ Target: $400
 0% 

[TF2]TauntCrits


Post New Thread Reply   
 
Thread Tools Display Modes
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 08-08-2011 , 00:58   Re: [TF2]TauntCrits
Reply With Quote #31

Installed the new version and i have yet to see an error. Good Job. ^_^
Drixevel is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 08-11-2011 , 19:30   Re: [TF2]TauntCrits
Reply With Quote #32

Code:
L 08/11/2011 - 03:09:30: [SM] Native "GetEntProp" reported: Property "m_iItemDefinitionIndex" not found (entity 319/instanced_scripted_scene)
L 08/11/2011 - 03:09:30: [SM] Displaying call stack trace for plugin "TG_TauntCritz.smx":
L 08/11/2011 - 03:09:30: [SM]   [0]  Line 693, TG_TauntCritz.sp::ValidWeapons()
L 08/11/2011 - 03:09:30: [SM]   [1]  Line 366, TG_TauntCritz.sp::Hook_taunt()
Not sure if that's a problem on my end but that just appeared once in my errors, Don't worry about it for now unless it appears again.
Drixevel is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 08-12-2011 , 17:35   Re: [TF2]TauntCrits
Reply With Quote #33

Seems like your still underdevelopment so approval will wait a bit.

Quote:
-If you have been awarded with crits and then healed by medic or dispenser your crit buff will disappear. It is bug of sourcemod, not the plugin.
This issue appears to me to be solveable. It is definitely not a SourceMod issue.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 08-16-2011 , 08:46   Re: [TF2]TauntCrits
Reply With Quote #34

Same error as i posted above. -_-

I'm getting them once in a blue moon now. #32
Drixevel is offline
HeMe3iC
Member
Join Date: Sep 2008
Location: Яussia
Old 08-18-2011 , 00:11   Re: [TF2]TauntCrits
Reply With Quote #35

r3dw3r3w0lf, have you modified anything but name? because theres no such error in logs of RandomFortress. I even have no ideas how could this possible for player to have weapon entity "(entity 319/instanced_scripted_scene)" because theres no error in "new weaponent=GetEntPropEnt(client, Prop_Send, "m_hActiveWeapon");" line
but there is in "new weaponind=GetEntProp(weaponent, Prop_Send, "m_iItemDefinitionIndex");"

Code:
  if (!(client > 0 && IsValidEdict(client) && IsClientInGame(client) && IsPlayerAlive(client)))
        return bool:false;
        
    new weaponent=GetEntPropEnt(client, Prop_Send, "m_hActiveWeapon");
    if (!(weaponent> MaxClients && IsValidEdict(weaponent)))
        return bool:false;
        
    new weaponind=GetEntProp(weaponent, Prop_Send, "m_iItemDefinitionIndex");
can you send me your source code? ill try comparing it to mine. Anwyays, thanks for report

Last edited by HeMe3iC; 08-18-2011 at 00:19.
HeMe3iC is offline
Send a message via ICQ to HeMe3iC
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 08-18-2011 , 02:53   Re: [TF2]TauntCrits
Reply With Quote #36

Eh, probably a mod i have installed on my server to make the error pop up.
Drixevel is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 08-27-2011 , 15:05   Re: [TF2]TauntCrits
Reply With Quote #37

Quote:
Originally Posted by Antithasys View Post
Seems like your still underdevelopment so approval will wait a bit.

-If you have been awarded with crits and then healed by medic or dispenser your crit buff will disappear. It is bug of sourcemod, not the plugin.

This issue appears to me to be solveable. It is definitely not a SourceMod issue.
Agreed, it's not a sourcemod issue.

Valve actually IMPLEMENTED a fix for this in TF2, you just haven't used it.

Change TFCond_Kritzkrieged to TFCond_HalloweenCritCandy (or any other new tf2.inc crit defines except TFCond_CritHype).

Tada.

I've also included a possible fix for redwerewolf's error. It checks in ValidWeapon to make sure that the client's weapon is one of their 6 weapons.

You will need to compile it yourself using the new tf2.inc here
Attached Files
File Type: sp Get Plugin or Get Source (tauntcrits.sp - 277 views - 20.1 KB)
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
Crowley
New Member
Join Date: Aug 2011
Old 08-27-2011 , 16:01   Re: [TF2]TauntCrits
Reply With Quote #38

The only problem is: how to compile? I have no idea
Crowley is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 08-27-2011 , 16:45   Re: [TF2]TauntCrits
Reply With Quote #39

Updated tf2.inc file you gave and tried to compile the plugin and it says...

Code:
// C:\Users\Administrator\Desktop\Script\include\tf2.inc(94) : error 010: invali
d function or declaration
// C:\Users\Administrator\Desktop\Script\include\tf2.inc(185) : error 010: inval
id function or declaration
// C:\Users\Administrator\Desktop\Script\include\tf2.inc(539) : error 010: inval
id function or declaration
// C:\Users\Administrator\Desktop\Script\include\tf2.inc(566) : error 010: inval
id function or declaration
// C:\Users\Administrator\Desktop\Script\include\tf2.inc(593) : error 010: inval
id function or declaration
// C:\Users\Administrator\Desktop\Script\include\tf2.inc(626) : error 010: inval
id function or declaration
// C:\Users\Administrator\Desktop\Script\include\tf2.inc(656) : error 010: inval
id function or declaration
// C:\Users\Administrator\Desktop\Script\include\tf2.inc(686) : error 010: inval
id function or declaration
// C:\Users\Administrator\Desktop\Script\include\tf2.inc(728) : error 010: inval
id function or declaration
// C:\Users\Administrator\Desktop\Script\include\tf2.inc(755) : error 010: inval
id function or declaration
// C:\Users\Administrator\Desktop\Script\include\tf2.inc(794) : error 010: inval
id function or declaration
// C:\Users\Administrator\Desktop\Script\include\tf2.inc(824) : error 010: inval
id function or declaration
No Idea.
Drixevel is offline
Taz532
Senior Member
Join Date: Jul 2011
Location: Michigan
Old 08-27-2011 , 23:18   Re: [TF2]TauntCrits
Reply With Quote #40

Compiled plugin attached.

It's the same source code as what FlaminSarge linked (I didn't have that problem, werewolf) but I figured you gotta provide source and such with everything so why not....
Attached Files
File Type: smx tauntcrits.smx (11.3 KB, 84 views)
File Type: sp Get Plugin or Get Source (tauntcrits.sp - 190 views - 20.1 KB)
Taz532 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 14:18.


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