I am in a situation where I have a bunch of .hug files that I include, and these files have somewhere like 30-100 "rooms" in them. The definition of a room is simply:
Code: Select all
class room
{
type room
is static, light, open
}
Well, if I try to move the player to District_13_1, it works.
If I try to move them to District_13_2, I have no idea what object we are in. Nothing "beyond" that works, either.
Crap crap crap. I don't know what limit I am up against. This is what I get with a verbose compile:
Code: Select all
===============================================================================
HUGO COMPILER v3.1.03 STATISTICS FOR: cyberganked.hug
07/30/22 00:13:10
===============================================================================
Compiled 91833 lines in 70 file(s)
Objects: 901 (maximum 2048) Routines: 819 (maximum 2048)
Attributes: 77 (maximum 128) Events: 35 (maximum 256)
Properties: 190 (maximum 254) Labels: 15 (maximum 256)
Aliases: 61 (maximum 256) Globals: 140 (maximum 240)
Constants: 180 (maximum 256) Arrays: 212 (maximum 512)
Words in dictionary: 3449 Special words: 30 Verbs: 126
Object file: cyberganked.hex (833769 bytes)
Elapsed compile time: 2 seconds
===============================================================================
My list of includes at the end of the main .hug file looks like this:
#include "nations.hug"
#include "characters.hug"
#include "monsters.hug"
#include "maze_riot01.hug"
#include "maze_riot02.hug"
#include "maze_alleyway01.hug"
#include "maze_backalley01.hug"
#include "maze_warehouse01.hug"
#include "maze_prison01.hug"
#include "maze_prison02.hug"
#include "maze_cotd01.hug"
#include "maze_cotd02.hug"
#include "maze_district01.hug"
#include "maze_cotd03.hug"
#include "maze_office01.hug"
And somewhere in "maze_ district01.hug" is where I go from being able to move the player to a room, to not being able to do it.
Also! If I move "maze_district01.hug" up in the list, like after monsters, then it DOES let me move to the bad room.
So it's like it's creating some sort of code stack and I am exceeding it, somehow. I am at about 385 total rooms right now, I think.
What could be happening?
I am in a situation where I have a bunch of .hug files that I include, and these files have somewhere like 30-100 "rooms" in them. The definition of a room is simply:
[code]
class room
{
type room
is static, light, open
}
[/code]
Well, if I try to move the player to District_13_1, it works.
If I try to move them to District_13_2, I have no idea what object we are in. Nothing "beyond" that works, either.
Crap crap crap. I don't know what limit I am up against. This is what I get with a verbose compile:
[code]
===============================================================================
HUGO COMPILER v3.1.03 STATISTICS FOR: cyberganked.hug
07/30/22 00:13:10
===============================================================================
Compiled 91833 lines in 70 file(s)
Objects: 901 (maximum 2048) Routines: 819 (maximum 2048)
Attributes: 77 (maximum 128) Events: 35 (maximum 256)
Properties: 190 (maximum 254) Labels: 15 (maximum 256)
Aliases: 61 (maximum 256) Globals: 140 (maximum 240)
Constants: 180 (maximum 256) Arrays: 212 (maximum 512)
Words in dictionary: 3449 Special words: 30 Verbs: 126
Object file: cyberganked.hex (833769 bytes)
Elapsed compile time: 2 seconds
===============================================================================
[/code]
My list of includes at the end of the main .hug file looks like this:
#include "nations.hug"
#include "characters.hug"
#include "monsters.hug"
#include "maze_riot01.hug"
#include "maze_riot02.hug"
#include "maze_alleyway01.hug"
#include "maze_backalley01.hug"
#include "maze_warehouse01.hug"
#include "maze_prison01.hug"
#include "maze_prison02.hug"
#include "maze_cotd01.hug"
#include "maze_cotd02.hug"
#include "maze_district01.hug"
#include "maze_cotd03.hug"
#include "maze_office01.hug"
And somewhere in "maze_ district01.hug" is where I go from being able to move the player to a room, to not being able to do it.
Also! If I move "maze_district01.hug" up in the list, like after monsters, then it DOES let me move to the bad room.
So it's like it's creating some sort of code stack and I am exceeding it, somehow. I am at about 385 total rooms right now, I think.
What could be happening?