ID:142583
 
Code:
runtime error: Cannot read null.screen
proc name: New (/obj/hudMeters/health_01/New)
usr: Pipokinha (/mob)
src: the health 01 (/obj/hudMeters/health_01)
call stack:
the health 01 (/obj/hudMeters/health_01): New(null)
Pipokinha (/mob): Login()
runtime error: Cannot read null.screen
proc name: New (/obj/hudMeters/health_02/New)
usr: Pipokinha (/mob)
src: the health 02 (/obj/hudMeters/health_02)
call stack:
the health 02 (/obj/hudMeters/health_02): New(null)
Pipokinha (/mob): Login()
runtime error: Cannot read null.screen
proc name: New (/obj/hudMetersC/chakra_03/New)
usr: Pipokinha (/mob)
src: the chakra 03 (/obj/hudMetersC/chakra_03)
call stack:
the chakra 03 (/obj/hudMetersC/chakra_03): New(null)
Pipokinha (/mob): Login()
runtime error: Cannot read null.screen
proc name: New (/obj/hudMetersC/chakra_04/New)
usr: Pipokinha (/mob)
src: the chakra 04 (/obj/hudMetersC/chakra_04)
call stack:
the chakra 04 (/obj/hudMetersC/chakra_04): New(null)
Pipokinha (/mob): Login()
runtime error: Cannot read null.screen
proc name: New (/obj/hudMetersD/exp_05/New)
usr: Pipokinha (/mob)
src: the exp 05 (/obj/hudMetersD/exp_05)
call stack:
the exp 05 (/obj/hudMetersD/exp_05): New(null)
Pipokinha (/mob): Login()
runtime error: Cannot read null.screen
proc name: New (/obj/hudMetersD/exp_06/New)
usr: Pipokinha (/mob)
src: the exp 06 (/obj/hudMetersD/exp_06)
call stack:
the exp 06 (/obj/hudMetersD/exp_06): New(null)
Pipokinha (/mob): Login()</b>


Problem description:

Ihave this problem when i get in my game but i cant solve this problem can anyone tell me what its rong? tks

Your problem is... using ripped code.
In response to Flame Sage
Flame Sage wrote:
Your problem is... using ripped code.

Agreed.
In response to Miran94
its taken from a hub demo...and?
There's a null client in /obj/hudMeters/health_01/New() if you link to the demo in question and/or show your modifications we may be able to track it down. I usually send the client to New() when dealing with this kind of stuff, are you sending any arguments when you create it?
In response to Malakias
Demos are DEMONSTRATIONS. You are not meant to copy and paste code from them. Rather, you should read and understand them.
In response to Garthor
Garthor wrote:
Demos are DEMONSTRATIONS. You are not meant to copy and paste code from them. Rather, you should read and understand them.
as much as i agree with this, sometimes when i'm bored i just go around playing random demos. lol
In response to YMIHere
YMIHere wrote:
There's a null client in /obj/hudMeters/health_01/New() if you link to the demo in question and/or show your modifications we may be able to track it down. I usually send the client to New() when dealing with this kind of stuff, are you sending any arguments when you create it?


Tank you very much YMIHere.

It works... i create mob/New() and work perfect.