so i found item slot id.
i use hot key to increase/decrase whit 1
now the thing is ,when u put number large then 50
your game will crush
can i limit the increase to 50?/deacrease to 0?
how to set limit for increse hoe key?
-
- Expert Cheater
- Posts: 852
- Joined: Fri Oct 12, 2018 10:25 pm
- Reputation: 896
Re: how to set limit for increse hoe key?
Not with the hotkeys you're using. But it's possible with LUA.
I can't help you with that, sadly, as my LUA knowledge is really limited. But if you know LUA or can find some info online, it should be easy enough with just a comparison of the value. Here are the two things you need:
Lua Hotkey: [Link]
Increment until specific value: [Link]
I can't help you with that, sadly, as my LUA knowledge is really limited. But if you know LUA or can find some info online, it should be easy enough with just a comparison of the value. Here are the two things you need:
Lua Hotkey: [Link]
Increment until specific value: [Link]
Re: how to set limit for increse hoe key?
thank you very much manGreenHouse wrote: ↑Sat Jun 22, 2019 3:33 pmNot with the hotkeys you're using. But it's possible with LUA.
I can't help you with that, sadly, as my LUA knowledge is really limited. But if you know LUA or can find some info online, it should be easy enough with just a comparison of the value. Here are the two things you need:
Lua Hotkey: [Link]
Increment until specific value: [Link]
Re: how to set limit for increse hoe key?
Code: Select all
push eax
push ebx
mov eax,[slot_Id_Address]
xor ebx,ebx
cmp eax,ebx
cmovl eax,ebx
mov ebx,32
cmp eax,ebx
cmovg eax,ebx
mov [slot_Id_Address],eax
pop ebx
pop eax
Who is online
Users browsing this forum: No registered users