Thread: Project51 client help please

Results 1 to 10 of 10
  1. #1 Project51 client help please 
    Registered Member KushKings's Avatar
    Join Date
    Jul 2018
    Posts
    457
    Thanks given
    53
    Thanks received
    24
    Rep Power
    37
    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 .
    Attached image
    Reply With Quote  
     

  2. #2  
    Retired From RSPS

    iGarrett's Avatar
    Join Date
    Dec 2013
    Posts
    461
    Thanks given
    144
    Thanks received
    110
    Rep Power
    187
    Should be in the "Lib" folder in the clients main directory iirc.

    Just a moment...
    Quote Originally Posted by i am here View Post
    I have never messed with Eclipse. Is it a whole new revision or type of code?
    Quote Originally Posted by bibl View Post
    hahaha, good one m9. "deob" is short for "deobfuscated" which is not the same as decompiled.
    I'm GEEGIN' OUT
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member KushKings's Avatar
    Join Date
    Jul 2018
    Posts
    457
    Thanks given
    53
    Thanks received
    24
    Rep Power
    37
    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
    Attached image
    Reply With Quote  
     

  5. #4  
    Registered Member KushKings's Avatar
    Join Date
    Jul 2018
    Posts
    457
    Thanks given
    53
    Thanks received
    24
    Rep Power
    37
    Bump
    Attached image
    Reply With Quote  
     

  6. #5  
    Registered Member KushKings's Avatar
    Join Date
    Jul 2018
    Posts
    457
    Thanks given
    53
    Thanks received
    24
    Rep Power
    37
    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) + "]";
    }
    }
    Attached image
    Reply With Quote  
     

  7. #6  
    Everything is Corrupt
    Corrupt's Avatar
    Join Date
    Oct 2020
    Posts
    115
    Thanks given
    15
    Thanks received
    36
    Rep Power
    63
    Living in a Corrupted World

    Attached image
    Reply With Quote  
     

  8. #7  
    Registered Member KushKings's Avatar
    Join Date
    Jul 2018
    Posts
    457
    Thanks given
    53
    Thanks received
    24
    Rep Power
    37
    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
    Attached image
    Reply With Quote  
     

  9. #8  
    Registered Member KushKings's Avatar
    Join Date
    Jul 2018
    Posts
    457
    Thanks given
    53
    Thanks received
    24
    Rep Power
    37
    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
    Attached image
    Reply With Quote  
     

  10. #9  
    Super Donator
    Join Date
    Apr 2023
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    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
    Reply With Quote  
     

  11. #10  
    Registered Member
    Join Date
    Jun 2023
    Posts
    10
    Thanks given
    2
    Thanks received
    1
    Rep Power
    11
    How did you fix?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Need some 508 web client help please!
    By Creator Of Homiescape 317 in forum Help
    Replies: 0
    Last Post: 06-16-2009, 05:24 AM
  2. client help please
    By owner josh in forum Help
    Replies: 1
    Last Post: 03-28-2009, 09:31 PM
  3. login box on client. help please!
    By blacksh00t in forum Help
    Replies: 2
    Last Post: 02-21-2009, 12:25 PM
  4. [REQ][508] Hd Client help please read!!!
    By Soulevoker in forum Requests
    Replies: 1
    Last Post: 12-12-2008, 11:34 PM
  5. Client help please
    By aznsoldier6 in forum Help
    Replies: 2
    Last Post: 11-27-2008, 06:48 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •