ID:145421
 
Code:
client
North()
Move(Northeast())
West()
Move(Northwest())
East()
Move(Southeast())
South()
Move(Southwest())


Problem description:

Okay Quite simply Im getting run time errors and I dont know how to fix them. Help.
could you post the runtime errors aswell?
In response to Newen
runtime error: Cannot execute null.Enter().
proc name: North (/client/North)
source file: Engine.dm,3
usr: Naruto330 (/mob)
src: Naruto330 (/client)
call stack:
Naruto330 (/client): North()

Its the same thing just different directions depending on the one I was replacing.
Naruto330 wrote:
Code:
> client
> North()
> Move(Northeast())
> West()
> Move(Northwest())
> East()
> Move(Southeast())
> South()
> Move(Southwest())
>

Look up the Step() proc

eg

client
North()
step(usr,NORTHEAST)


[EDIT] works without errors
In response to A.T.H.K
Thanks!
In response to Naruto330
WOOZOR, Athk, that definitely doesn't fix anything. I'm sure by this time you can recognize a simple proc, yet you're still abusing usr... >.>. Try src or at least src.mob
In response to Mysame
"WOOZOR, Athk, that definitely doesn't fix anything. I'm sure by this time you can recognize a simple proc, yet you're still abusing usr... >.>. Try src or at least src.mob"


Im just providing a sample ive been in byond for ages yes i know how to code properly its a example so what doesn't mean he has to use it i told him to look up the Step() proc and just chucked a usless example of what it would look like you have to stop teasing people just because they didn't something wrong so what