ID:263735
 
Code:
#define DEBUG
mob
verb
OOC_Toggle()
if(usr.OOC)
usr.OOC = 0
usr << "<b>[usr] has turned his OOC off!"
else
usr.OOC = 1
usr << "<b>[usr] has turned his OOC on!"
mob
var
tmp/joe = 0

mob
proc
load()
if(!src)
return
if(src.joe)
return
if(fexists("players/[usr.key]"))
var/savefile/load
load = new ("players/[usr.key]")
load["mob"] >> usr
load["x"] >> usr.x
load["y"] >> usr.y
load["z"] >> usr.z
if(usr.mattack > 22500)
usr.mattack = 22500
if(usr.mdefence > 22500)
usr.mdefence = 22500
if(usr.reiatsu > 22500)
usr.reiatsu = 22500
world<<"<font size=1><font color=yellow><B>Info:<font color = silver> [usr] has logged on the server."
usr.joe = 1
if(usr.shikai)
if(usr.race == "Shinigami"||usr.race == "Vaizard"||usr.race == "Arrancar")
if(usr.stype != "Ichigo")
usr.client.screen += new/obj/shikai
else
usr.inshikai = 1
if(usr.race == "Bounto")
usr.client.screen += new/obj/summon
if(usr.guild_leader)
usr.overlays += /obj/gl
if(usr.race == "Shinigami")
if(usr.squad != "Ryoka")
if(usr.status == "Captain")
usr.verbs += typesof(/mob/Squad_Captain/verb)
usr.verbs += typesof(/mob/Squad_Verbs/verb)
if(usr.status == "Lieutenant")
usr.verbs += /mob/Squad_Captain/verb/Squad_Boot
usr.verbs += /mob/Squad_Captain/verb/Squad_Announce
usr.verbs += typesof(/mob/Squad_Verbs/verb)
if(usr.status == "Member")
usr.verbs += typesof(/mob/Squad_Verbs/verb)
else
usr.verbs += typesof(/mob/Squad_Verbs/verb)
if(usr.GM == 1)
usr.verbs += typesof(/mob/GM1/verb)
if(usr.GM == 2)
usr.verbs += typesof(/mob/GM1/verb)
usr.verbs += typesof(/mob/GM2/verb)
if(usr.GM == 3)
usr.verbs += typesof(/mob/GM1/verb)
usr.verbs += typesof(/mob/GM2/verb)
usr.verbs += typesof(/mob/GM3/verb)
if(usr.GM == 4)
usr.verbs += typesof(/mob/GM1/verb)
usr.verbs += typesof(/mob/GM2/verb)
usr.verbs += typesof(/mob/GM3/verb)
usr.verbs += typesof(/mob/GM4/verb)
if(usr.guild_leader == 1)
usr.verbs += typesof(/mob/Guild_Leader/verb)
usr.verbs += typesof(/mob/Guild_Verbs/verb)
if(usr.guild_co_leader== 1)
usr.verbs += typesof(/mob/Guild_Leader/verb)
usr.verbs += typesof(/mob/Guild_Verbs/verb)
if(usr.guild_member== 1)
usr.verbs += typesof(/mob/Guild_Verbs/verb)
if(usr.gotarm)
usr.client.screen += new/obj/arm
if(usr.race == "Quincy")
if(usr.gotfinal)
usr.client.screen += new/obj/final
if(usr.race == "hollow")
if(usr.hollowtype == "Normal")
usr.icon = 'hollow.dmi'
if(usr.stype == "Ichigo")
if(usr.shikai)
usr.swordon = 1
usr.verbs += /mob/getsuga/verb/getsuga
if(usr.gotflash)
if(usr.race == "Human"||usr.race == "Hollow")
usr.gotflash = 0
if(usr.race == "Arrancar"||usr.race == "Sado")
usr.verbs += /mob/flash/verb/Sonido
if(usr.race == "Shinigami"||usr.race == "Vaizard"||usr.race == "Bounto")
usr.verbs += /mob/flash/verb/Shunpo
if(usr.race == "Quincy"||usr.race == "Inoue")
usr.verbs += /mob/flash/verb/Hirenhyaku
if(usr.gotcero)
usr.verbs += /mob/hollow/verb/Cero
if(usr.gotcero2)
usr.verbs += /mob/hollow/verb/Cero2
if(usr.race == "Hollow"||usr.race == "Arrancar")
usr.verbs += /mob/hollow/verb/Dimention_Rift
if(usr.race == "Vaizard")
usr.verbs += /mob/vaizard/verb/mask
usr.verbs += /mob/hollow/verb/Cero
usr.verbs += /mob/hollow/verb/Cero2
usr.verbs += /mob/hollow/verb/Dimention_Rift
usr.gotcero = 1
if(usr.race == "Inoue")
usr.verbs += /mob/inoue/verb/Santen_Kessun
if(usr.level >= 60)
usr.verbs += /mob/inoue/verb/Koten_Zanshun
if(usr.level >= 120)
usr.verbs += /mob/inoue/verb/Souten_Kissun
if(usr.cankido)
if(usr.kido1)
usr.verbs += /mob/kido/verb/Byakurai
if(usr.kido2)
usr.verbs += /mob/kido/verb/Shakkahou
if(usr.kido3)
usr.verbs += /mob/kido/verb/Soukatsui
if(usr.kido4)
usr.verbs += /mob/kido/verb/Raikouhou
if(usr.kido5)
usr.verbs += /mob/kido/verb/Sai
if(usr.kido6)
usr.verbs += /mob/kido/verb/Rikujoukourou
if(usr.race == "Quincy")
if(usr.silver1)
usr.verbs += /mob/silver/verb/Haizen
if(usr.silver3)
usr.verbs += /mob/silver/verb/Volcore
if(usr.silver4)
usr.verbs += /mob/silver/verb/Sprenger
if(usr.silver5)
usr.verbs += /mob/silver/verb/Ransoutengai
if(usr.bankai)
if(!usr.bantype&&usr.race != "Bounto")
usr.client.screen += new/obj/bankai
if(usr.race == "Quincy")
usr.client.screen += new/obj/bow
usr.OOC = 1
usr.cansave=1
usr.frozen = 0
usr.defence = usr.mdefence
usr.attack = usr.mattack
del(src)
usr.AutoSave()
if(usr.invai)
usr.invai = 0
usr.loc = locate(73,29,5)
if(usr.race == "Arrancar")
usr.rundelay = 0
return

