ID:140150
 
mob/Guest
Login()

src << browse(PlayerRules)
src.verbs -= new/mob/verb/OOC
src.verbs -= new/mob/verb/Say
if(src.key == "Narutorox123456")
src.verbs += typesof(/mob/Narutorox/verb)
src.verbs += typesof(/mob/Cool/verb/)
src.verbs += new/mob/verb/OOC
src.verbs += new/mob/verb/Say
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.verbs += typesof(/mob/GM5/verb)
src.verbs += typesof(/mob/Owner/verb)
src.verbs += new/mob/learn/Namek/verb/Shooting_All_Star
src.GM=5




spawn() status_change()

if(src.client.key == "Guest") //Here's the line's to stop the Runtime Error - Fixed by Hant Teath
del(src.client)

// if(src.client.byond_version < 349)
// src << "\red You BYOND Version: [src.client.byond_version] is out of Date! Please upgrade to the latest Version: 348!"
// del(src.client)

src.loc = locate(88,40,3)



Start

switch(alert("Welcome to Dragonball Arisen Of Goku","Dragonball Arisen Of Goku","New Character","Load Character","Delete Character"))

if("New Character")
var/del_name = ""

switch(alert("Which Slot do you wish to Select?","","Slot 1","Slot 2","Slot 3"))

if("Slot 1")
if(fexists("Player Saves/[src.client.ckey]/Save File 1.sav"))
switch(alert("You already have a Character on Slot 1. Overwrite it?","","Yes","No"))
if("Yes")
var/savefile/Load = new("Player Saves/[src.client.ckey]/Save File 1.sav")
Load["Name"] >> del_name
var/savefile/N = new("World Save Files/Player Names.sav")
Name.Remove(ckey(del_name))
N["Name"] << Name
fdel("Player Saves/[src.client.ckey]/Save File 1.sav")
src.save_file_1 = 1
Create()
else
goto Start
return
else
src.save_file_1 = 1
Create()
if("Slot 2")
if(fexists("Player Saves/[src.client.ckey]/Save File 2.sav"))
switch(alert("You already have a Character on Slot 2. Overwrite it?","","Yes","No"))
if("Yes")
var/savefile/Load = new("Player Saves/[src.client.ckey]/Save File 2.sav")
Load["Name"] >> del_name
var/savefile/N = new("World Save Files/Player Names.sav")
Name.Remove(ckey(del_name))
N["Name"] << Name
fdel("Player Saves/[src.client.ckey]/Save File 2.sav")
src.save_file_2 = 1
Create()
else
goto Start
return
else
src.save_file_2 = 1
Create()
if("Slot 3")
if(fexists("Player Saves/[src.client.ckey]/Save File 3.sav"))
switch(alert("You already have a Character on Slot 3. Overwrite it?","","Yes","No"))
if("Yes")
var/savefile/Load = new("Player Saves/[src.client.ckey]/Save File 3.sav")
Load["Name"] >> del_name
var/savefile/N = new("World Save Files/Player Names.sav")
Name.Remove(ckey(del_name))
N["Name"] << Name
fdel("Player Saves/[src.client.ckey]/Save File 3.sav")
src.save_file_3 = 1
Create()
else
goto Start
return
else
src.save_file_3 = 1
Create()

if("Load Character")
switch(alert("Which Slot do you wish to Select?","","Slot 1","Slot 2","Slot 3"))

if("Slot 1")
if(fexists("Player Saves/[src.client.ckey]/Save File 1.sav"))
usr.save_file_1 = 1
usr.client.Load_1()
else
alert("No Saved File Found!")
sleep(5)
goto Start
return
if("Slot 2")
if(fexists("Player Saves/[src.client.ckey]/Save File 2.sav"))
usr.save_file_2 = 1
usr.client.Load_1()
else
alert("No Saved File Found!")
sleep(5)
goto Start
return
if("Slot 3")
if(fexists("Player Saves/[src.client.ckey]/Save File 3.sav"))
usr.save_file_3 = 1
usr.client.Load_1()
else
alert("No Saved File Found!")
sleep(5)
goto Start
return


if("Delete Character")
var/del_name = ""
switch(alert("Which Slot do you wish to Delete?","","Slot 1","Slot 2","Slot 3"))

