What needs fixing before we release V34

Yeah, I have a bit more familiarity with Git (Stash specifically, we use it at work) and I think Github does free hosting for open-source projects too. And has its own bug tracker. On the other hand, that would probably be a pretty big move for a project this size...
 
Python 2

Frankly speaking, I will suggest the Volcano event.
That stuff is simpler to fix :D

Hm, I can look at that I suppose. From what I read, it sounds like the issue is that new volcanoes can spawn on top of cities? I think I have found the relevant python code:

Code:
##### VOLCANO C2C #####
def canDoNewVolcano(argsList):
  kTriggeredData = argsList[0]
  pPlot = gc.getMap().plot(kTriggeredData.iPlotX, kTriggeredData.iPlotY)
  ft_volcano = gc.getInfoTypeForString('FEATURE_VOLCANO2')
  ft_volcano2 = gc.getInfoTypeForString('FEATURE_VOLCANO')
  
  if pPlot.isCity() or (pPlot.getBonusType(-1) != -1) or (pPlot.getFeatureType() == ft_volcano) or (pPlot.getFeatureType() == ft_volcano2):
    return false
  
  return true

But nothing there really looks out of place. That means I would need to dig into the dll code after all? I don't see any python code that calls this method, though I could be looking in the wrong place. Also, is there a save somewhere that reproduces this issue? Couldn't find it in the big bug thread.
 
Rightfuture and I are working on this, although I was waiting for a response from him, perhaps our communication got messed up over the holidays.

You have found the right code but I think it may be being called at the wrong time as well. there are four or five events all which call the same bit of python and the python then needs to figure out which event was calling it. I think this is just too complicated and we should split the code into one bit per event. Where the event has the same effect eg eruption then a common function can be called to do the work.

In fact what I think is happening is that the "existing volcano erupts" or "dormant volcano erupts" events are happening when there is no volcano on the plot OR the "new volcano erupts" is happening but a plot for it is not supplied but the city plot is supplied.
 
In this save I had volcanoes spawn on the Hittite (definitely) and Sumerian capitals as well as Lagash (iirc) a Sumerian city of mine. Just click end turn...
 

Attachments

Thanks. It is getting too hot to anything today - supposed to be reaching 40 degrees C and I don't have an air conditioner. I think I'll go visit some friends and leave this until it is cooler. :D
 
Thanks. It is getting too hot to anything today - supposed to be reaching 40 degrees C and I don't have an air conditioner. I think I'll go visit some friends and leave this until it is cooler. :D

:eek:Dang we are getting a snow storm right now, YOU can have it!!!!!:p
 
I think a tracker could help alot because in the forum many things can get lost.
We already have a bug tracker in the Sourceforge Project but we need the rights to use it. I write a PM to Koshling and ask if he can give all modders the rights to use it.

Also Branches can help alot if you know how to use them right. But i think Branches arent really good in SVN newer version-control like Git has better support for them.

We have now access to the Bug Tracker in the Sourceforge Project. Nobody is forced to use it but it can help to prevent bug reports getting lost.
 
We have now access to the Bug Tracker in the Sourceforge Project. Nobody is forced to use it but it can help to prevent bug reports getting lost.

I believe its better for use for the C++ people and python personnel who understand what they are doing or talking about for this. btw thx Koshling for opening this again.
 
Eons ago....:old: myths say thaat there was snow once in germany.....

Well, normally there is plenty of it at some time in the winter. Last year around the middle of january, we had -18 °C during the night and till -10 °C during the day...
 
44616140.jpg
 
Germany had plenty of snow in the winter of '74-'75 and lots of black ice on the roads too. Maybe that was the "eons ago" timeframe. :p :lol:

We've already had our share of snow and sub zero temps here in western IL. too. This all needs "fixed" for the v34 release you know. ;)

JosEPh
 
Germany had plenty of snow in the winter of '74-'75 and lots of black ice on the roads too. Maybe that was the "eons ago" timeframe. :p :lol:

We've already had our share of snow and sub zero temps here in western IL. too. This all needs "fixed" for the v34 release you know. ;)

JosEPh

[offtopic]Yeah i lived there from late '75 to early '79
 
Back
Top Bottom