Mirage Source
Item Help - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51)
+----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44)
+------ Forum: Bugs Reports (https://mirage-engine.uk/forums/forumdisplay.php?fid=9)
+------ Thread: Item Help (/showthread.php?tid=3067)



Item Help - LGVitality - 18-08-2009

its probably something simple but in my game i have this bug where items over #255 wont spawn on the map, and you cant buy them in stores.

any ideas? 8-)


Re: Item Help - Matt - 18-08-2009

Most stuff in MS is done with bytes for that. If you want them to go higher you have to change all that crap. If you already have, then I dunno. It might be in your bltitem code.


Re: Item Help - Jacob - 18-08-2009

Check your MapItemRec, make sure "Num" is a long.


Re: Item Help - LGVitality - 18-08-2009

hmm i have all MAX_ITEMS, MAX_NPCS, etc. set to As Long
i didnt have the Num inside MapItemRec as a Long, i changed that but it still seems to not be spawning items over 255 on the map.. hmm..

//EDIT\\
Thanks i was looking at the wrong thing, it finally spawned the item on the ground, just wont let me pick it up :o

//EDIT 2\\
Fixed everything, thanks for your help 8-)