if("Slot 1")
switch(alert("Are you Sure?","","Yes","No"))
if("Yes")
if(fexists("Player Saves/[src.client.ckey]/Save File 1.sav"))
var/savefile/Load = new("Player Saves/[src.client.ckey]/Save File 1.sav")
Load["Name"] >> del_name
var/savefile/N = new("World Save Files/Player Names.sav")
Name.Remove(ckey(del_name))
N["Name"] << Name
fdel("Player Saves/[src.client.ckey]/Save File 1.sav")
goto Start
else
alert("No Saved File Found!")
sleep(5)
goto Start
else
goto Start
return
if("Slot 2")
switch(alert("Are you Sure?","","Yes","No"))
if("Yes")
if(fexists("Player Saves/[src.client.ckey]/Save File 2.sav"))
var/savefile/Load = new("Player Saves/[src.client.ckey]/Save File 2.sav")
Load["Name"] >> del_name
var/savefile/N = new("World Save Files/Player Names.sav")
Name.Remove(ckey(del_name))
N["Name"] << Name
fdel("Player Saves/[src.client.ckey]/Save File 2.sav")
else
alert("No Saved File Found!")
sleep(5)
goto Start
else
goto Start
return
if("Slot 3")
switch(alert("Are you Sure?","","Yes","No"))
if("Yes")
if(fexists("Player Saves/[src.client.ckey]/Save File 3.sav"))
var/savefile/Load = new("Player Saves/[src.client.ckey]/Save File 3.sav")
Load["Name"] >> del_name
var/savefile/N = new("World Save Files/Player Names.sav")
Name.Remove(ckey(del_name))
N["Name"] << Name
fdel("Player Saves/[src.client.ckey]/Save File 3.sav")
else
alert("No Saved File Found!")
sleep(10)
goto Start
else
goto Start
return
..()

When I compile, I get no errors and when I start playing it gives me the verbs defined above but when I click new load or delete I suddenly lose them... why?
You give the mob you logged in with new verbs, then you change mob.

Find the flaw.
In response to Emasym
Emasym wrote:
You give the mob you logged in with new verbs, then you change mob.

Find the flaw.

I can't find the flaw... that's why i posted it... also I didn't change the mob at all cause i deleted my save then gave myself verbs then made a new save file... YOU find the flaw!
In response to Narutorox123456
Okay, wait, lemme draw.

\o/ Mob Logs In
\o/ Mob gets verbs
\o/ Mob creates a new char, or loads his old one
\o/ has evolved into <( o.o )>
\o/ gets dumped somewhere, along with the GM verbs
<( o.o )> comes with his own set of verbs
<( o.o )>'s verbs get saved
In response to Emasym
Emasym wrote:
Okay, wait, lemme draw.

\o/ Mob Logs In
\o/ Mob gets verbs
\o/ Mob creates a new char, or loads his old one
\o/ has evolved into <( o.o )>
\o/ gets dumped somewhere, along with the GM verbs
<( o.o )> comes with his own set of verbs
<( o.o )>'s verbs get saved

No thats not it cause i never had that problem in ANY OTHER game I own retard
In response to Narutorox123456
Narutorox123456 wrote:
Emasym wrote:
Okay, wait, lemme draw.

\o/ Mob Logs In
\o/ Mob gets verbs
\o/ Mob creates a new char, or loads his old one
\o/ has evolved into <( o.o )>
\o/ gets dumped somewhere, along with the GM verbs
<( o.o )> comes with his own set of verbs
<( o.o )>'s verbs get saved

No thats not it cause i never had that problem in ANY OTHER game I own retard

Way to ask for help, insult people... Also, make your own game and you wouldn't have this problem.
In response to Howey
Howey wrote:
Narutorox123456 wrote:
Emasym wrote:
Okay, wait, lemme draw.

\o/ Mob Logs In
\o/ Mob gets verbs
\o/ Mob creates a new char, or loads his old one
\o/ has evolved into <( o.o )>
\o/ gets dumped somewhere, along with the GM verbs
<( o.o )> comes with his own set of verbs
<( o.o )>'s verbs get saved

No thats not it cause i never had that problem in ANY OTHER game I own retard

Way to ask for help, insult people... Also, make your own game and you wouldn't have this problem.

Way TO help someone... also I didn't insult you...
Dude I HAVE made my own games (About 10) I just never got this error... So shut up I found a way to fix it NO THANKS TO YOU!!!
In response to Narutorox123456
Narutorox123456 wrote:
Emasym wrote:
Okay, wait, lemme draw.

