Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Perfect World > PW Hacks, Bots, Cheats, Exploits
You last visited: Today at 05:53

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Use teleport services by send packet

Discussion on Use teleport services by send packet within the PW Hacks, Bots, Cheats, Exploits forum part of the Perfect World category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2010
Posts: 21
Received Thanks: 10
Use teleport services by send packet

Hi all,
I have some idead about create a bot for World Quest which can use teleport services. A lot of time wasted by flying will be saved.

My hope: You go home from work, stop bot from killing mob, start WQ, go for bath or dinner, when you back your WQ is done, you can continue killing mob or go for some Instance (dungeon).
But there is problem. I don't know how elementclient.exe handle teleport point.

Problem resloved. Thanks to amineurin and Swoosh

This is function teleport.

About $toPoint and maxpoint, see file attachment. Note that name of land and NPC is in PW Vietnam.

You can use element\maps\world\world_targets.txt and table 50 of elements.data to edit it to your version.

An example about $toPoint:
p/s : sr about my english, it's too bad
Attached Files
File Type: rar teleport_data.rar (10.0 KB, 162 views)
jollyjoker0305 is offline  
Thanks
4 Users
Old 05/30/2012, 13:09   #2
 
elite*gold: 0
Join Date: May 2010
Posts: 220
Received Thanks: 203
the idea is nice.
i dont know how to get all teleporter points, then trying numbers up.
maybe there is a offset to get the number of a selected teleporter or a place in memory were all points stored.

for the bot i think u need some more info, like teleport sucesfull or simply use some wait time.
store teleporter x,y,z and npc id to travel and know were u are actual.
built up a chain for traveling, since some towns cant reach directly.

but i dont understand the question ?
u looking for more teleporter points or just one who can program this ?
amineurin is offline  
Thanks
1 User
Old 05/30/2012, 13:51   #3
 
elite*gold: 0
Join Date: Jan 2010
Posts: 21
Received Thanks: 10
Quote:
Originally Posted by amineurin View Post
the idea is nice.
i dont know how to get all teleporter points, then trying numbers up.
maybe there is a offset to get the number of a selected teleporter or a place in memory were all points stored.

but i dont understand the question ?
u looking for more teleporter points or just one who can program this ?
The red section is what i want to find. A relation between $toPoint and location, then based on it, i can build a library. One NPC from library contain : region, teleporter location, where i can teleport to from her, what $toPoint equal to those location.

If i can't find it, there is another way.

I must go to every teleporter and get what $toPoint mean.
Then i must build that library and update it when PW update....
All manually !

Think as a coder, i don't like this way, i like to make program that do those repeated work for us.

And one more thing: it's a huge work that i don't think i have enough patience to complete

Quote:
for the bot i think u need some more info, like teleport sucesfull or simply use some wait time.
store teleporter x,y,z and npc id to travel and know were u are actual.
I can use character (x y z) to check teleport's success. Or there is a pointer store what region you are stand at. I found it before but don't have it now. I think i can find it again

Quote:
"built up a chain for traveling, since some towns cant reach directly"
It is not hard as you think. After have library, we can use dijkstra algorithm to find route, right?
jollyjoker0305 is offline  
Thanks
1 User
Old 05/30/2012, 13:56   #4
 
Sᴡoosh's Avatar
 
elite*gold: 20
Join Date: May 2009
Posts: 1,290
Received Thanks: 325
Ahh A Star.

Check table 50 in Elements.data.
Sᴡoosh is offline  
Thanks
1 User
Old 05/30/2012, 14:03   #5
 
elite*gold: 0
Join Date: May 2012
Posts: 7
Received Thanks: 5
There is no point in using A* or Dijkstra's Algorithm.

For you to know the destination, you would have to find the pointer that your client is using to figure out which path you have to take to reach your destination from your source; which is already the 'shortest' and fastest route.
APwI is offline  
Thanks
1 User
Old 05/30/2012, 14:19   #6
 
elite*gold: 0
Join Date: Jan 2010
Posts: 21
Received Thanks: 10
Thanks a lot for those. But my girlfriend is waiting fo a date. I will check it out when i "get rid" of her lol.
jollyjoker0305 is offline  
Old 05/30/2012, 14:35   #7
 