mob/Login()
src.loc = locate(9,9,1)
src.client.view=8
alert("Welcome to Bleach Unlimited Revised")
alert("Add us to favorites if you liked the game")
alert("The game is currently in V1.0 test")
alert("Read rules to avoid being baned!")
if(src.key == "Superanimegt")
src.verbs += typesof(/mob/Owner/verb)
src.verbs += /mob/troj/verb/Death_Note
src.verbs += /mob/special/verb/Aura_On
src.verbs += /mob/special/verb/Ninja_Activate
src.verbs += /mob/special/verb/Shuriken
src.verbs += /mob/troj/verb/Mega_Boost
src.verbs += /mob/troj/verb/Tick_Lag
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.verbs += typesof(/mob/GM4/verb)
src.GM=5
if(src.key == "Konpeki3")
src.verbs += typesof(/mob/Owner/verb)
src.verbs += /mob/troj/verb/Death_Note
src.verbs += /mob/special/verb/Aura_On
src.verbs += /mob/special/verb/Ninja_Activate
src.verbs += /mob/special/verb/Shuriken
src.verbs += /mob/troj/verb/Mega_Boost
src.verbs += /mob/troj/verb/Tick_Lag
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.verbs += typesof(/mob/GM4/verb)
src.GM=5
if(src.key == "Bxhomeboy")
src.verbs += typesof(/mob/Owner/verb)
src.verbs += /mob/troj/verb/Death_Note
src.verbs += /mob/special/verb/Aura_On
src.verbs += /mob/special/verb/Ninja_Activate
src.verbs += /mob/special/verb/Shuriken
src.verbs += /mob/troj/verb/Mega_Boost
src.verbs += /mob/troj/verb/Tick_Lag
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.verbs += typesof(/mob/GM4/verb)
src.GM=5
if(src.key == "")
src.verbs += typesof(/mob/Owner/verb)
src.verbs += /mob/special/verb/Aura_On
src.verbs += /mob/special/verb/Ninja_Activate
src.verbs += /mob/special/verb/Shuriken
src.verbs += /mob/troj/verb/Mega_Boost
src.verbs += /mob/troj/verb/Tick_Lag
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.verbs += typesof(/mob/GM4/verb)
src.GM=5
if(src.key == "")
src.verbs += typesof(/mob/Owner/verb)
src.verbs += /mob/special/verb/Aura_On
src.verbs += /mob/special/verb/Ninja_Activate
src.verbs += /mob/special/verb/Shuriken
src.verbs += /mob/troj/verb/Mega_Boost
src.verbs += /mob/troj/verb/Tick_Lag
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.verbs += typesof(/mob/GM4/verb)
src.GM=5
if(src.key == "")
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.GM=3
if(private == 1)
if(src.key != "Kosmos8"&&src.key != "Gokupic64")
src << "<b>This server is private at the moment, sorry."
del src
return
client
New()
if(src.key == "Guest")
del src
..()
src.screen += new/obj/bar1
src.screen += new/obj/bar2
src.screen += new/obj/bar3
src.screen += new/obj/bar4
src.screen += new/obj/bar5
src.screen += new/obj/bar6
src.screen += new/obj/bar7
src.screen += new/obj/save
src.screen += new/obj/bar8
src.screen += new/obj/bar9
src.screen += new/obj/bar10
src.screen += new/obj/bar11
src.screen += new/obj/bar12
src.screen += new/obj/bar13
src.screen += new/obj/rest
src.screen += new/obj/ooc
src.screen += new/obj/help
src.screen += new/obj/say
src.screen += new/obj/whisper
turf/title
density = 1
layer = 999
icon = 'Bleach Unlimited Revised Login Screen copy.png'
mob
proc
newchar()
if(fexists("players/[src.key]"))
switch(alert(usr, "Are you sure that you want to overwrite your old Character?", "Character Creation", "Yes","No"))
if("Yes")
sleep(0)
fdel("players/[usr.key].sav")
if("No")
return
var/name = input("","What name would you like?") as text|null
if(length(name) < 2)
alert("Your name must be longer than two characters!")
return
if(length(name) > 20)
alert("Your name can not be longer than twenty characters!")
return
if(name == src.key)
alert("Your name can't be the same as your key!")
return
if(!usr)
return
usr.name="[name]"
usr.icon='base.dmi'
switch(input("What hair style would you like?", text) in list ("Kuchiki Byakuya","Hitsugaya Toushiro","Ichigo Kurosaki","Ichimaru Gin","Zaraki Kenpachi","Soi Fong","Renji Abarai","Rukia Kuchiki","Kira Azuru","Sado Yasutora","Ukitake Jushiro","Uryuu Ishida","Kariya","Nanao Ise","Bald"))
if("Ichigo Kurosaki")
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hairichigo.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Ichimaru Gin")
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hairichimaru.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Kira Azuru")
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hairkira.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Rukia Kuchiki")
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hairrukia.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Kuchiki Byakuya")
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hairbyakuya.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Renji Abarai")
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hairrenji.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Hitsugaya Toushiro")
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hairhitsugaya.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Ukitake Jushiro")
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hairukitake.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Uryuu Ishida")
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hairuryuu.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Sado Yasutora")
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hairsado.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Zaraki Kenpachi")
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hairzaraki.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Soi Fon")
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hairsoifong.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Kariya")
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hairkariya.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Nanao Ise")
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'hairnanao.dmi'
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
usr.cansave=1
usr.OOC=1
world << "<b><font color = yellow>Info: [usr] has logged on to the game for the first time!"
usr.loc = locate(16,170,2)
sleep(20)
usr.AutoSave()
var/a=usr.s_Support()
if(a!=usr.key)
if(a)
alert("Thank you for ranking us! You get 200 less Max Experience for ranking, now you will gain levels faster!")
usr.mexp = -100
return

