The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Realm Conquest System Details »» | |||||||||||||||||||||||||||||||||||||||||||||
This Conquest System is very similar to the vBarmy system, except it has a few specific fundamental changes. Instead of every player working alone to fight other players, players work together as a single nation to fight other players who are members of different nations. Everything else in the system is pretty much self-explanitory.
Product Demo: http://www.8wayrun.com/conquest.phpInstallation Procedure:
Don't forget to click INSTALL! If you want to donate, I'm all for it... as I'm an unemployed computer programmer... Download Now
Screenshots
Show Your Support
|
2 благодарности(ей) от: | ||
Developerz, kevin.kool |
Comments |
#432
|
||||
|
||||
Quote:
He was asking on a possible time frame on when we could expect the updates. We all know Jaxel is mega busy with other projects, but it doesn't mean he can't give us a ballpark figure of when he might be able to update this mod. |
#433
|
||||
|
||||
The fact that the demo site shows a database error message is not good for me so Ill just tag this as a maybe for the future...
|
#434
|
|||
|
|||
Awesome mod! We use it at http://www.weplayciv.com and it's very popular with our players.
However there is a SEVERE error in how the AR and DR are calculated. Using the supplied formulas the effect of a promotion affects every unit in the army, not a single unit. Also to note in the original formula, natural attack/defense bonus of the Civ is not calculated unless the player has a promotion (multiply by zero issue). Thus the most efficient use of converting gold to AR/DR is to purchase level 1 or 2 promotions. Forget upgrades as the bonus is massively less than spending the equivalent on promotions. Like I'm talking many thousands of AR/DR points. So with that in mind I've created new formulas to calculate both ratings correctly, where a promotion is only applied to a single unit and upgrades affect the entire army. This has fixed all the inbalance for us. The below code replaces the same functions in functions_conquest.php in your Conquest folder in the forums. Code:
function fetch_offense($player) { global $vbulletin; $weapons = $vbulletin->db->query_read("SELECT * FROM ".TABLE_PREFIX."conquest_stock AS conquest_stock LEFT JOIN ".TABLE_PREFIX."conquest_weapons AS conquest_weapons ON conquest_stock.stockID = conquest_weapons.weaponID WHERE conquest_stock.playerID = ".$player[playerID]." AND conquest_stock.stockType = 'weapon' ORDER BY conquest_weapons.wPower DESC "); $count = array(); while ($weapon = $vbulletin->db->fetch_array($weapons)) { for ($i = 0; $i < $weapon[stockCount]; $i++) { array_push($count, ($player[oPower] * ($weapon[wPower] / 100))); } } $power = 1 + ((array_sum(array_slice($count, 0, $player[pTroops])) + ($player[pTroops] * $player[oPower])) * ((100 + $player[nOffense]) / 100)); return $power; } function fetch_defense($player) { global $vbulletin; $armours = $vbulletin->db->query_read("SELECT * FROM ".TABLE_PREFIX."conquest_stock AS conquest_stock LEFT JOIN ".TABLE_PREFIX."conquest_armours AS conquest_armours ON conquest_stock.stockID = conquest_armours.armourID WHERE conquest_stock.playerID = ".$player[playerID]." AND conquest_stock.stockType = 'armour' ORDER BY conquest_armours.aPower DESC "); $count = array(); while ($armour = $vbulletin->db->fetch_array($armours)) { for ($i = 0; $i < $armour[stockCount]; $i++) { array_push($count, ($player[dPower] * ($armour[aPower] / 100))); } } $power = 1 + ((array_sum(array_slice($count, 0, $player[pTroops])) + ($player[pTroops] * $player[dPower])) * ((100 + $player[nDefense]) / 100)); return $power; } |
#435
|
|||
|
|||
Another thing we found in our previous game is that 90% of players gravitated to 3 out of 10 nations. This caused a huge inbalance in player numbers leaving most nations with a couple of players and prime targets against the bigger nations.
So I implemented the following if .... else .... then statement around the join nation button to help spread players across all nations. Basically, if the player percentage of that nation is lower than a set threshold then the join button is active, otherwise you get a message saying recruitment disabled for that nation. For us I used 20% of all players in the game as the threshold, but you can change it to whatever works for the number of nations you have. For example, with 3 nations you would probably want to set this threshold to 50%, so no nation has more than half the total players. In style manager open conquest_enlist_bit and find the form submission for joining a nation. Replace it with this: Code:
<if condition="$nation[AVGplayerID] < 20"> <form action="$filename?do=homebase" method="post"> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="joinrequest" value="$nation[nationID]" /> <input type="submit" value="<phrase 1="$nation[nName]">$vbphrase[conquest_enlist_join]</phrase>" /> </form> <else /> Recruitment disabled. Join other Civ. </if> |
#436
|
|||
|
|||
usergroup permissions dont work to me, when I setup it always its resets to "no" again :S and creates another admintrator usergroup in each try... :S:S
|
#437
|
|||
|
|||
@ Thesdale, thanks for your code. I would love to see some of those implemented in the next update as I think they are great. Thanks.
|
#438
|
|||
|
|||
allowing chmd 777 to the directory dont you think its risky in term of hacking the forum ?
|
#439
|
|||
|
|||
can't wait for the new version! Keep up the good work
|
#440
|
|||
|
|||
Search did not come up with anything, but has anyone had any issues with users having 4 billion gold after about 10 minutes of them using this?
|
#441
|
|||
|
|||
any clue about this issue?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|