ID:145276
 
Problem description: Every freaking time i try to make a new tile or change a tile i have it tells me error, i have the coding right but it wont keep giving me this freaking error!

turf
grass
icon = 'grass.dmi'
darkness
icon = 'darkness.dmi'


wrong indentation

turf
grass
icon = 'grass.dmi'
darkness
icon = 'darkness.dmi'


do that

In response to Random Duelist
Random Duelist wrote:
wrong indentation

turf
grass
icon = 'grass.dmi'
darkness
icon = 'darkness.dmi'


do that

BYOND(341.877) Error: the file C:\Documents and Settings\Coreys\Desktop\test\test.rsc is locked up!
test.dm:82:error:'grass.dmi':cannot find file
BYOND(341.877) Error: the file C:\Documents and Settings\Coreys\Desktop\test\test.rsc is locked up!
test.dm:84:error:'darkness.dmi':cannot find file

Still dont work ...
In response to Random Duelist
If you were working with big projects you could do this and make it easyer on yourself in the map maker

turf
Dungonlevel1
floors
icon ='dungonlevel1.dmi'
floor1
icon_state= "floor1"
floor2
icon_state= "floor2"
floor3
icon_state= "floor3"
floor4
icon_state= "floor4"


you will get a drop down for Dungonlevel1 its useful

this is just a example oh and the only reason it is locked up is because dream seeker is loaded and you running you game close your game and recompile
In response to Yorae
you will get a drop down for Dungonlevel1 its useful

this is just a example oh and the only reason it is locked up is because dream seeker is loaded and you running you game close your game and recompile

OMG are you serious.. lol thanks
In response to Grimson10
No problem good luck with your project
In response to Grimson10
Those errors sometimes pop up if you're hosting the game when you recompile. Try closing Dream Daemon or Dream Seeker before you compile if you get that "Rsc is locked up!" error.
In response to Cowdude
Yeah again thanks guys.. i was getting so freaking mad lol, i was just about to quit this darn thing and find a new game maker..
In response to Yorae
OR, if you wanna be a space freak/pack rat (^.^)

turf
Dungonlevel1
floors
New()
..()
icon_state = name

icon ='dungonlevel1.dmi'
floor1
floor2
floor3
floor4


Thats only if the name of the tile is the same name as the icon_state in the file its in. :P
In response to Mechanios
True, but then you can't see them when you map :p
In response to DarkCampainger
You can compile while you're running the game. No clean compile though.
In response to D4RK3 54B3R
D4RK3 54B3R wrote:
You can compile while you're running the game. No clean compile though.
Actually, you can't compile the game if the .rsc file needs to be updated. If you clean compile, that's a "duh!", but people tend to forget whenever they add new resources or edit them (such as editing icons) the .rsc file will need to be updated, and it won't work because of the lock.

This is purely Windows. On Linux systems, the .rsc file does not seem to get locked up. This makes Linux better for hosting, as you can replace the .rsc file while the game is running (and not have more downtime because of the shutdown).
In response to Random Duelist
Random Duelist wrote:
wrong indentation

turf
grass
icon = 'grass.dmi'
darkness
icon = 'darkness.dmi'


do that


1. Please use the <DM> tag. Don't forget to close with </DM>!
2. The indentation is fine; it didn't work because he was running the game at the time of compiling, which is generally a bad thing to do. In fact, it's encouraged to do it his way as it avoids cluttering of the map editor.

01000100011000010111010001100001