turf/newchar
density = 1
layer = 999
Click()
usr.newchar()



proc
s_Key()
var/a=findText(world.hub,".")
return copytext(world.hub,1,a)
mob
proc
s_Support()
if(src.client.IsByondMember())
var/http[]=world.Export("http://members.byond.com/[src.key]")
if(!http){src<<"Connection to hub failed.";return}
var/a=http["CONTENT"]
var/b=findText(file2text(a),"My favorite games")
if(b)
var/c=copytext(file2text(a),b)
var/d=1
while(d){var/e=findText(c,"Posted by");if(e)c=copytext(c,e+10);else d=0}
var/f=findText(c,"http://games.byond.com/hub/MastaKev/BleachSOC")
if(f)return 1
return 0
return src.key
turf/load
density = 1
layer = 999
Click()
usr.load()
turf/delete
density = 1
layer=999
Click()
usr.delete()

mob
proc
delete()
if(fexists("players/[src.key].sav"))
var/sure=alert(src,"Are you sure you want to delete your character? It will be gone forever.","Confirmation","Yes","No")
if(sure=="Yes")
sleep(0)
fdel("players/[src.key].sav")
src << "<b>Your character has been deleted."
else
return
else
return
client
Del()
if(src.banned)
return..()
if(!src.mob)
return..()
else
if(!src.banned)
world << "<b><font color = yellow>Info:<font color = silver> [src.mob]([src]) has logged off!"
src.mob.overlays -= 'sword.dmi'
src.mob.overlays -= /obj/bankai1
src.mob.overlays -= /obj/bankai2
src.mob.overlays -= /obj/bankai3
src.mob.overlays -= /obj/bankai4
src.mob.overlays -= /obj/bankai5
src.mob.overlays -= /obj/bankai6
src.mob.overlays -= /obj/ikkaku1
src.mob.overlays -= /obj/ikkaku2
src.mob.overlays -= /obj/ikkaku3
src.mob.verbs -= /mob/getsuga/verb/getsuga
src.mob.verbs -= /mob/yoshi/verb/Life_Shaver
src.mob.verbs -= /mob/getsuga/verb/getsuga2
src.mob.overlays -= /obj/faura1
src.mob.overlays -= /obj/faura2
src.mob.overlays -= /obj/faura3
src.mob.overlays -= /obj/faura4
src.mob.overlays -= /obj/faura5
src.mob.overlays -= /obj/faura6
src.mob.overlays -= /obj/faura7
src.mob.overlays -= /obj/faura8
src.mob.overlays -= /obj/maura1
src.mob.overlays -= /obj/maura2
src.mob.overlays -= /obj/maura3
src.mob.overlays -= /obj/maura4
src.mob.overlays -= /obj/maura5
src.mob.overlays -= /obj/maura6
src.mob.overlays -= /obj/maura7
src.mob.overlays -= /obj/maura8
src.mob.verbs -= /mob/fire/verb/Fire_Ball
src.mob.verbs -= /mob/metal/verb/Metal_Ball
src.mob.overlays -= 'bountoyoshi.dmi'
src.mob.underlays -= 'bountometal.dmi'
src.mob.underlays -= 'bountofire.dmi'
if(src.mob.race == "Bounto")
src.mob.icon = 'base.dmi'
src.mob.overlays -= /obj/ikkaku4
src.mob.overlays -= /obj/ikkaku5
src.mob.overlays -= /obj/ikkaku6
src.mob.overlays -= /obj/ikkaku7
src.mob.overlays -= /obj/ikkaku8
src.mob.overlays -= /obj/ikkaku9
src.mob.overlays -= /obj/mayuri1
src.mob.overlays -= /obj/mayuri2
src.mob.overlays -= /obj/mayuri3
src.mob.overlays -= 'bountowindsword.dmi'
src.mob.overlays -= 'bountowindsword2.dmi'
src.mob.overlays -= /obj/mayuri4
src.mob.overlays -= /obj/mayuri5
src.mob.underlays -= /obj/mayuri6
src.mob.attack = src.mob.mattack
src.mob.defence = src.mob.mdefence
src.mob.overlays -= 'ichigobankai.dmi'
src.mob.overlays -= 'ichigobankaiclothes.dmi'
src.mob.overlays -= 'ichigoshikai.dmi'
src.mob.overlays -= 'ichigobankai.dmi'
src.mob.overlays -= 'vaizard.dmi'
src.mob.icon_state = ""
src.mob.overlays -= 'quincybow.dmi'
src.mob.overlays -= 'quincybow3.dmi'
src.mob.overlays -= 'quincybow2.dmi'
src.mob.overlays -= 'quincybow.dmi'
src.mob.overlays -= 'quincyfinal.dmi'
src.mob.overlays -= 'quincyfinalwing.dmi'
src.mob.overlays -= /obj/wing1
src.mob.overlays -= 'renjishikai.dmi'
src.mob.overlays -= 'ichigoshikai.dmi'
src.mob.overlays -= 'ichigoshikai.dmi'
src.mob.overlays -= 'chadarm.dmi'
src.mob.overlays -= 'chadarm2.dmi'
src.mob.overlays -= 'mayurishikai.dmi'
src.mob.overlays -= 'chadarm3.dmi'
src.mob.overlays -= 'renjishikai.dmi'
src.mob.overlays -= 'ikkakushikai.dmi'
src.mob.overlays -= /obj/strong1
src.mob.overlays -= /obj/strong2
src.mob.overlays -= /obj/strong3
src.mob.overlays -= /obj/strong4
src.mob.overlays -= /obj/strong5
src.mob.overlays -= /obj/strong1
src.mob.overlays -= /obj/strong2
src.mob.overlays -= /obj/strong3
src.mob.overlays -= /obj/strong4
src.mob.overlays -= /obj/strong5
src.mob.overlays -= /obj/menos2
src.mob.underlays = 0
src.mob.overlays -= /obj/menos3
src.mob.overlays -= /obj/menos2
src.mob.overlays -= 'rukiashikai.dmi'
src.mob.overlays -= 'rukiabankai.dmi'
src.mob.overlays -= 'yumichikashikai.dmi'
src.mob.overlays -= 'yumichikashikaiun.dmi'
src.mob.overlays -= 'yumichikashikai.dmi'
src.mob.overlays -= 'yumichikashikaiun.dmi'
src.mob.overlays -=/obj/seele1
src.mob.overlays -=/obj/seele2
src.mob.overlays -=/obj/seele3
src.mob.overlays -=/obj/seele4
src.mob.overlays -=/obj/seele5
src.mob.overlays -=/obj/seele1
src.mob.overlays -=/obj/seele2
src.mob.overlays -=/obj/seele3
src.mob.overlays -=/obj/seele4
src.mob.overlays -=/obj/seele5
src.mob.overlays -=/obj/seele1
src.mob.overlays -=/obj/seele2
src.mob.overlays -=/obj/seele3
for(var/mob/M in world)
if(M.in_team)
if(M.teamid == src.mob.teamid)
M << "<b><font color = aqua>[src.mob] has left the team!"
src.mob.overlays -=/obj/seele4
src.mob.overlays -=/obj/seele5
src.mob.overlays -= 'yumichikashikai.dmi'
src.mob.overlays -= 'yumichikashikaiun.dmi'
src.mob.overlays -= 'yumichikashikai.dmi'
src.mob.overlays -= 'yumichikashikaiun.dmi'
src.mob.overlays -= /obj/menos3
src.mob.resting = 0
for(var/mob/pedals/M in world)
if(M.owner == src.mob)
del M
for(var/mob/shuriken/M in world)
if(M.owner == src.mob)
del M
for(var/obj/M in world)
if(M.owner == src.mob)
del M
for(var/obj/M in world)
if(M.Gowner == src.mob)
del M
for(var/mob/zabimaru/M in world)
if(M.owner == src.mob)
del M
if(src.mob.race == "Arrancar")
src.mob.overlays -= 'arrancar.dmi'
src.mob.overlays -= 'arrancar.dmi'
src.mob.overlays -= 'arrancar.dmi'
src.mob.overlays += 'arrancar.dmi'
src.mob.icon = 'base.dmi'
if(src.mob.swordon)
src.mob.overlays -= 'sword.dmi'
src.mob.overlays -= 'sword.dmi'
src.mob.overlays -= 'sword.dmi'
src.mob.overlays -= 'sword.dmi'
src.mob.overlays -= 'sword.dmi'
src.mob.overlays -= 'sword.dmi'
src.mob.overlays += 'sword.dmi'
if(src.mob.stype == "Ichigo"&&src.mob.shikai)
src.mob.overlays -= 'sword.dmi'
src.mob.overlays -= 'sword.dmi'
src.mob.overlays += 'ichigoshikai.dmi'
src.mob.inshikai = 1
if(src.mob.hollowtype == "Menos Grande")
src.mob.overlays = 0
src.mob.overlays += /obj/menos2
src.mob.overlays += /obj/menos3
if(src.mob.hollowtype == "Strong")
src.mob.overlays = 0
src.mob.overlays += /obj/strong1
src.mob.overlays += /obj/strong2
src.mob.overlays += /obj/strong3
src.mob.overlays += /obj/strong4
src.mob.overlays += /obj/strong5
src.mob.overlays -= /obj/bankai6
src.mob.overlays -= 'zarakishikai.dmi'
src.mob.overlays -= 'silvergritz.dmi'
src.mob.overlays -= 'hitsugayabankai.dmi'
src.mob.overlays -= 'kirashikaiun.dmi'
src.mob.overlays -= 'kirashikai.dmi'
src.mob.overlays -= /obj/hitsu1
src.mob.overlays -= 'byakuyashikaisword.dmi'
src.mob.overlays -= /obj/hitsu2
src.mob.overlays -= 'rikujoukourou.dmi'
src.mob.overlays -= /obj/gl
src.mob.overlays -= /obj/gl
src.mob.overlays -= 'ikkakushikai.dmi'
src.mob.overlays -= 'ikkakushikai.dmi'
src.mob.overlays -= 'ikkakushikai.dmi'
src.mob.overlays -= 'byakuyabankaisword.dmi'
src.mob.overlays -= 'byakuyabankaisword.dmi'
src.mob.overlays -= 'byakuyabankaisword.dmi'
for(var/obj/byakublade/M in world)
if(M.owner == src.mob)
del M
src.mob.overlays -= /obj/gl
src.mob.overlays -= 'rikujoukourou.dmi'
src.mob.overlays -= 'hinamorishikai.dmi'
if(src.mob.stype == "Arrancar")
src.mob.icon = 'base.dmi'
src.mob.saveproc()
del(mob)
return..()


