ID:261856
 
I've made my own GM code.
Yep. And everything works fine.
However...

After I added a Duplicate verb (with the help of s_admin to get it working just right)

Duplicate(atom/movable/O in world)
set category = "GM"
var/atom/new_O = new O.type(O.loc)
for(var/V in O.vars)
if(issaved(O.vars[V])) new_O.vars[V] = O.vars[V]
usr << "[O] was duplicated."


Well... My code didn't work.
I have an "Warp Tile" verb.

Warp_Tile(obj/O as turf|obj|area in range())
set category = "GM"
usr.loc = locate(O.x,O.y,O.z)


This verb does NOT appear in my "GM" tab!

src.verbs += /mob/GM/verb/GM_Management2
src.verbs += /mob/GM/verb/Forbid_Login
src.verbs += /mob/GM/verb/Give_WSay
src.verbs += /mob/GM/verb/Take_WSay
src.verbs += /mob/GM/verb/Boot
src.verbs += /mob/GM/verb/Ban
src.verbs += /mob/GM/verb/Inform
src.verbs += /mob/GM/verb/Announcement
src.verbs += /mob/GM/verb/Warp_Tile
src.verbs += /mob/GM/verb/range_Someone
src.verbs += /mob/GM/verb/Teleport
src.verbs += /mob/GM/verb/Summon
src.verbs += /mob/GM/verb/Master_Edit
src.verbs += /mob/GM/verb/Edit
src.verbs += /mob/GM/verb/CreateMob
src.verbs += /mob/GM/verb/CreateObj
src.verbs += /mob/GM/verb/CreateTurf
src.verbs += /mob/GM/verb/Delete_Mob
src.verbs += /mob/GM/verb/Delete_OBJ
src.verbs += /mob/GM/verb/Browser
src.verbs += /mob/GM/verb/Reboot
src.verbs += /mob/GM/verb/Repop
src.verbs += /mob/GM/verb/Sound
src.verbs += /mob/GM/verb/Music
src.verbs += /mob/GM/verb/MusicOff
src.verbs += /mob/GM/verb/Mute
src.verbs += /mob/GM/verb/Spy
src.verbs += /mob/GM/verb/Freeze
src.verbs += /mob/GM/verb/Change_Weather
src.verbs += /mob/GM/verb/TunePhone
src.verbs += /mob/GM/verb/Ghostform
src.verbs += /mob/GM/verb/Everyone_TV
src.verbs += /mob/GM/verb/Instant_Reboot
src.verbs += /mob/GM/verb/Blind
src.verbs += /mob/GM/verb/See_All
src.verbs += /mob/GM/verb/Reduce_Vision
// src.verbs += /mob/GM/verb/Change_HQ_Level
src.verbs += /mob/GM/verb/X5_C4
src.verbs += /mob/GM/verb/X5_M16A
src.verbs += /mob/GM/verb/Close
src.verbs += /mob/GM/verb/BuildObj
// src.verbs += /mob/GM/verb/Change_HQ_Level2
src.verbs += /mob/GM/verb/DSummon
src.verbs += /mob/GM/verb/Disable_MapOwnership
src.verbs += /mob/GM/verb/Change_Owner
src.verbs += /mob/GM/verb/Duplicate
src.verbs += /mob/GM/verb/Warp_Tile


It did appear before I added Duplicate. How can I fix this, and what is it?
------------------------

Nevermind that comment.

I forgot, other GMs do get Duplicate. The problem is... They have Warp Tile and I don't.
Just Delete the Duplicate verb, and the warp should come back, then make your own duplicate verb using the code you have.
In response to Phoenix Man
Maybe if you type -

mob
dup
In response to Phoenix Man
maybe is you type


mob
dup
verb
(duplicate verb)


then under your login code put - src.verbs += typesof(/mob/dup/verb)
In response to AZA
I said that it doesn't work.

Even if I delete the Duplicate verb, Warp Tile STILL doesn't appear.

Give me an clear, pointed out answher why Warp Tile doesn't appear.
There's really no reason a verb should ever disappear.... but did you notice you have Warp Tile in the list twice? That shouldn't cause this problem, but it's worth noting.

Also, are you sure you don't have the verb? It might just be a display problem.... alphabetically, Warp Tile probably appears last on the list, which means it could just be cut off.

Have you tried using the verb by typing it in, to make sure it is actually gone?
In response to Hedgemistress
Hedgemistress wrote:
There's really no reason a verb should ever disappear.... but did you notice you have Warp Tile in the list twice? That shouldn't cause this problem, but it's worth noting.

Also, are you sure you don't have the verb? It might just be a display problem.... alphabetically, Warp Tile probably appears last on the list, which means it could just be cut off.

Have you tried using the verb by typing it in, to make sure it is actually gone?

The verb works with types of OBJ, TURF, and AREAs.
I rightclick an OBJ, and Warp Tile isn't in the list!
In response to Phoenix Man
Ah.... how many verbs are on that list? My quess is there may be a limit to how many things BYOND can display in a context menu like that.

I repeat my question... have you tried accessing the verb by typing it in?
In response to Hedgemistress
I have. It didn't work.
BYOND has a limit? I tried to set the CATEGORY to "GM2" instead of "GM" and it still didn't appear!

Ack... Somebody help...
C'mon people! I need this fixed ASAP!

Warp Tile, I do not have this verb, and the rest of the GMs do.

What is the cause, why, how, who, what, where?

Answher it, now!
In response to Phoenix Man
Fix it ASAP, then.

There's nothing in the code you've posted that should be doing this. Maybe you're not looking in the right place.

Also, did you ever figure out why you're adding Warp Tile twice? No reason that should cause a problem, but it's pointlessly redundant...
In response to Phoenix Man
Answher it, now!

Frickin' answer it yourself. Don't be so god-damned impatient! We are not your slaves.

I'm sorely tempted to refuse to answer you because of that comment. But because I'm in a good mood, I'll provide something that may or may not help.

Instead of that godawfully massive list of verbs, you can just add all the /mob/GM verbs with one line.

<code>src.verbs += typesof(/mob/GM/verb)</code>
In response to Crispy
I've tried that. Sorry for being impatient, but... Thats my trait...

Uh... It doesn't work.
Nothing is causing it? Hmm...

Well, I got it fixed by removing the Warp Tile code, compiling, and readding it.

But it's a pain.

That code MUST'VE caused it. I have no other explaination.