26-04-2007, 05:31 AM
should be a really easy code...
in gameloop... something like...
Yeah and that wasn't anywhere near correct code. I haven't touched VB in 3 or 4 months... and i don't even really remember how the client handles map items (if they're a part of the Map UDT or not)... just look at that and a few of the global constants and figure it out. It should be really easy to do.
in gameloop... something like...
Code:
for i = 1 to max_map_items
if map.item(i).spawned = true then
Call BltItemName(i)
end if
next i
Code:
Sub BltItemName(ByVal ItemNum as Byte)
' THen in here, just do a Blt like you would with the NPCNames or whatever, but just do it for Map.Item(ItemNum).X/Y
End Sub
Yeah and that wasn't anywhere near correct code. I haven't touched VB in 3 or 4 months... and i don't even really remember how the client handles map items (if they're a part of the Map UDT or not)... just look at that and a few of the global constants and figure it out. It should be really easy to do.