Help Add Item Restriction to a Teleport

02/14/2019 13:23 rodrigorkg#1
Hello gentlemen
*Presence of your help to add restriction of a specific item such as a Key to a portal
And the
*Second method is to create a time of duration within this portal after entering the zone

*Example you use the portal, it consumes your item "XXX",
and you will have around "XXX" ,
minutes within this area,
after this time you will be returned back to the city of origin!

*
Thanks for your attention !
I apologize for my bad english use google translator for this!
*
:)
02/14/2019 22:09 Dracula Untold#2
there is a query released
if u don't know to make it manual !

just search for it !

02/15/2019 17:44 Incendlary#3
It's basically on _RefTeleLink
You can check the existing lines to learn from them, let's say for example the Gate of Ruler (Roc) contains the restriction to prevent entrance unless you have the required item. (That's a suggestion not related to the subject though)

Subject: Edit Restrict1 to 4 instead of 0 or whatever the number is, Data1_1 is the item ID (You can get it from _RefObjCommon), Restrict2 to 5 and Data2_1 is the same ID of Data1_1

ID Selection Query
Quote:
SELECT ID from _RefObjCommon where Codename128 ='CODE'


If you're lazy, use this query.
Teleport Restriction (ITEM) Query
Quote:
UPDATE _RefTeleLink set Restrict1='4', Data1_1='Item ID', Restrict2='5', Data2_1='Item ID' where OwnerTeleport='RefTeleport Table ID'
02/16/2019 22:57 rodrigorkg#4
Quote:
Originally Posted by Dracula Untold View Post
there is a query released
if u don't know to make it manual !

just search for it !

Thank you for trying to help me more. This was not my problem.

Quote:
Originally Posted by Incendlary View Post
It's basically on _RefTeleLink
You can check the existing lines to learn from them, let's say for example the Gate of Ruler (Roc) contains the restriction to prevent entrance unless you have the required item. (That's a suggestion not related to the subject though)

Subject: Edit Restrict1 to 4 instead of 0 or whatever the number is, Data1_1 is the item ID (You can get it from _RefObjCommon), Restrict2 to 5 and Data2_1 is the same ID of Data1_1

ID Selection Query


If you're lazy, use this query.
Teleport Restriction (ITEM) Query
thank you sir you helped me a lot,
besides this solution wanted to know also how to add a maximum time within the zone
for example after entering the zone
the system count a maximum time of 5 minutes
and then expel me from inside it to the starting point
Thank you again so far.
02/17/2019 01:02 Incendlary#5
Quote:
Originally Posted by rodrigorkg View Post
Thank you for trying to help me more. This was not my problem.



thank you sir you helped me a lot,
besides this solution wanted to know also how to add a maximum time within the zone
for example after entering the zone
the system count a maximum time of 5 minutes
and then expel me from inside it to the starting point
Thank you again so far.
That, I can't help you on it.. It's based on filter packets which will require the region ID and packets necessary after teleportation, sadly, these features won't be free so you either search for a filter and ask its creator to implement the features you want.