Growlith1223 Posted June 18, 2012 Author Share Posted June 18, 2012 hi for some reason when i tried adding in the Night system from ED, it gave me this error ever since :/```Run-time error '9'Subscript out of range.```and highlights```If NPC(npcNum).Behaviour = NPC_BEHAVIOUR_ATTACKONSIGHT Or NPC(npcNum).Behaviour = NPC_BEHAVIOUR_GUARD Then```I took the entire system out right now and it still gives me that error! DxHelp is GREATLY appreciated Link to comment Share on other sites More sharing options...
tslusny Posted June 18, 2012 Share Posted June 18, 2012 try to delete npc folder in server Link to comment Share on other sites More sharing options...
Growlith1223 Posted June 18, 2012 Author Share Posted June 18, 2012 @Deathbeam:> try to delete npc folder in serverTried that many times.I even deleted maps :/ Link to comment Share on other sites More sharing options...
tslusny Posted June 18, 2012 Share Posted June 18, 2012 Thats weird. Subscript out of range is almost all time becouse of changing UDTs and deleting database always working for me Link to comment Share on other sites More sharing options...
Growlith1223 Posted June 18, 2012 Author Share Posted June 18, 2012 right now it just keeps happening when i join the server :/ Link to comment Share on other sites More sharing options...
tslusny Posted June 18, 2012 Share Posted June 18, 2012 do you changed both server side and client side modTypes? Link to comment Share on other sites More sharing options...
Growlith1223 Posted June 18, 2012 Author Share Posted June 18, 2012 @Deathbeam:> do you changed both server side and client side modTypes?I never messed with the modTypes Link to comment Share on other sites More sharing options...
tslusny Posted June 18, 2012 Share Posted June 18, 2012 Ok im in school now when i come home i will look at ED 1.3.3 source and try to rip night system, and i will post if i have that subscript problem, but i must convert it to CS:DE so it will take some time :P Link to comment Share on other sites More sharing options...
Growlith1223 Posted June 18, 2012 Author Share Posted June 18, 2012 BumpRly need this fixed :/ Link to comment Share on other sites More sharing options...
tslusny Posted June 18, 2012 Share Posted June 18, 2012 Ok i ripped day/night system and no problems encountering with it, do you added DayNight = 1 to Options.ini file on server side, and do you added[Graphics]Night= 1to config.ini on client side? Link to comment Share on other sites More sharing options...
Growlith1223 Posted June 18, 2012 Author Share Posted June 18, 2012 EDIT: It seems when i highlight the npcnum variable it says 65586 O.oI only have 255 npcs O.o Link to comment Share on other sites More sharing options...
tslusny Posted June 18, 2012 Share Posted June 18, 2012 woot so u done something wrong, i think u placed some code on wrong place, do you added to enum layers layer night? Link to comment Share on other sites More sharing options...
Growlith1223 Posted June 18, 2012 Author Share Posted June 18, 2012 this is referring to the npcs -_-not the map layers xD Link to comment Share on other sites More sharing options...
Stein Posted June 18, 2012 Share Posted June 18, 2012 Which relate to eachother, because mapNPCs are loaded after everything else. So if you did the layers wrong and other things related to this you'll get this as a result. Link to comment Share on other sites More sharing options...
Growlith1223 Posted June 18, 2012 Author Share Posted June 18, 2012 ok i just deleted the maps again and for some reason it fixed itself -_- Link to comment Share on other sites More sharing options...
Stein Posted June 18, 2012 Share Posted June 18, 2012 … Because this adds a new layer to your map. 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