Maps over 255x255 tiles crash?
- paprika
- Rarely plays
- Joined: Fri Apr 18, 2014 10:20 pm
- Byond Username: Paprka
- Location: in down bad
Maps over 255x255 tiles crash?
Can someone point me in the right direction to find the code causing servers to crash if maps are larger than 255 tiles?
I've tried to byond detective my way into finding it in ss13 code but I can't seem to. I'm sure it's multiple things but I'm having a hard time finding it.
I've tried to byond detective my way into finding it in ss13 code but I can't seem to. I'm sure it's multiple things but I'm having a hard time finding it.
Oldman Robustin wrote:It's an established meme that coders don't play this game.
-
- Joined: Fri Mar 13, 2015 10:26 pm
- Byond Username: KorPhaeron
Re: Maps over 255x255 tiles crash?
The TGM map format doesn't work with bigger maps.
- paprika
- Rarely plays
- Joined: Fri Apr 18, 2014 10:20 pm
- Byond Username: Paprka
- Location: in down bad
Re: Maps over 255x255 tiles crash?
The game shouldn't be crashing with non-TGM maps being loaded though, where is that happening? Can't you just a) increase the dimensions of TGM or b) load the maps using a legacy system?
Please don't tell me this wasn't considered.
Please don't tell me this wasn't considered.
Oldman Robustin wrote:It's an established meme that coders don't play this game.
-
- Joined: Fri Mar 13, 2015 10:26 pm
- Byond Username: KorPhaeron
Re: Maps over 255x255 tiles crash?
https://github.com/tgstation/tgstation/pull/16026
You'd have to ask dunc who removed asteroid for longer working or
https://github.com/tgstation/tgstation/pull/17015
corruptcomputer who got asteroid working again by shrinking it
You'd have to ask dunc who removed asteroid for longer working or
https://github.com/tgstation/tgstation/pull/17015
corruptcomputer who got asteroid working again by shrinking it
- paprika
- Rarely plays
- Joined: Fri Apr 18, 2014 10:20 pm
- Byond Username: Paprka
- Location: in down bad
Re: Maps over 255x255 tiles crash?
Oh god, those horrible words, "BYOND BUG"
I'll look into this in the future if it's ever fixed, though I'm sure by then you'll have a huge lavaland map eh? Thanks for looking around kor.
I'll look into this in the future if it's ever fixed, though I'm sure by then you'll have a huge lavaland map eh? Thanks for looking around kor.
Oldman Robustin wrote:It's an established meme that coders don't play this game.
-
- Github User
- Joined: Fri Apr 18, 2014 1:50 pm
- Byond Username: Xxnoob
- Github Username: xxalpha
Re: Maps over 255x255 tiles crash?
I don't know about the cause being 255x255 map size, but compilation fails (read: crashes DM) with the original Asteroid Station in TGM format. It's not about TGM not supporting big maps, it's about DM runtiming due to a memory handling error triggered by the TGM format.
It's a byond bug that is not being fixed any time soon, it was already reported and the report is gathering dust and cobwebs. Go bump it.
It's a byond bug that is not being fixed any time soon, it was already reported and the report is gathering dust and cobwebs. Go bump it.
- oranges
- Code Maintainer
- Joined: Tue Apr 15, 2014 9:16 pm
- Byond Username: Optimumtact
- Github Username: optimumtact
- Location: #CHATSHITGETBANGED
Re: Maps over 255x255 tiles crash?
I'm pretty sure the max z level size being 255x255 is something else, maybe ask vg as they're running bigger maps now, so they might have insights on the limitations they hit.
- Remie Richards
- Joined: Thu Apr 17, 2014 7:11 pm
- Byond Username: CrimsonVision
- Location: England, UK, Earth, Sol, Milky Way, Local Group, Virgo Supercluster, Known Universe
- Contact:
Re: Maps over 255x255 tiles crash?
oranges it only triggers for TGM maps (for us atleast), because they bloat the size of the file (due to spacing things out per line to help git along with merging conflicts) and DM was just apparently never built to handle map files that are that big.
/vg/'s maps work over 255x255 because they don't use TGM.
/vg/'s maps work over 255x255 because they don't use TGM.
私は完璧
- oranges
- Code Maintainer
- Joined: Tue Apr 15, 2014 9:16 pm
- Byond Username: Optimumtact
- Github Username: optimumtact
- Location: #CHATSHITGETBANGED
Re: Maps over 255x255 tiles crash?
Well the last I heard it wasn't map size causing the compile crash but just asteroid for some reason.
- MisterPerson
- Board Moderator
- Joined: Tue Apr 15, 2014 4:26 pm
- Byond Username: MisterPerson
Re: Maps over 255x255 tiles crash?
It is map size, it's just only asteroid winds up being big enough in TGM.
I code for the code project and moderate the code sections of the forums.
Feedback is dumb and it doesn't matter
Feedback is dumb and it doesn't matter
- Remie Richards
- Joined: Thu Apr 17, 2014 7:11 pm
- Byond Username: CrimsonVision
- Location: England, UK, Earth, Sol, Milky Way, Local Group, Virgo Supercluster, Known Universe
- Contact:
Re: Maps over 255x255 tiles crash?
asteroid by default is 300x300 (or some numbers around that, but definitely our BIGGEST map) so having a bigger starting size, PLUS TGM is what triggered it here.
that's all that's special about Asteroid in terms of the crash, it's bigger before you apply TGM and it only gets BIGGER after you do, enough to reach this crash every (almost?) time.
that's all that's special about Asteroid in terms of the crash, it's bigger before you apply TGM and it only gets BIGGER after you do, enough to reach this crash every (almost?) time.
私は完璧
- paprika
- Rarely plays
- Joined: Fri Apr 18, 2014 10:20 pm
- Byond Username: Paprka
- Location: in down bad
Re: Maps over 255x255 tiles crash?
Why does the filesize of a file get larger the more lines it has when it's essentially the same amount of information anyway, what a meme
Oldman Robustin wrote:It's an established meme that coders don't play this game.
- Bawhoppennn
- Github User
- Joined: Wed Jan 14, 2015 11:42 pm
- Byond Username: Bawhoppennn
- Github Username: Bawhoppen
Re: Maps over 255x255 tiles crash?
MSO made a Byond bug report looking for answers, maybe you could spam Lummox to help your quest
http://www.byond.com/forum/?post=2044362
http://www.byond.com/forum/?post=2044362
I consider myself a /tg/station historian. If you're interested in the server history at all, feel free to ask me and I'll try and get you an answer! #ConcurForever

