Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 05:16

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

Advertisement



How to move you character through packets

Discussion on How to move you character through packets within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2011
Posts: 21
Received Thanks: 3
How to move you character through packets

Hi, I wanted to know if it was possible, possibly by using the packetlogger, to emulate the click on map and make your character to move to a certain position.
Just using the "walk" packet with the coordinates doesn't work.
Pls Help
CapitanoKidd is offline  
Old 04/25/2020, 19:25   #2
 
elite*gold: 0
Join Date: Feb 2014
Posts: 43
Received Thanks: 14
Maybe you are trying to use walk coordinates that are too far away?

you cannot simply send packet walk 100 100 if your coordinates are 90 90, because you will get disconnected.
but if you are at 90 90, you can easily move to 91 91 or 92 92 coordinates.
Blomex is offline  
Old 04/25/2020, 19:35   #3
 
elite*gold: 0
Join Date: Jan 2011
Posts: 21
Received Thanks: 3
Quote:
Originally Posted by Blomex View Post
Maybe you are trying to use walk coordinates that are too far away?

you cannot simply send packet walk 100 100 if your coordinates are 90 90, because you will get disconnected.
but if you are at 90 90, you can easily move to 91 91 or 92 92 coordinates.
Yes I know what you are saying, but I wanted something similar to what happens when you click on the minimap and the character moves to that position. It would be pretty difficult to send a new walk packet every second, just to get there
CapitanoKidd is offline  
Old 04/25/2020, 19:41   #4
 
Limoo's Avatar
 
elite*gold: 0
Join Date: Jan 2017
Posts: 475
Received Thanks: 192
Quote:
Originally Posted by CapitanoKidd View Post
Yes I know what you are saying, but I wanted something similar to what happens when you click on the minimap and the character moves to that position. It would be pretty difficult to send a new walk packet every second, just to get there
You must create a program that communicates to the packetlogger and that sends the packet with the updated coordinates every second.

has TCP connection
Limoo is offline  
Old 04/25/2020, 19:42   #5
 
Pumba98's Avatar
 
elite*gold: 55
Join Date: Jan 2011
Posts: 1,240
Received Thanks: 1,187
It's not possible without some kind of "logic" that sends the correct packets for you.
keep in mind that the "walk" packet is only server side movement. You won't see your character moving (you can only observe it with a second character)
Pumba98 is offline  
Thanks
1 User
Old 04/25/2020, 19:44   #6
 
elite*gold: 0
Join Date: Oct 2018
Posts: 257
Received Thanks: 207
Walk packet is : walk x y ((x+y)%3)%2 speed

First, as Blomex said, you can't just walk where you want from where you are, you have to do it step by step.
Imagine you are in 0;0 and you have a speed of 12, your step will be 4. So you can go to a maximum distance of 4.
If you want to go to the coordinate (50,50), it means you will go (4;4), (8;8), (12,12), ... (44,44), (48,48), (50,50)
so your packet would be something like
walk 4 4 0 12
walk 8 8 0 12
...
walk 50 50 1 12

That is all for the packet. But that could probably not fix your issue since walk packet only says to the server where you want to go (it can be denied if distance is too far, or if there is an unwalkable object in (x;y)
anyway, you won't see any change on your screen and will need tp packet in order to simulate it.

Tp packet is : tp [entityType] [entityId] [x] [y] 0

(I don't know what is the 0, you will probably have your answer in Opennos' source or something like that)

So when you send a walk in x;y, also simulate the recieve of tp 1 [yourId] x y 0 and you'll be fine !
Apourtartt is offline  
Old 04/25/2020, 20:40   #7
 
elite*gold: 0
Join Date: Jan 2011
Posts: 21
Received Thanks: 3
Heh, thank you all for answering, I'd love to make a tool with this purpose, but sadly I'm not a programmer. Seeing what NosBota does with its waypoints I was hoping that there was a simpler way.
CapitanoKidd is offline  
Old 04/25/2020, 23:42   #8
 
Limoo's Avatar
 
elite*gold: 0
Join Date: Jan 2017
Posts: 475
Received Thanks: 192
Quote:
Originally Posted by CapitanoKidd View Post
Heh, thank you all for answering, I'd love to make a tool with this purpose, but sadly I'm not a programmer. Seeing what NosBota does with its waypoints I was hoping that there was a simpler way.
Google how to communicate with a TCP server and you're done.
Then you just have to create your own ad hoc program (it's practically like creating a macro with AutoHotKey or AcTool)

I did it with the but you can use any language of which it's easy for you to learn the basics.
Limoo is offline  
Old 04/25/2020, 23:44   #9

 
FI0w's Avatar
 
elite*gold: 50
Join Date: Jul 2014
Posts: 1,699
Received Thanks: 1,165
Quote:
Originally Posted by CapitanoKidd View Post
Heh, thank you all for answering, I'd love to make a tool with this purpose, but sadly I'm not a programmer. Seeing what NosBota does with its waypoints I was hoping that there was a simpler way.
You can use the Game Functions from the Client to do a walk like this. Most parts are here already in the Forum

You just need to find the new adresses(isnt that hard lol)


//Found on "Real NostaleSDK"
Code:
void MoveTo(uint32_t mapPos)
{
    // Ensure the base pointer has been found..
    if (PlayerObjManagerPointer == 0)
        return;
 
    // Read the pointer..
    auto pointer = *(uintptr_t*)PlayerObjManagerPointer;
    if (pointer == 0) return;
    pointer = *(uintptr_t*)pointer;
    if (pointer == 0) return;
 
    auto func = MoveToPositionFunction;
 
    __asm
    {
        push 1
        xor ecx, ecx
        mov edx, mapPos
        mov eax, pointer
        call[func];
    }
}
PS: With code like this the client auto sends the right walk packets so no handle needed for it. And bc you dont know much as i see:
You will see your Character Move with this witout a second client etc.
FI0w is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Packets packets packets...
10/06/2012 - CO2 Private Server - 13 Replies
I have been struggling to understand what is a Packet how could i create one with the data i want then send it to my server So please any one tell if as example i want to send some info from my client to my server, then handle them from the server how could i do that : i have my socket server, also i don't wanna copy and paste codes i want to UNDERSTAND. My PacketReader.cs
[Exploit] Jump through the ground and move whereever you want then jump back
06/28/2008 - General Gaming Releases - 7 Replies
Hai, in my effort to try and contribute to this amazing place =) This can work like a teleport in getting you almost any place you want to go. It requires no addons/bots/programs, its built in nicly in age of conan Here is how you do it : Simply type : /minion_falling_down Voila you fall through and can move wherever you want to go



All times are GMT +1. The time now is 05:19.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.