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

TF2 Halloween AFK Farm


Post New Thread Reply   
 
Thread Tools Display Modes
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 10-25-2014 , 11:56   Re: TF2 Halloween AFK Farm
Reply With Quote #11

Quote:
Originally Posted by Powerlord View Post
You know that Valve can remove your server from the master server list for that, right?
Yes
__________________
Pelipoika is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 10-25-2014 , 20:42   Re: TF2 Halloween AFK Farm
Reply With Quote #12

Quote:
Originally Posted by Powerlord View Post
You know that Valve can remove your server from the master server list for that, right?
Ya know as I said I really don't think they would go after anyone or care. Look at what they did with the servers already causing issues to make them mess up quickplay with everyone else. I'm tired of having that held over my head when we all know damn well Valve doesn't have hardly anyone working the TF2 side now nor do they care about the community as they should.
Horsedick is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 10-26-2014 , 10:36   Re: TF2 Halloween AFK Farm
Reply With Quote #13

It's so easy, that a full from scratch server setup is already freely available on www.google.com
__________________
Chdata is offline
FishDude
Member
Join Date: Jul 2014
Old 10-26-2014 , 11:09   Re: TF2 Halloween AFK Farm
Reply With Quote #14

Offtopic. Can anyone tell me, what i need to fix this nasty errors (i cant recompile this plugin):
Quote:
c:\tf2Srv\steamapps\common\Team Fortress 2 Dedicated Server\tf\addons\sourcemod\
scripting\include\morecolors.inc(50) : error 075: input line too long (after sub
stitutions)

Last edited by FishDude; 10-26-2014 at 11:09.
FishDude is offline
King Cnut
Senior Member
Join Date: Sep 2014
Old 10-26-2014 , 11:22   Re: TF2 Halloween AFK Farm
Reply With Quote #15

Quote:
Originally Posted by FishDude View Post
Offtopic. Can anyone tell me, what i need to fix this nasty errors (i cant recompile this plugin):
Try putting a return after each coordinate. You can't string coordinates together in one long line.
__________________
*tips fedora, unsheaths katana, teleports behind u, nods respectfully*
King Cnut is offline
FishDude
Member
Join Date: Jul 2014
Old 10-26-2014 , 11:26   Re: TF2 Halloween AFK Farm
Reply With Quote #16

But how author compiled same source?

P.S.: I have error ather 1 lap:
Quote:
L 10/26/2014 - 17:25:22: [SM] [0] Line 307, giftfarmer.sp::Timer_TeleportAllToGifts()
L 10/26/2014 - 17:25:22: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/26/2014 - 17:25:22: [SM] Displaying call stack trace for plugin "giftfarmer.smx":
L 10/26/2014 - 17:25:22: [SM] [0] Line 307, giftfarmer.sp::Timer_TeleportAllToGifts()
L 10/26/2014 - 17:25:23: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/26/2014 - 17:25:23: [SM] Displaying call stack trace for plugin "giftfarmer.smx":
L 10/26/2014 - 17:25:23: [SM] [0] Line 307, giftfarmer.sp::Timer_TeleportAllToGifts()
L 10/26/2014 - 17:25:23: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/26/2014 - 17:25:23: [SM] Displaying call stack trace for plugin "giftfarmer.smx":
L 10/26/2014 - 17:25:23: [SM] [0] Line 307, giftfarmer.sp::Timer_TeleportAllToGifts()
L 10/26/2014 - 17:25:23: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/26/2014 - 17:25:23: [SM] Displaying call stack trace for plugin "giftfarmer.smx":
L 10/26/2014 - 17:25:23: [SM] [0] Line 307, giftfarmer.sp::Timer_TeleportAllToGifts()
L 10/26/2014 - 17:25:24: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/26/2014 - 17:25:24: [SM] Displaying call stack trace for plugin "giftfarmer.smx":
L 10/26/2014 - 17:25:24: [SM] [0] Line 307, giftfarmer.sp::Timer_TeleportAllToGifts()
(...)
FishDude is offline
King Cnut
Senior Member
Join Date: Sep 2014
Old 10-26-2014 , 11:32   Re: TF2 Halloween AFK Farm
Reply With Quote #17

There needs to be a way so people can just go AFK and this will teleport them to the locations on a timer. Requiring someone to babysit and type !autogift is good and all, but I'd like to walk away from time to time
__________________
*tips fedora, unsheaths katana, teleports behind u, nods respectfully*
King Cnut is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 10-26-2014 , 12:26   Re: TF2 Halloween AFK Farm
Reply With Quote #18

Quote:
Originally Posted by Powerlord View Post
You know that Valve can remove your server from the master server list for that, right?
It's funny how 7 lines of code in a script file aside from includes can get you delisted pretty quick.
Drixevel is offline
FishDude
Member
Join Date: Jul 2014
Old 10-26-2014 , 14:01   Re: TF2 Halloween AFK Farm
Reply With Quote #19

quick and extremly dirty solution


nncron on server:
Code:
#( server2tf
AsLoggedUser
Time: */2  * * * * *
Action:
PAUSE 1000
PAUSE 1000
SEND-KEYS: "trasshshshshshshs{ENTER}"
PAUSE 1000
SEND-KEYS: "{ENTER}"
PAUSE 1000
SEND-KEYS: "{ENTER}sm plugins unload giftfarmer{ENTER}"
PAUSE 2000
SEND-KEYS: "{ENTER}"
PAUSE 2000
SEND-KEYS: "{ENTER}sm plugins load giftfarmer{ENTER}"
PAUSE 2000
)#
bad and dirty:
Code:
public Action:Timer_TeleportAllToGifts(Handle:timer)
{
	for(new i = 1; i <= GetMaxClients(); i++)
    {
//		if(IsValidClient(i) && IsPlayerAlive(i) && g_bAutoGift[i]) //-
		if(IsValidClient(i) && IsPlayerAlive(i)) //+
UPD: Works bad: nnCron is not completely stable. But most importantly, players "poured" all in one spot and repel, so this dirty fix skips 2/3 gifts. Disappointing.
UPD2: As suddenly appeared, timers of nnCron "going crazy" when a user disconnected from RDP sesseion, which works nnCron. I just left it on a terminal session. Challenges of requests on/off plugin become "smoother": now lost no more than 1/4 of gifts.

Last edited by FishDude; 10-26-2014 at 21:38. Reason: update: works bad
FishDude is offline
King Cnut
Senior Member
Join Date: Sep 2014
Old 10-26-2014 , 14:29   Re: TF2 Halloween AFK Farm
Reply With Quote #20

This thing just needs a way to do sm_forcegift @all every 60 seconds and it would be great.
__________________
*tips fedora, unsheaths katana, teleports behind u, nods respectfully*

Last edited by King Cnut; 10-26-2014 at 14:29.
King Cnut 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 11:53.


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