View previous topic :: View next topic |
Author |
Message |
khaibar Advanced
Joined: 14 Dec 2007 Posts: 1144
|
Posted: Wed Dec 12, 2012 11:27 am Post subject: #28 - Dominus Payout Modification (ACCEPTED-CLOSED) |
|
|
yinuss wrote: | - Up to 4 Nodes provides 7fp = 28fp
- Up to 8 Nodes provides 6fp = 48fp
- Up to 12 Nodes provides 5fp = 60fp
- Up to 16 Nodes provides 4fp = 64fp optimum
- Up to 20 Nodes provides 3fp = 60fp
- Up to 24 Nodes provides 2fp (maximum 24 Nodes per faction) = 48fp below optimum
- Processing Unknown pays 1fp per turn |
Files: process_turn.php , process_map.php
On line 6879 process_turn.php
Code: | //Command Payback
if ($pay->count>=$con100) { $payOut = .2; $payOutFp = 6; } elseif ($pay->count>=$con75) { $payOut = .15; $payOutFp = 5; } elseif ($pay->count>=$con50) { $payOut = .1; $payOutFp = 4; } |
replace it with
Code: | //Command Payback
if ($pay->count>=$con100) { $payOut = .2;} elseif ($pay->count>=$con75) { $payOut = .15; } elseif ($pay->count>=$con50) { $payOut = .1; }
//Fps payback
if($pay->count<=4) {$payOutFp=7*$pay->count;} elseif($pay->count<=8) {$payOutFp=6*$pay->count;} elseif ($pay->count<=12) {$payOutFp=5*$pay->count;} elseif($pay->count<=16) {$payOutFp=4*$pay->count;} elseif($pay->count<=20) {$payOutFp=3*$pay->count;} elseif($pay->count<=24) {$payOutFp=2*$pay->count;} |
I didn't touch command payout, maybe a fp command compromise
on process_map.php line 2205 {24 node limit}, may need optimization
before
Code: | if (!isset($terrCap[0])) {
$checkTurn = 600 - fmod($planetinfo_turn,600);
if ($checkTurn <= 20) { $myresults = "notime"; } else { $okSector = true; }
unset($checkTurn);
} else {
foreach ($terrCap as $terrC) {
if (in_array($terrC->c_sector,$checkTerr)) { $okSector = true; }
if (($terrC->i_turn_captured+3) > $planetinfo_turn) { $okTurn = false; }
}
} |
after
Code: | $nodecount =& $db->getAll("SELECT r.faction_owner, r.i_owner FROM deployed_relics r WHERE r.i_planet=11 AND r.faction_owner=".$userid , DB_FETCHMODE_OBJECT);
if (DB::isError($nodecount)) { ReportDBError($nodecount); }
if($nodecount->count>24) {$myresults = "nodelimit"; $okSector= false;}
elseif (!isset($terrCap[0])) {
$checkTurn = 600 - fmod($planetinfo_turn,600);
if ($checkTurn <= 20) { $myresults = "notime"; } else { $okSector = true; }
unset($checkTurn);
} else {
foreach ($terrCap as $terrC) {
if (in_array($terrC->c_sector,$checkTerr)) { $okSector = true; }
if (($terrC->i_turn_captured+3) > $planetinfo_turn) { $okTurn = false; }
}
}
|
I am not sure if $data->user_faction holds the faction id of the user giving the command but it's the first time i read this script
personally i don't' think it helps but giving what the people want
Ticket link: https://sourceforge.net/p/dropshock/tickets/28/
Last edited by khaibar on Tue Dec 25, 2012 1:09 am; edited 2 times in total |
|
Back to top |
|
 |
Dark Leth Council Member
Joined: 05 Jul 2005 Posts: 1498
|
Posted: Wed Dec 12, 2012 7:17 pm Post subject: |
|
|
yinuss wrote: | One way that could work:
Move the focus further from territory nodes, and closer to harvesting unknown. Here's an example:
- Up to 4 Nodes provides 7fp = 28fp
- Up to 8 Nodes provides 6fp = 48fp
- Up to 12 Nodes provides 5fp = 60fp
- Up to 16 Nodes provides 4fp = 64fp optimum
- Up to 20 Nodes provides 3fp = 60fp
- Up to 24 Nodes provides 2fp (maximum 24 Nodes per faction) = 48fp below optimum
- Processing Unknown pays 1fp per turn
Any faction could only hold up to 50% of the planet (so there will always be room for other factions, and there will always be faction 'borders').
Optimum fp gain would occur by holding 33% of the planet, and raiding unknown from other faction territories.
There is still strong incentive to controll more than the optimal 33%, given that the fp reduction is low, and the extended sight makes harvesting easier. There should still exist border-tensions as long as there are three factions deployed.
A faction doesn't deploy to cap/re-cap, and drag bandits, but rather to manage their own territory, and attack others. |
I definitely support this in terms of potentially increasing activity/rewards on a planet that has been of consistent complaint for a long time.
There might need to be additional changes down the road but this is a good start. |
|
Back to top |
|
 |
