September 03, 2025, 05:33:54 pm

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Wondering where all the forums have gone?

Join the community Discord server!

Pages: 1 ... 3 4 [5] 6 7 ... 15

Author Topic: ITT we make fun of stupid stuff in GML  (Read 42237 times)

Orpheon

  • Moderator
  • *****
  • Karma: 15
  • Offline Offline
  • Posts: 6409
  • Developer
Re: ITT we make fun of stupid stuff in GML
« Reply #60 on: August 15, 2013, 04:49:34 pm »

Code: [Select]
!keyjump = 1is apparently legal code.

Credits to Killercrusher for finding this.
« Last Edit: August 15, 2013, 04:51:46 pm by Orpheon »
Logged

ajf

  • (Ex-?)Developer and forum/web admin
  • *****
  • Karma: 7
  • Offline Offline
  • Posts: 3415
  • she's never quite as dead as you think
Re: ITT we make fun of stupid stuff in GML
« Reply #61 on: August 15, 2013, 06:00:54 pm »

Code: [Select]
!keyjump = 1is apparently legal code.

Credits to Killercrusher for finding this.
...I don't even... what?
Logged
did you know that spinning stars work like this???

I've seen things you people wouldn't believe. execute_strings on fire off the shoulder of Overmars. I watched object-beams glitter in the dark near the room_goto_fix. All those moments will be lost in time, like tears...in...rain. Time to die.

iLegend

  • 2013 Haxxy Award Winner
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 868
  • Force is always the answer.
    • Mah Resume
Re: ITT we make fun of stupid stuff in GML
« Reply #62 on: August 15, 2013, 07:36:22 pm »

why is there a search button to look through my code why can't i just press ctrl-f honestly i'm not looking for damn resources omg
Logged
<SecretMan> do i put BotAim.gml in plugins folder?
i hear los angeles is pretty good for casual sex with minors

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4864
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
Re: ITT we make fun of stupid stuff in GML
« Reply #63 on: August 15, 2013, 10:42:13 pm »

why is there a search button to look through my code why can't i just press ctrl-f honestly i'm not looking for damn resources omg
that search button also checks the scripts only =/
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5752
Re: ITT we make fun of stupid stuff in GML
« Reply #64 on: August 15, 2013, 11:06:18 pm »

To search all objects go into the file tab or the one next to it and click the view all objects thing or whatever it is with the blue icon. Then paste all of that into notepad or something.

notarctic

  • just arctic, what gives?
  • ******
  • Karma: 8
  • Offline Offline
  • Posts: 4864
  • 👎👀 bad aim ba̷̶ ԁ aIm 👎 thats❌ some bad 👎👎aim
Re: ITT we make fun of stupid stuff in GML
« Reply #65 on: August 15, 2013, 11:18:20 pm »

To search all objects go into the file tab or the one next to it and click the view all objects thing or whatever it is with the blue icon. Then paste all of that into notepad or something.
but i wan check the code in the objects
Logged
[1:37:51 PM] Derpduck: arctic u need to quote ppl that make shit posts in case they edit them
[4:20:15 PM] Rubeus Hashgrid: i cant discover anything fuck you imageshack

Dusty

  • 2012 Haxxy Award Winner
  • *
  • Karma: -78
  • Offline Offline
  • Posts: 10312
  • Dust in a box under a table
Re: ITT we make fun of stupid stuff in GML
« Reply #66 on: August 16, 2013, 01:34:38 am »

I think gmstudio does the searching better. Not sure. I learned to not search because of gm 8

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5752
Re: ITT we make fun of stupid stuff in GML
« Reply #67 on: August 16, 2013, 01:58:35 am »

To search all objects go into the file tab or the one next to it and click the view all objects thing or whatever it is with the blue icon. Then paste all of that into notepad or something.
but i wan check the code in the objects
:drool:
That's what it does.

Orpheon

  • Moderator
  • *****
  • Karma: 15
  • Offline Offline
  • Posts: 6409
  • Developer
Re: ITT we make fun of stupid stuff in GML
« Reply #68 on: August 16, 2013, 10:10:05 am »

Code: [Select]
!keyjump = 1is apparently legal code.

Credits to Killercrusher for finding this.
...I don't even... what?
T'was my reaction too, gml's type checking system is really horrible.

I mean, assigning an int to a boolean constant? Wat.
« Last Edit: August 16, 2013, 10:10:13 am by Orpheon »
Logged

Catman

  • The Argumental
  • Veteran Member
  • ******
  • Karma: 18
  • Offline Offline
  • Posts: 4047
  • Take on me
    • Yuki Yuki Yuki
Re: ITT we make fun of stupid stuff in GML
« Reply #69 on: August 16, 2013, 10:30:01 am »

I think it works as a replacement to putting 'not' before it
Logged
My style is the best...
...so I challenge you!

MedO

  • Owns this place
  • *****
  • Karma: 152
  • Offline Offline
  • Posts: 1756
Re: ITT we make fun of stupid stuff in GML
« Reply #70 on: August 16, 2013, 10:34:00 am »

To search all objects go into the file tab or the one next to it and click the view all objects thing or whatever it is with the blue icon. Then paste all of that into notepad or something.
Or you can use grep -r on the output of gmksplit. That's what I do at least. And yes, later versions of GM improved this.
Logged
Quote from: Alfred North Whitehead
It is the business of the future to be dangerous; and it is among the merits of science that it equips the future for its duties.

Quote from: John Carmack
[...] if you have a large enough codebase, any class of error that is syntactically legal probably exists there.

iLegend

  • 2013 Haxxy Award Winner
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 868
  • Force is always the answer.
    • Mah Resume
Re: ITT we make fun of stupid stuff in GML
« Reply #71 on: August 16, 2013, 12:52:34 pm »

yeah i agree with killercrusher it's probably just
!(keyjump = 1)
Logged
<SecretMan> do i put BotAim.gml in plugins folder?
i hear los angeles is pretty good for casual sex with minors

[FR]YB

  • 2013 Haxxy Award Winner
  • *
  • Karma: 28
  • Offline Offline
  • Posts: 642
  • There are 11 people playing holy sh
Re: ITT we make fun of stupid stuff in GML
« Reply #72 on: August 16, 2013, 02:35:39 pm »

yeah i agree with killercrusher it's probably just
!(keyjump = 1)

Both work

Code: [Select]
output = !keyjump = 1;
output = (!keyjump = 1);
output = (!keyjump) = 1;

Code: [Select]
var keyjump, output;
keyjump = 0;
<insert here one of the lines in the code block above>

show_message(string(output));

For all of the expressions above, the value of output is 1 (true)

Catman

  • The Argumental
  • Veteran Member
  • ******
  • Karma: 18
  • Offline Offline
  • Posts: 4047
  • Take on me
    • Yuki Yuki Yuki
Re: ITT we make fun of stupid stuff in GML
« Reply #73 on: August 17, 2013, 02:09:21 pm »

Why does the Create Moving D&D not have a function counterpart?
Logged
My style is the best...
...so I challenge you!

iLegend

  • 2013 Haxxy Award Winner
  • *****
  • Karma: 0
  • Offline Offline
  • Posts: 868
  • Force is always the answer.
    • Mah Resume
Re: ITT we make fun of stupid stuff in GML
« Reply #74 on: August 17, 2013, 02:47:55 pm »

Honestly gmk is it that fucking hard to implement ternary operators.
Logged
<SecretMan> do i put BotAim.gml in plugins folder?
i hear los angeles is pretty good for casual sex with minors
Pages: 1 ... 3 4 [5] 6 7 ... 15
 

Page created in 0.05 seconds with 36 queries.