Register for your free account! | Forgot your password?

You last visited: Today at 09:10

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



problem with coding

Discussion on problem with coding within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2009
Posts: 354
Received Thanks: 105
problem with coding

when my moms die then respawn they are invisible... probably a mistake in coding >< any ideas? lotf
CoAttack is offline  
Old 08/03/2009, 03:58   #2
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
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 :/
raidenx123 is offline  
Old 08/03/2009, 04:00   #3
 
elite*gold: 0
Join Date: Apr 2009
Posts: 354
Received Thanks: 105
well duh.
CoAttack is offline  
Old 08/03/2009, 04:01   #4
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
Then why the **** did u ask the question =.=
raidenx123 is offline  
Old 08/03/2009, 04:03   #5
 
elite*gold: 0
Join Date: Apr 2009
Posts: 354
Received Thanks: 105
blocking out swear words doesnt do ****, 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 ***** and post a ******* swear word. :O was that a flame? the question is how to fix it not what is the problem
CoAttack is offline  
Old 08/03/2009, 04:49   #6
 
damianpesta's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
Never faced that problem but check the Singlemob class and Respawn void I am 100% sure you've made a mistake there.
damianpesta is offline  
Old 08/03/2009, 04:56   #7
 
elite*gold: 0
Join Date: Apr 2009
Posts: 354
Received Thanks: 105

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;
        }
CoAttack is offline  
Old 08/03/2009, 05:10   #8
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
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 ****** =] if i was ****** i'd say *******,******,etc,etc
raidenx123 is offline  
Old 08/03/2009, 05:14   #9
 
elite*gold: 0
Join Date: Apr 2009
Posts: 354
Received Thanks: 105
i dont even see revive
CoAttack is offline  
Old 08/03/2009, 05:20   #10
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
public void ReSpawn()
{
CurHP = MaxHP;
Alive = true;
PosX = XStart;
PosY = YStart;
PrevX = PosX;
PrevY = PosY;
Universe.MobReSpawn(this);
Revive = false;
}
raidenx123 is offline  
Old 08/03/2009, 05:21   #11
 
elite*gold: 0
Join Date: Apr 2009
Posts: 354
Received Thanks: 105
just saw it after i posted thanks it works lol cant belive i missed it
CoAttack is offline  
Old 08/03/2009, 05:25   #12
 
raidenx123's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
woohoo and im not even a coder =]
raidenx123 is offline  
Old 08/03/2009, 16:48   #13
 
damianpesta's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
Wtf is namespace Universe? Shouldnt it be
Code:
World.MobReSpawn(this);
damianpesta is offline  
Old 08/03/2009, 16:59   #14
 
elite*gold: 0
Join Date: Apr 2009
Posts: 354
Received Thanks: 105
I dont have world
CoAttack is offline  
Old 08/03/2009, 18:24   #15
 
n0mansland's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
What kind of source are you using XD? I haven't seen one without World
n0mansland is offline  
Reply


Similar Threads Similar Threads
Mob.cs coding problem(help)
06/23/2010 - CO2 Private Server - 6 Replies
hi, so i have co pserver 5165 i'm coding mob.cs, to make a monster droping an item so here is the script and tell me wha'ts wrong, because i made the Id of GoldDew else if (MyMath.ChanceSuccess(DropRates.CPBag)) { if (Char != null) if (Char.VipLevel >= 3) { if (Char.Inventory.Count <= 39)
Npcs Coding big problem
06/14/2010 - CO2 Private Server - 4 Replies
hi, i have conquer prserver version 5165 blabla bla so i'm trying to change some prices so this video will show you how i'm doing to change the price, and tell me what's wrong in, because when i enter in the game(efter changing the prices) i see nothing changed YouTube - SansTitre.flv
Problem in Coding, Help please
06/13/2010 - CO2 Private Server - 15 Replies
hello, i have a conquer private server version 5165 so i'm trying to code some npcs please watch the video to know what i want and how you can help me YouTube - SansTitre.flv
Coding-Problem
03/24/2010 - GW Bots - 31 Replies
hey^^ ich hab vor 2 tagen angefangen mit mit AutoIt zu beschäftigen.jezt wollt mich mal mein ersten GW-tool schreiben(programm,dass auf knopfdruck das ganze inventar durch-indentiviziert)und hab dann einfach mal ausprobiert^^(siehe unten) was noch zu sagen ist: -das inventar soll ganz oben rechts in der ecke sein -das indentivizierungs-werkzeug soll auf dem ersten inventar-slot liegen mein code sieht so aus: HotKeySet ("^q", "start")



All times are GMT +2. The time now is 09:10.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.