Maps over 255x255 tiles crash?

How, what and why to code in BYOND.
Post Reply
User avatar
paprika
Rarely plays
Joined: Fri Apr 18, 2014 10:20 pm
Byond Username: Paprka
Location: in down bad

Maps over 255x255 tiles crash?

Post by paprika » #183594

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.
Oldman Robustin wrote:It's an established meme that coders don't play this game.
onleavedontatme
Joined: Fri Mar 13, 2015 10:26 pm
Byond Username: KorPhaeron

Re: Maps over 255x255 tiles crash?

Post by onleavedontatme » #183600

The TGM map format doesn't work with bigger maps.
User avatar
paprika
Rarely plays
Joined: Fri Apr 18, 2014 10:20 pm
Byond Username: Paprka
Location: in down bad

Re: Maps over 255x255 tiles crash?

Post by paprika » #183606

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.
Oldman Robustin wrote:It's an established meme that coders don't play this game.
onleavedontatme
Joined: Fri Mar 13, 2015 10:26 pm
Byond Username: KorPhaeron

Re: Maps over 255x255 tiles crash?

Post by onleavedontatme » #183646

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
User avatar
paprika
Rarely plays
Joined: Fri Apr 18, 2014 10:20 pm
Byond Username: Paprka
Location: in down bad

Re: Maps over 255x255 tiles crash?

Post by paprika » #183649

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.
Oldman Robustin wrote:It's an established meme that coders don't play this game.
Scott
Github User
Joined: Fri Apr 18, 2014 1:50 pm
Byond Username: Xxnoob
Github Username: xxalpha

Re: Maps over 255x255 tiles crash?

Post by Scott » #183758

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.
User avatar
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?

Post by oranges » #184483

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.
User avatar
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?

Post by Remie Richards » #184488

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.
私は完璧
User avatar
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?

Post by oranges » #184490

Well the last I heard it wasn't map size causing the compile crash but just asteroid for some reason.
User avatar
MisterPerson
Board Moderator
Joined: Tue Apr 15, 2014 4:26 pm
Byond Username: MisterPerson

Re: Maps over 255x255 tiles crash?

Post by MisterPerson » #184497

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
User avatar
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?

Post by Remie Richards » #184499

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.
私は完璧
User avatar
paprika
Rarely plays
Joined: Fri Apr 18, 2014 10:20 pm
Byond Username: Paprka
Location: in down bad

Re: Maps over 255x255 tiles crash?

Post by paprika » #184567

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.
User avatar
Bawhoppennn
Github User
Joined: Wed Jan 14, 2015 11:42 pm
Byond Username: Bawhoppennn
Github Username: Bawhoppen

Re: Maps over 255x255 tiles crash?

Post by Bawhoppennn » #184584

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
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

Image
<KorMobile> you're a hero

[21:20:53] <%oranges> Baw "has cute legs" hoppen
Image
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

Image

<+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.
User avatar
paprika
Rarely plays
Joined: Fri Apr 18, 2014 10:20 pm
Byond Username: Paprka
Location: in down bad

Re: Maps over 255x255 tiles crash?

Post by paprika » #184809

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.
User avatar
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?

Post by Jordie0608 » #184843

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
More lines means more metadata like line break characters.
Forum Admin
Send me a PM if you have any issues, concerns or praise of fishfood to express about the forums.
User avatar
paprika
Rarely plays
Joined: Fri Apr 18, 2014 10:20 pm
Byond Username: Paprka
Location: in down bad

Re: Maps over 255x255 tiles crash?

Post by paprika » #184844

thanks for coding 101 i'm retarded
Oldman Robustin wrote:It's an established meme that coders don't play this game.
Post Reply

Who is online

Users browsing this forum: Ryusenshu