Originally Posted by
l0lc0pt3r
anInt56 = (anInt56 + 1) % 20;
EntityDef entitydef = cache[anInt56] = new EntityDef();
stream.currentOffset = streamIndices[i];
entitydef.interfaceType = i;
entitydef.readValues(stream);
//add custom npcs here.
if(i == xxx) {//xxx = id
entityDef.standAnim = xxx;//stand animation
entityDef.walkAnim = xxx;//walk animation
}
return entitydef;
}
Code:
Java\EntityDef.java:60: error: cannot find symbol
entityDef.walkAnim = 2452;//walk animation
^
symbol: variable entityDef
location: class EntityDef
Java\EntityDef.java:61: error: cannot find symbol
entityDef.standAnim = 2631;//stand animation
^
symbol: variable entityDef
location: class EntityDef
Note: Java\client.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
Press any key to continue . . .