mob
SmileyGuy
icon = 'Guy.dmi'
icon_state = "Normal"
Login()
world<<"[usr] has joined the mystery!"
usr.Move(locate(1,1,1))
verb
say(msg as text)
view()<<"[usr] says,[msg]"
shout(msg as text)
world<<"[usr] shouts,[msg]"
phone(M as mob in world,msg as text)
M<<"[usr] phones you,[msg]"
usr<<"You phone [M],[msg]"
var
Gold = 200//Change the number to what you want for when they start out
Str = 5//i made this to show you when ou equip something yor Str will go up and vice versa when you unequip it
Hp = 100// This lets a character have 22 hit pionts when they log on
MaxHp = 100//This gives the character a max amount of hp
damage
Stat()
statpanel("Status")//This is the name of what the panel will be called
stat("Gold","[usr.Gold]")//This shows the gold of the char
stat("Hp","[src.Hp]/[src.MaxHp]")//This shows the characters hp and max hp
turf
HQ_Ground
icon = 'Turfs 1.dmi'
icon_state = "Tile1"
world
mob = /mob/SmileyGuy
obj
Commander
icon = 'Guy.dmi'
icon_state = "Normal"
verb
Talk()
set src in oview(1)
usr<<"[usr], strange things have been happening at Smiley Mansion. Better Check it out."
Gun
icon = 'Gun.dmi'
verb
Get()
set src in oview(0)
usr.contents+=new/obj/Gun
icon_state = "Equip"
Fire(mob/M as mob in oview(1))
var/damage = usr.Str//This means that when you hit the mob 5 hp will bee taken away
M<<"[usr] has shot you"//This tells the person you attacked that you attacked him
usr<<"You shot [M]"//This tell you who you attack
M.Hp-=damage
if(M.Hp<=0)
if(M.client)//is a player
usr.Gold+=M.Gold
M.Gold = 200
M.loc=locate(1,1,1)//Thi
M.Hp = M.MaxHp//This takes the thing you kiiled back to the begin
else
del(M)
loading Smile Mystery.dme
Main.dm:23:error:"Status":bad variable definition
Main.dm:24:error:usr.Gold:undefined var
Main.dm:24::warning: use of stat precedes its definition
Main.dm:25:stat :warning: definition is here
Main.dm:24:error:text "[]":bad variable definition
Main.dm:24:error:"Gold":bad variable definition
Main.dm:25:error:src.Hp:undefined var
Main.dm:25:error:src.MaxHp:undefined var
Main.dm:25:error:text "[]/[]":bad variable definition
Main.dm:25:error:"Hp":bad variable definition
Smile Mystery.dmb - 8 errors, 2 warnings (double-click on an error to jump to it)
OK! HELP!
ID:149703
Mar 4 2002, 4:46 pm
|
|
Mar 4 2002, 4:49 pm
|
|
Which lines are the errors on?
|
In response to Nadrew
|
|
loading Smile Mystery.dme
Main.dm:23:error:"Status":bad variable definition Main.dm:24:error:usr.Gold:undefined var Main.dm:24::warning: use of stat precedes its definition Main.dm:25:stat :warning: definition is here Main.dm:24:error:text "[]":bad variable definition Main.dm:24:error:"Gold":bad variable definition Main.dm:25:error:src.Hp:undefined var Main.dm:25:error:src.MaxHp:undefined var Main.dm:25:error:text "[]/[]":bad variable definition Main.dm:25:error:"Hp":bad variable definition Smile Mystery.dmb - 8 errors, 2 warnings (double-click on an error to jump to it) Man.dm:25: 25 means line 25!!! |
In response to Watabou
|
|
That's not what I meant. Which lines of the code are 25, etc..?
|
In response to Nadrew
|
|
mob
SmileyGuy icon = 'Guy.dmi' icon_state = "Normal" Login() world<<"[usr] has joined the mystery!" usr.Move(locate(1,1,1)) verb say(msg as text) view()<<"[usr] says,[msg]" shout(msg as text) world<<"[usr] shouts,[msg]" phone(M as mob in world,msg as text) M<<"[usr] phones you,[msg]" usr<<"You phone [M],[msg]" var Gold = 200//Change the number to what you want for when they start out Str = 5//i made this to show you when ou equip something yor Str will go up and vice versa when you unequip it Hp = 100// This lets a character have 22 hit pionts when they log on MaxHp = 100//This gives the character a max amount of hp damage Stat() statpanel("Status")//here stat("Gold","[usr.Gold]")//here stat("Hp","[src.Hp]/[src.MaxHp]")//here turf HQ_Ground icon = 'Turfs 1.dmi' icon_state = "Tile1" world mob = /mob/SmileyGuy obj Commander icon = 'Guy.dmi' icon_state = "Normal" verb Talk() set src in oview(1) usr<<"[usr], strange things have been happening at Smiley Mansion. Better Check it out." Gun icon = 'Gun.dmi' verb Get() set src in oview(0) usr.contents+=new/obj/Gun icon_state = "Equip" Fire(mob/M as mob in oview(1)) var/damage = usr.Str//This means that when you hit the mob 5 hp will bee taken away M<<"[usr] has shot you"//This tells the person you attacked that you attacked him usr<<"You shot [M]"//This tell you who you attack M.Hp-=damage if(M.Hp<=0) if(M.client)//is a player usr.Gold+=M.Gold M.Gold = 200 M.loc=locate(1,1,1)//Thi M.Hp = M.MaxHp//This takes the thing you kiiled back to the begin else del(M) |
READ THE COMMENTS!
mob SmileyGuy icon = 'Guy.dmi' icon_state = "Normal" Login() world<<"[usr] has joined the mystery!" usr.Move(locate(1,1,1)) verb say(msg as text) view()<<"[usr] says,[msg]" shout(msg as text) world<<"[usr] shouts,[msg]" phone(M as mob in world,msg as text) M<<"[usr] phones you,[msg]" usr<<"You phone [M],[msg]" var Gold = 200 Str = 5 Hp = 100 MaxHp = 100 damage Stat() statpanel("Status")//here stat("Gold","[usr.Gold]")//here stat("Hp","[src.Hp]/[src.MaxHp]")//here turf HQ_Ground icon = 'Turfs 1.dmi' icon_state = "Tile1" world mob = /mob/SmileyGuy obj Commander icon = 'Guy.dmi' icon_state = "Normal" verb Talk() set src in oview(1) usr<<"[usr], strange things have been happening at Smiley Mansion. Better Check it out." Gun icon = 'Gun.dmi' verb Get() set src in oview(0) usr.contents+=new/obj/Gun icon_state = "Equip" Fire(mob/M as mob in oview(1)) var/damage = usr.Str M<<"[usr] has shot you usr<<"You shot [M]"//This tell you who you attack M.Hp-=damage if(M.Hp<=0) if(M.client) usr.Gold+=M.Gold M.Gold = 200 M.loc=locate(1,1,1) M.Hp = M.MaxHp else del(M) |
In response to Watabou
|
|
I'm not going to help you now, you just bumped.
|
In response to Nadrew
|
|
??WHAT"D I DO?!
|
In response to Watabou
|
|
You replied to your own post just to get people to read it, which is commonly called "bumping". Most people on the forum frown on that.
|
In response to Nadrew
|
|
HOWD I BUMP!?
|
In response to Watabou
|
|
You replied to your own post.
|
In response to Nadrew
|
|
THAT WAS FOR YOU TO READ!!!!!!!!!!!!!!!!
|
In response to Watabou
|
|
I saw your comments, that doesn't mean you have to reply to your own post for me to read it again.
|
In response to Watabou
|
|
I saw your comments, that doesn't mean you have to reply to your own post for me to read it again.
|
In response to Nadrew
|
|
MY COMPUTER WOULDNT LEMME REPLY TO YOUR POST!
|
In response to Watabou
|
|
That doesn't mean you had to reply to yours! My not helping you has just been expanded to not help you until you grow up.
|
In response to Watabou
|
|
That doesn't mean you had to reply to yours! My not helping you has just been expanded to not help you until you grow up.
|
In response to Nadrew
|
|
I DIDNT EVEN WANNA DO THAT! I DIDNT WANNA DO THAT AT ALL! ALL I WANNA DO IS MAKE A GAME, I GET A BUG, SO I GO ON THE FORUM HOPING SOME NICE PERSON WILL HELP ME! AND WHAT DO I GET!? THIS!!!!!!
|
In response to Watabou
|
|
You're getting out of line. If you didn't want someone to get mad at you, you should have asked in a clear informative way and not started freaking out when someone asked you to be more informative.
|
In response to Watabou
|
|
[idiotic comment removed]
|