Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 18:26

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

Advertisement



[CS 1.6] How to add Auto Offsets

Discussion on [CS 1.6] How to add Auto Offsets within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
Zo0YorK3h's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 136
Received Thanks: 84
[CS 1.6] How to add Auto Offsets

No section for CS =[ But, i found a crap load of my old coding on my old hard drive so i decided to share .

This is how to add auto offsets to a CS 1.6 Hack source.

Anywhere in client.cpp
PHP Code:
void func_offsetlog()
{
    
string filepath getOgcDirFile(cmd.argC(1));
    
filepath += "OffsetLog.ini";
    
ofstream outfile;
    
outfile.open(filepath.c_str(), ofstream::out ofstream::trunc);

    
outfile<<"SoundByte : 0x" <<soundbyte<<endl;
    
outfile<<"GlobalTime : 0x" <<globaltime<<endl;
    
outfile<<"PlayerMove : 0x" <<ppmove<<endl;
    
outfile<<"EngineFuncs : 0x" <<pEngfuncs<<endl;
    
outfile<<"SlotsPointer : 0x" <<slots<<endl;
    
outfile<<"EngineStudio : 0x" <<pstudio<<endl;
    
outfile<<"StudioInterface : 0x" <<ppinterface<<endl;
    
    
outfile.close();

Then register it.
PHP Code:
cmd.AddCommand("logoffsets" ,func_offsetlog);
//or most src's are set like
REGISTER_COMMAND(logoffsets); 
all done =]

This will make a file in ur hack directory named offsets.iini
Zo0YorK3h is offline  
Old 01/08/2010, 16:16   #2
 
elite*gold: 150
Join Date: Dec 2007
Posts: 1,860
Received Thanks: 567
give credits im sure its not your work
.SketchBear is offline  
Old 01/08/2010, 18:02   #3
 
Zo0YorK3h's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 136
Received Thanks: 84
It is my work -.-, If you knew c++ it's not very hard to make it write to a file.
Zo0YorK3h is offline  
Reply


Similar Threads Similar Threads
{REQUEST} 1.654 ksro offsets of auto select
12/09/2009 - Silkroad Online - 3 Replies
I need 1.654 ksro offsets of auto select plsss some one find this **** offsets i need them
Offsets of Non-Agro and Auto Pots? No more?
05/05/2009 - Dekaron - 4 Replies
First of all i would like to greet everyone nice meeting yah all... I would like to ask if the offsets of the non-agro and Auto pots still exist because i already read... "How to find the ACTING offsets FOR CE HACKS." and \/xWx\/ state that.. The codes need to Assemble scan: Auto POTS-> cmp dword ptr ,13 Non AGRO-> movzx eax,word ptr
Best auto buffer + auto multi resser + auto pot
01/13/2009 - SRO Hacks, Bots, Cheats & Exploits - 87 Replies
Hi there this is the best auto buffer - auto resser - auto pot so far! i searched the forum but i didnt find it here so i want to share it! screen shots! 1-
GG Updated... Auto Hp, Auto loot, Auto summon not working anymore
11/29/2007 - Dekaron - 21 Replies
GG Updated again! all of my pinacle are not working...



All times are GMT +2. The time now is 18:26.


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.