problem with coding

08/03/2009 03:55 CoAttack#1
when my moms die then respawn they are invisible... probably a mistake in coding >< any ideas? lotf
08/03/2009 03:58 raidenx123#2
Hmm well unless your moms can reincarnate they are probably ghosts thats why u cant see em. If they could reincarnate then you would see them again :/
08/03/2009 04:00 CoAttack#3
well duh.
08/03/2009 04:01 raidenx123#4
Then why the **** did u ask the question =.=
08/03/2009 04:03 CoAttack#5
blocking out swear words doesnt do shit, a post before someone flamed a person with swear words blocked out like this **** and he still got an infraction. so i see no reason to block it out , atleast get some balls and post a fucking swear word. :O was that a flame? the question is how to fix it not what is the problem
08/03/2009 04:49 damianpesta#6
Never faced that problem but check the Singlemob class and Respawn void I am 100% sure you've made a mistake there.
08/03/2009 04:56 CoAttack#7

well here take a look =]]

Code:
        public SingleMob(short x, short y, short map, uint maxhp, uint curhp, short minatk, short maxatk, uint uid, string name, int mech, short lvl, byte pos, byte Type)
        {
            PosX = x;
            PosY = y;
            Map = map;
            MaxHP = maxhp;
            CurHP = curhp;
            MinAtk = minatk;
            MaxAtk = maxatk;
            UID = uid;
            Name = name;
            Mech = mech;
            Level = lvl;
            Pos = pos;
            XStart = PosX;
            YStart = PosY;
            Alive = true;
            if (Type == 2)
                BossMob = true;
            MType = Type;


            PrevX = PosX;
            PrevY = PosY;

            MyTimer.Interval = 500;
            MyTimer.Elapsed += new ElapsedEventHandler(TimerElapsed);
            MyTimer.Start();
        }
and

Code:
        public void ReSpawn()
        {
            CurHP = MaxHP;
            Alive = true;
            PosX = XStart;
            PosY = YStart;
            PrevX = PosX;
            PrevY = PosY;
            Universe.MobReSpawn(this);
            Revive = false;
        }
08/03/2009 05:10 raidenx123#8
Im not really a coder so dont flame =x but is the Revive supposed to be false :/

And i used **** cause im between not caring and pissed =] if i was pissed i'd say fucking,shitty,etc,etc
08/03/2009 05:14 CoAttack#9
i dont even see revive
08/03/2009 05:20 raidenx123#10
public void ReSpawn()
{
CurHP = MaxHP;
Alive = true;
PosX = XStart;
PosY = YStart;
PrevX = PosX;
PrevY = PosY;
Universe.MobReSpawn(this);
Revive = false;
}
08/03/2009 05:21 CoAttack#11
just saw it after i posted thanks it works lol cant belive i missed it :D
08/03/2009 05:25 raidenx123#12
woohoo and im not even a coder =]
08/03/2009 16:48 damianpesta#13
Wtf is namespace Universe? Shouldnt it be
Code:
World.MobReSpawn(this);
08/03/2009 16:59 CoAttack#14
I dont have world
08/03/2009 18:24 n0mansland#15
What kind of source are you using XD? I haven't seen one without World