1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Vokarya's Workshop: Wonders

Discussion in 'Rise of Mankind: A New Dawn' started by Vokarya, Nov 3, 2013.

  1. platyping

    platyping Sleeping Dragon

    Joined:
    Oct 22, 2010
    Messages:
    4,626
    Location:
    Emerald Dreams
    Whats the error message?
     
  2. Vokarya

    Vokarya Chieftain

    Joined:
    Mar 25, 2011
    Messages:
    6,062
    The error message is Error in buildingBuilt event handler <function onBuildingBuilt at hexadecimal code>.

    Screenshot with the problem line commented out (religion spreads everywhere, no error):
    View attachment 385577

    I tried it twice with the problem line working, with different hexadecimal codes but the routine looks like it stops at the same place (it should have spread to at least one more city after Ulundi):
    View attachment 385576 View attachment 385578
     
  3. platyping

    platyping Sleeping Dragon

    Joined:
    Oct 22, 2010
    Messages:
    4,626
    Location:
    Emerald Dreams
    Usually if python exceptions is activated, you get a blue box with traceback errors telling you exactly what is wrong with that line, such as syntax error.
     
  4. Vokarya

    Vokarya Chieftain

    Joined:
    Mar 25, 2011
    Messages:
    6,062
    I'd forgotten about that. I used to have it turned on, then I must have forgotten to reactivate it when I deleted my ini file to rebuild it. I think I have it solved now. Here is the error message I got when I reactivated the exceptions:
    View attachment 385599

    Then when I changed
    Code:
    pTeam = gc.getTeam(pPlayer.getTeam())
    to
    Code:
    iTeam = gc.getTeam(pPlayer.getTeam()).getID()
    and changed the assignment in the isVassal check, no more errors.
     
  5. Zeta Nexus

    Zeta Nexus Chieftain

    Joined:
    Jan 23, 2014
    Messages:
    3,157
    Location:
    In a constant brainstorm...
    Why do you think so? If both come right immediately with the religion foundation, I think these could boost up the spread of these religions.
     
  6. platyping

    platyping Sleeping Dragon

    Joined:
    Oct 22, 2010
    Messages:
    4,626
    Location:
    Emerald Dreams
    Well you know, there are a lot of redundancies in that code already, no need to introduce more :D

    pPlayer.getTeam() is the Team ID itself
    gc.getTeam(pPlayer.getTeam()) will result in a CyTeam
    When you use CyTeam.getID() you get back pPlayer.getTeam()

    In short, this will do:
    Code:
    iTeam = pPlayer.getTeam()
    Some other redundancies:
    1) pPlayerX.isBarbarian() == False
    There is no point checking for barbs when gc.getMAX_CIV_PLAYERS is used.

    2) pRelCity = pPlayerX.getCity(city.getID())
    Similar to the Team ID cycle.
    city itself is CyCity
    pRelCity == city

    3) For the iStepper count, I would just increment it continuously and just use iStepper %4 == 0

    4) I stopped using PyPlayer.getCityList() method ever since I realised it is a double loop inefficient code. What it actually does is using a while loop to loop through all your cities and add them into a list. Then you use a for loop to loop through this list and do what you need, for this case, check and add religion.

    Then you realise, you can simply do the check and add religion stuff within the while loop itself.
     
  7. Vokarya

    Vokarya Chieftain

    Joined:
    Mar 25, 2011
    Messages:
    6,062
    I promised the Meeting of Minds a long time ago to get the Mind Uploading tech out of its one-trick-pony status. I was able to find a decent movie for it (the Akashic Records movie) and I used the Secret Project for the in-field building. The Meeting provides 1 free copy of each of Artist, Celebrity, Engineer, Magistrate, Merchant, Noble, Priest, Scientist, and Spy. I chose not to have it give a free Citizen or free Slave. (Any more types would create a scroll bar on the movie; not something I want, and I think the current bonus is quite sufficient; it would be overpowered earlier, but at the end of the Transhuman, I think rule-breaking is more acceptable.)

    View attachment 386871 View attachment 386870
    View attachment 386869
     
  8. Arakhor

    Arakhor Dremora Courtier Moderator

    Joined:
    Mar 27, 2009
    Messages:
    31,084
    Gender:
    Male
    Location:
    UK
    That seems pretty cool. :)
     
  9. Vokarya

    Vokarya Chieftain

    Joined:
    Mar 25, 2011
    Messages:
    6,062
    Here is something else that occurred to me about the two "satellite wonders" of Military Satellites and Communication Satellites. Both of these are classified as National Wonders, but the bonuses are so small that they seem almost trivial (Mil Sat is +2% espionage in all cities, and Comm Sat is +1% to gold, culture, science in all cities). I suspect these were originally buildings that were converted to National Wonders.

    I was thinking of converting both of these to Team Projects, as we've been fairly consistent with modeling everything off-Earth as projects instead of buildings, and multiply the bonuses by 5 (maybe even 10?) to make them seem actually worth building.
     
  10. Zeta Nexus

    Zeta Nexus Chieftain

    Joined:
    Jan 23, 2014
    Messages:
    3,157
    Location:
    In a constant brainstorm...
    Maybe we could have a late Renaissance wonder in the form of the Tesla coil. Its most important effect would be to be the earliest source of power. About other bonuses... I don't know.
    Just an idea, maybe it can fit somewhere to increase the trick count.
     
  11. Sgtslick

    Sgtslick Chieftain

    Joined:
    Mar 15, 2002
    Messages:
    1,675
    Location:
    Melbourne
    Gutenberg Bible: Imo this is way too strong! Spreads your religion to 1/4th of connected foriegn cities, all of your vassal cities aswell as all of your cities. DOUBLE production speed with paper and only costs 960 hammers. Also only requires 1 printer.

    For starters I think +25% production from paper is enough, also I think the cost should be way higher. Compare it to something like venetian arsenal which costs 1120 and has no production modifiers and is much less powerful imo. So I think something like 1360 hammers or something.

    Secondly I think it should require a printer in everyone of your cities or 80% or something. 1 is too easy. Even with these changes I think it is too strong.

    Lastly I think it should perhaps be scaled to map size, on larger maps this would be ridiculously powerful. In my game (standard map) it was still incredibly powerful, it would be way stronger on larger maps imo.
     
  12. Tolina

    Tolina trust the pillars with your s e c r e t s

    Joined:
    Feb 20, 2013
    Messages:
    10,461
    Location:
    Nightvale, US
    Maybe it should just be turned into a project and be done with it.
     
  13. Rezca

    Rezca The Greatest Jaggi

    Joined:
    May 3, 2013
    Messages:
    1,984
    Location:
    United States
    I finally had a game where it didn't auto-convert half (or more) of the world in one turn, but most of the world either hated me, was at war with me, or wasn't connected (overseas + inland) so it barely spread at all. Most games it's just astounding, even with the recent nerf it got.

    Weaken it too much, it won't be worth building. Right now though I think it still needs more tweaking - maybe keep it as-is but prevent overseas spread? (That'd kill Archipelago maps for sure though...) I dunno, I'm terrible with balancing topics xD
     
  14. Zeta Nexus

    Zeta Nexus Chieftain

    Joined:
    Jan 23, 2014
    Messages:
    3,157
    Location:
    In a constant brainstorm...
    Maybe make it spread to:
    1/2 vassal cities
    1/5 connected cities
    1/10 overseas connected cities
    And/or
    Exclude civs controling a Holy city
     
  15. Arakhor

    Arakhor Dremora Courtier Moderator

    Joined:
    Mar 27, 2009
    Messages:
    31,084
    Gender:
    Male
    Location:
    UK
    Good grief. You might as well just butcher it and throw it out to pasture now. Why build a wonder when you want it to do virtually nothing?
     
  16. Tolina

    Tolina trust the pillars with your s e c r e t s

    Joined:
    Feb 20, 2013
    Messages:
    10,461
    Location:
    Nightvale, US
    The Gutenberg bible can now convert the city in which it's built, and nowhere else.
     
  17. 45°38'N-13°47'E

    45°38'N-13°47'E Chieftain

    Joined:
    Jun 7, 2008
    Messages:
    5,833
    Location:
    Just wonder...
    I don't think it's overpowered in effect, but maybe we could increase the cost a bit, that's ok with me too.
     
  18. Vokarya

    Vokarya Chieftain

    Joined:
    Mar 25, 2011
    Messages:
    6,062
    I'm not changing Gutenberg Bible's effect any more. It's supposed to have a big effect because it only goes off once; after that, it's a culture/GPP generator (fairly large at +6 culture, but flat) like the Oracle. I think a lot of how strong its effect depends on your play style. If you trade a lot and don't close borders, then it's going to be strong. If you play isolationist or build it before you get Navigation and ocean trade, then it won't be as strong.
     
  19. Rezca

    Rezca The Greatest Jaggi

    Joined:
    May 3, 2013
    Messages:
    1,984
    Location:
    United States
    Right. In this game most civilizations didn't have open borders with me or even embassies, so it didn't spread much at all. I had a few open borders with civs that didn't receive it period (They were landlocked where my connectedness couldn't reach), so the wonder was essentially wasted - it spread to a few islands reachable by Galley and to my own cities, and that was it.

    The first time I built it my religion shot up to 51% from 20 or so. Second time was similar (An AI built it though). So it does depend on how you're going about approaching the game. At times it may seem like it's absurdly overpowered, other times it doesn't.
     
  20. Sgtslick

    Sgtslick Chieftain

    Joined:
    Mar 15, 2002
    Messages:
    1,675
    Location:
    Melbourne
    At the very least remove the Double production cost with paper and increase the cost please. It at least needs to cause the civ building it some sort of sacrifice or investment.
     

Share This Page