|
You last visited: Today at 19:28
Advertisement
[REQUEST] teleport / move using packets
Discussion on [REQUEST] teleport / move using packets within the Kal Online forum part of the MMORPGs category.
11/01/2012, 10:51
|
#1
|
elite*gold: 0
Join Date: Oct 2005
Posts: 112
Received Thanks: 23
|
[REQUEST] teleport / move using packets
hey all , i was wondering if i can move or teleport to other location using packets , i got coordinates from "Kal World Editor" , but they are usually high numbers more than a byte can handle , since the move packet is "bbb" i think i need lower coordinates , any help ?
|
|
|
11/01/2012, 11:38
|
#2
|
elite*gold: 0
Join Date: Oct 2010
Posts: 159
Received Thanks: 73
|
The same way you do port to mob, excpet area coord is static.
|
|
|
11/01/2012, 15:22
|
#3
|
elite*gold: 0
Join Date: Jan 2009
Posts: 915
Received Thanks: 134
|
Quote:
Originally Posted by nonosocr1986
hey all , i was wondering if i can move or teleport to other location using packets , i got coordinates from "Kal World Editor" , but they are usually high numbers more than a byte can handle , since the move packet is "bbb" i think i need lower coordinates , any help ?
|
how about split packets?
you need to create a function that calculates how much steps you need to go to final x,y,z.
example: youre on coordinates x:1000, y:500, z: 500 and you want to go to x:2000, y:500, z:500, so you need to walk +1000 x, you could do it like that
for(int i=0;i <movesteps;i++) // movesteps = 50.
{
SendPacket(0x11,"bbb",20,0,0);
}
you can use other values ofc. just an example how it could work
|
|
|
11/02/2012, 10:26
|
#4
|
elite*gold: 0
Join Date: Oct 2005
Posts: 112
Received Thanks: 23
|
Quote:
Originally Posted by hehepwnz
how about split packets?
you need to create a function that calculates how much steps you need to go to final x,y,z.
example: youre on coordinates x:1000, y:500, z: 500 and you want to go to x:2000, y:500, z:500, so you need to walk +1000 x, you could do it like that
for(int i=0;i <movesteps;i++) // movesteps = 50.
{
SendPacket(0x11,"bbb",20,0,0);
}
you can use other values ofc. just an example how it could work
|
it's not working :\ , i've tried it in hidden , with both 0x14 (move) and 0x15 (move stop) nothing happens , even when i put static values nothing happen , any suggestions ?
|
|
|
11/02/2012, 12:04
|
#5
|
elite*gold: 20
Join Date: Jul 2007
Posts: 1,979
Received Thanks: 270
|
0x14 and 0x15 are the wrong move packets. just like hehepwnz said: 0x11 (and 0x12)
|
|
|
11/02/2012, 12:59
|
#6
|
elite*gold: 0
Join Date: Feb 2008
Posts: 1,105
Received Thanks: 186
|
In old client they (0x14/0x15) are right i belive
|
|
|
11/02/2012, 16:00
|
#7
|
elite*gold: 0
Join Date: Oct 2005
Posts: 112
Received Thanks: 23
|
Quote:
Originally Posted by katze123
0x14 and 0x15 are the wrong move packets. just like hehepwnz said: 0x11 (and 0x12)
|
i think 0x11 , 0x12 are in int , i found that 0x14 , and 0x15 for p.servers old client , any ideas :\ ?
|
|
|
11/02/2012, 16:30
|
#8
|
elite*gold: 0
Join Date: Jan 2009
Posts: 915
Received Thanks: 134
|
so whats your value (x,y,z) you send to server?
|
|
|
11/03/2012, 00:16
|
#9
|
elite*gold: 0
Join Date: Oct 2005
Posts: 112
Received Thanks: 23
|
Quote:
Originally Posted by hehepwnz
so whats your value (x,y,z) you send to server?
|
i tried your method , and i've tried sending coordinates that i got from uce just for test , with no luck :\
|
|
|
11/03/2012, 13:44
|
#10
|
elite*gold: 0
Join Date: Jan 2009
Posts: 915
Received Thanks: 134
|
i mean whats the value you use for x,y,z
there is a max value you can use with that paket.
as i said you cant just send the coordinates you wanna go to.
|
|
|
11/03/2012, 15:33
|
#11
|
elite*gold: 0
Join Date: Oct 2010
Posts: 159
Received Thanks: 73
|
Max is 127 or 128 not sure 
What about this?
Code:
unsigned char tempx=(double(difX)/sqrt(range))*30;
unsigned char tempy=(double(difY)/sqrt(range))*30;
SendKoemV2(0x15,"bbb",tempx,tempy,0);
difX/Y is the distance between you and the coord.
|
|
|
11/03/2012, 21:21
|
#12
|
elite*gold: 20
Join Date: Feb 2008
Posts: 993
Received Thanks: 173
|
Quote:
Originally Posted by mohm195
Max is 127 or 128 not sure 
What about this?
Code:
unsigned char tempx=(double(difX)/sqrt(range))*30;
unsigned char tempy=(double(difY)/sqrt(range))*30;
SendKoemV2(0x15,"bbb",tempx,tempy,0);
difX/Y is the distance between you and the coord.
|
SendKoemV2(0x15," bbb",tempx,tempy,0);
b= byte => max= 127 min= -128 ==> 255
|
|
|
11/05/2012, 14:40
|
#13
|
elite*gold: 0
Join Date: Oct 2005
Posts: 112
Received Thanks: 23
|
Quote:
Originally Posted by mohm195
Max is 127 or 128 not sure 
What about this?
Code:
unsigned char tempx=(double(difX)/sqrt(range))*30;
unsigned char tempy=(double(difY)/sqrt(range))*30;
SendKoemV2(0x15,"bbb",tempx,tempy,0);
difX/Y is the distance between you and the coord.
|
i think that what i need , but what is "range" in this case ?
|
|
|
11/05/2012, 16:20
|
#14
|
elite*gold: 0
Join Date: Jan 2009
Posts: 915
Received Thanks: 134
|
i also dont get it with range.
my function "teleport"-function works without that range thing :P
|
|
|
11/05/2012, 18:09
|
#15
|
elite*gold: 0
Join Date: Oct 2010
Posts: 159
Received Thanks: 73
|
Code:
int difX = Player[0].dwPlayerX - PX;
int difY = Player[0].dwPlayerY - PY;
float range =((difX*difX)+(difY*difY))*1.0;
xD
Can you tell us more about it? because this way sucks abit xd
|
|
|
 |
