Teams/clans

User avatar
qee4q
Posts: 31
Joined: 21 Feb 2012 09:46
Country: Denmark
Location: Odense, Denmark

Teams/clans

Post by qee4q »

Just a thought.. Maybe it could be fun if you could form and join clans.

You would still have to turf as an individual but you're score would be added to your teammates on a separate highscore list.

Sendt fra min Transformer Prime TF201 med Tapatalk
Image
ImageImageImageImageImageImage
StarDust
Zonemaker
Posts: 1499
Joined: 09 Aug 2010 16:37
Country: Sweden
Location: Uppsala

Re: Teams/clans

Post by StarDust »

There was a third party webpage that worked towards this, however if I remember correctly it stopped working after a while. I never found out why though.
Life's journey is not to arrive at the grave safely, in a well preserved body, but rather to skid in sideways, totally worn out, shouting "Holy shit, what a ride!"
User avatar
qee4q
Posts: 31
Joined: 21 Feb 2012 09:46
Country: Denmark
Location: Odense, Denmark

Re: Teams/clans

Post by qee4q »

I just thought it could be fun to look at a big city (i guess there are more players and therefore teams in big cities) - with the teammode enabled and see that Clan A own all the zones marked blue, clan B the ones marked orange etc.

Of course you should be able to steal zones from your teammates since the individual game still is the most important thing.
Image
ImageImageImageImageImageImage
User avatar
Blabert
Zonemaker
Posts: 2973
Joined: 02 Mar 2011 14:59
Country: Sweden
Location: Falun/Stockholm

Re: Teams/clans

Post by Blabert »

It's a great idea, but nothing the devs have time to implement at the moment. They do like to see a third party solution to this, hopefully someone will pick up the ball on that one :-)

Sent from my Galaxy Nexus using Tapatalk 2 Beta-4
Image
pie-or-paj
Posts: 28
Joined: 27 Mar 2012 15:26
Country: Sweden

Re: Teams/clans

Post by pie-or-paj »

Interesting indeed.
I do have knowledge of programming and may have a look at it.
can't host it
However I do have some thoughts.
1. Turf provides APIs, however the seem to be broken for the moment.
2. The APIs is of the pulling type, which means we have to weight the infos freshness against server load. Input on this would be appreciated.
3. Hosting. If I would get something working that is to be released "for real" I have no place to host it.
For development and testing I'm able to host it at home.
Image
User avatar
Drassen
Site Admin
Posts: 2425
Joined: 04 Aug 2010 11:46

Re: Teams/clans

Post by Drassen »

report where the api:s are broken and we will fix it.
--No Private Messages please, use contact@turfgame.com instead.--
pie-or-paj
Posts: 28
Joined: 27 Mar 2012 15:26
Country: Sweden

Re: Teams/clans

Post by pie-or-paj »

The XML doesn't contain any info

Code: Select all

rasmus@rasmus-P420:~$ curl http://www.turfa.se/user_xml.php?user=Arias
<?xml version="1.0" encoding="utf-8"?>
<turf/>
rasmus@rasmus-P420:~$ curl http://www.turfa.se/thirdparty/user.php/Arias
<?xml version="1.0" encoding="utf-8"?>
<turf/>
I have thought a bit about how the system should work today, and the solutions doesn't seem perfect.

Solution 1:
Simply combine all users points
+Simple
-If a user joins all point he collected before joining the clan will be added to the clan

Solution 2:
Combine all users PPH + add TP for zones that wasn't in the users possession last check
+Much more correct
+Clans have PPH to!
-May miss TP if user loses zone before a check have notified the user was in possession of it
-Won't sync with Turfs PPH (Turf doesn't add all PPH att the same time but a little now and then)

Do Turf have a special system for when PPH should be added to users points?

Should taking a zone from a Clan member give the clan TP?
Image
User avatar
qee4q
Posts: 31
Joined: 21 Feb 2012 09:46
Country: Denmark
Location: Odense, Denmark

Re: Teams/clans

Post by qee4q »

"Should taking a zone from a Clan member give the clan TP?"

I've been thinking about the same thing... And I guess yes.. If the main competition is between individuals and not groups the clan should gain points even when one member takes zones from a teammate. I don't know if it could be separated?

Gaining points by taking over your friends zones will also give players an initiative to go out turfing. Both for the good of their own points but it would also be in the interest of the team that everybody is active.
Image
ImageImageImageImageImageImage
User avatar
Drassen
Site Admin
Posts: 2425
Joined: 04 Aug 2010 11:46

Re: Teams/clans

Post by Drassen »

http://www.turfa.se/thirdparty/user.php/Drassen

works fine...its just that Arias have changed name..thats why it didnt work for you;)
--No Private Messages please, use contact@turfgame.com instead.--
pie-or-paj
Posts: 28
Joined: 27 Mar 2012 15:26
Country: Sweden

Re: Teams/clans

Post by pie-or-paj »

I'm feeling stupid now :)
Unfortunately that info provides no way to gather TP.

But the more I think of it, developing this as a third party function won't be good.
1. Needs more APIs and data from Turf
2. Will be out of sync
3. Will create more serverload

If this is developed inhouse you have much better control.
As I don't have any clue of exactly how your system look like the following
is just built on speculations.
When a user takes a zone you update the DB and add TP to the user points,
increases his PPH variable, add the zone as owned by him.
Easily you could just add TP to the clans points and increase the clans PPH.
You could also mark the zone as owned by the clan (so you don't need to lookup
if the user is in the clan when for example a user views the map)

When you add PPH to users points you probably loops over the users or the zones
and add to the user points variable, here you should just be able to also add to the
clans points.

Of course this would increase DB request and therefore increase server load, but I
guess that it easier to the server than heavily use the APIs.

I fully understand that you don't have time to work on this right now. But maybe I could
help without you having to open up to much?
Image
Post Reply

Return to “General”