ID:144478
 
Code:#include "mudDemo.dm"


Problem description:
this is stated in the enviroment however i get an error and when i jump to it it gives me this the error is "missing expression" can someone help??

We can help you if you post a snippet startiung a few lines before to a few lines after the line in which the error occurs... we all here are not psychic to know your code :/

And the exact warning/error message can also help.

- GhostAnime
In response to GhostAnime
ok well heres the EXACT enviromenr code every single piece:

// DM Environment file for ninja ville.dme.
// All manual changes should be made outside the BEGIN_ and END_ blocks.
// New source code should be placed in .dm files: choose File/New --> Code File.

// BEGIN_INTERNALS
// END_INTERNALS
// BEGIN_FILE_DIR
#define FILE_DIR .
// END_FILE_DIR

// BEGIN_PREFERENCES
// END_PREFERENCES

// BEGIN_INCLUDE
#include "combat.dm"
#include "mudDemo.dm"
#include "ninja ville.dm"
// END_INCLUDE

the exact error is:

ninja ville.dme:16:error: missing expression
In response to Ethan5078
... I never asked you for the environmental code, I asked you for the code starting a few lines before to a few lines after where the error is located.

- GhostAnime
In response to GhostAnime
yes the error is located in the enviorment WHY ELSE WOULD I GIVE A STRANGER MY .DME CODE HUH?
In response to Ethan5078
Is there a / in any of your DM files? Like, one that DOESNT belong where it is.

If so, delete that / part.
In response to Ethan5078
Er sorry, didn't notice the e in the error you posted. Usually these .dme error lines offcur if an error happened in a DMC in the very last line (usually to me anyways). Try seeing if eberything is okay in it (such as there's a if(x==y) and not a if(x=y)).

- GhostAnime
In response to King of Slimes
hmm thanks that might help ill check the one thats causing the error in the .dme

edit:NO THATS NOT IT Wah!! if im wrong about it not being it ill show you my entire code:








/////////////////Player Commands//////////////////

mob/verb
logout()
world << "[usr] dematerializes."
mud.StorePlayer(usr) //write savefile and destroy mob
get(obj/O in oview())
view() << "[usr] picks up \an [O]."
O.Move(usr)
drop(obj/O in usr)
view() << "[usr] drops \an [O]."
O.Move(usr.loc)


/////////////////////Message of the Day/////////////////////

Mud/WelcomeNewPlayer()
//show new and old players the same welcome message
return WelcomePlayer()

Mud/WelcomePlayer()
..() //show the default welcome message

usr <<
Ethan5078 wrote:
ok im going to kill myself if i cant figure out this.!

Holy emo!
In response to Ethan5078
Mud/WelcomePlayer()
..() //show the default welcome message

usr <<

This would be your culprit; You need to finish that statement, so to speak.

Such as:
usr << "Hi there!"


Or eliminate it altogether.

Errors might not always originate where the compiler tells you; Sometimes its not possible to figure that out, so you have to know where to look - Generally speaking, any error in the DME file means that you have 'bleeding' code somewhere like the above; Or, another example might be an unclosed multi-line comment such as:
mob/verb/Test()
src << "Yeah!"
/* This is just a test verb


At the bottom of a .dm file.
In response to Alathon
well i thank you for your help and for this ill let you be my tester for my game when its playable

ppl:athalon, king of slimes

oh rest of you thanks but it didnt help me enough for you to be a beta tester(i never have alpha testers)
In response to Ethan5078
I hope Im not too late, BUT DONT DO IT! ITS NOT WORTH IT, DONT KILL YOURSELF!!