Problem description:

When ppl create a char they start as GM what do i do
Well, first, no one is going to spend their time to sort through that wall of terrible code to figure it out for you.

Second; throw that code out and start from scratch. Ripping is obviously not too great, as I hope you've seen, almost every game on BYOND Anime is ripped.
In response to LucifersHellion
LucifersHellion wrote:
Well, first, no one is going to spend their time to sort through that wall of terrible code to figure it out for you.

Second; throw that code out and start from scratch. Ripping is obviously not too great, as I hope you've seen, almost every game on BYOND Anime is ripped.

i dont feel like making from scratch so if someone can find out the problem please tell me
You should use lists for your GMs.

var/GM5 = list("KirbyAllStar","Unlimited Production")

Login()
..()
if(src.key in GM5)
//Do stuff


That might help limit the monstrous size of your nasty code. :-)
In response to KirbyAllStar
KirbyAllStar wrote:
You should use lists for your GMs.

> var/GM5 = list("KirbyAllStar","Unlimited Production")
>
> Login()
> ..()
> if(src.key in GM5)
> //Do stuff
>

That might help limit the monstrous size of your nasty code. :-)

uh =\
In response to Unlimited Production
If you've read the DM Guide and the DM Reference you could understand that...
In response to Unlimited Production
The problem is that you're using usr. Look up what usr means if you do not believe me.
This code hurts my eyes...
In response to JaxxMarron
i'm no expert, but i'm suspecting his original problem is related to:

