Use teleport services by send packet

12/19/2014 17:07 Smurfin#31
Have anyone figured out how the teleporter points are connected ? or found any file with their routes and probably toPoint data from every port ID. That port ID doesn't actually do anything, it's not used in the packets.

I tried this in a small map (Primal World) while in world map I can just use my psychic to summonall() my chars. Every point is directly connected in primal world unlike in world map which each tele point might have different routes even though some closest points are adjacent to it.

But even for a small map like primal it's still a lot of work to build the data for where we want to go from each tele point.
12/19/2014 18:47 Stark77#32
see attachment - forgot where its located... guess in the configs.pck but not sure.

since i know u can packet sniff, this would help too ;)
12/19/2014 20:14 Smurfin#33
But the port ID isn't used in the teleporting packet (cmiiw), we can also check port ids using console command d_showid.

I've tried for example in Primal World, I teleported from :
- Bamboo Raccoon Village to Tree Raccoon Village, it used $toPoint=2 , but from
- Tree Raccoon Village to Bamboo Raccoon Village, it also used $toPoint=2.

So everytime we are going to teleport from one area, the nearby points have their own numbering and it's not the portID as in world_targets.txt / d_showid, or maybe someone can explain how that numbering works.

Even in primal world that's a lot smaller than the world map, it still needs some efforts building a record of every numbers used in the packets for teleporting like from A to B C D E, or from B to A C D E, or from C TO A B D E , and so on.

For example teleporting to Dragon Tower from Bamboo / Tree Raccoon / Autumn Village / Kirin Town would have different $toPoint value.
12/19/2014 22:07 Stark77#34
oh i just saw amineurin posted the file i uploaded.

i still dont see your problem. the excel file in the first post of this thread shows all toPoint-values and the world_target.txt translations of the land id.

so e.g. - u want to port from City of Lost to Archo, North:
3501 = Land ID = City of the Lost
3801 = Land ID = Archosaur, North District

the excel file tells u in line 25, that from 3501 to 3801 u need to use toPoint=1.
=> "2500 05000000 04000000 01000000"

or are u searching for a method to find out this order (for Lost City: 2101 3801 3701 4401 5201 4301 4201 3802 3803 7901 6802 7001)? Sorry for confusion... might be to tired.
12/19/2014 22:11 jollyjoker0305#35
$toPoint, you need to get it from table teleport service in element.data
i'm not build it up yet. But this is the way:
- Go to town, go to NPC teleport service of that town
- Get that NPC ID or NPC name (ex: 25533 or Teleporter Reviero in PWI)
- Get sELedit tool (tool to view-edit elements.data), you can google it
- Open sELedit, File-Load -> pick file element\data\elements.data
- Search NPC ID (or NPC name). see on the left panel. at row 22, (maybe named id_transmit_service) you got an ID. in this case, it's 26177
- Again, search for that ID (26177). Oh, note that this tool seach from your current location to end. So make sure to move to top before search. Once you find it, you will see a table like this

number-target is number of point you can teleport from here.
3 entry next is ID of target, Fee and level require of 1st target

Now you have data "where can i go from here"
So you want to teleport to where? let's said you want to go to Map "BlahBlah" with ID = 7101 (get it from world_targets.txt). Then you must set $toPoint=1 (it run from 0 to number_target-1)

Is that ok?
12/19/2014 22:56 Smurfin#36
Quote:
Originally Posted by Stark77 View Post
oh i just saw amineurin posted the file i uploaded.

i still dont see your problem. the excel file in the first post of this thread shows all toPoint-values and the world_target.txt translations of the land id.

so e.g. - u want to port from City of Lost to Archo, North:
3501 = Land ID = City of the Lost
3801 = Land ID = Archosaur, North District

the excel file tells u in line 25, that from 3501 to 3801 u need to use toPoint=1.
=> "2500 05000000 04000000 01000000"

or are u searching for a method to find out this order (for Lost City: 2101 3801 3701 4401 5201 4301 4201 3802 3803 7901 6802 7001)? Sorry for confusion... might be to tired.
Let's take an example in Primal World (before luneska), We have :
-Kirin Town
-Bamboo Raccoon Village
-Tree Raccoon Village
-Dragon Tower
-Autumn Village

