object_id?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
sancak
Posts: 77
Joined: Thu Mar 04, 2010 10:15 pm

object_id?

Post by sancak »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 4420:
L2JDP Revision 7669:

i want to know, what is object_id in items.sql? if i change something in there, what could be? or what should i write there!
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: object_id?

Post by hope »

Explain that better don't understand what you are trying to do
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: object_id?

Post by janiii »

object id in the items table is a generated random id for the given item and the given owner. that id is unique to be able to identify it, and it can be then used in other tables or is used in gameserver to identify the item uniquely (given item at given owner).
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
sancak
Posts: 77
Joined: Thu Mar 04, 2010 10:15 pm

Re: object_id?

Post by sancak »

how can i generate this id?
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: object_id?

Post by _DS_ »

You cant generate it, because this number should be generated by server itself (and removed from pool to prevent several objects use same objectId).
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
sancak
Posts: 77
Joined: Thu Mar 04, 2010 10:15 pm

Re: object_id?

Post by sancak »

with telnet?

or what could be happen if i use this field empty for items on chars

thanks
User avatar
Szponiasty
Advanced User
Advanced User
Posts: 557
Joined: Mon Apr 21, 2008 1:31 pm
Location: Eastern Poland

Re: object_id?

Post by Szponiasty »

sancak wrote:with telnet?

or what could be happen if i use this field empty for items on chars

thanks
If your server is coded to be aware of that situation - nothing will happen. But you wont be able to access that item in any way. Plus it will be probably autocleaned on server startup...

If server is not prepared for such situation... I dunno. Maybe only an NPE, nothing more.
And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD
Post Reply