Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 14:47

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


help with the code to save teleportation

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2005
Posts: 33
Received Thanks: 1
help with the code to save teleportation

Hi, how are you all?
I'm starting to create a game hack I'm in the 1 part XD
I want to do

teleport hack because with the quest to go and return takes a long time
I already have all the points I leave the game and I go back in and everything is still there XD

now using that code except on the ALT + 1 key and the character does not walk anymore


xpos


ypos


Zpos



and I had the idea of passing the code to C ++ or C # but I do not have much experience of those codes

so if someone can give me a little hand
help with the save of the Cheat engine or move to C ++, C #
asin that I have all echo postare everything here

Thank you



p3rm3l0mga is offline  
Old 02/19/2018, 11:25   #2
 
elite*gold: 0
Join Date: Feb 2018
Posts: 9
Received Thanks: 5
When handling with memory you should prefer c++.

You have some options here:
1> Copy the bytecode from ce and alloc / insert it with raw memory writing / allocating
2> Use a c++ DLL with Inline Asm + __declspec(naked)
3> Use a c++ DLL and recreate the structures / classes

For the beginning you should just try the second approach.
(3> You can recreate them with the offsets and if possible some RTTI to get the class names)


かぎつめ is offline  
Old 02/20/2018, 00:47   #3
 
elite*gold: 0
Join Date: Oct 2005
Posts: 33
Received Thanks: 1
Quote:
Originally Posted by かぎつめ View Post
When handling with memory you should prefer c++.

You have some options here:
1> Copy the bytecode from ce and alloc / insert it with raw memory writing / allocating
2> Use a c++ DLL with Inline Asm + __declspec(naked)
3> Use a c++ DLL and recreate the structures / classes

For the beginning you should just try the second approach.
(3> You can recreate them with the offsets and if possible some RTTI to get the class names)
thank you very much I'm going to put on that even though I already aregle it in CE
Now it works for me hehehe good + - I still get an error when I teleport I go underground: I'm trying to see how they are
if I use manual only the Y goes well but condominium use the set

it does not save me well
p3rm3l0mga is offline  
Old 03/07/2018, 00:25   #4
 
elite*gold: 0
Join Date: Aug 2010
Posts: 11
Received Thanks: 0
float PosiX,PosiY,PosiZ;

(Save)
PosiX = *(float*)(Playerpointer+Offset_X);
PosiY = *(float*)(Playerpointer+Offset_Y);
PosiZ = *(float*)(Playerpointer+Offset_Z);

(Teleport Location)
*(float*)(Playerpointer+Offset_X) =PosiX;
*(float*)(Playerpointer+Offset_Y) =PosiY;
*(float*)(Playerpointer+Offset_Z) =PosiZ;


icebox2010 is offline  
Old 10/07/2018, 03:12   #5
 
elite*gold: 0
Join Date: Oct 2005
Posts: 33
Received Thanks: 1
Quote:
Originally Posted by icebox2010 View Post
float PosiX,PosiY,PosiZ;

(Save)
PosiX = *(float*)(Playerpointer+Offset_X);
PosiY = *(float*)(Playerpointer+Offset_Y);
PosiZ = *(float*)(Playerpointer+Offset_Z);

(Teleport Location)
*(float*)(Playerpointer+Offset_X) =PosiX;
*(float*)(Playerpointer+Offset_Y) =PosiY;
*(float*)(Playerpointer+Offset_Z) =PosiZ;

hello such and thank you very much for the code but I'm still lost how to use it
would be a l˙a script or something of the type
p3rm3l0mga is offline  
Old 10/07/2018, 21:20   #6
 
elite*gold: 0
Join Date: Dec 2014
Posts: 407
Received Thanks: 170
he's just telling you to dereference a pointer with the offset.
you're basically using the class-pointer which in this case is the player pointer and the offsets which correspond to the class attributes (x,y,z).
then you can either assign (write) or read the memory at that location. just make sure that the game isn't compiled with an ASLR flag since you'd first need to read the class-pointer dynamically using patterns. that approach is also much better than inline assembler and more readable.


_asm is offline  
Reply



« Multiclient | CSV datei als array auslesen »

Similar Threads
[Problem]Need Help With teleportation-Teleportation not Working !
06/26/2016 - SRO PServer Ask the Experts - 2 Replies
well i checked every thing in the database and activated the alex teleportation but still when clicking it in the game it doesn't send me there ! :rtfm: my pc ram is 8G and core I5 ! why now if it's any thing else tell me and give me a query <better:) Thx :handsdown::handsdown: By the way i don't know how to restart shard manger ! and it get's me an Query Error!!! Query Result : -1, Query : {?=CALL _ExistsServiceOffRentItem} & SQL Error State:42000, Native Error Code: AFC, ODBC Error:...
[Trusted|Billig|Save] KillService By .Replay' & PerfectTyga [100%Save]
03/26/2013 - WarRock Trading - 13 Replies
Hallo Epvp PerfectTyga & Ich biete euch einen Killservice an. http://s7.directupload.net/images/130308/hb4lolcm.jpg Ablauf : Wir Stellen uns mit einem "NoSpawnWait-Hack" afk & ihr killt uns, dies rate ich euch mit einem Auto (Humwee) zu tuhen , denn pro kill bekommt ihr 7 Punkte statt den gewohnten 5 Punkten pro Kill :) Ablauf▓ : Ihr gebt uns ID+PW , und wir machen euch die kills :)
[Release] Teleportation Code [5165]
02/22/2010 - CO2 PServer Guides & Releases - 3 Replies
Chat.cs: if (Cmd == "/tele") GC.MyChar.Teleport(ushort.Parse(Cmd), ushort.Parse(Cmd), ushort.Parse(Cmd)); Usage: /tele (map id) (x) (y) Example: /tele 601 61 54 http://i746.photobucket.com/albums/xx110/brokentwilight91/Capture.png



All times are GMT +1. The time now is 14:47.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.