mob
verb/Follow(mob/M in oview(2))
set category = "Misc."
usr.follow = 1
usr.Follow2()
proc
Follow2(mob/M)
Start
if(usr.follow == 1)
usr.loc=locate(M.y-1)
goto(Start)
else
...
It says: <dm>runtime error: Cannot read null.y
proc name: Follow2 (/mob/proc/Follow2)
usr: Thief jack (/mob/PC/guy1)
src: Thief jack (/mob/PC/guy1)
call stack:
Thief jack (/mob/PC/guy1): Follow2(null)
Thief jack (/mob/PC/guy1): Follow(the shopkeeper (/mob/NPC/shopkeeper))
and when i logg in:
runtime error: Cannot read null.y
proc name: Follow2 (/mob/proc/Follow2)
usr: Thief jack (/mob/PC/guy1)
src: Thief jack (/mob/PC/guy1)
call stack:
Thief jack (/mob/PC/guy1): Follow2(null)
Thief jack (/mob/PC/guy1): Login()
Thief jack (/mob/PC/guy1): Login()
Thief jack (/mob/PC/guy1): Read(players/t/thiefjack.sav (/savefile))
Thief jack (/client): base LoadMob("Thief jack")
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): ChooseCharacter()
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): Login()
Follow()
when it's expecting:
Follow(mob)
Then it will attempt to use the nonexistant mob, and return an error because the mob is null. It can't find it.