Originally posted by The Big Mc
Martin I understand you point but slaves are used in a different way to specialist.
A newbie on the slic front will look for an addslave function to add or remove a slave.
Martin I understand you point but slaves are used in a different way to specialist.
A newbie on the slic front will look for an addslave function to add or remove a slave.
Originally posted by The Big Mc
However the next function I will do is a change specialist which I will be able to do very fast ones I nailed the problem in the add slave function or I made modify this one. But you can’t expect me to learn the ways of the source with a foot long section of code as easy as a 5 liner.
As for my problem it starts when the city adds a pop by growing (but not it seams when the cheat mode ads one).
However the next function I will do is a change specialist which I will be able to do very fast ones I nailed the problem in the add slave function or I made modify this one. But you can’t expect me to learn the ways of the source with a foot long section of code as easy as a 5 liner.
As for my problem it starts when the city adds a pop by growing (but not it seams when the cheat mode ads one).
I don't quote the line you have to find it on your own.
But with the following description it shouldn't be a problem. Once you have retrieved the city and the count variables from the slic function argument list, you try again retrieve the city, but this time from the slic context. A very bad idea as you overwrite the city given from the parameter list, and espeacilly if your slic context does not contain any city. In this case the game crashes when you try to access the city's data.-Martin
Comment