but now when they make char they dont get their verbs back, but they does get when they load char... so I was wondering if anyone got idea what I should do...
mob/proc/CreateNewCharacter()
var/prompt_title = "Character Creation"
var/help_text = "What is your name?"
rename
var/char_name = input(usr, help_text, prompt_title) as null|text
if(findnumbers(char_name))
alert("Numbers arent allowed on names, please re-choose a name")
goto rename
if(findsymbols(char_name))
alert("Symbols and HTML arent allowed on names, please re-choose a name")
goto rename
var/ckey_name = ckey(char_name)
alert("Those who do not have a good name will be deleted!!","Warning")
var/list/characters = CharacterList()
if (characters.Find(ckey_name))
alert("Name Error")
return
help_text = "Character Selection"
var/list/races = list("Male","Female")
var/char_race = input(usr, help_text, prompt_title) in races
name="[char_name]"
switch(char_race)
if("Male")
src.icon = 'humanmale.dmi'
src.name="[char_name]"
src.loc=locate(9,10,10)
src.lastx = 9
src.lasty = 10
src.lastz = 10
spawn()src.client.AutoSave()
src.Update_Status()
src.gmcheck()
src.Login()
alert(usr,"Sorry but theres a temp bug were working on, and you have to re-log (by using Load button, to load this char) to get most you verbs...","Relog","Ok")
if("Female")
usr.icon = 'humanfemale.dmi'
src.name="[char_name]"
src.loc=locate(9,10,10)
src.lastx = 9
src.lasty = 10
src.lastz = 10
spawn()src.client.AutoSave()
src.Update_Status()
src.gmcheck()
src.Login()
alert(usr,"Sorry but theres a temp bug were working on, and you have to re-log (by using Load button, to load this char) to get most you verbs...","Relog","Ok")
mob/Login()
if(usr!=null)
var/hostcheck=0
for(var/mob/M in world)
if(M.key)
hostcheck+=1
if(hostcheck==1)
world.status="Souloron -- Version Alpha 1.00 | Host: [usr]"
for(var/mob/M in world)
if(M.name==src.key)
if(M.key)
sleep(1)
else
del M
CheckBan(src)
switch(rand(1,3))
if(1)
src.loc = locate(7,7,20)
if(2)
src.loc = locate(7,50,20)
if(3)
src.loc = locate(7,94,20)
if(!(src.key in players))
src.verbs -= src.verbs
players+=src.key
src<<browse(help,"window=Help,size=500x500")
src<<sound('enter.wav')
if(src.key == "Souloron")
else
if(src.key == "Lord Dist")
else
world<<"<B>System Message: <font color = blue>[usr.name] has been connected!"
else
src.guildcheck()
src.Update_Status()
src.alignupdated()
src.gmcheck()
src.verbs += /mob/Party/verb/Create_Party
src.loc=locate(src.lastx,src.lasty,src.lastz)
src<<"<font color = red><B><CENTER>~Welcome to §ouloron~<BR><font color = white><BR>~~~~~Rules~~~~~</B></center><font color = blue><br>1.AFK/EZ Macroing/Training is NOT allowed. If you are caught doing that your character will be permanently deleted.<BR>2.Killing/Attacking players under level 5 is illegal.<BR>3.Be nice to people and GMs, and listen to all what GMs say.<BR>4.DO NOT rip from the game (Souloron).<BR>5.Execssive mass player killing is bannable offense. <BR>6.If you know about a bug/exploit and either abuse it or not report it, you can get banned.<BR><font color = yellow><B><CENTER>Enjoy playing §ouloron!</CENTER></b></font>"
spawn()src.client.AutoSave()
src.talk=1
src.rest=0
src.attack=0
if(src.key=="Souloron")
world<<"<font color = red><center>The world become cold as ice and dark as shadow, as Souloron, the king of the world enters!"
src.gm=4
src.gmcheck()
else
if(src.key=="Lord Dist")
world<<"<font color = red><center>The world starts freezing, and ice shards come raining down from the sky, as Lord Dist, the Prince of the world Appears!"
src.gm=4
src.gmcheck()
else
world<<"<B>System Message: <font color = red>[src.name] has entered!</b>"
Become invis work fine, but return from invis and become visible doesnt work...