Register for your free account! | Forgot your password?

You last visited: Today at 14:35

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

Advertisement



need some help..

Discussion on need some help.. within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 20
Join Date: Feb 2007
Posts: 660
Received Thanks: 79
need some help..

Getting this error when im trying to make a new spawn of a monster named Long dog.. what should i change?
Quote:
System.OverflowException: Value was either too large or too small for an Int16.
at System.Int16.Parse(String s, NumberStyles style, NumberFormatInfo info)
at COServer_Project.Mobs.SpawnAllMobs() in C:\Users\Joie\Documents\nice\Lotf Source\COServerProject\Entities.cs:line 218
this is on line 218..
Quote:
SingleMob Mob = new SingleMob(spawn_x, spawn_y, Convert.ToInt16(ThisSpawn[7]), uint.Parse(ThisMob[3]), uint.Parse(ThisMob[3]), short.Parse(ThisMob[6]), short.Parse(ThisMob[7]), UID, ThisMob[2], int.Parse(ThisMob[1]), short.Parse(ThisMob[4]), (byte)General.Rand.Next(8), byte.Parse(ThisMob[5]), 0, true);
JoieJones90 is offline  
Old 05/01/2009, 22:54   #2
 
elite*gold: 0
Join Date: Dec 2006
Posts: 133
Received Thanks: 16
Umm, try to make x numbers lower then the y or the opposite.
martoon is offline  
Old 05/01/2009, 23:01   #3
 
elite*gold: 20
Join Date: Feb 2007
Posts: 660
Received Thanks: 79
Quote:
Originally Posted by martoon View Post
Umm, try to make x numbers lower then the y or the opposite.
you mean the spawn_x and spawn_y?

edit: didnt work if u mean that..
JoieJones90 is offline  
Reply




All times are GMT +2. The time now is 14:35.


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.