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??
ID:144478
![]() Nov 20 2006, 10:20 am
|
|
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 |
... 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 |
Is there a / in any of your DM files? Like, one that DOESNT belong where it is.
If so, delete that / part. |
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 |
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! |
Mud/WelcomePlayer() 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() At the bottom of a .dm file. |
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) |
And the exact warning/error message can also help.
- GhostAnime