Wortel Angels Posted June 15, 2013 Author Share Posted June 15, 2013 Hey im working now long with vb6 but i dont really took an look on the event system…Meh today i got an error on If Map(mapnum).Events(id).PageCount >= page Then If Map(mapnum).Events(id).PageCount = Subscript out of rangeThats on the RemoveDeadEvents sub on server sidei have no idea why that appears and it just appears if i use an event to warp me to an new map.Does anyone have the solution for this ? JC ? ;-)Best RegardsMortal Angels Link to comment Share on other sites More sharing options...
ThomasEB Posted June 15, 2013 Share Posted June 15, 2013 Try to add check before If MapNum > 0 And If Id > 0 Link to comment Share on other sites More sharing options...
Wortel Angels Posted June 15, 2013 Author Share Posted June 15, 2013 Does not help the error is on .pagecountMapum = 2ID =1pagecount = Subscript out of range Link to comment Share on other sites More sharing options...
lel Posted June 15, 2013 Share Posted June 15, 2013 Is it a event with multiple pages? I noticed randomly pages are added to your events. Link to comment Share on other sites More sharing options...
Wortel Angels Posted June 15, 2013 Author Share Posted June 15, 2013 Yes it got 3 pages Link to comment Share on other sites More sharing options...
jcsnider Posted June 16, 2013 Share Posted June 16, 2013 Download 3.0, do the same thing and see if it breaks. That is step 1.If it does break then you have a much bigger problem then I could imagine, however, I do not think that it will. If it does not break then look at the code for switching maps and warping on 3.0 and find the differences from 2.3 copy over the changes and it should work out. Link to comment Share on other sites More sharing options...
Wortel Angels Posted June 16, 2013 Author Share Posted June 16, 2013 On eo 3.0 is it working… I compared both and its near the same (Not so much features in my version)... damn...EDIT: Found it with much luck... Sub Player warp i accidentally deleted TempPlayer(index).EventProcessingCount = 0TempPlayer(index).EventMap.CurrentEvents = 0XD now its working again #Closerequest 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