![]() |
stupid inv - 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: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: stupid inv (/showthread.php?tid=1857) |
stupid inv - Pbcrazy - 23-06-2008 ok so this is probably some of the crappiest code youve ever seen but im just using this to see if the packets are working at all and cuz im not sure how you use bitblt yet >_< but either way its not working so please tell me if you can see the problem. cuz right now whenever i click the inventory button the inventory opens then the entire thing crashes client called when ever i click the inventory button Code: Sub SendGetInv() Server under handledata Code: If Parse(0) = PH_Inv Then Code: Sub SendInv(ByVal Index As Integer) Client under handle data Code: If Parse(0) = PH_Inv Then and this isnt mirage, ive coded all of my code from scratch so some of the names prolly dont sound fimiliar, but they are all similar to the mirage ones. also my game doesnt have characters you have one account and thats it just so that you dont get confused cuz it doesnt have .char Re: stupid inv - Robin - 23-06-2008 Crappest code I've ever seen. Re: stupid inv - Pbcrazy - 23-06-2008 ya i think i know that already. do you have anything useful to say about it? Re: stupid inv - Pbcrazy - 23-06-2008 NVM i fixed it. the name of the file it was trying to load was a integer so i just had to change it to a string. :oops: |