ID:143598
 
Code:</b
>//This is a test world created by Pataz on July 29.

mob
bug
icon = 'bug.dmi'
Hollow
icon = 'tiny hollow.dmi'

icon = 'person.dmi' //make it so all the mobs will be created with the person icon
Login()
icon_state = gender //when a player logs in,make their icons state
..() //the gender of their key. Then call the parent!
world << "[src] has just logged in!"
src << "<H1><font color=\"blue\">You have just logged into...BLEACH WII-MIX THE DARKNESS AWAKENS! (Thats a mouthful isn't it?!</font></H1>"
src << "<B>Welcome to my game.READ THE F***ING RULES and i wont hafta shank you.</B>"
src << "<B>If you want to learn more about the game or you want to join and help us with sum stuff then go here:z11.invisionfree.com/Pataz_Bleach</B>"
src << "<BR><BR><B>So without further ado you can play the game,but don't get on my nerves...<B>"
src << "<BR><BR>"
proc

DeathCheck() //checks to see if an attack is deadly if (HP <= 0) //if the defender's HP is low enough...
if (HP <= 0)
world << "[src] just got shanked!" //do the death messaging
del (src)



Stat()
statpanel("Character") //Creates a new Tab for stats
stat("Name:",name) //Every stat() under that will go in the statpanel above
stat("Level:",level)

stat("HP:","[hp]/[maxhp]")
stat("Reaitsu:","[reaitsu]/[maxreaitsu]")
stat("Attack:",attack)
stat("Defense:",defense)
stat("Speed:",speed)
stat("HollowSoul:",hollowsoul)
var
level = 1
maxhp = 100 //Max HP, for when healing (so as not to go over)
hp = 100 //HP for when getting hurt/dying
maxreaitsu = 100 //Max Reaitsu for recovering reaitsu
reaitsu = 100 //reaitsu for how much player has
attack = 10 //Attack of character
defense = 10 //Defense of Character
speed = 10 //Speed of a character
hollowsoul = 10 //Hollow Soul of a character
HP = 30
verb
say(msg as text) //wat the usr says is passed into "msg" as text
world << "[usr]: [msg]" //the world sees the chatroom-like output

punch(mob/M as mob in oview(1)) //attack a mob within 1 tile of you
if (M.HP <= 0) //if M's HP are at or below 0...
usr << "[M] is already dead!"

usr << "You punch [M]!" //send this message to the usr
oview() << "[usr] punches [M]!" //send this message to everybody else
var/damage = rand(1,10) //assign a random # to a new variable
world << "[damage] damage!" //tell the damage to the world
M.HP -= damage //take away the damage from M
M.DeathCheck() //check for death with a proc

kick(mob/M as mob in oview(1)) //attack a mob within 1 tile of you
if (M.HP <= 0) //if M's HP are at or below 0...
usr << "[M] is already dead!"

usr << "You kick [M]!" //send this message to the usr
oview() << "[usr] kicks [M]!" //send this message to everybody else
var/damage = rand(3,15) //assign a random # to a new variable
world << "[damage] damage!" //tell the damage to the world
M.HP -= damage //take away the damage from M
M.DeathCheck() //check for death with a proc
turf
grass
icon = 'grass.dmi'
trees
icon = 'trees.dmi'

density = 1
road
icon = 'road.dmi'
side
icon = 'side road.dmi'
sidewalk
icon = 'sidewalk.dmi'
Turn
icon = 'Road Turn.dmi'
Road2
icon = 'Road C.dmi'
Side2
icon = 'Road Side B.dmi'
Hospital
icon = 'Karakura Hospital Part.dmi'

density = 1
opacity = 1
Lake
icon = 'Lake.dmi'

density = 1
Buildings
icon = 'Other Buildings.dmi'
place
icon = 'important building.dmi'
RiverBank
icon = 'River Bank.dmi'
River
icon = 'River.dmi'

density = 1
RiverBank2
icon = 'River Bank2.dmi'

density = 1
Ground
icon = 'Ground.dmi'


Problem description:

Whats wrong with my code? Its was working fine until yesterday when i tried to test out the features and when i log in the whole screen is black with a white square at the top. So does anyone know whats wrong?
bump help plz
In response to Pataz
        Login()
icon_state = gender //when a player logs in,make their icons state
..() //the gender of their key. Then call the parent!
world << "[src] has just logged in!"
src << "<H1><font color=\"blue\">You have just logged into...BLEACH WII-MIX THE DARKNESS AWAKENS! (Thats a mouthful isn't it?!</font></H1>"
src << "<B>Welcome to my game.READ THE F***ING RULES and i wont hafta shank you.</B>"
src << "<B>If you want to learn more about the game or you want to join and help us with sum stuff then go here:z11.invisionfree.com/Pataz_Bleach</B>"
src << "<BR><BR><B>So without further ado you can play the game,but don't get on my nerves...<B>"
src << "<BR><BR>"


I'm just a beginner, but I think you should have something like this in there.

                usr.Move(locate(x,y,z))
In response to Magema
Don't usr abuse, make it src.loc=locate(/turf/start/)

/turf/start so that you don't have to find out the new XYZ if you ever decide to change it.