Raised This Month: $ Target: $400
 0% 

[TF2] Block Trading


Post New Thread Reply   
 
Thread Tools Display Modes
Matheus28
Senior Member
Join Date: Aug 2009
Old 11-14-2010 , 12:55   Re: [TF2] Block Trading
Reply With Quote #11

So, did the "-1" appeared after you made these changes?

Are there any "1"?
Matheus28 is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 11-14-2010 , 13:10   Re: [TF2] Block Trading
Reply With Quote #12

Code:
STEAM_0:0:29287901 | 1288439151 | #TF_Halloween_Mask_SaxtonHale | 1
field METHOD wasn't been before I added it.

EDIT:
when I added this, old strings setted to default integer - 0 (zero (null))
__________________

Last edited by Leonardo; 11-14-2010 at 13:14.
Leonardo is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 11-21-2010 , 15:55   Re: [TF2] Block Trading
Reply With Quote #13

after some time i've got it
-1 is a regular drop
so maybe trade is a 1 ?
__________________
Leonardo is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 11-22-2010 , 17:48   Re: [TF2] Block Trading
Reply With Quote #14

m_bInSetup from tf_gamerules will always be 0. (You also only need to read 1 byte)

A working alternative is to read m_nState from team_round_timer. It will read 0 during setup.

For more reference, see this thread: http://forums.alliedmods.net/showthread.php?t=113600
__________________
pheadxdll is offline
Matheus28
Senior Member
Join Date: Aug 2009
Old 11-23-2010 , 07:02   Re: [TF2] Block Trading
Reply With Quote #15

Oh, thanks! I'll update it.
Matheus28 is offline
ATF_Griff
Member
Join Date: Nov 2009
Old 12-23-2010 , 18:14   Re: [TF2] Block Trading
Reply With Quote #16

Hey how bout an option to block all trading even during setup? Also I don't like how it announces every time. May I request you add functionality for blocking crafting as well? Maybe include options for all of those.

Last edited by ATF_Griff; 12-23-2010 at 20:21.
ATF_Griff is offline
Matheus28
Senior Member
Join Date: Aug 2009
Old 12-24-2010 , 07:38   Re: [TF2] Block Trading
Reply With Quote #17

Good idea, I don't have time right now, but I will add it in the future.
Matheus28 is offline
ummja
Senior Member
Join Date: Sep 2010
Old 12-24-2010 , 16:45   Re: [TF2] Block Trading
Reply With Quote #18

Quote:
Originally Posted by bl4nk View Post
Well that's just mean.
Agree'd.
ummja is offline
Kevin_b_er
SourceMod Donor
Join Date: Feb 2009
Old 12-26-2010 , 15:23   Re: [TF2] Block Trading
Reply With Quote #19

The version cvar filled specified in the plugin info for the topic is badly formed. There appears to be a quotation mark in it.
__________________
Kevin_b_er is offline
Matheus28
Senior Member
Join Date: Aug 2009
Old 12-26-2010 , 15:28   Re: [TF2] Block Trading
Reply With Quote #20

Quote:
Originally Posted by Kevin_b_er View Post
The version cvar filled specified in the plugin info for the topic is badly formed. There appears to be a quotation mark in it.
Yep, sorry. Fixed.

Also, added a new cvar to allow or block crafting.

Last edited by Matheus28; 12-26-2010 at 16:26.
Matheus28 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 03:09.


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