Should be in the "Lib" folder in the clients main directory iirc.
Just a moment...
|
when i try to run the client i get this..
Exception in thread "main" java.lang.ExceptionInInitializerError: Cannot access defaults field of Properties
at com.thoughtworks.xstream.converters.collections.Pr opertiesConverter.<clinit>(PropertiesConverter.jav a:46)
at com.thoughtworks.xstream.XStream.setupConverters(X Stream.java:647)
at com.thoughtworks.xstream.XStream.<init>(XStream.ja va:445)
at com.thoughtworks.xstream.XStream.<init>(XStream.ja va:385)
at com.thoughtworks.xstream.XStream.<init>(XStream.ja va:332)
at com.client.Client.<clinit>(Client.java:7748)
i know i need to update my xstream but not sure how to put it in the client can anyone please help me out.
Will rep and thanks .
Should be in the "Lib" folder in the clients main directory iirc.
Just a moment...
i changed the X Stream now i get this
com.thoughtworks.xstream.security.ForbiddenClassEx ception: com.client.ItemBonusDefinition
at com.thoughtworks.xstream.security.NoTypePermission .allows(NoTypePermission.java:26)
at com.thoughtworks.xstream.mapper.SecurityMapper.rea lClass(SecurityMapper.java:74)
at com.thoughtworks.xstream.mapper.MapperWrapper.real Class(MapperWrapper.java:125)
at com.thoughtworks.xstream.mapper.CachingMapper.real Class(CachingMapper.java:47)
at com.thoughtworks.xstream.core.util.HierarchicalStr eams.readClassType(HierarchicalStreams.java:29)
at com.thoughtworks.xstream.converters.collections.Ab stractCollectionConverter.readBareItem(AbstractCol lectionConverter.java:131)
at com.thoughtworks.xstream.converters.collections.Ab stractCollectionConverter.readItem(AbstractCollect ionConverter.java:117)
at com.thoughtworks.xstream.converters.collections.Co llectionConverter.addCurrentElementToCollection(Co llectionConverter.java:99)
at com.thoughtworks.xstream.converters.collections.Co llectionConverter.populateCollection(CollectionCon verter.java:92)
at com.thoughtworks.xstream.converters.collections.Co llectionConverter.populateCollection(CollectionCon verter.java:86)
at com.thoughtworks.xstream.converters.collections.Co llectionConverter.unmarshal(CollectionConverter.ja va:81)
at com.thoughtworks.xstream.core.TreeUnmarshaller.con vert(TreeUnmarshaller.java:74)
at com.thoughtworks.xstream.core.AbstractReferenceUnm arshaller.convert(AbstractReferenceUnmarshaller.ja va:72)
at com.thoughtworks.xstream.core.TreeUnmarshaller.con vertAnother(TreeUnmarshaller.java:68)
at com.thoughtworks.xstream.core.TreeUnmarshaller.con vertAnother(TreeUnmarshaller.java:52)
at com.thoughtworks.xstream.core.TreeUnmarshaller.sta rt(TreeUnmarshaller.java:136)
at com.thoughtworks.xstream.core.AbstractTreeMarshall ingStrategy.unmarshal(AbstractTreeMarshallingStrat egy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream .java:1464)
at com.thoughtworks.xstream.XStream.unmarshal(XStream .java:1441)
at com.thoughtworks.xstream.XStream.fromXML(XStream.j ava:1330)
at com.client.Client.loadItemBonusDefinitions(Client. java:7760)
at com.client.Client.startUp(Client.java:10958)
at com.client.RSApplet.run(RSApplet.java:215)
at com.client.Client.run(Client.java:6273)
at java.base/java.lang.Thread.run(Thread.java:833)
Error: loaderror Loading title screen - 0% 10
dont get it i use to code this server a while back come back after a year or so and try and get the first problem now this lol
Bump
Bump can anyone please help me with this just want to get back on my old server i was messing around with came back after a while and get this when trying to run it
Tried some stuff now i still get this
Error: loaderror Loading title screen - 0% 10
com.thoughtworks.xstream.security.ForbiddenClassEx ception: com.client.ItemBonusDefinition
at com.thoughtworks.xstream.security.NoTypePermission .allows(NoTypePermission.java:26)
at com.thoughtworks.xstream.mapper.SecurityMapper.rea lClass(SecurityMapper.java:74)
at com.thoughtworks.xstream.mapper.MapperWrapper.real Class(MapperWrapper.java:125)
at com.thoughtworks.xstream.mapper.CachingMapper.real Class(CachingMapper.java:47)
at com.thoughtworks.xstream.core.util.HierarchicalStr eams.readClassType(HierarchicalStreams.java:29)
at com.thoughtworks.xstream.converters.collections.Ab stractCollectionConverter.readBareItem(AbstractCol lectionConverter.java:131)
at com.thoughtworks.xstream.converters.collections.Ab stractCollectionConverter.readItem(AbstractCollect ionConverter.java:117)
at com.thoughtworks.xstream.converters.collections.Co llectionConverter.addCurrentElementToCollection(Co llectionConverter.java:99)
at com.thoughtworks.xstream.converters.collections.Co llectionConverter.populateCollection(CollectionCon verter.java:92)
at com.thoughtworks.xstream.converters.collections.Co llectionConverter.populateCollection(CollectionCon verter.java:86)
at com.thoughtworks.xstream.converters.collections.Co llectionConverter.unmarshal(CollectionConverter.ja va:81)
at com.thoughtworks.xstream.core.TreeUnmarshaller.con vert(TreeUnmarshaller.java:74)
at com.thoughtworks.xstream.core.AbstractReferenceUnm arshaller.convert(AbstractReferenceUnmarshaller.ja va:72)
at com.thoughtworks.xstream.core.TreeUnmarshaller.con vertAnother(TreeUnmarshaller.java:68)
at com.thoughtworks.xstream.core.TreeUnmarshaller.con vertAnother(TreeUnmarshaller.java:52)
at com.thoughtworks.xstream.core.TreeUnmarshaller.sta rt(TreeUnmarshaller.java:136)
at com.thoughtworks.xstream.core.AbstractTreeMarshall ingStrategy.unmarshal(AbstractTreeMarshallingStrat egy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream .java:1464)
at com.thoughtworks.xstream.XStream.unmarshal(XStream .java:1441)
at com.thoughtworks.xstream.XStream.fromXML(XStream.j ava:1330)
at com.client.Client.loadItemBonusDefinitions(Client. java:7749)
at com.client.Client.startUp(Client.java:10917)
at com.client.RSApplet.run(RSApplet.java:218)
at com.client.Client.run(Client.java:6271)
at java.base/java.lang.Thread.run(Thread.java:833)
and i have this class com.client.ItemBonusDefinition
here is what it is
package com.client;
import java.util.Arrays;
public class ItemBonusDefinition {
private short id;
private short[] bonuses;
public short[] getBonuses() {
return bonuses;
}
public int getId() {
return id;
}
@Override
public String toString() {
return "ItemBonusDefinition [id=" + id + ", bonuses=" + Arrays.toString(bonuses) + "]";
}
}
i seem to got it to work before you put this but now the text in chat box and stuff like that is not really clear anymore the words are kinda blury any ideas what would make that happen now
this is what it looks like now
screenshot chat.jpg
Bump.. seen there is a lot of stuff in the game that just does not look right or clear anymore and all i did was update xstream did i miss updating something else
Your text box issue is because of the fact the text has not been converted for your non-transparent box. Just change the color codes to match what you want. Very easy. You should be able to just search the words you want changed, to find the sentence and color code before it
How did you fix?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |