KDawg08 Posted November 27, 2010 Author Share Posted November 27, 2010 I'm getting a runtime error 9 in my game, I've only added a few custom mods to the server and they're all inhttp://www.touchofdeathforums.com/smf/index.php/topic,63215.0.html that thread.Everytime i try to connect with ANY client (Stock or customized) it gives me the runtime error. When i click DEBUG, it links me directly to this:For i = 0 To ResourceCache(GetPlayerMap(Index)).Resource_CountIt's in modPlayer in the Server side. I've looked for fixes on this site and I found one edit that fixes them usually… The issue is... I have tried them and they don't work. The fix is already put into this script.The full code in the SERVER Side where the error COMES FROM is: ' Send Resource cache For i = 0 To ResourceCache(GetPlayerMap(Index)).Resource_Count SendResourceCacheTo Index, i NextAny help would be greatly appreciated, I really don't want to recode everything back into this again... I screwed it up bad enough that I had to do that once with the Clientside and it was all because of 1 little mistake i didn't realize i made. Link to comment Share on other sites More sharing options...
Robin Posted November 27, 2010 Share Posted November 27, 2010 Backup your source code before editing stuff.As for the problem, I think Helladen reported something like this and posted a fix. Never come across this error myself. Link to comment Share on other sites More sharing options...
KDawg08 Posted November 28, 2010 Author Share Posted November 28, 2010 @Robin:> Backup your source code before editing stuff.> > As for the problem, I think Helladen reported something like this and posted a fix. Never come across this error myself.I tried his fix, it was already put into your code. Link to comment Share on other sites More sharing options...
KDawg08 Posted January 6, 2011 Author Share Posted January 6, 2011 bump… Link to comment Share on other sites More sharing options...
Robin Posted January 6, 2011 Share Posted January 6, 2011 Use EO:CE. Link to comment Share on other sites More sharing options...
KDawg08 Posted January 7, 2011 Author Share Posted January 7, 2011 EO:CE is? Link to comment Share on other sites More sharing options...
Robin Posted January 7, 2011 Share Posted January 7, 2011 Eclipse Origins: Christmas Edition.The latest version. Link to comment Share on other sites More sharing options...
evilbunnie Posted January 7, 2011 Share Posted January 7, 2011 @KDawg08:> I'm getting a runtime error 9 in my game, I've only added a few custom mods to the server and they're all in> http://www.touchofdeathforums.com/smf/index.php/topic,63215.0.html that thread.> > Everytime I try to connect with ANY client (Stock or customized) it gives me the runtime error. When I click DEBUG, it links me directly to this:> For I = 0 To ResourceCache(GetPlayerMap(Index)).Resource_Count> > It's in modPlayer in the Server side. I've looked for fixes on this site and I found one edit that fixes them usually… The issue is... I have tried them and they don't work. The fix is already put into this script.> > The full code in the SERVER Side where the error COMES FROM is:> ' Send Resource cache> For I = 0 To ResourceCache(GetPlayerMap(Index)).Resource_Count> SendResourceCacheTo Index, I> Next> > Any help would be greatly appreciated, I really don't want to recode everything back into this again... I screwed it up bad enough that I had to do that once with the Clientside and it was all because of 1 little mistake I didn't realize I made.I have a fix, delete all players in the "accounts" folder. 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