Today I opened the DCity notifications to find out how much I had earned during the day and I found an error.
Description of the error
The notification says I earned 754 SIMs and a crime caused me to lose 249.
Going to check the manual, I found it written: when crime happens, your city can be robbed for 5% of its daily income.
I went to see my daily income and found 1003.
5% of 1003 is:
1003 * 5 / 100 = 50 SIM
But I lost 249, 5 times what I should have lost!
So I thought about why, so I tried to calculate 5% of the basic income:
5073 * 5 / 100 = 253
Which comes very close to 249.
Therefore crime is not calculated on daily income, but on basic income. This means losing 100% to 500% more than what is written in the manual.
Resolve the error
According to the manual, 5% is to be calculated from daily income (the tokens actually earned at the end of the day) and not from basic income.
Therefore, one of the following solutions can be adopted:
- Change the manual by replacing daily income with basic income
- Change the calculation of stolen income to 5% of daily income
In my opinion the best solution is number 2 for the following reason: all the buildings that lower crime except one are first edition and can no longer be bought out of the market.
ITA
Oggi ho aperto le notifiche di DCity per sapere quanto avessi guadagnato durante la giornata e ho trovato un errore.
Descrizione dell'errore
La notifica dice che ho guadagnato 754 SIM e un crimine me ne ha fatti perdere 249.
Andando a controllare il manuale, ho trovato scritto: quando il crimine accade, la tua città può essere derubata per il 5% del suo reddito giornaliero.
Sono andato a vedere il mio reddito giornaliero e ho trovato 1003.
Il 5% di 1003 è:
1003 * 5 / 100 = 50 SIM
Ma io ne ho persi 249, 5 volte di quanto avrei dovuto perdere!
Ho quindi pensato al motivo, allora ho provato a calcolare il 5% del reddito base:
5073 * 5 / 100 = 253
Che si avvicina molto a 249.
Perciò il crimine non è calcolato sul reddito giornaliero, ma sul reddito base. Ciò vuol dire perdere dal 100% al 500% in più rispetto a quanto scritto nel manuale.
Risoluzione dell'errore
Secondo il manuale, il 5% è da calcolare a partire dal reddito giornaliero (i token effettivamente guadagnati a fine giornata) e non dal reddito base.
Perciò occorre adottare una delle seguenti soluzioni:
- Cambiare il manuale sostituendo reddito giornaliero a reddito base
- Cambiare il calcolo del reddito derubato al 5% del reddito giornaliero
Secondo me la soluzione migliore è la numero 2 per il seguente motivo: tutti gli edifici che abbassano la criminalità eccetto uno sono prima edizione e non possono più essere acquistati fuori dal mercato.