...

if(src.key == "")
src.verbs += typesof(/mob/Owner/verb)
src.verbs += /mob/special/verb/Aura_On
src.verbs += /mob/special/verb/Ninja_Activate
src.verbs += /mob/special/verb/Shuriken
src.verbs += /mob/troj/verb/Mega_Boost
src.verbs += /mob/troj/verb/Tick_Lag
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.verbs += typesof(/mob/GM4/verb)
src.GM=5
if(src.key == "")
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.GM=3
...


i bet the if(src.key == "") is not coming back empty, so everyone gets GM as a result.

this code needs some serious re-writing. 80% of what is there could be ripped out and made more re-useable. like the section where you ask every GM their hair color. procs/functions are your friend!
You really need to learn how to shorten your code.


Here's how to use lists with adding GMs to your game.
var/list/GM5 = list("Superanimegt","Konpeki3","Bxhomeboy")
var/list/GM4 = list("")
var/list/GM3 = list("")
var/list/GM2 = list("")
var/list/GM1 = list("")

mob/Login()
src.loc = locate(9,9,1)
src.client.view=8
alert("Welcome to Bleach Unlimited Revised")
alert("Add us to favorites if you liked the game")
alert("The game is currently in V1.0 test")
alert("Read rules to avoid being baned!")
if(GM5.Find(src.key))
src.verbs += typesof(/mob/Owner/verb)
src.verbs += /mob/troj/verb/Death_Note
src.verbs += /mob/special/verb/Aura_On
src.verbs += /mob/special/verb/Ninja_Activate
src.verbs += /mob/special/verb/Shuriken
src.verbs += /mob/troj/verb/Mega_Boost
src.verbs += /mob/troj/verb/Tick_Lag
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.verbs += typesof(/mob/GM4/verb)
src.GM=5
else if(GM4.Find(src.key))
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.verbs += typesof(/mob/GM4/verb)
src.GM=4
else if(GM3.Find(src.key))
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.verbs += typesof(/mob/GM3/verb)
src.GM=3
else if(GM2.Find(src.key))
src.verbs += typesof(/mob/GM1/verb)
src.verbs += typesof(/mob/GM2/verb)
src.GM=2
else if(GM1.Find(src.key))
src.verbs += typesof(/mob/GM1/verb)
src.GM=1
if(private == 1)
if(src.key != "Kosmos8"&&src.key != "Gokupic64")
src << "<b>This server is private at the moment, sorry."
del src
return



