Tic Tac 2 Posted August 19, 2013 Author Share Posted August 19, 2013 When trying to save an item(any item slot)gives me an rte error in Sub handlesaveitemhighlights this:> CopyMemory ByVal VarPtr(Item(n)), ByVal VarPtr(ItemData(0)), ItemSizeSubscript out of range![](http://i.snag.gy/jAzwU.jpg)Extra info: I deleted all items i recently had deciding to start a new project in my server folder /items/Idk if this corrupted anything Link to comment Share on other sites More sharing options...
Link Posted August 19, 2013 Share Posted August 19, 2013 I think I've gotten this error before, are you making sure there's a correct Buffer.WriteLong via server? Link to comment Share on other sites More sharing options...
Stein Posted August 19, 2013 Share Posted August 19, 2013 There's a few things that could mess it up, but one of the most common ones is that the ItemRec on the client and server are slightly different. Link to comment Share on other sites More sharing options...
Link Posted August 19, 2013 Share Posted August 19, 2013 I'm pretty sure it has something to do with Buffer.WriteLong on the server side for that code, there's more or less just miscommunication. Link to comment Share on other sites More sharing options...
Tic Tac 2 Posted August 19, 2013 Author Share Posted August 19, 2013 I tried running an earlier build of the server and editing the items worked. I don't know what to do. If anybody knows how to fix this problem please reply :< Link to comment Share on other sites More sharing options...
Tic Tac 2 Posted August 19, 2013 Author Share Posted August 19, 2013 I tried running an earlier build of the server and editing the items worked. I don't know what to do. If anybody knows how to fix this problem please reply :< Link to comment Share on other sites More sharing options...
Tic Tac 2 Posted August 19, 2013 Author Share Posted August 19, 2013 SOLVED!!###ItemRec on server and client were different. Turns out i was running an earlier build of my client and not the actual one from my vbpturns out i can be stupid sometimes xDsorry for taking your time Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now