Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Right Click Mouse  (Visto 48527 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline stark98 #280 Posteado: September 25, 2023, 12:54:30 PM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 129
  • Gracias recibida: 1997
  • fr
Maybe your ObjectItem struct is wrong

I don't know if the structure is correct. I can't figure out where the values ​​in char PosX come from; charPosY;
I did not find a single piece of code that would write values ​​to these variables.

https://prnt.sc/26gxuca

Writing to variables goes in main.exe
Запись в переменные идет в самом main.exe

https://prnt.sc/26h135z

Added these lines from other sources now everything works.
Could you explain a little to me how main writes values ​​to these variables?.
I want to understand this and understand how it works.

Не могли бы вы мне немого объяснить как main записывает значения в эти переменные?.
Я хочу в этом разобраться и понимать как это работает.

Certainly! `#pragma pack` is a preprocessor directive used in the C and C++ programming languages to control the alignment of structures or other data types in memory. The `#pragma pack` directive allows programmers to specify or modify how the elements of structures or variables are aligned in the computer's memory.

The `#pragma pack` directive is followed by an integer argument that specifies the desired alignment. This argument indicates the number of bytes with which to align the elements of structures. Typically, the value is specified as a power of 2 (e.g., 1, 2, 4, 8), but it can vary depending on the compiler and platform.

For example, if you want to align the elements of a structure to 4 bytes in memory, you can use the `#pragma pack(4)` directive before the structure definition. This will cause all elements in the structure to be aligned on 4-byte boundaries instead of the default alignment.

It's important to note that using `#pragma pack` can lead to more efficient memory usage in certain cases but can impact performance because accessing unaligned data may be slower on some hardware architectures. Therefore, it's essential to use this directive carefully and consider the specific requirements of your platform and program when deciding to modify the default alignment.
Explained by Chat GPT. magia2

Be cool, and all will be ok))
Skype: sky.hack2
Discord: bonny9

Gracias:


Offline nhaixuong #281 Posteado: October 14, 2023, 08:25:13 AM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 82
  • Gracias recibida: 987
  • vn
@ZabiinoOo  ayúdalo a agregar el hide al tema, porque si no no le van a dar gracias.
Thank you
B có zalo không, e xin kết bạn hỏi chút về cái code chuột này với  woot

Gracias:


Offline networks1 #282 Posteado: February 25, 2024, 06:28:33 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 14
  • Gracias recibida: 3
  • ve
Alguien me podría decir en que archivos va el código? soy nuevo programando, se los agradeceria


Offline meiwenhan123 #283 Posteado: March 16, 2024, 09:30:27 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 2
  • Gracias recibida: 0
  • cn
very good, works perfect.. thanks


Offline eduardo253 #284 Posteado: April 23, 2024, 12:39:53 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 58
  • Gracias recibida: 4
  • ar
Hola alguien tubo error en este

code

// Click Derecho
#if(MOVE_ITEM)
   last_tickcount_moveitem_ = 0;
#endif
 


Offline KhongGianOL #285 Posteado: April 25, 2024, 12:18:34 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 229
  • Gracias recibida: 653
  • vn
Hola alguien tubo error en este

code

// Click Derecho
#if(MOVE_ITEM)
   last_tickcount_moveitem_ = 0;
#endif

Không ai gặp lỗi cái này cả...cậu chèn code sai hoặc thiếu mới báo...phải chụp rõ cái hình lên chứ....

Note Eng:  No one has encountered this error... you inserted the wrong or missing code to report... you should take a clear picture... who knows what error you encountered?

Be kind, for everyone you meet is fighting their hard battle

Offline stark98 #286 Posteado: June 06, 2024, 03:03:13 PM | Modificado: June 06, 2024, 03:22:52 PM by stark98

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 129
  • Gracias recibida: 1997
  • fr
Alguien ha podido solucionar para que en ICARUS No se pueda quitar las alas o Dinorant ??

hi everyone! I don't know if this question (problem) is still current, but by adding this change I decided to share it with you:

I hope it will be useful!  magia2

Be cool, and all will be ok))
Skype: sky.hack2
Discord: bonny9

Online PowerNet #287 Posteado: June 10, 2024, 06:44:07 AM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 131
  • Gracias recibida: 165
  • il
S3 TAI 1.02p  - no work?


Offline Bladimir1 #288 Posteado: June 26, 2024, 08:30:57 PM

  • 0 puntos por ventas
  • *
  • Rank: Destacado
  • Posts: 86
  • Gracias recibida: 285
  • au
alguien tiene este para s8?

SetCompleteHook(0xE9, 0x0083B7E4 + 0x150, &Equipments);//1.04D->0x0083B7E4


Offline HaPKoTuK #289 Posteado: October 13, 2024, 07:33:46 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 32
  • Gracias recibida: 5
  • md

Gracias:


Offline HaPKoTuK #290 Posteado: October 14, 2024, 02:20:32 AM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 32
  • Gracias recibida: 5
  • md

Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
19 Replies
3284 Views
Last post April 08, 2021, 01:45:40 AM
by xtestx
10 Replies
1917 Views
Last post December 23, 2020, 11:11:55 PM
by Ketamine
0 Replies
838 Views
Last post October 18, 2022, 10:41:43 AM
by ziza
1 Replies
848 Views
Last post February 02, 2023, 01:32:54 AM
by takumi12
4 Replies
637 Views
Last post June 27, 2023, 11:01:18 PM
by crazyyXXTT