|
You last visited: Today at 09:10
Advertisement
problem with coding
Discussion on problem with coding within the CO2 Private Server forum part of the Conquer Online 2 category.
08/03/2009, 03:55
|
#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
|
|
|
08/03/2009, 03:58
|
#2
|
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 :/
|
|
|
08/03/2009, 04:00
|
#3
|
elite*gold: 0
Join Date: Apr 2009
Posts: 354
Received Thanks: 105
|
well duh.
|
|
|
08/03/2009, 04:01
|
#4
|
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
|
Then why the **** did u ask the question =.=
|
|
|
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
|
|
|
08/03/2009, 04:49
|
#6
|
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.
|
|
|
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;
}
|
|
|
08/03/2009, 05:10
|
#8
|
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
|
|
|
08/03/2009, 05:14
|
#9
|
elite*gold: 0
Join Date: Apr 2009
Posts: 354
Received Thanks: 105
|
i dont even see revive
|
|
|
08/03/2009, 05:20
|
#10
|
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;
}
|
|
|
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
|
|
|
08/03/2009, 05:25
|
#12
|
elite*gold: 0
Join Date: Sep 2007
Posts: 1,705
Received Thanks: 438
|
woohoo and im not even a coder =]
|
|
|
08/03/2009, 16:48
|
#13
|
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
|
Wtf is namespace Universe? Shouldnt it be
Code:
World.MobReSpawn(this);
|
|
|
08/03/2009, 16:59
|
#14
|
elite*gold: 0
Join Date: Apr 2009
Posts: 354
Received Thanks: 105
|
I dont have world
|
|
|
08/03/2009, 18:24
|
#15
|
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
|
|
|
|
|
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.
|
|