NPC Troll: Error Code (NPC Troll AI())

Asked By 0 points N/A Posted on -
qa-featured

 

Hello Experts,

In my server hosting services whenever someone tries to connect to my portal mod it shows this error to everyone.

Does anyone know why this happens?

Thank you.

 

NPC Troll: Error

Code (NPC Troll AI()) Error:

System. IndexOutOfRangeException:Index was outside the bounds of the array. At Terraria.Codable.RunSpecifiedMethod(String details, object code, string methodName, Object[] parameters).

SHARE
Best Answer by Shifflett Laurel
Best Answer
Best Answer
Answered By 0 points N/A #194884

NPC Troll: Error Code (NPC Troll AI())

qa-featured

Hellow Joanna A Speer,

I think this error have occured due to two reason:

1.This error will occur when index value grater then the array you have declared

suppose you have declared
Dim gr(10)

but the loop is going beyond 10

2. The another reason would be when system is connecting to server in running game .

My recommendation is to prohibit the game running when system is connected to server.

I hope this will be effective for solving your hard problems.

 

Thanking you

Shifflett Laurel

Answered By 10 points N/A #194885

NPC Troll: Error Code (NPC Troll AI())

qa-featured

Hellow Joanna A Speer,

I think some conflict between mods, you can try to set other mods.

Follow this:
LH Vanity Kit
W1K Monster Hunter Pack
Never Enough Accessories and Magic
Dual Wielding

I think this setting can solve your problem

Thanking you
Franke Mary

Related Questions