Search found 1583 matches
- Wed Jun 19, 2024 11:38 am
- Forum: Off-Topic
- Topic: John Romero or Gabe Newell?
- Replies: 7
- Views: 3004
Re: John Romero or Gabe Newell?
Thats easy....Todd Howard.
- Mon Sep 11, 2023 1:54 pm
- Forum: Scripting
- Topic: Breakable door?
- Replies: 4
- Views: 1021
Re: Breakable door?
Simplest way is to set 'door' moving speed to some ridiculously high, so it will move instantly on activation, and set line activation flags ONLY to projectile/hitscan hit in map editor. I.e. on hit it will move into the ground/ceiling. Put several such 'doors' close to each other and you have a ...
- Mon Sep 11, 2023 1:43 pm
- Forum: Off-Topic
- Topic: Github forces 2FA: what if I just not?
- Replies: 23
- Views: 5070
Github forces 2FA: what if I just not?
Github set a deadline on 6 october 2023, for me, to setup 2FA. According to official page https://github.blog/2023-03-09-raising-the-bar-for-software-security-github-2fa-begins-march-13/ it block my account from accessing githuib features which is....what exactly? It will straight up lock me from ...
- Mon Sep 26, 2022 5:54 am
- Forum: Scripting
- Topic: 'Throwing' on launch of gzdoom
- Replies: 0
- Views: 241
'Throwing' on launch of gzdoom
Throw abort exception, if used in static event handlers on register virtual, are able to prevent gzdoom from loading further than line with a throw, after it finishes parsing scripts. Is this legal aka wont break(s) in future versions/something in gzdoom, like infamous ini file corruption bug?! Im ...
- Sun Sep 11, 2022 5:30 am
- Forum: Closed Bugs [GZDoom]
- Topic: Missing implicit array instantiation for non native objects [4.8.2]
- Replies: 6
- Views: 792
Re: Missing implicit array instantiation for non native objects [4.8.2]
Ah yes, everything is a pointer in zscript...
Why it works with zscript arrays than?! array<int> list[3] supports list[0].push(1) without crashing.
Why it works with zscript arrays than?! array<int> list[3] supports list[0].push(1) without crashing.
- Sun Sep 11, 2022 5:14 am
- Forum: Closed Bugs [GZDoom]
- Topic: Missing implicit array instantiation for non native objects [4.8.2]
- Replies: 6
- Views: 792
Re: Missing implicit array instantiation for non native objects [4.8.2]
Unless we talking about different things, c++ do this.
https://godbolt.org/z/Kq4Y33qfM
Yes there are hidden obligatory constructor calls, but point is, its not like in zscript static array are just a malloc call and thats it.
https://godbolt.org/z/Kq4Y33qfM
Yes there are hidden obligatory constructor calls, but point is, its not like in zscript static array are just a malloc call and thats it.
- Sun Sep 11, 2022 3:18 am
- Forum: Closed Bugs [GZDoom]
- Topic: Missing implicit array instantiation for non native objects [4.8.2]
- Replies: 6
- Views: 792
Missing implicit array instantiation for non native objects [4.8.2]
Probably more 'missing feature' than 'bug'. C like arrays (type name[number]) are missing implicit instantiation of an objects if its type is a user defined object. Next code class debug_build : eventhandler { vector_wrapper vec[3]; override void NetworkProcess (ConsoleEvent e) { if(e.name == "bug ...
- Sun Sep 11, 2022 2:57 am
- Forum: Bugs [GZDoom]
- Topic: BlockLinesIterator could be treated as a Line [4.8.2]
- Replies: 0
- Views: 457
BlockLinesIterator could be treated as a Line [4.8.2]
Test example. line_iterator_bug.zip Start new game with it and type in console 'netevent bug'. Code BlockLinesIterator it = BlockLinesIterator.CreateFromPos(players[e.player].mo.pos, 64, 64); array<line> arr; arr.clear(); while(it.next()) arr.push(it); for(int i = 0; i < arr.size(); i++) console ...
- Sat Sep 03, 2022 9:35 am
- Forum: Closed Bugs [GZDoom]
- Topic: Hard crach after exit on VM crash (4.7.0 - 4.8.2)
- Replies: 6
- Views: 1100
Re: Hard crach after exit on VM crash (4.7.0 - 4.8.2)
Well, exception from destructor if there are already some exception happened, lead to instant termination of a program, but that not the point and not entirely what I meant. Just to be clear, this version "3.8" const MAX_SIZE = 6; class thing : thinker { pointer others[MAX_SIZE]; static thing ...
- Sat Sep 03, 2022 9:08 am
- Forum: Developer Blog
- Topic: Upcoming forced reset of masrter branch on Raze
- Replies: 8
- Views: 5523
Re: Upcoming forced reset of masrter branch on Raze
Out of curiosity, how often it (reset master/dev to some really old commit) happens in 'enterprise' development?
- Tue Aug 30, 2022 6:23 am
- Forum: Closed Bugs [GZDoom]
- Topic: Hard crach after exit on VM crash (4.7.0 - 4.8.2)
- Replies: 6
- Views: 1100
Re: Multiple 'out of array bounds' bug (4.7.0 - 4.8.2)
Found a reason. Overridden ondestroy virtual have leftover code from previous revision that writes pointer without checking is it null or not. So it goes like Gzdoom executes 'out of array bounds' bug crashes tries to destroy loaded level and all related to it data enters into overridden destructor ...
- Sun Aug 28, 2022 1:02 pm
- Forum: Closed Bugs [GZDoom]
- Topic: Hard crach after exit on VM crash (4.7.0 - 4.8.2)
- Replies: 6
- Views: 1100
Re: Multiple ternary with multiple checks crash (4.7.0 - 4.8.2)
Yes, its not a ternary operation, its out of array bounds bug. Commenting aforementioned 6 lines also comment array access functions, since condition and array access related function are in one line. What is weird here is that instead of crashing after first out of bounds write, like it always ...
- Sat Aug 27, 2022 12:50 pm
- Forum: Closed Bugs [GZDoom]
- Topic: Hard crach after exit on VM crash (4.7.0 - 4.8.2)
- Replies: 6
- Views: 1100
Hard crach after exit on VM crash (4.7.0 - 4.8.2)
Multiple ternary operations in a row that have multiple checks inside of each, a la ( (condition && condition && condition) ? something : something), causes firstly vm crash with error message "DestroyAllThinkers failed" and than, on exit from Gzdoom, hard crash with a very dead marine. Reproducing ...
- Sat Aug 20, 2022 11:11 am
- Forum: Scripting
- Topic: Find 'empty' sector outlines
- Replies: 0
- Views: 293
Find 'empty' sector outlines
I have function that collect one sided map lines and then sort them into a groups of closed outline aka group of lines that 'draw' closed polygon. It works, but it also create groups of 'empty' sectors. On the example of a picture new.jpg it filter lines in three groups, rectangle, square and weird ...
- Wed Aug 17, 2022 3:56 am
- Forum: Off-Topic
- Topic: Old forums theme?
- Replies: 63
- Views: 7307
Re: Old forums theme?
Since there are no "new forum designs feedback" topic and this is the only relatively related topic: drd theme is a bit 'acid' prosilver dark edition is bit "dim" other themes are fine, except purplexion. Its a gzdoom forum not purplexion. + Probably color rendering quirks of my monitor.