Dark Leth Council Member
Joined: 05 Jul 2005 Posts: 1498
|
Posted: Fri Dec 14, 2012 7:09 am Post subject: |
|
|
The code as currently written has passed the council with a majority of votes. |
|
Back to top |
|
 |
SpaceGhost Mentor
Joined: 07 Sep 2007 Posts: 57
|
Posted: Thu Dec 20, 2012 10:50 am Post subject: |
|
|
We are talkign baout doing something why the rush to change DL?
Thanks SpaceGhost |
|
Back to top |
|
 |
Dark Leth Council Member
Joined: 05 Jul 2005 Posts: 1498
|
Posted: Thu Dec 20, 2012 3:26 pm Post subject: |
|
|
SpaceGhost wrote: | We are talkign baout doing something why the rush to change DL?
Thanks SpaceGhost |
Is this really constructive? We had multiple discussions about this topic in the suggestion forum and it passed with a majority of votes by the council. It was voted on due to support from a wide range of players in every active faction. |
|
Back to top |
|
 |
corclaork Council Member

Joined: 26 Aug 2008 Posts: 519 Location: The Mohawk Wasteland
|
Posted: Thu Dec 20, 2012 10:30 pm Post subject: |
|
|
Dark Leth wrote: | SpaceGhost wrote: | We are talkign baout doing something why the rush to change DL?
Thanks SpaceGhost |
Is this really constructive? We had multiple discussions about this topic in the suggestion forum and it passed with a majority of votes by the council. It was voted on due to support from a wide range of players in every active faction. |
you two need to play nice.. remember its not about individual benefit but about things that will help the game.
cor _________________ Contact Email: calaclark@gmail.com
in game name : corclark
Sacred_Tribune out in the wild. |
|
Back to top |
|
 |
khaibar Advanced
Joined: 14 Dec 2007 Posts: 1144
|
Posted: Mon Dec 24, 2012 1:21 am Post subject: |
|
|
Need revote
check main post for details |
|
Back to top |
|
 |
Dark Leth Council Member
Joined: 05 Jul 2005 Posts: 1498
|
Posted: Mon Dec 24, 2012 6:16 pm Post subject: |
|
|
It doesn't need a re-vote for the previous mechanic, just for the new change. |
|
Back to top |
|
 |
khaibar Advanced
Joined: 14 Dec 2007 Posts: 1144
|
Posted: Tue Dec 25, 2012 1:09 am Post subject: |
|
|
yeh sorry about that i misread what happens on horizon (only command)
code is now in git and complete frizz should add it when he logs in |
|
Back to top |
|
 |
SpaceGhost Mentor
Joined: 07 Sep 2007 Posts: 57
|
Posted: Thu Dec 27, 2012 9:50 am Post subject: |
|
|
Fail need to make major changes here not just stop gap, similar to what I suggested!
Thanks SpaceGhost |
|
Back to top |
|
 |
Slayer_666 Council Member
Joined: 20 Dec 2012 Posts: 226
|
Posted: Thu Dec 27, 2012 2:09 pm Post subject: |
|
|
Support! Love to see another planet that is more user and facion friendly!!
Slayer |
|
Back to top |
|
 |
Walterohdim Site Admin

Joined: 15 Jun 2006 Posts: 1629 Location: Somewhere with lots of doors
|
Posted: Thu Dec 27, 2012 6:07 pm Post subject: |
|
|
I support this, we can always change it further if this doesn't cause Dom to be used more.
Walterohdim _________________ Wannabee historian of Tinywarz. Through the building of myth we will build community. M. Scott Peck
 |
|
Back to top |
|
 |
Slayer_666 Council Member
Joined: 20 Dec 2012 Posts: 226
|
Posted: Tue Jan 01, 2013 7:58 am Post subject: |
|
|
This has passed the council.
Slayer |
|
Back to top |
|
 |
Vanoi Site Admin

Joined: 25 Aug 2005 Posts: 1403 Location: Avoiding You (The Void)
|
Posted: Sat Feb 02, 2013 10:36 am Post subject: |
|
|
This has passed with 5 votes with 3 unvoted. _________________ The person who will go to great lengths to fight boredom...
 |
|
Back to top |
|
 |
|