Register for your free account! | Forgot your password?

You last visited: Today at 20:41

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

Advertisement



[Help]SummonMonaster

Discussion on [Help]SummonMonaster within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
thesamuraivega's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 125
Received Thanks: 21
[Help]SummonMonaster

help pliz i no know how summon a monster :S

case "summondragon":
{
int locx = 0;
int locy = 0;
locx = client.Entity.PX;
locy = client.Entity.PY;
Conquer_Online_Server.Game.Map.LoadMonsters Mon = new Conquer_Online_Server.Game.Map.LoadMonsters();
Mon.BoundX = locx;
Mon.BoundY = locy;
Mon.Level = 15;
Mon.MobHP = 60000;
Mon.UID = 500;
Mon.Name = "TeratoDragon";
Mon.Mesh = 950;
Mon.Instance = 0;
break;
}
Pliz Help! :S
Ty
thesamuraivega is offline  
Old 06/22/2011, 10:45   #2
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
x and y = 0.

That means it has no location at all.
BaussHacker is offline  
Thanks
1 User
Old 06/22/2011, 10:51   #3
 
thesamuraivega's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 125
Received Thanks: 21
Quote:
Originally Posted by BaussHacker View Post
x and y = 0.

That means it has no location at all.
and what is the sructure? i have fine my structure? hmm

i have problem same here:
Conquer_Online_Server.Game.Map.LoadMonsters Mon = new Conquer_Online_Server.Game.Map.LoadMonsters();
thesamuraivega is offline  
Old 06/22/2011, 10:54   #4
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Quote:
Originally Posted by BaussHacker View Post
x and y = 0.

That means it has no location at all.
Actually if you read a bit more you'd see that x,y take the value of the one calling the command. (#fail)

Anyway BoundX / BoundY is not Location. You have to initializate and set the location on your own. + you have to add the newly created mob into the mob collection with an unique uid. then spawn it to others.
-impulse- is offline  
Thanks
1 User
Old 06/22/2011, 11:01   #5
 
thesamuraivega's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 125
Received Thanks: 21
Quote:
Originally Posted by -impulse- View Post
Actually if you read a bit more you'd see that x,y take the value of the one calling the command. (#fail)

Anyway BoundX / BoundY is not Location. You have to initializate and set the location on your own. + you have to add the newly created mob into the mob collection with an unique uid. then spawn it to others.
Actually I just want to summon a monsterspawn for Demon Box quest xD no is for muth monsterspawns xD xD

case "summondragon":
{
Conquer_Online_Server.Game.Map.LoadMonsters Mon = new Conquer_Online_Server.Game.Map.LoadMonsters();
Mon.BoundX = client.Entity.X;
Mon.BoundY = client.Entity.y;
Mon.Level = 15;
Mon.MobHP = 60000;
Mon.UID = 500;
Mon.Name = "TeratoDragon";
Mon.MaxNpc = 1;
Mon.Mesh = 950;
Mon.Instance = 0;
break;
}
:S ? xD
thesamuraivega is offline  
Old 06/22/2011, 11:32   #6
 
elite*gold: 0
Join Date: May 2011
Posts: 648
Received Thanks: 413
now add the monster to the Dictionary and it will spawn.
Y u k i is offline  
Thanks
1 User
Old 06/22/2011, 20:40   #7
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by -impulse- View Post
Actually if you read a bit more you'd see that x,y take the value of the one calling the command. (#fail)

Anyway BoundX / BoundY is not Location. You have to initializate and set the location on your own. + you have to add the newly created mob into the mob collection with an unique uid. then spawn it to others.
Well out of this code it would not change at all. I don't use any sources at all nor do I play Conquer. I just assumed it was the spawns, so.
BaussHacker is offline  
Reply




All times are GMT +1. The time now is 20:42.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.