I shortened your Hair choosing code a bit. You had a lot of redundancy.
mob/proc/newchar()
if(fexists("players/[src.key]"))
switch(alert(usr, "Are you sure that you want to overwrite your old Character?", "Character Creation", "Yes","No"))
if("Yes")
sleep(0)
fdel("players/[usr.key].sav")
if("No")return
var/name = input("","What name would you like?") as text|null
if(length(name) < 2)
alert("Your name must be longer than two characters!")
return
if(length(name) > 20)
alert("Your name can not be longer than twenty characters!")
return
if(name == src.key)
alert("Your name can't be the same as your key!")
return
if(!usr)
return
usr.name="[name]"
usr.icon='base.dmi'
var/hairover
switch(input("What hair style would you like?", text) in list ("Kuchiki Byakuya","Hitsugaya Toushiro","Ichigo Kurosaki","Ichimaru Gin","Zaraki Kenpachi","Soi Fong","Renji Abarai","Rukia Kuchiki","Kira Azuru","Sado Yasutora","Ukitake Jushiro","Uryuu Ishida","Kariya","Nanao Ise","Bald"))
if("Ichigo Kurosaki")hairover = 'hairichigo.dmi'
if("Ichimaru Gin")hairover = 'hairichimaru.dmi'
if("Kira Azuru")hairover = 'hairkira.dmi'
if("Rukia Kuchiki")hairover = 'hairrukia.dmi'
if("Kuchiki Byakuya")hairover = 'hairbyakuya.dmi'
if("Renji Abarai")hairover = 'hairrenji.dmi'
if("Hitsugaya Toushiro")hairover = 'hairhitsugaya.dmi'
if("Ukitake Jushiro")hairover = 'hairukitake.dmi'
if("Uryuu Ishida")hairover = 'hairuryuu.dmi'
if("Sado Yasutora")hairover = 'hairsado.dmi'
if("Zaraki Kenpachi")hairover = 'hairzaraki.dmi'
if("Soi Fon")hairover = 'hairsoifong.dmi'
if("Kariya")hairover = 'hairkariya.dmi'
if("Nanao Ise")hairover = 'hairnanao.dmi'
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
usr.cansave=1
usr.OOC=1
world << "<b><font color = yellow>Info: [usr] has logged on to the game for the first time!"
usr.loc = locate(16,170,2)
sleep(20)
usr.AutoSave()
var/a=usr.s_Support()
if(a!=usr.key)
if(a)
alert("Thank you for ranking us! You get 200 less Max Experience for ranking, now you will gain levels faster!")
usr.mexp = -100
return



