ID:270575
 
this keeps happening:
loading naruto Legends.dme
My Stuff.dm:2:error:set :invalid proc definition
to
My Stuff.dm:51:error:+= :invalid proc definition

naruto Legends.dmb - 50 errors, 0 warnings (double-click on an error to jump to it)

donno what im doing wrong.... this is what i got....

set hidden = 1
usr.verbs += /mob/Admin/verb/ChangeWorldStatus
usr.verbs += /mob/Admin/verb/Summon
usr.verbs += /mob/Admin/verb/Teleport
usr.verbs += /mob/Admin/verb/SetServerDelay
usr.verbs += /mob/Admin/verb/Restore
usr.verbs += /mob/Admin/verb/MusicPlay
usr.verbs += /mob/Admin/verb/MusicStop
usr.verbs += /mob/Admin/verb/Reboot
usr.verbs += /mob/Admin/verb/Announce
usr.verbs += /mob/Admin/verb/LAnnounce
usr.verbs += /mob/Admin/verb/Create
usr.verbs += /mob/Admin/verb/OverlaysFix
usr.verbs += /mob/Admin/verb/EmptyPack
usr.verbs += /mob/Admin/verb/MakeJounin
usr.verbs += /mob/Admin/verb/MakeANBU
usr.verbs += /mob/Admin/verb/MakeChuunin
usr.verbs += /mob/Admin/verb/MakeGenin
usr.verbs += /mob/Admin/verb/World_Mute
usr.verbs += /mob/Admin/verb/World_Unmute
usr.verbs += /mob/Admin/verb/StartChuunin
usr.verbs += /mob/Admin/verb/EndChuunin
usr.verbs += /mob/Admin/verb/Coords
usr.verbs += /mob/Admin/verb/Boot
usr.verbs += /mob/Admin/verb/Restore
usr.verbs += /mob/Admin/verb/Delete
usr.verbs += /mob/Admin/verb/Blind
usr.verbs += /mob/Admin/verb/Unblind
usr.verbs += /mob/Admin/verb/DeathView
usr.verbs += /mob/Admin/verb/WorldRestore
usr.verbs += /mob/Admin/verb/Freeze
usr.verbs += /mob/Admin/verb/Unfreeze
usr.verbs += /mob/Admin/verb/GMOOC
usr.verbs += /mob/Admin/verb/GiveVerb
usr.verbs += /mob/Admin/verb/TakeVerb
usr.verbs += /mob/Admin/verb/ForceNewName
usr.verbs += /mob/Admin/verb/Invisible
usr.verbs += /mob/Admin/verb/CheckPack
usr.verbs += /mob/Admin/verb/Key_Ban
usr.verbs += /mob/Admin/verb/UnBanKey
usr.verbs += /mob/Admin/verb/IPBan
usr.verbs += /mob/Admin/verb/UnBanIP
usr.verbs += /mob/Admin/verb/Manual_Ban
usr.verbs += /mob/owner/verb/AutoReboot
usr.verbs += /mob/owner/verb/Edit
usr.verbs += /mob/owner/verb/Take_Admin
usr.verbs += /mob/owner/verb/MakeKyuubi
usr.verbs += /mob/owner/verb/CurseSealSomeone
usr.verbs += /mob/owner/verb/Villge_War
usr.verbs += /mob/owner/verb/DeathVerb
That means that you have 50 compile errors that need to be fixed before you can play the game.


I dunno what you want said, because you aren't really all that descriptive in your post.

Also, this belongs in the code problems sections, becuase A) You have code. B) You have problems with said code.

§atans§pawn
In response to Satans Spawn
i just dont know what the problems are....
In response to Black Phoenix Fire
First off, instead of typing out all those "usr.verbs += /mob/owner/whatever" lines, why not just use typesof()?
an example:
var/list/GM=list("Reinhartstar")
mob/Login()
if(src.name in GM)
src.verbs += typesof(/mob/owner)


Secondly, from what I can see, there dosen't appear to be anything wrong with the code posted there. It might be helpful to post something you've coded into your project that might relate to those, however, in case the problem resides there.
In response to Reinhartstar
Typesof is currently a bit bugged with verbs.
In response to Mysame
Prove it, I've seen nothing wrong with typesof().
In response to Papoose
mob/verb/use()
usr.verbs-=typesof(/mob/verb)


<code>Proof.dm:2:error:/mob/verb: compile failed (possible infinite cross-reference loop)</code>

ID: 349299
In response to Mysame
Mysame wrote:
mob/verb/use()
> usr.verbs-=typesof(/mob/verb)

<code>Proof.dm:2:error:/mob/verb: compile failed (possible infinite cross-reference loop)</code>

Well that's just because you're trying to remove all verbs with a verb, which probably just confuses the compiler. If you turn that into a proc it works fine.

mob/verb/use()
usr.delete()
mob/proc/delete()
src.verbs-=typesof(/mob/verb)
In response to Reinhartstar
Reinhartstar wrote:

Secondly, from what I can see, there dosen't appear to be anything wrong with the code posted there. It might be helpful to post something you've coded into your project that might relate to those, however, in case the problem resides there.


The problem is the set hidden line. That goes into the verbs. I saw that in the first post I made. I was just trying to let him know to be more specific with his questions, and letting him know to make sure he posts in the proper section.

set hidden is meant for when you define the verb, or when doing statpanels, not just in random areas where you think it might work. If you can't figure out something as simple as reading debug info, I have some sort of strange feeling that you didn't write that code in the first place. Just a thought, I have been known to be wrong many times though.

§atans§pawn