So i've been doing a procedural map generator and until now its going ok, but the problem is that for some reason, THE LAST PART of the script is making problems, basically on the part of cloning the rooms models and positioning them on the workspace, for some reason, rooms that are type 2 (rooms that have only 2 exits) do not get cloned when it gets to the specific part of the map on the print
#help with map generator.
1 messages · Page 1 of 1 (latest)
soo uhh
its a 700 lines code but ill do my best to give just the important stuff
ts is where it clones the room models
now its a sequence from top to bottom of the important stuff that should be where the problem is
maybe negative coordinate?
i assume room has bad position rather than not generating, you didnt specify
maybe do debug trace on that
u can see i added a tag with the x and y position
and when i generated the map
and searched for the tag of the missing rooms on the explorer
the rooms simply dont exist
so add a print for each room and check what is and isn't spawning
leme just send the last prints
or you can filter for some condition and put a breakpoint on it
if u want i can explain what are each one of the prints
ill try that now
looks like scp containment breach, good luck with that 
yep
after printing
it prints ALL of the rooms
and not those specifically
it just
dont recognizes them?
yep
i think i found the problem but i dont have any idea of how it happened
so
on the console
** You are now Level 9! **
there is 43 rooms 2 on the MapRoom and room 2 ammount, and on the actual map, there is 47 rooms 2
for some fucking reason
u got this, i am belief in you

send the code
** You are now Level 5! **
i already sended it
so i basically got it, but not entirely. basically this is an example of how "maplayout" looks like and the print is the function that defines the rooms that will be built.and for some reason some rooms 2 do not get into the "ROOM2" table from "MapRoom" for some reason
so
the space 6 / 4 exists on the maplayout
but it doesnt get into the MapRoom table
i still dont know what is happening 😭