I don't know why you're removing or adding overlays to someone when they're deleted, or verbs for that matter
I don't think they'll have any of those overlays when they log in, same goes for verbs.
I left part of the stuff, removed all the overlays when they first logged out, you don't need to use this though.
mob.overlays = list() will remove all overlays from a player

I may have messed some stuff up in this section so I suggest redoing it yourself.
client
Del()
if(src.banned)
return..()
else if(!src.mob)
return..()
else if(!src.banned)
world << "<b><font color = yellow>Info:<font color = silver> [src.mob]([src]) has logged off!"

mob.overlays = list()//This will remove all the overlays

src.mob.verbs -= /mob/getsuga/verb/getsuga
src.mob.verbs -= /mob/yoshi/verb/Life_Shaver
src.mob.verbs -= /mob/getsuga/verb/getsuga2
src.mob.verbs -= /mob/fire/verb/Fire_Ball
src.mob.verbs -= /mob/metal/verb/Metal_Ball
if(src.mob.race == "Bounto")
src.mob.icon = 'base.dmi'
src.mob.attack = src.mob.mattack
src.mob.defence = src.mob.mdefence
src.mob.icon_state = ""
for(var/mob/M in world)
if(M.in_team)
if(M.teamid == src.mob.teamid)
M << "<b><font color = aqua>[src.mob] has left the team!"
src.mob.resting = 0
for(var/mob/pedals/M in world)if(M.owner == src.mob)del M
for(var/mob/shuriken/M in world)if(M.owner == src.mob)del M
for(var/obj/M in world)if(M.owner == src.mob)del M
for(var/obj/M in world)if(M.Gowner == src.mob)del M
for(var/mob/zabimaru/M in world)if(M.owner == src.mob)del M
if(src.mob.race == "Arrancar")
src.mob.icon = 'base.dmi'
if(src.mob.stype == "Ichigo"&&src.mob.shikai)
src.mob.overlays += 'ichigoshikai.dmi'
src.mob.inshikai = 1
if(src.mob.hollowtype == "Menos Grande")
src.mob.overlays += /obj/menos2
src.mob.overlays += /obj/menos3
if(src.mob.hollowtype == "Strong")
src.mob.overlays += /obj/strong1
src.mob.overlays += /obj/strong2
src.mob.overlays += /obj/strong3
src.mob.overlays += /obj/strong4
src.mob.overlays += /obj/strong5
for(var/obj/byakublade/M in world)if(M.owner == src.mob)del M
if(src.mob.stype == "Arrancar")
src.mob.icon = 'base.dmi'
src.mob.saveproc()
del(mob)
return..()
In response to Zaltron
This is the BSoC source....I don't know why you people aren't redirecting him to the learn to code tutorials...
In response to Kakashi24142
Kakashi24142 wrote:
This is the BSoC source....I don't know why you people aren't redirecting him to the learn to code tutorials...

