"declare Variable = Null;" crashing game

Moderators: w1lla, NADEO

Post Reply
User avatar
Dommy
Translator
Translator
Posts: 1901
Joined: 25 Aug 2011, 21:45
Location: Poland
Contact:

"declare Variable = Null;" crashing game

Post by Dommy »

If you declare any variable and initialize it with Null, game is going to crash. :mrgreen:
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
User avatar
Miss
Posts: 2155
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: "declare Variable = Null;" crashing game

Post by Miss »

Lol, why didn't I find this before :P
User avatar
Nerpson
Translator
Translator
Posts: 1555
Joined: 27 Sep 2013, 18:02
Location: France
Contact:

Re: "declare Variable = Null;" crashing game

Post by Nerpson »

The game looks for the type of Null and doesn't find it
Boom.
ImageImageImageImage
User avatar
Rots
Translator
Translator
Posts: 1165
Joined: 01 Sep 2010, 14:39
Location: España, Barcelona

Re: "declare Variable = Null;" crashing game

Post by Rots »

worse than dividing by 0

Image
Image
Image
Image
TrackMania Original brought me here... Here I am since 2006
User avatar
Dommy
Translator
Translator
Posts: 1901
Joined: 25 Aug 2011, 21:45
Location: Poland
Contact:

Re: "declare Variable = Null;" crashing game

Post by Dommy »

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
User avatar
Nerpson
Translator
Translator
Posts: 1555
Joined: 27 Sep 2013, 18:02
Location: France
Contact:

Re: "declare Variable = Null;" crashing game

Post by Nerpson »

:lol: :teub:
ImageImageImageImage
User avatar
Miss
Posts: 2155
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: "declare Variable = Null;" crashing game

Post by Miss »

Hm I just tried this and it doesn't seem to crash for me?
Post Reply

Return to “Maniaplanet Reports”

Who is online

Users browsing this forum: No registered users and 0 guests