Register for your free account! | Forgot your password?

You last visited: Today at 04:43

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

Advertisement



On Inventory Packet / "ITC"

Discussion on On Inventory Packet / "ITC" within the S4 League Hacks, Bots, Cheats & Exploits forum part of the S4 League category.

Closed Thread
 
Old   #1
 
Decrypted's Avatar
 
elite*gold: 0
Join Date: Mar 2016
Posts: 70
Received Thanks: 176
On Inventory Packet / "ITC"

Da ich einfach nur heulen könnte wenn ich diese dreckigen ASM & c++ snippets sehe, poste ich hier mal hier den C++ Code des packets aus meinem privaten Projekt.

Code:
void __cdecl CS4::S4_OnInventoryPacket(uint32_t i_iInventoryPacket, uint32_t i_iInventoryPointer)
{

	bool(__thiscall	*getItemAmountOfInventoryPacket)(uint32_t i_iEcx, uint32_t &i_pBindedValue, uint32_t i_pSize) = (bool( __thiscall *)(uint32_t, uint32_t&, uint32_t)) /*Srsly?*/;
	void(__cdecl	*extractItemfromPacket)(uint32_t i_iPacket, void* i_pBuffer) =	(void(__cdecl *)(uint32_t, void*))  /*Srsly?*/;
	void(__thiscall	*insertItemfromBuffer)(uint32_t i_pInventory, void* i_pBuffer) = (void(__thiscall *)(uint32_t, void*))  /*Srsly?*/;
	uint32_t a_iItemAmount = 0;
	printf("ITC -> Inventory call : 0x%x 0x%x\n", i_iInventoryPacket, i_iInventoryPointer);
	printf("\t<Normal>\n");
	{
		SItem a_oTempItem;
		ZeroMemory(&a_oTempItem, sizeof(a_oTempItem));
		bool a_fIsInventoryValid = getItemAmountOfInventoryPacket(i_iInventoryPacket, a_iItemAmount, sizeof(a_iItemAmount));
		if (!a_fIsInventoryValid)
		{
			return;
		}
		printf("\t -> Received %i Items\n", a_iItemAmount);
		for (uint32_t i = 0; i < a_iItemAmount; i++)
		{
			extractItemfromPacket(i_iInventoryPacket, &a_oTempItem);
			insertItemfromBuffer(i_iInventoryPointer, &a_oTempItem);
		}
	}
}
Wer logisch nachdenkt, könnte jetzt 1&1 zusammenfügen und noch z.b. so etwas in der Funktion hinten dranhängen:
Code:
	printf("\t<Hacked>\n");
	{
	
		insertItemfromBuffer(i_iInventoryPointer, /*Srsly?*/);
	}

Credits:
Decrypted
(Ant) = Jeder ITC hat eig. etwas mit ihm zu tuen durch sein damaliges CE Script was gepostet wurde.

Quote:
Originally Posted by Apflmus View Post
Wenn man sich mal die Sources von manchen Leuten an sieht, egal ob AutoIT oder C++, sehe ich pure Vergewaltigung, das tut mir schon im Herzen weh.
Selber Gedanke.
Decrypted is offline  
Thanks
3 Users
Old 06/18/2016, 09:45   #2
 
elite*gold: 0
Join Date: Nov 2014
Posts: 741
Received Thanks: 2,648
The Question here is why you didn't change the Packet Buffer ?

Code:
		
		for (uint32_t i = 0; i < a_iItemAmount; i++)
		{
			extractItemfromPacket(i_iInventoryPacket, &a_oTempItem);
			insertItemfromBuffer(i_iInventoryPointer, &a_oTempItem);
		}
i used simple that function in the new ITC it looks like

Code:
		
for (auto it = InventoryStack.begin(); it <  InventoryStack.end(); it++)
	{
                a_oTempItem = it->second;
		//extractItemfromPacket(i_iInventoryPacket, &a_oTempItem);
		insertItemfromBuffer(i_iInventoryPointer, &a_oTempItem);
	}
but the opensource is **** i said it everywhere :3

You can also Grab K1ramox Packet Mananger OpenSource to make it based on the Packet Buffer. Its a methode which i could recommend

{
Character_CurrentItemInfo_Ack = 1004,
Item_InventoryInfo_Ack = 1005,
}
Credits K1ramox
RingleRangleRob is offline  
Thanks
3 Users
Old 06/18/2016, 10:35   #3
 
Decrypted's Avatar
 
elite*gold: 0
Join Date: Mar 2016
Posts: 70
Received Thanks: 176
Quote:
Originally Posted by Sycode' View Post
...
Because i just wanted to post the normal way like mentioned.
Decrypted is offline  
Old 06/18/2016, 10:50   #4
 
