Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > 12Sky2
You last visited: Today at 14:07

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

Advertisement



array of bytes? idea?

Discussion on array of bytes? idea? within the 12Sky2 forum part of the MMORPGs category.

Reply
 
Old   #1
 
¼S†a†icConfig¼'s Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 228
Received Thanks: 42
array of bytes? idea?

there was a game i played along time ago where you could change the array of bytes so when you buy an item instead of taking away your silver it gave you the amount of silver the item costed...Is that possible to do on 12sky2?

im not that advanced yet or else id try myself...but would really like to know if thats at all possible...
¼S†a†icConfig¼ is offline  
Old 05/26/2011, 18:25   #2
 
elite*gold: 0
Join Date: May 2008
Posts: 209
Received Thanks: 67
Everything is possible you just need to think ! I don't know anyway of doing it but it's posible to find.
ovicka is offline  
Old 05/27/2011, 02:15   #3
 
tri407tiny's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 620
Received Thanks: 272
sadly a prgram is made of "bytes" thus he basiclly modified part of the virtual preloaded memory, what does that mean, it may be possible but what he did was game specific.
tri407tiny is offline  
Old 05/28/2011, 11:47   #4

 
Mega Byte's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 1,776
Received Thanks: 1,003
Yeah.. what he did was change the ASM or the bytes that the asm represents to instead subtracting to add for example

SUB EAX, EBX
MOV [MoneyAddress],EAX

he would of changed to

ADD EAX,EBX
MOV [MoneyAddress],EAX

Another change you could make is to make the item not change your money when you buy it.
NOP
NOP
NOP
NOP
NOP
NOP
NOP

etc....

But as tri407tiny said you can only do this in some games. For example most single player rpg games.

12sky2 does client side checks to see if you can buy the item and then sends packet to server containing item id and count of how many to buy. It also contains your X Z Y and target NPC I think.

The server does some checks to see if you can buy the item and that the invintory slot is free. If so silver is deducted item is given invintory is updated and the transaction is complete.
Mega Byte is offline  
Thanks
1 User
Old 07/11/2011, 06:26   #5
 
elite*gold: 0
Join Date: Jul 2011
Posts: 2
Received Thanks: 0
Well, you are widening the char into a short value. What you want is to interpret two as an short. static_cast cannot cast from unsigned char* to unsigned short*. You have to cast to void*, then to unsigned short*:

unsigned short *p = static_cast<unsigned short*>(static_cast<void*>(&packetBuffer[1]));
suryaprasath is offline  
Old 07/11/2011, 07:10   #6

 
Mega Byte's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 1,776
Received Thanks: 1,003
unrelated.. but yeah you could do that i havent really used static or dynamic cast or reintepret cast so wouldnt have any idea how to use them.

But in TS2 you cant do this money hack. Ive tried everywhere I can think. If someone does find it let me know and I can prevent it in pserver
Mega Byte is offline  
Reply


Similar Threads Similar Threads
WTS Skill 1+2 + array of bytes
01/20/2010 - Dekaron Trading - 0 Replies
WTS Skill 1+2 + array of bytes pm me with offers on siz
what is array of bytes for gm teleport
12/12/2009 - Dekaron - 5 Replies
someone tell me plsss dont make me have to assembly scan for god knows how long -.-
Array of Bytes
10/02/2009 - Dekaron - 1 Replies
Hi, could someone please post the array of bytes needed for: -Vac -Non-Agro -Speed -Map Hack -Far Eye -Zoom -Auto Pots And if anyone is even more generous, could you PM me the AoB for the skill hacks as well. I don't have much to give back seeing as this is a forum, but i will give you my thanks.
array of bytes skill
09/16/2009 - Dekaron - 3 Replies
hey can someonen send me the array of bytes to find the code for skillhack plz ty woody



All times are GMT +2. The time now is 14:07.


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.