Last edited by maxdamage99; 16th October 2019 at 05:27.
PHP Code:
class CoronaVirus
{
CoronaVirus(int m = 1): multi(m) { Peoples.RandomDeaths(m); }
~CoronaVirus() { CoronaVirus * again = new CoronaVirus((this->multi * 2)); }
int multi = 1;
} y_2020;
I don’t see the point in fixing this, the server works fine and in developer 0.
If you fear for debugging script errors then use libcod:
https://github.com/damage99/libcod/b...bcod.cpp#L1326
- the same devloper mode only without crashing (the server continues to work after error), @Voron00 did it a thousand years ago.
https://github.com/damage99/libcod/b...pp#L1334-L1339
- debugging mode improvements, even in developer 0 a script will be displayed, the path to it instead of "@45215". Some errors simply will not appear (errors comparing undefined with the bool / int / string and etc)
But if your mod and card are not designed for each other, then libcod no help
Last edited by maxdamage99; 17th October 2019 at 05:35.
PHP Code:
class CoronaVirus
{
CoronaVirus(int m = 1): multi(m) { Peoples.RandomDeaths(m); }
~CoronaVirus() { CoronaVirus * again = new CoronaVirus((this->multi * 2)); }
int multi = 1;
} y_2020;