Hello, I've got a problem when I add models.
I'm using Delta client v16 and the Delta source. Also tried with the BallScape Devolution based server + client. I want to focus on adding onto the Devo
This is how I add my models. I tried adding the Chaotic weapons that were released.
1. I add the ints into class8.java correctly.
2. I add the .dat files into "Models" and GZip them.
3. I compile the client, no errors.
4. Then I log onto my server, type add models, shit loads of text pops up and yeah, it adds the models.
NOTE: The Add model option doesn't work on the Devo based client, so I just add the models to the folder and log in.
Everything works fine until I spawn the item, client freezes. I've tried to add the weapon into my weapon slot on the character, the character is invisible...
This is the error I get at the devolution server, which I want to add models on to.
Code:
Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: 40921
at Class30_Sub2_Sub4_Sub6.method462(Class30_Sub2_Sub4_Sub6.java:125)
at Class8.method201(Class8.java:6522)
at Class8.method200(Class8.java:6394)
at client.method105(client.java:8863)
at client.method36(client.java:2017)
at client.method102(client.java:8584)
at client.method9(client.java:9455)
at Applet_Sub1.run(Applet_Sub1.java:123)
at client.run(client.java:5009)
at java.lang.Thread.run(Thread.java:619)
Anyone who sees a missing part? What am I doing wrong?
The problem seem to be somewhere around here:
Code:
public static Class30_Sub2_Sub4_Sub6 method462(int i, int j)
{
if(aClass21Array1661 == null)
return null;
Class21 class21 = aClass21Array1661[j];
if(i != 9)
{
for(int k = 1; k > 0; k++);
}
if(class21 == null)
{
aClass42_1662.method548(j);
return null;
} else
{
return new Class30_Sub2_Sub4_Sub6(j, -870);
}
}
I just don't know what the problem is, or where. Since I'm not a very experienced coder...
Thanks! ~ A FAILURE