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

[TF2] Scrap.tf - automatic scrap banking (1.4.0)


Post New Thread Reply   
 
Thread Tools Display Modes
Geel9
Senior Member
Join Date: Mar 2009
Old 01-25-2013 , 12:57   Re: [TF2] Scrap.tf - automatic scrap banking (1.2.0)
Reply With Quote #21

Uploaded the smx.
Geel9 is offline
salsav91
Senior Member
Join Date: Aug 2012
Location: Where Lollichops sleep
Old 01-26-2013 , 02:11   Re: [TF2] Scrap.tf - automatic scrap banking (1.2.0)
Reply With Quote #22

Any possible perks for server owners? I mean we are technically advertising your website. So besides the easy to use scrapbank interface without leaving the game. Are their any perks at all? I mean I noticed on the website it actually counts how many times the plugin is used.
__________________


Check out my pony animations. http://www.youtube.com/salsav91
salsav91 is offline
Geel9
Senior Member
Join Date: Mar 2009
Old 01-30-2013 , 15:21   Re: [TF2] Scrap.tf - automatic scrap banking (1.2.0)
Reply With Quote #23

At the time there are no plans for this.
Geel9 is offline
Geel9
Senior Member
Join Date: Mar 2009
Old 02-10-2013 , 17:15   Re: [TF2] Scrap.tf - automatic scrap banking (1.2.0)
Reply With Quote #24

Update 1.3.0 has been released. It adds hat banking and other things
Geel9 is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 02-10-2013 , 22:00   Re: [TF2] Scrap.tf - automatic scrap banking (1.2.0)
Reply With Quote #25

You might want to add an exit option when you call up the menu using !bank.
Mr. Man is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 02-12-2013 , 16:43   Re: [TF2] Scrap.tf - automatic scrap banking (1.2.0)
Reply With Quote #26

Looks good, but there's a couple issues.

You're initializing your global variable and timer to the default cvar values. The cvars will not necessarily have their default values when the plugin loads.

There's no real need to upper-limit the timer cvar.

You don't need to change this to get approved, but there's a lot of repeated code for sending requests to scrap.tf. This could be functionized (which also makes future maintenance easier). If you're copying/pasting a lot of code, you can usually turn it into a function.
__________________

Last edited by Dr. McKay; 02-12-2013 at 16:44. Reason: Autocorrect hates me
Dr. McKay is offline
salsav91
Senior Member
Join Date: Aug 2012
Location: Where Lollichops sleep
Old 02-15-2013 , 02:02   Re: [TF2] Scrap.tf - automatic scrap banking (1.2.0)
Reply With Quote #27

So far so good from what I can tell, will test more.
__________________


Check out my pony animations. http://www.youtube.com/salsav91

Last edited by salsav91; 02-15-2013 at 02:03.
salsav91 is offline
island55
Senior Member
Join Date: Aug 2010
Location: charleston
Old 04-09-2013 , 13:39   Re: [TF2] Scrap.tf - automatic scrap banking (1.2.0)
Reply With Quote #28

I looked in the source and is there anyway to edit the color of the text? id like to match it with a few of my other plugins that notify players through the chatbox. I'm not real good with coding so this may be a really dumb question and if it is, sorry, but...

the current line is;
Code:
CPrintToChatAll("%s", "You can type {green}!bank{default} to do weapon, key, or hat banking via scrap.tf.");
would this work?
Code:
CPrintToChatAll("%s", "{#01A9DB}You can type {#FFBF00}!bank{#01A9DB} to do weapon, key, or hat banking via scrap.tf.");

thanks
island55 is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 04-09-2013 , 14:12   Re: [TF2] Scrap.tf - automatic scrap banking (1.2.0)
Reply With Quote #29

PHP Code:
PrintToChatAll("%s""\x0701A9DBYou can type \x07FFBF00!bank\x0701A9DB to do weapon, key, or hat banking via scrap.tf."); 
__________________
Dr. McKay is offline
island55
Senior Member
Join Date: Aug 2010
Location: charleston
Old 04-09-2013 , 18:33   Re: [TF2] Scrap.tf - automatic scrap banking (1.2.0)
Reply With Quote #30

Quote:
Originally Posted by Dr. McKay View Post
PHP Code:
PrintToChatAll("%s""\x0701A9DBYou can type \x07FFBF00!bank\x0701A9DB to do weapon, key, or hat banking via scrap.tf."); 

you da man!
island55 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:03.


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