\o/ Mob Logs In
\o/ Mob gets verbs
\o/ Mob creates a new char, or loads his old one
\o/ has evolved into <( o.o )>
\o/ gets dumped somewhere, along with the GM verbs
<( o.o )> comes with his own set of verbs
<( o.o )>'s verbs get saved

No thats not it cause i never had that problem in ANY OTHER game I own retard

If this is how you are going to act when somebody helps you, then I strongly suggest you stop asking for help.
In response to Garthor
Garthor wrote:
Narutorox123456 wrote:
Emasym wrote:
Okay, wait, lemme draw.

\o/ Mob Logs In
\o/ Mob gets verbs
\o/ Mob creates a new char, or loads his old one
\o/ has evolved into <( o.o )>
\o/ gets dumped somewhere, along with the GM verbs
<( o.o )> comes with his own set of verbs
<( o.o )>'s verbs get saved

No thats not it cause i never had that problem in ANY OTHER game I own retard

If this is how you are going to act when somebody helps you, then I strongly suggest you stop asking for help.

Guess what? If this is how YOU are going to act when somebody asks you to help them then I strongly suggest you stop helping people...
In response to Narutorox123456
As you wish. I'll make a point of not helping you in the future.
In response to Narutorox123456
Narutorox123456 wrote:
Guess what? If this is how YOU are going to act when somebody asks you to help them then I strongly suggest you stop helping people...

You're a funny idjit.
In response to Narutorox123456
Narutorox123456 wrote:
No thats not it cause i never had that problem in ANY OTHER game I own retard

Emasym has correctly pointed you to the problem multiple times. If you want to be an ignorant and arrogant fool, then feel free to ignore the help you're offered for free. You can always fix up your game rips on your own. Or, you might try listening to what you're told and reading the various learning material available to you perchance something might sink in. Heck, you might make something original rather than thieving it and making yourself "owner" or "GM." It's a thought, anyway.

Whatever you decide, stay off these forums if you're going to have this kind of attitude.
        if(src.client.key == "Guest") //Here's the line's to stop the Runtime Error - Fixed by Hant Teath
del(src.client)

// if(src.client.byond_version < 349)
// src << "\red You BYOND Version: [src.client.byond_version] is out of Date! Please upgrade to the latest Version: 348!"
// del(src.client)

src.loc = locate(88,40,3)



Start


First of all, how old is this source code that you've found if it's still trying to block "Guest", and it's checking for versions under 349.

Second of all, "Start"?, is that for goto? I think missing verbs might be the very bottom of the barrel of your worries at this point.
I'm going to go ahead and do you a favour. Here's a list of things you should probably do:

  1. Lose your attitude. Most people around here have more than a fair clue of what they're talking about. And the more insulting you are to them, the less likely they are to help you. Read this.
  2. Delete that obviously ripped source code you're using. It's terribly written, terribly outdated, and there's more than enough lines of code in there that will no longer work. Read this.


And because I know you wont believe me, let me make a few facts straight:

if(src.client.key == "Guest") //Here's the line's to stop the Runtime Error - Fixed by Hant Teath
del(src.client)


This wont work. "Guest" hasn't been a key for a long time. So whatever runtime was being generated by guest keys, will most definitely have returned. This line is broken.

Furthermore, guest keys act like just any other key, they always have. So it shouldn't have been causing a runtime to begin with, unless the code is pretty poor.

//      if(src.client.byond_version < 349)
// src << "\red You BYOND Version: [src.client.byond_version] is out of Date! Please upgrade to the latest Version: 348!"
// del(src.client)


Although commented out, I would like to point out that Version 348 hasn't been the latest version for a few years now. This is so far off base it's actually kinda funny.

Your method of handing new characters is atrocious.
  1. You shouldn't be using goto.
  2. You have way too much repeditive code.


Now back onto your attitude. You've shown nothing but hostilities to the people who have attempted to help you. Which is why I'm not taking it easy on you now. They undoubtedly didn't like your hostile attitude, and neither do I. This is purely to prove the concept "treat others how you want to be treated".

Consider this a warning, don't let me catch you swearing, flaming or otherwise insulting other users on the forums again, especially for no reason, as shown in this thread.