|
You last visited: Today at 11:24
Advertisement
[Help]Mobs
Discussion on [Help]Mobs within the CO2 Private Server forum part of the Conquer Online 2 category.
02/12/2011, 23:21
|
#1
|
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
|
[Help]Mobs
Quote:
|
Object Reference not set to an instance of an object.
|
Code:
for (int i = 0; i < Count; i++)
{
[COLOR="Red"]Game.Mob _Mob = new ConquerSx.Game.Mob((Game.Mob)Mobs[MobID]);[/COLOR]
_Mob.Loc = new ConquerSx.Game.Location();
_Mob.Loc.Map = Map;
_Mob.Loc.X = (ushort)Program.Rnd.Next(Math.Min(XFrom, XTo), Math.Max(XFrom, XTo));
_Mob.Loc.Y = (ushort)Program.Rnd.Next(Math.Min(YFrom, YTo), Math.Max(YFrom, YTo));
while (D != null && D.GetCell(_Mob.Loc.X, _Mob.Loc.Y).NoAccess)
{
_Mob.Loc.X = (ushort)Program.Rnd.Next(Math.Min(XFrom, XTo), Math.Max(XFrom, XTo));
_Mob.Loc.Y = (ushort)Program.Rnd.Next(Math.Min(YFrom, YTo), Math.Max(YFrom, YTo));
}
_Mob.StartLoc = _Mob.Loc;
_Mob.EntityID = (uint)Program.Rnd.Next(400000, 500000);
while (Game.World.H_Chars.Contains(_Mob.EntityID) || MapMobs.Contains(_Mob.EntityID))
_Mob.EntityID = (uint)Program.Rnd.Next(400000, 500000);
MapMobs.Add(_Mob.EntityID, _Mob);
error line in red
|
|
|
02/12/2011, 23:37
|
#2
|
elite*gold: 0
Join Date: Apr 2006
Posts: 231
Received Thanks: 94
|
the MobID doesnt exist in the mobs hashtable. So you added a mob into mobspawns that doesnt have a correct id or its a custom mob thats loaded by the source that isnt getting added.
|
|
|
 |
Similar Threads
|
[TUT] Vacking w/o loosing mobs + mobs speed hack [WINHEX]
01/25/2011 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 208 Replies
You will need Win Hex to edit thouse numbers.
I used Styx as the mob to edit.
PART OF VACK + SPPED HACK FOR MOBS.
Original:
2251,Styx,1,19,82,35749,0,486,695,10,50,2,6,0,0,0 ,0,0,0,55,0,0,0,02.5,4.8,1,1,styx,ÀÛ¼ºÁß,0,0,0,526 0,441,595,30800,1,1,3,90,90
|
Wie den neuen Mobs/ Zombie mobs lvl+Name+Stufe geben?
12/05/2010 - Metin2 Private Server - 6 Replies
Hey ich habe ein problem!
Ich habe die Zombie mobs,und diese Schlangengötter bei mir eingebaut ,jedoch haben sie weder einen Namen,keine Stufe und auch kein level?..wie kriege ich das eingebaut.
Siehe hier:
http://i40.tinypic.com/ax0itl.jpg
|
[FRAGE] Mobs in einer Map platzieren ohne Mobs?
04/05/2010 - Metin2 Private Server - 2 Replies
Hey, ich möchte Mobs in der Map platzieren wo man hinkommt wenn man "/go gmmap" eingibt...
Aber ich weiß nicht wie... Gibt es ein Tutorial dafür`?
|
[SUCHE]Einen Client mit den 13 neuen Mobs und Zombie Mobs
03/13/2010 - Metin2 Private Server - 23 Replies
Also Leute,
ich suche jemanden der so nett ist und mir
einen Client zu verfügung stellt bzw. macht auf dem
die neuen Mobs sichtbar sind .
THX
|
welche mobs ersezten die zombi mobs und wo tauchen sie im spiel auf?
01/17/2010 - Metin2 Private Server - 9 Replies
Überschirft
|
All times are GMT +1. The time now is 11:26.
|
|