Help.. UID Ranges for Mobs/npcs/chars

05/05/2011 21:48 |NeoX#1
Id need to know the safe ranges For eacht entity type.

Patch 5017 IF that matters.
05/05/2011 22:02 _Emme_#2
Wait.. what?
05/05/2011 22:03 KraHen#3
EO source has them, dunno the values though anymore.
05/05/2011 22:13 pro4never#4
I'm going off memory here...

Npcs are under 100k

Mobs 300-400k

Players 1million++

Sobs generally low 200k (same with poker tables... they are more mid 200k though)
05/05/2011 23:04 nTL3fTy#5
I believe this has been posted somewhere else.. straight from the EO server source.

Code:
const OBJID	SCENEID_FIRST		= 000001;
const OBJID	SYSNPCID_FIRST		= 00001;
const OBJID	SYSNPCID_LAST		= 99999;
const OBJID	DYNANPCID_FIRST		= 100001;
const OBJID	DYNANPCID_LAST		= 199999;
const OBJID	SCENEID_LAST		= 299999;

const OBJID	NPCSERVERID_FIRST	= 400001;
const OBJID	MONSTERID_FIRST		= 400001;
const OBJID	MONSTERID_LAST		= 499999;
const OBJID	PETID_FIRST			= 500001;
const OBJID	PETID_LAST			= 599999;
const OBJID	NPCSERVERID_LAST	= 699999;

const OBJID	CALLPETID_FIRST		= 700001;
const OBJID	CALLPETID_LAST		= 799999;

const OBJID TRAPID_FIRST		= 900001;
const OBJID MAGICTRAPID_FIRST	= 900001;
const OBJID MAGICTRAPID_LAST	= 989999;
const OBJID SYSTRAPID_FIRST		= 990001;
const OBJID SYSTRAPID_LAST		= 999999;
const OBJID TRAPID_LAST			= 999999;

const OBJID PLAYER_ID_FIRST		= 1000000;
const OBJID PLAYER_ID_LAST		= 1999999999;
  • Scene Id (1 - 299999)
    • System Npc Id (1 - 99999)
    • Dynamic Npc Id (100001 - 199999)
  • Npc Server Id (400001 - 699999)
    • Monster Id (400001 - 499999)
    • Pet Id (500001 - 599999)
  • Call Pet Id (700001 - 799999)
  • Trap Id (900001 - 999999)
    • Magic Trap Id (900001 - 989999)
    • System Trap Id (990001 - 999999)
  • Player Id (1000000 - 1999999999)
05/06/2011 01:00 Korvacs#6
Should be noted that this range:

Npc Server Id (400001 - 699999)

Is Monsters not NPC.
05/06/2011 11:40 |NeoX#7
Thanks to everyone! Exactly what i needed.
Can be closed if you want to.