; This file is part of ADL2.
; ADL2 is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
; ADL2 is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
; You should have received a copy of the GNU General Public License
; along with ADL2. If not, see <http://www.gnu.org/licenses/>.
; You May Not Make Commercial Use of any of our content, and any kind
; of newer implementations will be need to be shared and commited.
include windows.inc
extrn ?CanSellItem@COfflineShop@@SA_NPEAVCItem@@@Z:proc
extrn CanSellItem:proc
.code
.data
ManagePrivateStoreFilterHook proc
mov rax, [rcx+30h]
cmp dword [rax+70h],39h
jnz @F
ret
@@:
push rax
push rcx
sub rsp, 20h
call CanSellItem
add rsp, 20h
cmp rax, 0
pop rcx
pop rax
ret
ManagePrivateStoreFilterHook endp
end
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Thank you for the reply. I know that this issue is due to L2 being so old. I was just wondering if there was an external way to fix the UI scaling. Like a patch or some settings.
Dear players,
From April 19 to April 27 inc., the Bonus Start event will be active. It’s designed to help new and low-level characters get started more easily.
All characters that meet one of the following conditions:
— created less than 3 days ago (regardless of level),
— currently level 20 or below,
— created during the event period,
will receive upon login:
— 10 sets of buff scrolls (phys or mage, depending on class),
— 10 packs of +50% Drop/Spoil runes (2 hours each),
— 10 packs of +50% Exp runes (2 hours each).
Characters between level 21 and 30 will receive upon login:
— 6 sets of buff scrolls,
— 6 packs of +50% Drop/Spoil runes (2h each),
— 6 packs of +50% Exp runes (2h each).
Event items will be removed approx. 09.05.2025
Server rates will be increased to x2.25.
Take this chance to start your journey with ease or bring an old hero back into the fight — it’s the perfect time to test your strength!
Open Beta Test is started!
Helper cats are waiting in towns — talk to them to receive the necessary equipment and level up your character.
Siege Schedule:
- April 13 at 16:00 (GMT+2) – Innadrile Castle
- April 14 at 20:00 (GMT+2) – Bandit Stronghold
- April 15 at 20:00 (GMT+2) – Devastated Castle
📌 During the OBT, players who report bugs will receive CoL:
- 1 CoL for each reported staticmeshes bug (e.g., walking through textures, stairs, etc.)
- 2 CoL or more for server-related issues (depending on severity)
You can report bugs on the forum.
The Open Beta Test will run approximately until April 15 at 23:00 (GMT+2).
Your activity and feedback will help us improve the game.
Download links:
Download client | Download updater
Question
Naelson
Someone there has conhecimendo where I am failing
I am new to programming
I can not find the syntax error

Edited by Jamba1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.