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

TF2 Halloween AFK Farm


Post New Thread Reply   
 
Thread Tools Display Modes
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 10-26-2014 , 21:10   Re: TF2 Halloween AFK Farm
Reply With Quote #21

this all sounds really sloppy XP

You can literally google a better solution...
__________________
Chdata is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 10-26-2014 , 21:26   Re: TF2 Halloween AFK Farm
Reply With Quote #22

failed
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 10-27-2014 , 03:22   Re: TF2 Halloween AFK Farm
Reply With Quote #23

Also about crontabs, the sourcemod server crontab plugin works PRETTY GOOD.
__________________
Chdata is offline
Pitbull3
AlliedModders Donor
Join Date: Aug 2009
Location: Degree-Gaming.com
Old 10-27-2014 , 07:17   Re: TF2 Halloween AFK Farm
Reply With Quote #24

Quote:
Originally Posted by Pelipoika View Post
This is such a simple thing and here you have my version of it.

- Meant to farm koth_lakeside_event
- Automatically assigns spectators to a team
- Instant respawn without setting server tags [Im sorry]
- sm_autogift : toggle farming on : off
- sm_forcegift : ADMGLAG_ROOT, Admins can force people to farm gifts
- Farmers have godmode and sentry immunity (I tried to add nocollide too but i was getting some errors
This doesn't work. It did "ONCE" one single idle rotation and that was it. After that it stopped working.

Just spams this 24/7:

Code:
L 10/27/2014 - 06:13:25: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/27/2014 - 06:13:25: [SM] Displaying call stack trace for plugin "giftfarmer.smx":
L 10/27/2014 - 06:13:25: [SM]   [0]  Line 307, giftfarmer.sp::Timer_TeleportAllToGifts()
Pitbull3 is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 10-27-2014 , 08:03   Re: TF2 Halloween AFK Farm
Reply With Quote #25

Quote:
Originally Posted by Pitbull3 View Post
This doesn't work. It did "ONCE" one single idle rotation and that was it. After that it stopped working.

Just spams this 24/7:

Code:
L 10/27/2014 - 06:13:25: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/27/2014 - 06:13:25: [SM] Displaying call stack trace for plugin "giftfarmer.smx":
L 10/27/2014 - 06:13:25: [SM]   [0]  Line 307, giftfarmer.sp::Timer_TeleportAllToGifts()
Swap

PHP Code:
if(CurrentArrayPosition[i] > sizeof(koth_lakeside_event) -1)
{
    
CurrentArrayPosition[i] = 0;
}

CurrentArrayPosition[i]++; 
around.
__________________
Pelipoika is offline
King Cnut
Senior Member
Join Date: Sep 2014
Old 10-27-2014 , 11:12   Re: TF2 Halloween AFK Farm
Reply With Quote #26

Quote:
Originally Posted by Pelipoika View Post
Swap

PHP Code:
if(CurrentArrayPosition[i] > sizeof(koth_lakeside_event) -1)
{
    
CurrentArrayPosition[i] = 0;
}

CurrentArrayPosition[i]++; 
around.
How do you swap all that code around?
__________________
*tips fedora, unsheaths katana, teleports behind u, nods respectfully*
King Cnut is offline
Pitbull3
AlliedModders Donor
Join Date: Aug 2009
Location: Degree-Gaming.com
Old 10-27-2014 , 16:48   Re: TF2 Halloween AFK Farm
Reply With Quote #27

Quote:
Originally Posted by Pelipoika View Post
Swap

PHP Code:
if(CurrentArrayPosition[i] > sizeof(koth_lakeside_event) -1)
{
    
CurrentArrayPosition[i] = 0;
}

CurrentArrayPosition[i]++; 
around.

I don't see what's different.


Code:
public Action:Timer_TeleportAllToGifts(Handle:timer)
{
	for(new i = 1; i <= GetMaxClients(); i++)
    {
		if(IsValidClient(i) && IsPlayerAlive(i) && g_bAutoGift[i])
		{
			new ArraySize = sizeof(koth_lakeside_event);
			PrintCenterText(i, "Location: %i / %i | Lap time: 47 Seconds.", CurrentArrayPosition[i], ArraySize);
		
			SetEntProp(i, Prop_Data, "m_takedamage", 0, 1);
			TF2_RemoveAllWeapons(i);
			
			decl Float:vecTpPos[3];
			vecTpPos[0] = koth_lakeside_event[CurrentArrayPosition[i]][0];
			vecTpPos[1] = koth_lakeside_event[CurrentArrayPosition[i]][1];
			vecTpPos[2] = koth_lakeside_event[CurrentArrayPosition[i]][2];
			
			vecTpPos[2] -= 64.0;
			
			TeleportEntity(i, vecTpPos, NULL_VECTOR, NULL_VECTOR);
			
			if(CurrentArrayPosition[i] > sizeof(koth_lakeside_event) -1)
			{
				CurrentArrayPosition[i] = 0;
			}
			
			CurrentArrayPosition[i]++;
		}
	}
}
Pitbull3 is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 10-27-2014 , 19:50   Re: TF2 Halloween AFK Farm
Reply With Quote #28

Quote:
Originally Posted by Pelipoika View Post
This is such a simple thing and here you have my version of it.

- Meant to farm koth_lakeside_event
- Automatically assigns spectators to a team
- Instant respawn without setting server tags [Im sorry]
- sm_autogift : toggle farming on : off
- sm_forcegift : ADMGLAG_ROOT, Admins can force people to farm gifts
- Farmers have godmode and sentry immunity (I tried to add nocollide too but i was getting some errors
I removed your attachment since it violates Valve's policy of truth.

Many people who download plugins from this board have an understanding that we curate submitted plugins to the best of our ability so that there will be no negative consequences on their servers.

Since your plugin violates Valve's policy of truth, it's putting anybody who runs it at risk of being delisted.

On the same token, I'm not sure how favorably Valve would look upon automated gift farming since they nuked idling a while ago, but since they haven't explicitly taken a stance on that issue I wouldn't consider it cause for alarm.
__________________
Dr. McKay is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 10-27-2014 , 23:29   Re: TF2 Halloween AFK Farm
Reply With Quote #29

Quote:
Originally Posted by Dr. McKay View Post
but since they haven't explicitly taken a stance on that issue
They have now.

http://www.teamfortress.com/post.php?id=14798

Quote:
... As time went on and Halloween updates came and went, however, some players spent more and more time focusing on gifts, often to the detriment of the players they were playing with. The Halloween experience for many players now consists of sitting idle in a custom server while a plugin teleports them from gift spawn point to gift spawn point.

Ordinarily we don't mind if players do things that we don't personally enjoy as long as their fun doesn't harm the quality of experience for other players. In this particular case, however, because the overwhelming majority of gifts claimed went to a tiny handful of accounts, we feel comfortable characterizing the current system as blatantly and transparently unfair: While some farming accounts claimed more than five hundred gifts just last year, the median numbers of gifts claimed was only five.


...
__________________

Last edited by ddhoward; 10-27-2014 at 23:30.
ddhoward is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 10-27-2014 , 23:29   Re: TF2 Halloween AFK Farm
Reply With Quote #30

They have taken a stance finally, they're changing farmable gift drops into 1 guaranteed drop and a 2nd guaranteed drop for completing the halloween event or something.

We'll get same average of drops that all players get.

/shutdown
__________________
Chdata 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 22:25.


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