Register for your free account! | Forgot your password?

You last visited: Today at 12:26

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

Advertisement



Invisible Mobs

Discussion on Invisible Mobs within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2013
Posts: 11
Received Thanks: 1
Invisible Mobs

I'm currently using this source:

All mobs are invisible, however they can still attack me.

I don't know if this is helpful but here is MonsterTable.cs:

I would post more information but I really don't know what else to say.

Thanks
.guy. is offline  
Old 03/22/2013, 19:49   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
You need to update the packets as the offsets are wrong if it's not showing the meshes properly.
pro4never is offline  
Thanks
1 User
Old 03/22/2013, 21:08   #3
 
.Kinshi's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 341
Received Thanks: 255
Fang lists some common spawning problems at the bottom:
.Kinshi is offline  
Thanks
1 User
Old 03/22/2013, 21:20   #4
 
elite*gold: 0
Join Date: Feb 2013
Posts: 11
Received Thanks: 1
Well I got them to appear, however now it just doesn't show their names.

Code:
public string Name
        {
            get { return _Name; }
            set
            {
                _Name = value;
                SpawnPacket = new byte[8 + 235 + Name.Length];
                WriteUInt16((ushort)(235 + Name.Length), 0, SpawnPacket);
                WriteUInt16(10014, 2, SpawnPacket);
                WriteString(_Name, 234, SpawnPacket);
            }
        }
I've read through these threads:



Further help would be great! Thanks
.guy. is offline  
Old 03/22/2013, 22:05   #5
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
That means the strings are also in the wrong position if they are not showing their name.


... You're writing the name length at 235 and then the Name at 234? Thatttt'sss a problem.
pro4never is offline  
Thanks
1 User
Old 03/22/2013, 23:08   #6
 
elite*gold: 0
Join Date: Feb 2013
Posts: 11
Received Thanks: 1
I used this:
Code:
SpawnPacket = new byte[8 + 235 + Name.Length];
                WriteUInt16((ushort)(235 + Name.Length), 0, SpawnPacket);
                WriteUInt16(10014, 2, SpawnPacket);
                SpawnPacket[232] = 4;
                SpawnPacket[233] = (byte)_Name.Length;
                WriteStringList(new List<string> { _Name }, 230, SpawnPacket);
and it worked
is there something wrong with this code?
.guy. is offline  
Old 03/22/2013, 23:38   #7
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
You don't need to write the name.length if you're already writing a string list.

TQ Handles variable length/count strings as..

byte numStrings
for(numStrings)
byte stringLength
byte[] encodedString


The WriteStringList code you're using would be doing this for you. No need to do the same thing twice within the same method :P
pro4never is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Question]NPCs and Mobs are invisible when i login
08/26/2010 - CO2 Private Server - 2 Replies
Well, when i login every NPC and Mob is invisible in my screen. Here's a pic: http://img840.imageshack.us/img840/6027/7540869.j pg Uploaded with ImageShack.us Does anyone know why? o.o ( It's kinda annoying ^^ )
[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
Invisible Mobs
03/04/2010 - Dekaron - 0 Replies
Greetings Epvpers, why does editing the monster.csv cause the mobs to be invisible? Searching the forum just got me the result, THAT it does happen, but not why? Ty in advance
Q: How to be invisible for mobs?
08/11/2009 - RF Online - 4 Replies
Hello. Im playing at RF Reactoir (its private 2.2.3 server) I saw player who was "invisible" for mobs.. he only kills them and they dont aggro on him.. How to do it? tyvm :)
Invisible Mobs
08/18/2008 - Dekaron - 12 Replies
hi, i heard that u can make the mobs invisible plz tell me how so i wont get laggy plzzzzz tyvm (if u cant tell give me a hint thx)



All times are GMT +1. The time now is 12:26.


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.