elite*gold: 0
Join Date: Nov 2014
Posts: 741
Received Thanks: 2,648
Quote:
Originally Posted by Decrypted View Post
Because i just wanted to post the normal way like mentioned.
Sorry but there isn't a normal way. You can also create the items later while you are in the inventory. An Item Creator hasn't a normal way ..you can do it like you want. :8
RingleRangleRob is offline  
Thanks
1 User
Old 06/18/2016, 11:25   #5
 
elite*gold: 0
Join Date: Jun 2016
Posts: 10
Received Thanks: 6
95% der S4 Section sind doch eh zu dumm um das anzuwenden. ^^
»Unknown« is offline  
Old 06/18/2016, 11:28   #6
 
Decrypted's Avatar
 
elite*gold: 0
Join Date: Mar 2016
Posts: 70
Received Thanks: 176
Quote:
Originally Posted by Sycode' View Post
Sorry but there isn't a normal way. You can also create the items later while you are in the inventory. An Item Creator hasn't a normal way ..you can do it like you want. :8
Normal Way = How S4 Do It ... This isn´t an ITC-Thread its "ITC"

Quote:
Originally Posted by »Unknown« View Post
95% der S4 Section sind doch eh zu dumm um das anzuwenden. ^^
Das ist mir egal. Es gibt genug die einfach nichts auf EPVP schreiben, wie ich eig. auch.
Decrypted is offline  
Old 06/18/2016, 13:47   #7
 
elite*gold: 0
Join Date: Nov 2014
Posts: 741
Received Thanks: 2,648
Quote:
Originally Posted by Decrypted View Post
Normal Way = How S4 Do It ... This isn´t an ITC-Thread its "ITC"



Das ist mir egal. Es gibt genug die einfach nichts auf EPVP schreiben, wie ich eig. auch.
ITC -> Item Creator -> Jede Methode um ein Item zu erstellen
RingleRangleRob is offline  
Thanks
1 User
Old 06/18/2016, 13:50   #8
 
Hadi1996's Avatar
 
elite*gold: 0
Join Date: Jun 2014
Posts: 29
Received Thanks: 2
Can anyone send me a link where i can download the faithdev injector pls
Hadi1996 is offline  
Old 06/18/2016, 14:34   #9


 
K1ramoX's Avatar
 
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
That's how I did it in the past when I tried to deal with it for the first time. The item struct and rmiID may changed over time. It still needs some more detours which you gotta figure out on your own.

K1ramoX is offline  
Thanks
7 Users
Old 06/18/2016, 16:32   #10
 
Decrypted's Avatar
 
elite*gold: 0
Join Date: Mar 2016
Posts: 70
Received Thanks: 176
Quote:
Originally Posted by Sycode' View Post
ITC -> Item Creator -> Jede Methode um ein Item zu erstellen
English. Can you read it?

"Normal Way = How S4 Do It" srsly learn to read
Decrypted is offline  
Thanks
1 User
Old 06/18/2016, 17:18   #11
 
elite*gold: 0
Join Date: Nov 2014
Posts: 741
Received Thanks: 2,648
Quote:
Originally Posted by Decrypted View Post
English. Can you read it?

"Normal Way = How S4 Do It" srsly learn to read
No i can't. Finn

But say "Normal Way of S4" next time kkkkkk ? and adding items is also a normal way of s4 (if you buy or craft)...
RingleRangleRob is offline  
Thanks
1 User
Old 06/18/2016, 17:20   #12
 
elite*gold: 0
Join Date: Jun 2011
Posts: 13
Received Thanks: 0
???? I dont understand XD
Kar0z is offline  
Old 06/18/2016, 17:30   #13
 
Decrypted's Avatar
 
elite*gold: 0
Join Date: Mar 2016
Posts: 70
Received Thanks: 176
Quote:
Originally Posted by Sycode' View Post
No i can't. Finn

But say "Normal Way of S4" next time kkkkkk ? and adding items is also a normal way of s4 (if you buy or craft)...
Np Virus.Bat
Decrypted is offline  
Thanks
2 Users
Old 06/18/2016, 19:43   #14
 
elite*gold: 10
Join Date: Dec 2013
Posts: 1,224
Received Thanks: 3,095
Quote:
Originally Posted by Decrypted View Post
Virus.Bat
Ich frage mich warum ihn bis heute keiner wegen multiaccounting bannen lässt... Sein einer soulcr4ck acc ist ja noch nicht gebannt.

@topic pretty usefull for us. thanks
TheMokko is offline  
Old 06/18/2016, 20:10   #15
 
[Beatrice]'s Avatar
 
elite*gold: LOCKED
Join Date: Oct 2014
Posts: 1,258
Received Thanks: 12,469
Quote:
Originally Posted by TheMokko View Post
Ich frage mich warum ihn bis heute keiner wegen multiaccounting bannen lässt... Sein einer soulcr4ck acc ist ja noch nicht gebannt.

@topic pretty usefull for us. thanks
I thought you'd retire from elitepvpers. Why not leave already?
[Beatrice] is offline  
Thanks
1 User
Closed Thread




All times are GMT +1. The time now is 04:43.


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.