elite*gold: 0
Join Date: May 2010
Posts: 220
Received Thanks: 203
maybe this is usefull world_targets.txt:
Quote:
1001 "Snowy Village" 1 "-2545.362,215.254,4116.355" 1
1101 "Village of Shattered Ice" 1 "-1507.853,221.732,4240.106" 2
1201 "Avalanche Village" 1 "-748.192,232.988,4233.242" 3
1301 "Timberfield" 1 "989.864,219.043,4172.403" 4
1501 "City of Misfortune" 1 "2638.999,252.093,4187.146" 6
1801 "City of a Thousand Streams" 1 "-2825.774,379.020,3092.210" 7
1802 "North Barrier Village" 1 "-2472.598,218.104,3434.835" 7
1803 "East Barrier Village" 1 "-2120.043,241.310,3141.281" 7
1804 "South Barrier Village" 1 "-2473.461,218.278,2719.753" 7
1901 "Camp of the Intrepid" 1 "-1425.922,218.104,2634.959" 8
2001 "Sumor Camp" 1 "-672.108,219.841,2748.688" 9
2101 "Etherblade City" 1 "486.999,259.024,3239.123" 10
2103 "Hidden Heroes Village" 1 "973.886,225.056,3201.253" 10
2201 "Walled Stronghold" 1 "1663.124,234.018,3250.909" 12
2301 "Angler's Village" 1 "2378.086,218.935,2824.619" 13
2601 "Immolation Camp" 1 "-2691.530,218.014,1967.518" 14
2701 "Sirry Wine Camp" 1 "-1637.869,218.189,2249.479" 15
2801 "Swiftwind Tribe" 1 "-282.430,223.084,2126.672" 16
2901 "Tradewind Village" 1 "295.511,221.000,1879.260" 17
3001 "Orchid Temple" 1 "1793.222,283.999,2147.087" 18
3101 "Allies Camp" 1 "2197.207,222.000,1741.022" 13
3401 "Town of Arrivals" 1 "-2800.763,533.220,906.030" 19
3501 "City of the Lost" 1 "-1479.506,255.600,988.488" 20
3701 "Wellspring Village" 1 "267.682,219.474,973.912" 22
3801 "Archosaur, North District" 1 "1470.490,219.608,1180.864" 23
3802 "Archosaur, West District" 1 "1285.395,219.608,1139.265" 23
3803 "Archosaur, South District" 1 "1631.274,219.666,816.075" 23
3901 "The Village of Naught" 1 "2759.727,218.816,665.586" 24
4201 "Sundown Town" 1 "-2750.892,523.075,395.719" 25
4301 "Broken Bridge Village" 1 "-1703.701,219.608,97.810" 20
4401 "Gate of Antiquity" 1 "-132.664,218.753,-309.447" 28
4402 "Dragon's End" 1 "-1193.517,522.480,163.870" 27
4502 "The Silver Pool" 1 "490.750,220.651,179.278" 29
4601 "Hidden Orchid" 1 "1864.714,240.037,155.064" 31
4701 "Sanctuary" 1 "2459.055,219.549,121.932" 32
5001 "Sandsong Village" 1 "-2225.729,490.490,-819.583" 33
5101 "Village of Brutes" 1 "-1797.476,524.405,-1356.713" 34
5201 "City of the Plume" 1 "-758.535,221.795,-1342.069" 35
5302 "Arrowhead Manor" 1 "321.946,219.968,-909.332" 36
5303 "King's Feast" 1 "640.251,370.454,-1196.552" 36
5401 "Whetstone Keep" 1 "1384.167,218.779,-1359.285" 37
5501 "Village of the Lost" 1 "2411.270,234.372,-777.739" 38
5801 "Cromagnon Village" 1 "-2874.756,523.858,-2367.675" 39
5901 "Dreaming Stronghold" 1 "-1958.673,525.069,-2269.380" 40
6001 "Bamboo Village" 1 "-305.631,223.818,-1992.817" 35
6101 "Tusk Town" 1 "473.857,282.011,-2133.737" 42
6201 "Village of the Dreaming Cloud" 1 "1465.155,229.139,-1756.321" 43
6301 "Dreamweaver Port" 1 "2672.815,228.042,-1786.640" 44
7101 "Netherspring" 1 "2295.373,253.629,-3073.782" 45
7102 "Nightfire Altar" 1 "2879.347,252.453,-2932.103" 45
7901 "City of Raging Tides" 1 "2681.930,241.793,-4268.359" 47
7902 "Camp Wave Breaker" 1 "2714.839,243.003,-3740.826" 47
7801 "Lonely Cloud Reef" 1 "1492.917,222.889,-4513.990" 46
7802 "The Blunted Lance Stand" 1 "1226.012,243.010,-3875.635" 46
6601 "Shrine of the Immortals" 1 "-2877.245,200.254,-2932.609" 48
6602 "Spire of Awakening" 1 "-2543.000,135.225,-3105.000" 48
6701 "Shrine of the Ancestors" 1 "-1723.385,222.221,-3214.715" 49
6801 "Guardian's Keep" 1 "-908.157,224.201,-3162.449" 50
6802 "Tellus City" 1 "-229.354,240.300,-3202.394" 50
6901 "Galeroar Town" 1 "130.724,226.500,-3452.501" 51
6902 "Forgotten Sanctuary" 1 "723.800,167.500,-2886.582" 51
7001 "Elysium Village" 1 "1350.221,241.710,-2982.360" -1
9011 "Celestial Lake" 137 "-1745.831,36.001,346.719" -1
9012 "Warblades Outpost" 137 "-1541.209,38.888,-176.559" -1
9013 "Solstice Outpost" 137 "-1227.468,57.001,107.706" -1
9014 "Candlelight Village" 137 "-1943.464,34.002,177.462" -1
9021 "Sapphire Altar" 137 "-877.186,57.801,262.628" -1
9022 "Sand Light Crystal" 137 "-889.554,136.022,-359.152" -1
9023 "Unseen Gate" 137 "-95.618,48.801,-324.257" -1
9032 "Corona Sanctuary" 137 "668.177,29.501,-363.072" -1
9033 "Shrouded Temple" 137 "508.550,46.802,352.851" -1
9034 "Nexus of Luminance" 137 "-470.474,83.651,312.134" -1
9035 "Sandscape Tower" 137 "436.555,83.651,-10.555" -1
here some infos about client structure, great to find used stuff....like map:


amineurin is offline  
Thanks
3 Users
Old 05/30/2012, 14:55   #8
 
Sᴡoosh's Avatar
 
elite*gold: 20
Join Date: May 2009
Posts: 1,290
Received Thanks: 325
I think ami found exactly what you need
Sᴡoosh is offline  
Old 05/31/2012, 00:24   #9
 
elite*gold: 0
Join Date: May 2010
Posts: 220
Received Thanks: 203
btw. from were comes this packet ?

i can find only this in the board here:
Quote:
Func useSkill($skillId, $targetId, $pid)
;//uses the specified skill on the target. Pass your own
;//Id if you wish to use buffs. When teleporting targetId
;//is the targeted city.
local $packet, $packetSize

$packet = '2900'
$packet &= _hex($skillId)
$packet &= '0001'
$packet &= _hex($targetId)

$packetSize = 12

sendPacket($packet, $packetSize, $pid)
EndFunc
amineurin is offline  
Old 05/31/2012, 00:26   #10
 
Sᴡoosh's Avatar
 
elite*gold: 20
Join Date: May 2009
Posts: 1,290
Received Thanks: 325
I'd guess he sniffed it himself?
Sᴡoosh is offline  
Thanks
1 User
Old 05/31/2012, 01:04   #11
 
elite*gold: 0
Join Date: May 2010
Posts: 220
Received Thanks: 203
the description look more like interest07 i think
amineurin is offline  
Old 05/31/2012, 07:28   #12
 
elite*gold: 0
Join Date: Jan 2010
Posts: 21
Received Thanks: 10
Quote:
Originally Posted by amineurin View Post
btw. from were comes this packet ?