|
Similar Threads
|
Required Teleport Packets
12/08/2011 - CO2 Private Server - 6 Replies
What packets are needed to be sent after a teleport other then the general packet type 86 and Map Status (1110). The reason I ask is because the market stall button to abandon a stall isnt appearing. Believe that was part of a packet needed to be sent. I thought it was map status. But apparently not.
|
Teleport Packets
06/15/2011 - Nostale - 6 Replies
Hey Leute ;)
Habe ein paar "Hilfreiche" Packets gefunden.
Falls diese noch nicht bekannt sind poste ich sie einfach mal.
Mit den Packets könnt ihr euch an verschiedene Plätze teleportieren.
Packet für den Teleport in euer Miniland: script 1 544
Packet für den Teleport vor TS 10: script 1 737
Packet für den Teleport vor den Eingang zu den Sonnigen Wiesen: script 1 955
Packet für den Teleport zu der Minenprärie: script 1 2032
|
(iBot) Bot wont move after ferry teleport
05/23/2011 - Silkroad Online - 2 Replies
I mainly decided to use iBot to auto quest the hunter job quests as I read it can do that. I made 2 scripts for the 20-29 job quests. one script for training then a second script for quest complete and walk back to jangan. The script works fine untill after I teleport on the ferry from DW to jangan, then the bot just stops.
Ive done a lot of trial and error and tested both ferries. What ive found out is the script does work and the bot moves and follows the script BUT only if the...
|
[Realease]GhostMOde+Teleport Map Move
03/09/2009 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 119 Replies
Since this info is already leached and have in others forums(ppl uploaded the dekaron.exe)... already saw many noob ppl using it and it will be patched soon, i wil teach how make it
I dont need to say for u dont try hit ppl when u using ghostmode, cuz a simple movie and SS can ban you....
Open Game,Open CE, add address manually, array of bites - 7bites
Address: 004EC4C3
U will find "8B 80 A8 00 00 00 C3" just change it to "B8 02 00 00 00 90 C3"
go in game and tip /GM ghostmode on and...
|
[Release] teleport and recall scroll packets - int. server
11/10/2008 - Kal Hacks, Bots, Cheats & Exploits - 1 Replies
hi all,
the packets....
teleport scroll = send 0x8a, "Ubds", token id, 0x02, med id, char name
recall scroll = send 0x89, "Ubds", token id, 0x02, med id, char name
YoSaKi
(my first post xD)
|
All times are GMT +1. The time now is 19:29.
|
|