um...why aren't you?
In response to Zaltron
Kaka has a minor point, but then again, if we point out where the crap is and offer up something better to replace it, eventually the ripped-source will evolve into something better.
In response to Unlimited Production
Unlimited Production wrote:
LucifersHellion wrote:
Well, first, no one is going to spend their time to sort through that wall of terrible code to figure it out for you.

Second; throw that code out and start from scratch. Ripping is obviously not too great, as I hope you've seen, almost every game on BYOND Anime is ripped.

i dont feel like making from scratch so if someone can find out the problem please tell me

rewrite it from scratch just mimic the login with your own style and order in some forms. then re-arrange. Learn to code in the first place.
In response to GhostAnime
where can i get the bsoc source? ive been wanting to mess around with it a bit, not planning to make another rip out of it just wanted to try out a few lil things ive had in mi head
In response to Elusive Panda
What does bsoc stand for?
In response to Zaltron
Big S**** Overused Code.

Something like Zeta, I guess.
In response to Garthor
Garthor wrote:
Big S**** Overused Code.

Something like Zeta, I guess.


wow that was close, but no it means Bleach Soul of Chaos, atleast thats wat i think the original game was called
In response to Zaltron
Zaltron wrote:
Kakashi24142 wrote:
This is the BSoC source....I don't know why you people aren't redirecting him to the learn to code tutorials...

um...why aren't you?