I'm triny to play Naruto Next Generation,i have the source and when I press Run it keeps saying there are 4 errors I need to fix
loading Naruto.dme
1.5.Procs.dm:350:error: bad argument definition
1.5.Procs.dm:350:error: bad argument definition
1.5.Procs.dm:367:error: bad argument definition
1.5.Procs.dm:367:error: bad argument definition
Naruto.dmb - 4 errors, 0 warnings (10/18/15 2:57 pm)
1
2
ID:1968894
Oct 18 2015, 1:33 pm (Edited by moderator on Oct 18 2015, 1:41 pm)
(See the best response by Lummox JR.)
|
|
Oct 18 2015, 1:42 pm
|
|
You'll have to post the lines in question in order for us to diagnose the issue.
|
loading Naruto.dme
1.5.Procs.dm:350:error: bad argument definition 1.5.Procs.dm:350:error: bad argument definition 1.5.Procs.dm:367:error: bad argument definition 1.5.Procs.dm:367:error: bad argument definition Naruto.dmb - 4 errors, 0 warnings (10/18/15 2:57 pm) how do I fix it? |
/*mob/verb/newstats() |
Dude, you can't post a block of code that big and expect anyone to understand it. Just post the relevant bit. I suggest you edit your post and pare it down, and you need to put it within <dm> ... </dm> tags so it's readable.
|
I got a thumb cramp scrolling past this on my phone...
You know shit's real when Lummox starts a post with, "Dude"... |
The issue is the throw() proc was most likely made before throw() was a built in proc. A simple renaming would fix it.
|
the problem is throw() set it to aim() because throw() isn't an foreground anymore its an keyword so you need an next word to replace it that is foreground that would mean kinda the same thing
aim() //aim() was throw() change it to aim() for it to work. |
The code above is also a textbook example of how not to use goto. The stop label is pointless, because instead of saying goto stop you can just use the return statement. The code with the dirchose label isn't appreciably better, and really needs to be rewritten.
|
loading Naruto.dme
1.5.Procs.dm:325:error: missing left-hand argument to to. Naruto.dmb - 1 error, 0 warnings (10/19/15 4:50 pm) |
1
2