<KorMobile> you're a hero
[21:20:53] <%oranges> Baw "has cute legs" hoppen

DEAD: ADMIN(Owegno) says, "Nothing lewd happens in adminbus sadly."
[07:13:57] <Rockdtben> Keep in mind that I'm an extremely successful and wealthy male in his late twenties.
(F) DEAD: Professor DonkPocket says, "Admins preventchaos with good messages"
OOC: Pogoman122: Fun fact if someone trespasses on your kitchen just turn them into a nugget

<+KorPhaeron> russians have no souls so magic enrages them
<+KorPhaeron> people who don't like rng are not from /tg/ and are likely redditors

<KorMobile> you're a hero
[21:20:53] <%oranges> Baw "has cute legs" hoppen

DEAD: ADMIN(Owegno) says, "Nothing lewd happens in adminbus sadly."
[07:13:57] <Rockdtben> Keep in mind that I'm an extremely successful and wealthy male in his late twenties.
(F) DEAD: Professor DonkPocket says, "Admins preventchaos with good messages"
OOC: Pogoman122: Fun fact if someone trespasses on your kitchen just turn them into a nugget

<+KorPhaeron> russians have no souls so magic enrages them
<+KorPhaeron> people who don't like rng are not from /tg/ and are likely redditors
ausops wrote:apart from this there is literally nothing more to say other than that this is the first thread in five years to have achieved something.
- paprika
- Rarely plays
- Joined: Fri Apr 18, 2014 10:20 pm
- Byond Username: Paprka
- Location: in down bad
Re: Maps over 255x255 tiles crash?
I did, I used my two year subscriber influence to put it on his to-do list, soon we will have 1000x1000 lavastation.
Oldman Robustin wrote:It's an established meme that coders don't play this game.
- Jordie0608
- Site Admin
- Joined: Tue Apr 15, 2014 1:33 pm
- Byond Username: Jordie0608
- Github Username: Jordie0608
- Location: Spiderland, Australia
Re: Maps over 255x255 tiles crash?
More lines means more metadata like line break characters.paprika wrote:Why does the filesize of a file get larger the more lines it has when it's essentially the same amount of information anyway, what a meme
Forum Admin
Send me a PM if you have any issues, concerns or praise of fishfood to express about the forums.
Send me a PM if you have any issues, concerns or praise of fishfood to express about the forums.
- paprika
- Rarely plays
- Joined: Fri Apr 18, 2014 10:20 pm
- Byond Username: Paprka
- Location: in down bad
Re: Maps over 255x255 tiles crash?
thanks for coding 101 i'm retarded
Oldman Robustin wrote:It's an established meme that coders don't play this game.
Who is online
Users browsing this forum: No registered users