ID:148953
 
I don't think I need to show u my code. I didn't change my weapon armor coding. Then all of a suuden it starts giving me this error.


loading Rise to Glory.dme
weapon armor.dm:1:error: obj: expected end of statement

Rise to Glory.dmb - 16 errors, 0 warnings (double-click on an error to jump to it)
Codesterz wrote:
I don't think I need to show u my code. I didn't change my weapon armor coding. Then all of a suuden it starts giving me this error.


loading Rise to Glory.dme
weapon armor.dm:1:error: obj: expected end of statement

Rise to Glory.dmb - 16 errors, 0 warnings (double-click on an error to jump to it)

This means your error was in the file before it. Double-click and it will show you which file in the .dme went before it, and that's the one you need to fix. The error is occurring at the very end of that other file.

Lummox JR
In response to Lummox JR
Ok. I did what u said. then a list a dublicate and previous definitions came up.

loading Rise to Glory.dme
weapon armor.dm:612:error:Hold :duplicate definition
weapon armor.dm:555:error:Hold :previous definition
weapon armor.dm:625:error:Remove :duplicate definition
weapon armor.dm:568:error:Remove :previous definition
weapon armor.dm:659:error:Hold :duplicate definition
weapon armor.dm:672:error:Remove :duplicate definition
monsters.dm:99:error:Pig Warrior:value not allowed here
food.dm:15:error:Get :duplicate definition
weapon armor.dm:580:error:Get :previous definition
food.dm:20:error:Drop :duplicate definition
weapon armor.dm:585:error:Drop :previous definition
food.dm:41:error:Get :duplicate definition
food.dm:46:error:Drop :duplicate definition
food.dm:65:error:Get :duplicate definition
food.dm:73:error:Drop :duplicate definition
weapon armor.dm:320:error:Get :duplicate definition
weapon armor.dm:29:error:Get :duplicate definition
weapon armor.dm:62:error:Get :duplicate definition
weapon armor.dm:94:error:Get :duplicate definition
weapon armor.dm:125:error:Get :duplicate definition
weapon armor.dm:156:error:Get :duplicate definition
weapon armor.dm:188:error:Get :duplicate definition
weapon armor.dm:221:error:Get :duplicate definition
weapon armor.dm:254:error:Get :duplicate definition
weapon armor.dm:286:error:Get :duplicate definition
weapon armor.dm:539:error:Get :duplicate definition
weapon armor.dm:352:error:Get :duplicate definition
weapon armor.dm:384:error:Get :duplicate definition
weapon armor.dm:415:error:Get :duplicate definition
weapon armor.dm:446:error:Get :duplicate definition
weapon armor.dm:477:error:Get :duplicate definition
weapon armor.dm:508:error:Get :duplicate definition
weapon armor.dm:637:error:Get :duplicate definition
weapon armor.dm:642:error:Drop :duplicate definition
weapon armor.dm:684:error:Get :duplicate definition
weapon armor.dm:689:error:Drop :duplicate definition

Rise to Glory.dmb - 36 errors, 0 warnings (double-click on an error to jump to it)
In response to Codesterz
It looks an awful lot like you're putting proc/ or verb/ before procs that you're overriding, like this:
obj
verb/Get()
...

obj/sword
verb/Get()
...

The second case is where Get() is overriding the previous obj/Get(), so you should take out the verb/ part.

Lummox JR