Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 01:50

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



New Act7 'Index was outside the bounds of the array.'

Discussion on New Act7 'Index was outside the bounds of the array.' within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2017
Posts: 75
Received Thanks: 37
New Act7 'Index was outside the bounds of the array.'

Hello, I'm parsing the new Act7 files, but everytime i'm getting 'Index was outside the bounds of the array.' on the factory.ImportNpcMonsters();. What could i do?
Before i had mostly issues on the npc."ELEMENT"Resistences, so i disabled those from parse and i got other array issues until I didn't displayed on the whole Function.

Any idea on how to fix?
fiamma00 is offline  
Old 12/13/2019, 16:48   #2
 
elite*gold: 0
Join Date: Jul 2014
Posts: 166
Received Thanks: 11
Need chnage to short
kurtmac is offline  
Old 12/13/2019, 17:56   #3
 
elite*gold: 0
Join Date: Dec 2019
Posts: 19
Received Thanks: 12
Opennos.Data -> NpcMonsterDTO:

CHANGE :

public sbyte DarkResistance { get; set; }

public sbyte FireResistance { get; set; }

public sbyte LightResistance { get; set; }

public sbyte WaterResistance { get; set; }

BY:

public short DarkResistance { get; set; }

public short FireResistance { get; set; }

public short LightResistance { get; set; }

public short WaterResistance { get; set; }

and after ImportFactory:

CHANGE
npc.FireResistance = Convert.ToSByte(currentLine[4]);
npc.WaterResistance = Convert.ToSByte(currentLine[5]);
npc.LightResistance = Convert.ToSByte(currentLine[6]);
npc.DarkResistance = Convert.ToSByte(currentLine[7]);

BY

npc.FireResistance = Convert.ToInt16(currentLine[4]);
npc.WaterResistance = Convert.ToInt16(currentLine[5]);
npc.LightResistance = Convert.ToInt16(currentLine[6]);
npc.DarkResistance = Convert.ToInt16(currentLine[7]);
Ritahxyel is offline  
Reply


Similar Threads Similar Threads
Dekaron Act7 File full
03/05/2017 - Dekaron Private Server - 0 Replies
hi all I need DK act 7 files without errors, if someone have it , send me a private messenger for good negotiation xD $$ thk.
MySql Execute : index was outside the bounds of the array at C#
09/20/2013 - CO2 Private Server - 33 Replies
hello guys i have no idea why i get this error : index was outside the bounds of the array while i run this code MySqlCommand cmd = new MySqlCommand(MySqlCommandType.INSERT); cmd.Insert("Entities") .Insert("Name", eC.Name) .Insert("Owner", client.Account.Username)
Be ahead for ACT7 WTS +9 DN Hunter set in SIZ
04/28/2011 - Dekaron Trading - 3 Replies
as title says, +9DN Hunter set... USD or DIL through pay pal... Kakarot for MM. PM me if interested Also taking Items of equivalent value Just shoot me an offer :D Be ready for act 7 :handsdown::handsdown:
dekaron act7 new dance (must have)
03/15/2010 - Dekaron Private Server - 12 Replies
YouTube - dekaron act7 new dance hacked watch to the end for more info .... :D
[MOD] act7 weapons
02/24/2010 - Dekaron Private Server - 16 Replies
HI guys, iam not actually new here ,just made this acc for other purpose Anyway because there isnt any action 7 weapons out there yet, i made new weapons for every class and i wanted to share them with all! I call them act7 weapons xD You can freely use them in any server and make lvl170 or lvl200 weapon set for your server if u want, all files are named 21.dds etc so these dosnt replace anything in data folder! NB! All weapons are free to use in any server, but please dont edit them,...



All times are GMT +1. The time now is 01:50.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.