|
You last visited: Today at 14:18
Advertisement
Monster Spawn impluse Source
Discussion on Monster Spawn impluse Source within the CO2 Private Server forum part of the Conquer Online 2 category.
05/12/2010, 22:41
|
#1
|
elite*gold: 0
Join Date: May 2010
Posts: 248
Received Thanks: 36
|
Monster Spawn impluse Source
can someone explain to me how to create Monsters spawn cuze thier r no monsters
if you really wanted to help just give a pic or add me at yahoo to explain that with team viewer
hoppe someone will do
|
|
|
05/12/2010, 23:48
|
#2
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
Is spawns already coded in?
|
|
|
05/12/2010, 23:54
|
#3
|
elite*gold: 0
Join Date: May 2010
Posts: 248
Received Thanks: 36
|
Quote:
Originally Posted by .Arco
Is spawns already coded in?
|
no idea i think nah
|
|
|
05/13/2010, 00:01
|
#4
|
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
|
No they are not.
All you gotta do is use Entity class and not some Monster/Mob class like
Example:
Add this void in Client->GameState.cs
Code:
public void TestAMonsterSpawn(){
Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster);
entity.MapObjType = Game.MapObjectType.Monster;
entity.Name = "DuhItsATest;
entity.X = Entity.X;
entity.Y = Entity.Y;
entity.MapID = Entity.MapID;
entity.Body = 251;
entity.Hitpoints = 1;
entity.Level = 1;
entity.UID = 400001;
entity.SendSpawn(this);
}
CheckCommand(,)(Packet handler), add this command
case "test11":{
client.TestAMonsterSpawn();
break;}
|
|
|
05/13/2010, 00:10
|
#5
|
elite*gold: 0
Join Date: May 2010
Posts: 248
Received Thanks: 36
|
Umm what about using team viewer as example please?
|
|
|
05/13/2010, 06:11
|
#6
|
elite*gold: 0
Join Date: Apr 2010
Posts: 116
Received Thanks: 12
|
Quote:
Originally Posted by -impulse-
No they are not.
All you gotta do is use Entity class and not some Monster/Mob class like
Example:
Add this void in Client->GameState.cs
Code:
public void TestAMonsterSpawn(){
Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster);
entity.MapObjType = Game.MapObjectType.Monster;
entity.Name = "DuhItsATest;
entity.X = Entity.X;
entity.Y = Entity.Y;
entity.MapID = Entity.MapID;
entity.Body = 251;
entity.Hitpoints = 1;
entity.Level = 1;
entity.UID = 400001;
entity.SendSpawn(this);
}
CheckCommand(,)(Packet handler), add this command
case "test11":{
client.TestAMonsterSpawn();
break;}
|
Thanks it worked
|
|
|
05/13/2010, 17:16
|
#7
|
elite*gold: 0
Join Date: May 2010
Posts: 298
Received Thanks: 57
|
EASY to do just make a new .ini file called MobSpawn.ini and MobInfo.ini yes the ini reader to read from data and I have no idea at the moment how to make them spawn when you login prolly Database.LoadMobs(): Database.LoadMobSpawns():
|
|
|
05/13/2010, 17:30
|
#8
|
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
|
Quote:
Originally Posted by MonstersAbroad
EASY to do just make a new .ini file called MobSpawn.ini and MobInfo.ini yes the ini reader to read from data and I have no idea at the moment how to make them spawn when you login prolly Database.LoadMobs(): Database.LoadMobSpawns():
|
Thou cannot teach what they don't know.
|
|
|
05/13/2010, 17:55
|
#9
|
elite*gold: 0
Join Date: May 2010
Posts: 298
Received Thanks: 57
|
Ok then....let me put it this way, make a new .cs in database and make it load the X, Y, Name, Mesh, Level, HP, from a mysql table called whatever ex: mobs and then add in program.cs under Database.Load(); add Monsters.Load():xD
|
|
|
05/13/2010, 18:14
|
#10
|
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
|
Quote:
Originally Posted by MonstersAbroad
Ok then....let me put it this way, make a new .cs in database and make it load the X, Y, Name, Mesh, Level, HP, from a mysql table called whatever ex: mobs and then add in program.cs under Database.Load(); add Monsters.Load():xD
|
1. Create a new dump or use a existing one.
2. Make a load function for both monsterinfo and spawn
3. Store the info in dictionaries by using particular classes for mob entities.
4. Create or use a mobspawner.
5. Change the spawn screen function or however it's called in the source so that it spawn the mob entities within distance 15 to the player.
Now ofcourse, this is just a tip on how-to do it.
|
|
|
 |
Similar Threads
|
Monster Spawn Database
08/30/2011 - Flyff Private Server - 20 Replies
Hier bekommt ihr meine Spawn DB, die alle Monster bis lv 119 beinhalten
http://rapidshare.com/files/146599492/spawns.rar. html
|
[V14] Monster Spawn erhöhen
08/15/2010 - Flyff Private Server - 2 Replies
Hallo liebe Player :)
Ich hab mir jetzt so nen kleinen Flyff Privat Server v14 offi files gemacht und will meinen Playern einen erhöhten Monster-Spawn bieten...
Da gibs ein kleeeeines Problemschen.... Ich habe seit 2 Wochen Google und auch schon In.gamers durchgesucht,nix gefunden und habe keine Ahnung wie ich das anstellen soll... Ich hab gehört man muss i-was in der DB ändern aber ich kenn mich da nicht aus... (Sql Management Studio 2008; DB von Serus)
Hoffe es kann mir hier einer helfen...
|
[QUESTION] Monster Spawn
02/22/2010 - EO PServer Hosting - 8 Replies
Hi, title says it 95%
I'll like to spawn a monster true the cq_action
Only i have NO idea what type, data and param i need to use 0.0
Can someone help me? :bandit: Thanks.
Example; Buy a bag, Right click on it and get an Wyner boss near you.
|
csv monster spawn
01/06/2010 - Dekaron - 2 Replies
Never mind lol problem solved :D
|
Monster Spawn Rate
12/05/2008 - Dekaron - 36 Replies
I have succesfully been able to adjust the AI as most for the mobs to not attack, then I traced the Monster follow distance, agro Number, avoid rates, etc. Now I can pull just about every monster on the map and have them nicely pile on top of each other for a few quick aoe attacks and watch the XP flow in. The problem is I then have to wait for new mobs to spawn. Has anyone had any success in increasing the Monster Spawn rate?
I noticed at one point that there is a limit of 200 monsters per...
|
All times are GMT +1. The time now is 14:18.
|
|