In world target file, it's this section :
Code:
9036	"Kirin Town"	163	"-276.677,303.380,-851.097"	-1
9037	"Dragon Tower"	163	"-739.563,366.625,-207.971"	-1
9038	"Bamboo Raccoon Village"	163	"-276.918,312.560,-381.882"	-1
9039	"Tree Raccoon Village"	163	"-407.116,360.800,139.858"	-1
9040	"Autumn Village"	163	"-148.777,394.111,646.193"	-1
The one that I've tried is Bamboo-to-Tree => toPoint=2, Tree-to-Bamboo => toPoint is also 2, let's say I'm now in Bamboo area and want to go to Tree area, how do I know toPoint value that I should use is 2 just looking from that world_targets.txt


===================================

Quote:
Originally Posted by jollyjoker0305 View Post
$toPoint, you need to get it from table teleport service in element.data
i'm not build it up yet. But this is the way:
- Go to town, go to NPC teleport service of that town
- Get that NPC ID or NPC name (ex: 25533 or Teleporter Reviero in PWI)
- Get sELedit tool (tool to view-edit elements.data), you can google it
- Open sELedit, File-Load -> pick file element\data\elements.data
- Search NPC ID (or NPC name). see on the left panel. at row 22, (maybe named id_transmit_service) you got an ID. in this case, it's 26177
- Again, search for that ID (26177). Oh, note that this tool seach from your current location to end. So make sure to move to top before search. Once you find it, you will see a table like this

number-target is number of point you can teleport from here.
3 entry next is ID of target, Fee and level require of 1st target

Now you have data "where can i go from here"
So you want to teleport to where? let's said you want to go to Map "BlahBlah" with ID = 7101 (get it from world_targets.txt). Then you must set $toPoint=1 (it run from 0 to number_target-1)

Is that ok?
Ah, I see, I'm quite familiar with sLedit for other things lol, I use it for changing appearance of pet/flyer/whatever that I have to the one that I like, I ever tried Tyrant Prince Mushi as my pet's appearance and many other things just for fun, even tho it's my eyes onli :D

Turns out we can also gather informations of tele points by examining the teleporter section using it. By the way do you have the luneska config file for sledit ? please post it here if you have :handsdown:

That info might be useful to experiment in world map later, right now I'll just use it for primal world where psychic summon can't be used, and any teleporter can lead to any other teleporter nodes.

What I want to know for now is like what I described above, how do I know for example from Bamboo Raccoon Village , what value should I put in $toPoint, to go to Tree Raccoon Village the toPoint value is 2, I don't see any '2' in there.
12/20/2014 01:23 jollyjoker0305#37
Here you go
config file of sELedit v106

and answer to your question : $toPoint is the index of "map you want to go" in "list of destination". Wait me some minute, i will check 9039 and 9038 map in my PW and give you an example

Edit: Sorry, missing attachment. Elitepvpers does not allow cfg file as attachment. I just rar it
Here is a picture
Seach name of NPC, i got NPC ID = 40317.
Seach NPC, get Teleport service ID at row 22 : 42333
Search 42333, get the result: 4 teleportable: 9036 9037 9039 9040. 9089 (you target) is at index 3, $toPoint run from 0 so you want to move to 9089, use $toPoint=2.

That's all
[Only registered and activated users can see links. Click Here To Register...]
12/20/2014 08:38 Smurfin#38
Aha, got it now. I thought it's only from world_targets.txt onli, but still much much more easier than checking the packets and teleporting to every available point just for getting the value. The Primal World teleporters are all nearby in elements.data listing. My target is 9039 from that.

Thanks a lot for the screenshots and config file :handsdown:
12/20/2014 10:02 jollyjoker0305#39
You are welcome.
btw, what your item loot offset look like. after a while. pw seem changed it
old offset is realbase +1c +1c+ 28+ 1c+ $i*4 + 4
12/20/2014 11:15 Smurfin#40
my item base is
$item_base = memread(memread(memread(memread(memread(memread(me mread($base) + 0x1C) + 0x1c) + 0x24) + 28) + $i*4) + 0x4)

it's new horizon before luneska
12/20/2014 17:48 jollyjoker0305#41
Quote:
Originally Posted by Smurfin View Post
my item base is
$item_base = memread(memread(memread(memread(memread(memread(me mread($base) + 0x1C) + 0x1c) + 0x24) + 28) + $i*4) + 0x4)

it's new horizon before luneska
I got your offset long ago. But it seem not working too.

Edit: Sorry, never mind. I forgot it is unsorted array.