Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 20:09

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

Advertisement



HellmouthSource test SpawnMob question -_-!

Discussion on HellmouthSource test SpawnMob question -_-! within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2010
Posts: 90
Received Thanks: 17
HellmouthSource test SpawnMob question -_-!

sorry my bad english ....if you didn't know i said...look the picture!

when i addMonster in map ...
like this Code
PHP Code:
while (r.Read())
            {
                
Mob Mon = new Mob();
                
Mon.Amount r.ReadUInt16("Amount");
                
Mon.BaseMob Dictionary.BaseMobs[r.ReadUInt16("SpawnMob")];
                
Mon.r.ReadUInt16("X");
                
Mon.r.ReadUInt16("Y");
                
Mon.Spread r.ReadUInt16("Spread");
                
Mon.Map r.ReadUInt16("Map");
                
Mon.MobLevel =Mon.BaseMob.Level;
                
Mon.MobHP Mon.BaseMob.MaxHp;
                
Mon.UID =(uint)Program.Rand.Next(1,int.MaxValue);
                
Mon.Name Mon.BaseMob.Name;
                
Mon.Mesh Mon.BaseMob.Mesh;
                
//Mon.Instance = r.ReadUInt16("Instance");
                
Count++;
                if (!
Dictionary.Maps.ContainsKey(Mon.Map))
                    
Dictionary.Maps.ThreadSafeAdd(Mon.Map, new Map(0));
                for (
int i 0Mon.Amount;i++ )
                {
                    
Dictionary.Maps[Mon.Map].AddMonster(MonHandler.SetCoord(Mon.XMon.Y));
                }
            } 
it's work ... but have some question
the monster didn't show the red hp line...
... that is Screenshoot


and when i use the chat Command to test SpawnMob ...
it's work fully ... still show red hp line...


I do not want to help .. because many people do not want to talk about this topic
But the test is not the result ... so if you know how to operate
Please help me.. I will wish you health and happiness
262315610 is offline  
Old 03/14/2011, 16:09   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by 262315610 View Post
sorry my bad english ....if you didn't know i said...look the picture!

when i addMonster in map ...
like this Code
PHP Code:
while (r.Read())
            {
                
Mob Mon = new Mob();
                
Mon.Amount r.ReadUInt16("Amount");
                
Mon.BaseMob Dictionary.BaseMobs[r.ReadUInt16("SpawnMob")];
                
Mon.r.ReadUInt16("X");
                
Mon.r.ReadUInt16("Y");
                
Mon.Spread r.ReadUInt16("Spread");
                
Mon.Map r.ReadUInt16("Map");
                
Mon.MobLevel =Mon.BaseMob.Level;
                
Mon.MobHP Mon.BaseMob.MaxHp;
                
Mon.UID =(uint)Program.Rand.Next(1,int.MaxValue);
                
Mon.Name Mon.BaseMob.Name;
                
Mon.Mesh Mon.BaseMob.Mesh;
                
//Mon.Instance = r.ReadUInt16("Instance");
                
Count++;
                if (!
Dictionary.Maps.ContainsKey(Mon.Map))
                    
Dictionary.Maps.ThreadSafeAdd(Mon.Map, new Map(0));
                for (
int i 0Mon.Amount;i++ )
                {
                    
Dictionary.Maps[Mon.Map].AddMonster(MonHandler.SetCoord(Mon.XMon.Y));
                }
            } 
it's work ... but have some question
the monster didn't show the red hp line...
... that is Screenshoot


and when i use the chat Command to test SpawnMob ...
it's work fully ... still show red hp line...


I do not want to help .. because many people do not want to talk about this topic
But the test is not the result ... so if you know how to operate
Please help me.. I will wish you health and happiness
Well personally I'd recommend using the spawn class already added and just correct the 1-2 mistakes. That way monsters coords are setup properly including dmap checks and stuff but that's beside the point.

Guards are showing hp just fine for me using the spawn class.


Monster uids must be 300k-500k though could be part of the issue. The client differentiates between different server objects based on their uid (300-500k for mobs, 200k-300k sobs, anything less is npcs iirc.)
pro4never is offline  
Old 03/14/2011, 16:34   #3
 
elite*gold: 0
Join Date: Feb 2010
Posts: 90
Received Thanks: 17
Quote:
Originally Posted by pro4never View Post
Well personally I'd recommend using the spawn class already added and just correct the 1-2 mistakes. That way monsters coords are setup properly including dmap checks and stuff but that's beside the point.

Guards are showing hp just fine for me using the spawn class.


Monster uids must be 300k-500k though could be part of the issue. The client differentiates between different server objects based on their uid (300-500k for mobs, 200k-300k sobs, anything less is npcs iirc.)
I need a long time to learn your code, at least for now coding is very difficult for me ..
whatever thank you for your help
i'm resolved this question now ....
thank you my brother
262315610 is offline  
Old 03/27/2011, 15:34   #4
 
C# Coder's Avatar
 
elite*gold: 0
Join Date: Mar 2011
Posts: 78
Received Thanks: 8
can u tell me where to place this
C# Coder is offline  
Reply


Similar Threads Similar Threads
[FAQ] HellmouthSource
01/13/2012 - CO2 PServer Guides & Releases - 330 Replies
So I'm posting this preemptively cause I just know I'm going to be slammed with questions. Where do I get the source? I WANT MONK!!!! A: If you haven't already downloaded the source, you can get it from here I'm confused! I've never set up a source before!!!! A: Angelius was nice enough to post a video of how to set up the source. You can find the video in the spoiler below
[ZSZC] beta test question
05/07/2010 - SRO Private Server - 5 Replies
when i started ( a week ago) they made my char lv 10 with 2 mil sp and 2 bil gold i didnt played for a week and now i have no chars in my account they delitted all beta testing chars? couz i remember they sayd they wont delete them
kSro test server Question
08/20/2007 - Silkroad Online - 4 Replies
i heard from a friend ... thet in ksro there is a test server... and if u create an acc in that server u get lvl 90 car with 9mil SP... is it right? thx for answering :)



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


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.