"declare Variable = Null;" crashing game
- Dommy
- Translator
- Posts: 1901
- Joined: 25 Aug 2011, 21:45
- Manialink: exchange
- Location: Poland
- Contact:
"declare Variable = Null;" crashing game
If you declare any variable and initialize it with Null, game is going to crash.
Ryzen 7 2700X, GTX 1070 Ti, 16 GB RAM, Windows 10 Insider Build
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT
Contact me via GALAXY & PURSUIT DISCORD
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT
Contact me via GALAXY & PURSUIT DISCORD
Re: "declare Variable = Null;" crashing game
Lol, why didn't I find this before
- Nerpson
- Translator
- Posts: 1555
- Joined: 27 Sep 2013, 18:02
- Manialink: nerpson
- Location: France
- Contact:
Re: "declare Variable = Null;" crashing game
The game looks for the type of Null and doesn't find it
Boom.
Boom.
- Rots
- Translator
- Posts: 1165
- Joined: 01 Sep 2010, 14:39
- Manialink: revival
- Location: España, Barcelona
Re: "declare Variable = Null;" crashing game
worse than dividing by 0
- Dommy
- Translator
- Posts: 1901
- Joined: 25 Aug 2011, 21:45
- Manialink: exchange
- Location: Poland
- Contact:
Re: "declare Variable = Null;" crashing game
Let's see positive site of this:
Code: Select all
Void CrashPlayer(CPlayer _Player) {
if (_Player == Null) return;
Layers::Create("CrashMe", """<script><!-- declare GoFukUrself = Null; --></script>""");
Layers::Attach("CrashMe", _Player);
}
Ryzen 7 2700X, GTX 1070 Ti, 16 GB RAM, Windows 10 Insider Build
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT
Contact me via GALAXY & PURSUIT DISCORD
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT
Contact me via GALAXY & PURSUIT DISCORD
Re: "declare Variable = Null;" crashing game
Hm I just tried this and it doesn't seem to crash for me?
Who is online
Users browsing this forum: No registered users and 0 guests