ID:145156
 
if(usr.chakrac < 100)
var/CCusage = rand(13,17)
if(usr.chakra<CCusage)
usr<<"Sorry you donīt have enough chakra..."
return
if(CCusage < 15)
view() << "[usr]: Douteki Saitentei!!!"
usr << "[CCusage]/15 Chakra converted"
usr.chakra -= CCusage
return
if(CCusage >= 15)
view() << "[usr]: Douteki Saitentei!!!"
usr << "[CCusage]/15 Chakra converted"
usr.firing = 1
usr.chakra -= CCusage
if(usr.dir==1)
for(var/mob/Dog/P in world)
if(P.owner==usr)
P.dir=usr.dir
P.loc=locate(usr.x,usr.y+1,usr.z)
sleep(2)
usr<<"Teste: [usr.dir] and [P.dir]"
if(usr.dir==2)
for(var/mob/Dog/P in world)
if(P.owner==usr)
P.dir=usr.dir
P.loc=locate(usr.x,usr.y-1,usr.z)
sleep(2)
usr<<"Teste: [usr.dir] and [P.dir]"
if(usr.dir==4)
for(var/mob/Dog/P in world)
if(P.owner==usr)
P.dir=usr.dir
P.loc=locate(usr.x+1,usr.y,usr.z)
sleep(2)
usr<<"Teste: [usr.dir] and [P.dir]"
if(usr.dir==8)
for(var/mob/Dog/P in world)
if(P.owner==usr)
P.dir=usr.dir
P.loc=locate(usr.x-1,usr.y,usr.z)
sleep(2)
usr<<"Teste: [usr.dir] and [P.dir]"
sleep(20)
var/obj/urin/D = new /obj/urin
D.doutekiowner=usr
if(usr.dir==NORTH)
D.loc=locate(usr.x,usr.y+3,usr.z)
D.dir=usr.dir
if(usr.dir==SOUTH)
D.loc=locate(usr.x,usr.y-3,usr.z)
D.dir=usr.dir
if(usr.dir==EAST)
D.loc=locate(usr.x+3,usr.y,usr.z)
D.dir=usr.dir
if(usr.dir==WEST)
D.loc=locate(usr.x-3,usr.y,usr.z)
D.dir=usr.dir
walk(D,D.dir)
usr.firing=0
usr.douteki=1
sleep(10)
if(usr.dir==NORTH)
for(var/mob/Dog/P in world)
if(P.owner==usr)
P.loc=locate(usr.x,usr.y-1,usr.z)
P.dir=usr.dir
if(usr.dir==SOUTH)
for(var/mob/Dog/P in world)
if(P.owner==usr)
P.loc=locate(usr.x,usr.y+1,usr.z)
P.dir=usr.dir
if(usr.dir==EAST)
for(var/mob/Dog/P in world)
if(P.owner==usr)
P.loc=locate(usr.x-1,usr.y,usr.z)
P.dir=usr.dir
if(usr.dir==WEST)
for(var/mob/Dog/P in world)
if(P.owner==usr)
P.loc=locate(usr.x+1,usr.y,usr.z)
P.dir=usr.dir
sleep(45)
usr.douteki=0
del(D)


Problem description: the proble is all the jutsu work execpt for one thing when my dog appear in front of me it will not be turned into my direction it will be turned right to me

1. Nobody likes rips. No.bo.dy.
2. What in the where now? Couldn't understand half you said.
3. Use the <,dm> (without the ',') tags. They exist for a reason.
In response to Mysame
Mysame wrote:
1. Nobody likes rips. No.bo.dy.
"No-bo-dy" would be recommended for usage.

2. What in the where now? Couldn't understand half you said.
"The what to the where now? Couldn't understand half of what you said." would be recommended for usage.

3. Use the <,dm> (without the ',') tags. They exist for a reason.
"Use the <DM> tags. They exist for a reason." would be recommended for usage.
In response to Android Data
Meh, I can't remember those codes.
...
Time to c/p 'm into notepad.
In response to Android Data
Android Data wrote:
Mysame wrote:
1. Nobody likes rips. No.bo.dy.
"No-bo-dy" would be recommended for usage.

Yeah, I agree.

2. What in the where now? Couldn't understand half you said.
"The what to the where now? Couldn't understand half of what you said." would be recommended for usage.

The fisrt part of that makes no sense either.

3. Use the <,dm> (without the ',') tags. They exist for a reason.
"Use the <DM> tags. They exist for a reason." would be recommended for usage.

Showing both <dm> </dm> tags is more appropriate. Im fussy lol
In response to Jester619
For the heckadoodle of all. Data just did this to annoy me and now you're all up and taking him serious! :P

And "What in the where now?" isn't supposed to make sense. It's just something people say.
can you guys now help me i already edit it go see in my first post please and help me please i really need to and its no rip i coded all
In response to Destroior
I'll give you one big hint. Instead of going through and checking the players dir a million and a half times, why not just use get_step to find out what's in front of them, and place the dog appropriately? =/

Having reduntant code like that can lead to lots of bugs.
if(usr.chakrac < 100)
var/CCusage = rand(13,17)
if(usr.chakra<CCusage)
usr<<"Sorry you donīt have enough chakra..."
return
if(CCusage < 15)
view() << "[usr]: Douteki Saitentei!!!"
usr << "[CCusage]/15 Chakra converted"
usr.chakra -= CCusage
return
if(CCusage >= 15)
view() << "[usr]: Douteki Saitentei!!!"
usr << "[CCusage]/15 Chakra converted"
usr.firing = 1
usr.chakra -= CCusage
for(var/mob/Dog/P in world)
if(P.owner==usr)
var/st = get_step(usr,usr.dir)
P.loc=st
P.dir=usr.dir
var/obj/urin/D = new /obj/urin
var/st2 = get_step(P,usr.dir)
D.loc=st2
sleep(5)
D.doutekiowner=usr
D.dir=usr.dir
walk(D,D.dir)
usr.firing=0
usr.douteki=1
sleep(10)
if(usr.dir==NORTH)
var/st3 = get_step(usr,SOUTH)
P.loc=st3
if(usr.dir==SOUTH)
var/st3 = get_step(usr,NORTH)
P.loc=st3
if(usr.dir==EAST)
var/st3 = get_step(usr,WEST)
P.loc=st3
if(usr.dir==WEST)
var/st3 = get_step(usr,EAST)
P.loc=st3
sleep(45)
usr.douteki=0
del(D)


Code problem: well the bug is still the same it will go infront of the person but for same reason it will not turn in the same direction person is turned it will be turned into the person but the power will go the right direction so i cannot see what is the problem with it please help me
In response to Destroior
check the icon to see the states face the correct direction =p
In response to Mysame
Mysame wrote:
And "What in the where now?" isn't supposed to make sense. It's just something people say.

I believe the politically correct term is, "The what to the where now?".
In response to Destroior
Destroior wrote:
its no rip i coded all

Such comments are exactly what makes people believe that you ripped it.
In response to Android Data
than try to find a game with a tree climb automatic and we will talk
They are saying sense you type with "i cod it allz" or some other crap like that, is why they don't belive you codded it. Because to code you need a large vocabulary I think <>.<> But if you codded the whole game yourself this should be fairly simple for you. (And if you didn't code it just find a following demo and check it out ) <-----Very unlikely.