can someone script ground tombs in

deviltti
Developer
Posts: 18
Joined: Sun Dec 30, 2012 12:25 am

Re: can someone script ground tombs in

Post by deviltti » Tue Jan 28, 2014 3:51 pm

Using bitwise ops, the local NpcId is derived like this:
local LocalNpcId = ( NpcId - bit32.lshift( ZoneId, 12 ) - 0x1000000 );

So, just reverse it.
local NpcId = ( LocalNpcId + bit32.lshift( ZoneId, 12 ) + 0x1000000 );

altalus
Posts: 136
Joined: Wed Nov 14, 2012 8:31 pm
Location: Montreal Qc, CAN

Re: can someone script ground tombs in

Post by altalus » Fri Feb 14, 2014 9:08 am

gedads wrote:all names should be changed to grounds_tome now. to get the id, polutils can help you i think
Seems it is not the case. I just pulled to be sure I had the latest version and I still see lots of wrong named tomes :)

I will edit the SQL and add it to my branch to make sure we have them all.

I *am* missing all the event Id. I can find the text from pol utils, but not sure where to find the event id ? :)

EDIT: I answered my own question by actually trying to find the answer :P https://wiki.dspt.info/index.php/Event_IDs

altalus
Posts: 136
Joined: Wed Nov 14, 2012 8:31 pm
Location: Montreal Qc, CAN

Re: can someone script ground tombs in

Post by altalus » Fri Feb 14, 2014 11:10 am

[removed]
Last edited by altalus on Wed Mar 05, 2014 9:07 am, edited 1 time in total.

altalus
Posts: 136
Joined: Wed Nov 14, 2012 8:31 pm
Location: Montreal Qc, CAN

Re: can someone script ground tombs in

Post by altalus » Mon Mar 03, 2014 10:48 am

New post in the bugs section: viewtopic.php?f=15&t=1911

Post Reply