Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > League of Legends
You last visited: Today at 21:59

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

Advertisement



Durpin's LoL Skin Changer (with SOURCE)

Discussion on Durpin's LoL Skin Changer (with SOURCE) within the League of Legends forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 9
Received Thanks: 2
Durpin's LoL Skin Changer (with SOURCE)

Hey everyone,

I made a League of Legends skin changer a while back and I want to release it to the community. I decided to include a copy of the source code for any inquiring minds/aspiring programmers. This was coded in C++. It requires AsmJit () in order to compile.

This works as of October 8, 2012. I don't plan on updating it in the future, but... you all have the source so it shouldn't be too hard to find the new offsets when the new patch comes out.

To use, simply open up a command line window and follow this syntax:
"PATH OF LSC.EXE (AKA WHERE YOU DOWNLOADED AND SAVED THE FILE)" "YOUR SUMMONER NAME IN QUOTES" SKINID

Example:
"C:\Users\root\Desktop\LSC.exe" "Dyrus" 2

The program will launch and wait for a copy of "League of Legends.exe" to be running. As soon as champion select is over and the game loads, LSC will patch in-game memory. This will allow you to play your selected champion with that skin ID. To find the desired skin ID you want to use, please refer to:

For example, if I wanted to play with the limited edition All-Star Akali skin, I would retrieve the skin ID from the following page:


One can see that this is skin "4" out of 7. You need to subtract 1 from this skin ID (since indices in game start from 0). Therefore, the skin ID is "3". I would then run LSC with the following command:

"C:\Users\root\Desktop\LSC.exe" "My Summoner Name" 3

Compiled release: (Password: durpin)
Source code:

Enjoy!

EDIT: New offsets for patch as of 10/14/2012:

#define PATCH_OFFSET 0x008EEC00
#define PATCH_RETURN_TO 0x008EEC07
*durpin is offline  
Thanks
2 Users
Old 10/09/2012, 20:09   #2
 
elite*gold: 0
Join Date: Mar 2007
Posts: 170
Received Thanks: 48
wonder 3 thing:
1.riot ban for this? (modifying memory) - i know its only client side but still...
2. how did u find the pointers? (did u search champ with skin - byte 1 than wihout 0 etc..?)

how exactly u saw the skin is 4? by the order?
mamaorha is offline  
Old 10/09/2012, 22:13   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 9
Received Thanks: 2
Quote:
Originally Posted by mamaorha View Post
wonder 3 thing:
1.riot ban for this? (modifying memory) - i know its only client side but still...
2. how did u find the pointers? (did u search champ with skin - byte 1 than wihout 0 etc..?)

how exactly u saw the skin is 4? by the order?
1. As of right now, Riot doesn't look for consistency in this memory region. It's undetected and probably will remain so (it's nothing gamebreaking, why would they ban for it?).
2. Actually, I found this by reverse engineering the incoming data packets that the server sends to the client when the game loads. I traced it down to the "CreateHero" subroutine.
3. The skin is 4 because of the order. It lists it below the picture, e.g. 4 out of 7. Now, you need to subtract 1 from this ID since game indices start from 0. (so, in reality, it's 3!)
*durpin is offline  
Old 10/09/2012, 22:34   #4
 
elite*gold: 0
Join Date: Mar 2007
Posts: 170
Received Thanks: 48
nice, thx for the info.
i wonder if i will be able to do it with just editing the memory or is it need asm patching?
mamaorha is offline  
Old 10/10/2012, 04:40   #5
 
elite*gold: 0
Join Date: Sep 2011
Posts: 83
Received Thanks: 6
Excellent, how generous of you to include the source as well. Might shove this on a (likely poorly made) GUI for simplicity when I'm bored.

Just out of curiosity, say I'm playing Akali and there's an Akali on the enemy team, is this going to apply a skin to both or just mine?
CorruptedTNC is offline  
Old 10/10/2012, 08:04   #6
 
elite*gold: 0
Join Date: Oct 2012
Posts: 9
Received Thanks: 2
Quote:
Originally Posted by mamaorha View Post
nice, thx for the info.
i wonder if i will be able to do it with just editing the memory or is it need asm patching?
What do you mean by simple memory patching? You can't really avoid using ASM in order to get this to work...

Quote:
Originally Posted by CorruptedTNC View Post
Excellent, how generous of you to include the source as well. Might shove this on a (likely poorly made) GUI for simplicity when I'm bored.

Just out of curiosity, say I'm playing Akali and there's an Akali on the enemy team, is this going to apply a skin to both or just mine?
Nope. I call strcmp in my ASM to make sure that the skin is only applied to a specific "SUMMONER NAME" (this is controlled via command line argument).
*durpin is offline  
Old 10/10/2012, 09:33   #7
 
elite*gold: 0
Join Date: Mar 2007
Posts: 170
Received Thanks: 48
i ment, finding the pointer & offsset and change it by memory editing.

instead of injecting a code of my own with asm
mamaorha is offline  
Old 10/10/2012, 13:49   #8
 
elite*gold: 24
Join Date: Sep 2011
Posts: 29
Received Thanks: 121
You should read the local summoner name from the client. 0xAF02564
tehspudgy is offline  
Old 10/10/2012, 23:02   #9
 
elite*gold: 0
Join Date: Oct 2012
Posts: 9
Received Thanks: 2
Quote:
Originally Posted by tehspudgy View Post
You should read the local summoner name from the client. 0xAF02564
Yeah, I probably should get the summoner name from the LoLClient.

My implementation here is a little messy because I never intended it to be released to the public.
*durpin is offline  
Old 10/10/2012, 23:22   #10
 
elite*gold: 0
Join Date: Apr 2012
Posts: 521
Received Thanks: 186
Was bringt das jetzt an jemand der Deutsch ist .
IkRYPToNI is offline  
Old 10/11/2012, 19:26   #11
 
xCONSTANTINEx's Avatar
 
elite*gold: 0
Join Date: Feb 2012
Posts: 16
Received Thanks: 4
niceeeeeeee
thy 4 Source Code
xCONSTANTINEx is offline  
Old 10/11/2012, 20:20   #12
 
elite*gold: 0
Join Date: Mar 2007
Posts: 170
Received Thanks: 48
is it possible to edit this source to work with c#?
mamaorha is offline  
Old 10/11/2012, 20:55   #13
 
elite*gold: 0
Join Date: Jul 2008
Posts: 7
Received Thanks: 0
can other people see your skin or its just client side?
jigger_ex is offline  
Old 10/12/2012, 08:26   #14
 
elite*gold: 0
Join Date: Oct 2012
Posts: 9
Received Thanks: 2
Quote:
Originally Posted by mamaorha View Post
is it possible to edit this source to work with c#?
Yeah, why wouldn't it?

Good guy Shynd on GD has a way you can use just in time ASM with C# using his FASM managed library:

Quote:
Originally Posted by jigger_ex View Post
can other people see your skin or its just client side?
Unfortunately, it is only client side.
*durpin is offline  
Old 10/12/2012, 14:28   #15
 
elite*gold: 0
Join Date: Mar 2007
Posts: 170
Received Thanks: 48
new patch, so the offset changed.
not sure how u found it yet
mamaorha is offline  
Reply


Similar Threads Similar Threads
Skin Changer
10/25/2011 - League of Legends - 5 Replies
In der LoL section war vor einigen Tagen oder auch Wochen ein Skin Changer. Kann mir jemand einen Link zum Download o. zum Thread schicken ?



All times are GMT +2. The time now is 21:59.


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.