Re: [Release] v80 MapleSEA Scripts
Posted: Tue Sep 08, 2009 10:15 pm
Hi , can anybody tell me wats wrong with this script?
I took this from [Release] v80 MapleSEA Scripts and added the //ETC part.
Thanks in advance.
Code: Select all
[ENABLE]
Alloc(filter,124)
label(ifreject)
label(end)
label(skip)
Alloc(iftable,16024)
label(ifexit)
filter:
push ebx
push esi
xor ebx, ebx
mov esi,iftable
ifreject:
cmp eax,[esi]
je skip
cmp [esi],ebx
je end
add esi,4
jmp ifreject
skip:
mov eax,00
end:
pop esi
pop ebx
mov [edi+34], eax
mov edi, [ebp-14]
jmp ifexit
iftable:
//Usable Items
dd 1F6EE0 //Arrow for Bow
dd 1F72C8 //Arrow for Crossbow
dd 1F6EE1 //Bronze Arrow for Bow
dd 1F72C9 //Bronze Arrow for Crossbow
//Potions
dd 1E8480 //Red Potion
dd 1E8481 //Orange Potion
dd 1E8482 //White Potion
dd 1E8483 //Blue Potion
dd 1E8486 //Mana Elixer
dd 1E8487 //Red Pill
dd 1E8488 //Orange Pill
dd 1E8489 //White Pill
dd 1E848A //Blue Pill
dd 1E848B //Mana Elixer Pill
dd 1E8484 //Elixer
dd 1E8485 //Power Elixer
dd 1F47D4 //All Cure Potion
dd 1F47D0 //Antidote
dd 1F47D1 //Eye Drop
dd 1F47D3 //Holy Water
dd 1F47D2 //Tonic
dd 1E8C50 //Dexterity Potion
dd 1E8C52 //Magic Potion
dd 1E8C55 //Sniper Potion
dd 1E8C51 //Speed Potion
dd 1E8C54 //Warrior Potion
dd 1E8C53 //Wizard Potion
dd 1E8C59 //Dexterity Pill
dd 1E8C57 //Magic Pill
dd 1E8C58 //Sniper Pill
dd 1E8C5A //Speed Pill
dd 1E8C56 //Warrior Pill
dd 1EAB93 //Orange
dd 1EAB94 //Lemon
//Rocks
//dd 3D2071 //The Summoning Rock
//dd 3D2070 //The Magic Rock
//Mini-Game Items
dd 3D7E3C //Monster Card
dd 3D7E3D //Bloctopus Omok Piece
dd 3D7E31 //Mushroom Omok Piece
dd 3D7E3A //Octopus Omok Piece
dd 3D7E39 //Omok Table
dd 3D7E3F //Panda Teddy Omok Piece
dd 3D7E3B //Pig Omok Piece
dd 3D7E3E //Pink Teddy Omok Piece
dd 3D7E30 //Slime Omok Piece
dd 3D7E40 //Trixter Omok Piece
//Ores
dd 3D3013 //Adamantium Ore
dd 3D3010 //Bronze Ore
dd 3D3016 //Gold Ore
dd 3D3012 //Mithril Ore
dd 3D3015 //Orihalcon Ore
dd 3D3014 //Silver Ore
dd 3D3011 //Steel Ore
//Jewel Ores
dd 3D5721 //Amethyst Ore
dd 3D5722 //Aquamarine Ore
//dd 3D5728 //Black Crystal Ore
dd 3D5727 //Diamond Ore
dd 3D5723 //Emerald Ore
dd 3D5720 //Garnet Ore
dd 3D5724 //Opal Ore
dd 3D5725 //Sapphire Ore
dd 3D5726 //Topaz Ore
dd 00
//ETC
dd 04001128 //Powder Keg
dd 3D0AD4 //SomeBody's Tire
dd 3D0AD3 //Yellow Wig
dd 3D0AD9 //Dented Barrel
dd 3D0ADA //Lucky Hat
dd 3D0CE8 //Glass Shoe
dd 3D0920 //Ligator's Skin
dd 3D0908 //Undead Charm
dd 3D090F //Horned Mushroom Cap
0054F01A:
jmp filter
db 90
ifexit:
[DISABLE]
dealloc(filter)
dealloc(IFTable)
0054F01A:
MOV [EDI+34], EAX
MOV EDI, [EBP-14]
Thanks in advance.