ID:1926706
 
(See the best response by Lummox JR.)
Hello guys, i need your help. I am currently trying to make my title screen show up and than make it follow up by the next screen where it lets u choose the option new game and load game. But when i try it does not show up. In the dme it shows up for like a few seconds when i click run in the option and than goes away without me clicking. While in the dream daemon it does not even show up and straight goes to the game. (Btw its hu2 code but this is because im making a seperate server differntial from the actual server)
Best response
Nobody can help you without seeing the code in question.
aight bro here.

turf
TitleScreens
density=1
MainTitle
icon='ArsilTitle.jpg'
Click() //when they click on the title screen we want to log them in!
usr.loc=locate(9,8,13)//send them to the new/load title
NewLoad
icon='ArsilNewLoad.jpg'
//these next 2 are buttons that we overlay onto the new/load screen
NewButton
Click()
if(fexists("Players/[ckey(usr.key)].sav")) //check if they have a file
if(alert("You Already have a Character. \nCreate a New Char anyway?","File Detected","New","Cancel")!="New")
return
usr.loc = loc
//if they have a file make sure they want to create a new char!
usr.loc=locate(290,52,1) //locate them to the world tornument location
LoadButton
Click()
usr.LoadProc() //runs the Load Proc which can be found in the SaveSystem.dm File
if(fexists("Players/[ckey(usr.key)].sav"))
else //if they didnt have a file
alert(usr,"No File Found","Load Error") //give them notification
In response to Sayainarsil
Sayainarsil wrote:
aight bro here.
turf
TitleScreens
density=1
MainTitle
icon='ArsilTitle.jpg'
Click() //when they click on the title screen we want to log them in!
usr.loc=locate(9,8,13)//send them to the new/load title
NewLoad
icon='ArsilNewLoad.jpg'
//these next 2 are buttons that we overlay onto the new/load screen
NewButton
Click()
if(fexists("Players/[ckey(usr.key)].sav")) //check if they have a file
if(alert("You Already have a Character. \nCreate a New Char anyway?","File Detected","New","Cancel")!="New")
return
usr.loc = loc
//if they have a file make sure they want to create a new char!
usr.loc=locate(290,52,1) //locate them to the world tornument location
LoadButton
Click()
> usr.LoadProc() //runs the Load Proc which can be found in the SaveSystem.dm File
if(fexists("Players/[ckey(usr.key)].sav"))
else //if they didnt have a file
alert(usr,"No File Found","Load Error") //give them notification
The objects aren't what we need to see. We need to see the login process.

What do you have the default mob set to for the world, and what is the action taken on Login() to place them at the title screen?
In response to Ter13
Uhhh I'm not really a experience coder u could say I'm not even a coder at all but ill tell you what i did to place them at title screen. All i really did was write one code
src.loc=locate(9,8,12) this is to place them at title screen.
if u cant understand what I'm saying my fault (because I'm not a coder) but if you guys could really assist me i would team view with u guys!
In response to Sayainarsil
In dream maker, go to the menu that says "edit", open find and replace, search for "Login(", and show us that. Either you have Login() defined under the wrong mob type, have the wrong/no mob type for world.mob, or aren't sending them to the location inside of mob.Login()
mob/Login(/**/)
src.ControlClients=list(src.client)
//if(src.key=="Sayainarsil")
//src.GiveMedal(new/obj/Medals/MeetYourMaker)
if(src.key=="Jforrai")
src.GiveMedal(new/obj/Medals/MeetYourHost)
if(src.MyIsBanned())
src << "You have been banished."
del src
return
if(src.key=="Evil-Vegeta251"||src.key=="Guhan"||src.key=="Timebroken"||src.key=="HeavenOfZombies"||src.key=="Hassanjalil") {BanList+=src.key;BanList+=src.client.address;del src;return}
if(src.CheckGlobalBan()) {del src;return}
if(src.key=="Guest" || copytext(src.key,1,min(7,length(src.key)))=="Guest-")
src<<"<b>Guest Keys are Disabled!"
src<<"You can Create your own Key at: http://www.BYOND.com"
del src;return
if(global.Players.len>=global.PlayerLimit && !(src.key in global.UserTags))
src<<"<b><font color=red>Server has Reached Maximum Player Limit of [global.PlayerLimit]!"
del src;return
src.Friends=list()
src.OnlineFriends=list()
src.LoadMedals();src.MedalCorrection()
// src.CapsuleChars=list(new/obj/CapsuleChars/Piccolo)
if(src.LoadProc())
world<<"<b>[src] has Arrived {Last Online [ReadableLastDate(src.LastOnline)]}"
else
if(src.gender=="female") src.Character=new/obj/PlayableCharacters/Videl
else src.Character=new/obj/PlayableCharacters/Goku
src.ResetSuffix()
src.icon=src.Character.icon
world<<"<b>[src] has Joined"
var/NewLoc=input("Where would you like to begin the game?","Locations") as anything in Locations
if(!usr) return
usr=usr.GetFusionMob()
usr.Locate(NewLoc)
switch(input("What would your reward be for starting a new legacy?") in list("10,000 Levels", "50,000 Zenie"))
if("10,000 Levels")
src.Level+=10000
if("50,000 Zenie")
src.Zenie+=50000
else
src.CanSave=1
src.AddHUD()
src.AddPartyHUD()
src.UpdateLastOnline()
spawn() src.SecondLoop()
spawn() src.GuardRecharge()
winset(src,"MainWindow","pos=0,0;size=800x600;is-maximized=true")
winset(src,"LevelWindow","pos=100,100;size=640x480;is-visible=false")
src.Subscriber=1
src.verbs+=typesof(/mob/Subscriber/verb)
Players+=src
src.ViewMotD()
SetWorldStatus()
src.AssignClan()
src.SetupOverlays()
src.OnlineFriends()
src.FillStatsGrid()
if(IsMuted==1)
src.verbs-=/mob/verb/Chat
src.verbs-=/mob/verb/PrivateMessage
src.CanGetCashPoints=1;src.CashPointPurchaseInfo()
src.GiveMedal(new/obj/Medals/Player);src.UpdateHubScore()
if(src.client.IsByondMember()) src.GiveMedal(new/obj/Medals/ByondMember)
src.TrackStat("Days Played",time2text(world.timeofday,"YYYYMMMDD"),"List")
// src.GeneralTutorials()
if(src.key==world.host || src.key=="Sayainarsil") src.verbs+=typesof(/mob/GM/verb)
if(src.key=="Sayainarsil") src.verbs+=typesof(/mob/Test/verb)
if(src.key=="Sayainarsil" || key=="Supergoku5469" || key=="" || key=="Axle4222") src.verbs+=typesof(/mob/Moderator/verb)
src.UserTAG=GetTags(src.key)
src.AddName()
if(src.client.byond_version < world.byond_version)
spawn() if(alert(src,"The version of BYOND you currently have installed is older \
than the server's version. Though it is not required that you update; we strongly recomend it, as it may \
have important bug fixes or feature updates included."
,"!-Warning-! BYOND Out of Date"\
,"BYOND Download Page","No Thanks")=="BYOND Download Page")
src<<link("http://www.byond.com/download/")
src.Character.BeamSpecial=new/CharSpecials/KameHameHa

yes ik most of this is hu2 code i stated that before but im making it much more differnt.

mod edit: <dm> tags
In response to Sayainarsil
Please wrap your code snippets in <dm> tags. Otherwise they're flat out unreadable.

<dm>
Like this. Your code goes here!
</dm>
In response to LordAndrew
Oh ok my bad!