Vending Or Boothing.

09/24/2013 00:10 abdoumatrix#1
hey every1.

I was making a Boothing AI to sell Sellected items.

i was having a error in it drive me crazy.
but i solved it
[Only registered and activated users can see links. Click Here To Register...]
it was from the Booth.Base. UID. cuz i was giving a entity.uid > 7,000,000
but when i used 1,00,000 it worked fine
(SobNpc)
PHP Code:
this.Base = new SobNpcSpawn();
            
this.Base.Owner this.Owner;
            
this.Base.UID = (this.Owner.Entity.UID 1000000) + ((this.Owner.Entity.UID 1000000) * 100000);
            
this.Base.Mesh 0x196;
            
this.Base.Type Enums.NpcType.Booth;
            
this.Base.ShowName true;
            
this.Base.Name this.Name
So i wanna the ranged no. for the uid.
09/24/2013 00:35 pro4never#2
Search or look through the eudemons binary server source code.

The valid ranges for object types are already public in both many threads and in the leaked source.
09/24/2013 01:44 abdoumatrix#3
#closed.
i will try to figure out it.
by checking some other sources as a refrences.
09/24/2013 01:51 shadowman123#4
whats ur question now .. i still dont know what u are asking .. since u solved ur problem ?
09/24/2013 07:13 Spirited#5
Check out my signature. :awesome:
Here's the link I was referring to. It's an explanation on how market shops work:
[Only registered and activated users can see links. Click Here To Register...]
Hopefully that helps you create an AI that automates it.
09/24/2013 15:33 abdoumatrix#6
my question was the ranged uid that works fine . i searched some sources and found where was my bug. (my bug was when having more than a specific value the item don't appear.) any way i already solved it and recoded the showitemonbooth.

this formula that make me ask about the range.
PHP Code:
(Owner.Identity 1000000) + ((Owner.Identity 1000000) * 100000).