i believe that DM has a bug in its if() pro.
usuall i would type a code like this
mob/proc/New()
if(usr.dead==0 && usr.attacking==0 && usr.firing==0)
if(usr.level==1)
usr<<"New Created"
but for some apparent reason DM doesnt read that code, so many verbs and procs arent working. In order for them to work i had to change the programming to this format...
mob/proc/New()
if(usr.dead) return
if(usr.attacking) return
if(usr.firing) return
if(usr.level == 1)
usr<<"New Created"
Could someone please explain whats happening. because DM didnt do this before so idk whats going on...
Expected Results:
- "New Created"
Actual Results:
-Nothing
Does the problem occur:
Every time? Or how often?
-this problem occurs everytime
In other games?
In other user accounts?
On other computers?
-im not sure
When does the problem NOT occur?
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Workarounds:
1. You can't declare a proc called New(), since it's a built-in proc.
2. You shouldn't use usr in declared procs because you likely don't know how to use it properly.
3. Place code between <dm> tags to conserve indentation. Your code is completely ambiguous without them.