The Whole Source
Problem description:It says i have errors in different places when i didnt have them before it says i have an error with stuff like turf and objs
ID:142388
![]() Jun 12 2008, 8:31 am
|
|
Code:I coded a test world in other words a begining of a game.
The Whole Source Problem description:It says i have errors in different places when i didnt have them before it says i have an error with stuff like turf and objs |
![]() Jun 12 2008, 8:37 am
|
|
What are the errors?
|
coding\Turfs.dm:1:error::invalid expression
turf Thats the whole Turf File |
Thats the file above it
File Name = Objs obj |
Exactly and my coding aint that bad but anyway what do u suggest cause i cant run it or access the map cause its errored
|
That may be due to his incorrect use of spawn() (the error should also generally be at the end of that file, because it pointed him to the next file), which tends to sometimes compile (I consider this a bug) but I guess it properly throws an invalid expression error when it's in the end of a proc.
@Chrislee: No, I'm sorry, but you do code pretty horribly. Your spawn() usage is bad. You also clearly don't really know how to use spawn() at all. Look it up in the DM Reference. It is meant to have a block of code belonging (eg: indented) to it, like an if() statement does: //proper use of spawn statement |
Chrislee123 wrote:
> Tollen_Device Replace the first spawn() call with a call to the sleep() proc, and just delete the second one, since it doesn't do anything. |