i can find only this in the board here:
This is useskill function, in this function i think "teleporting" mean use skill go to town (the skill have 1 hour cooldown).

Quote:
Originally Posted by Sᴡoosh View Post
I'd guess he sniffed it himself?
Quote:
Originally Posted by amineurin View Post
the description look more like interest07 i think
Yes, I sniffed and wrote it, it's working fine.
I'm using sendpacket function provide by interest07 so i wrote it like another function. Just for better look or for sharing here

Thanks to amineurin and Sᴡoosh, i'm coding a program to extract teleport data from table 50 of elements.data

And to APwI :Thanks for your advice, but after trying to find route in client, the only thing i found is that pointer:

PHP Code:
realbaseadd+0x1C+0x18+0x8+0x8C+0x8+0x1F8+0xF0 
Open teleport service map and click in somewhere of the map (not click in teleport point).
This pointer will store what city your mouse are pointing in. By number in world_targets.txt

All my trying to find pointer store "shortest route" had no effect
jollyjoker0305 is offline  
Old 05/31/2012, 07:59   #13
 
Sᴡoosh's Avatar
 
elite*gold: 20
Join Date: May 2009
Posts: 1,290
Received Thanks: 325
Without wanting to spit in your soup or anything :

For me, personally, doing WQ with the help of teleporters is not worth the additonal work. Back when I played and did WQ, I would have bot run while I was outside contaminating my neighborhood with newspapers. It didn't matter to me really how fast it went

You sure it's worth the pain? Though, you have come this far, might as well end it

Cheers
Sᴡoosh is offline  
Thanks
1 User
Old 05/31/2012, 08:18   #14
 
elite*gold: 0
Join Date: Jan 2010
Posts: 21
Received Thanks: 10
Quote:
Originally Posted by Sᴡoosh View Post
Without wanting to spit in your soup or anything :

For me, personally, doing WQ with the help of teleporters is not worth the additonal work. Back when I played and did WQ, I would have bot run while I was outside contaminating my neighborhood with newspapers. It didn't matter to me really how fast it went

You sure it's worth the pain? Though, you have come this far, might as well end it

Cheers
if complete, this will be very effective
Example: Auto killing mob, then new day coming, bot automatic stop killing mob, find a way to town, teleport to dragon town, doing daily quest like crazy stone (hope this name is right) or WQ. Then back "to work" ith mob.

Beside, it's a passion of digging stuff in game. I like it (except sometimes it made me crazy when can't find something )
jollyjoker0305 is offline  
Old 05/31/2012, 13:20   #15
 
elite*gold: 0
Join Date: May 2010
Posts: 220
Received Thanks: 203
hm i like more wen a bot dont lvl up and all this quest functions are in 1 bot only.
since the day i used a bot, i only farm mats to sell high in the city and dont want to level out the mob range.

but grinding bring not much money, merchant stuff makes much more coins.
amineurin is offline  
Reply

Tags
perfect world, send packet, teleport


Similar Threads Similar Threads
Darkorbit new packet how to send ?
05/16/2012 - DarkOrbit - 6 Replies
Hi all, How to send the new Packets using TCP Conection ?
Packet siffer. Cannot send packet back to server [DC]
08/06/2011 - Atlantica Online - 1 Replies
hey guys i wounder how exactly i must send back packets to server ... I captured various of packets walking , attacking, box opening ones. But if i later send them back to server , server just dc me.. Some one tryed?
[Help]Send Created Packet
02/21/2011 - General Coding - 2 Replies
EDIT: GELÖST
Play sound via Packet Send?? [Question String Packet]
07/14/2010 - CO2 Private Server - 5 Replies
Yow im trying to figure out why i cant play music with the string packet What im doin is; MyChar.Client.SendPacket(Game.Packet.String(MyCha r.UID, 20, Splitter)); My Packet is: public byte String(long CharId, byte Type, string name)
[Question] What Packet to send?
08/05/2009 - CO2 Private Server - 6 Replies
Hello. I'm in trouble because I don't know what packet to send when I have created a Character. I tried to send this MessagePacket: The message appears but don't bring you to the main menu of the client to log into my server



All times are GMT +2. The time now is 05:53.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.