Thread: 667/718 Construction (probably 30-40%)

Page 1 of 8 123 ... LastLast
Results 1 to 10 of 80
  1. #1 667/718 Construction (probably 30-40%) 
    Registered Member
    Join Date
    May 2012
    Posts
    183
    Thanks given
    5
    Thanks received
    17
    Rep Power
    47
    Hello everyone, I am leaving the RSPS scene for a while and thought I'd finally release my construction project to you.

    You may have seen SimplyLyons show off his server's construction on the show-off thread, and what I'm releasing is that very same construction.

    This is all based off of [Only registered and activated users can see links. ] and the credits for getting the house to show up and stuff goes to him.

    What I did:
    *configured all the rooms except the dungeon and menagerie rooms
    *basic two floor support
    *system for adding and removing objects, not entirely configured (you need to find the rest of the ID's)
    *estate agent dialogue (incorporate that how you will)
    *3 POH portals (yanille, rimmington and taverly) that can be bought
    *room is rotated based on direction you face
    *rooms have costs

    It isn't very complete due to the lack of me being able to get the ID's. Also, I am by no means an expert programmer so I'm sure some of you will cringe at the code. I tried my best to make it as efficient as possible, but I simply don't know enough about algorithms and some of the higher level programming concepts to make it any better. This is my first major RSPS project that I've undertaken.

    While I'm sure you guys will want to say its bad code (and by all means do so), despite me not coding for RSPS's anytime soon, I'd really appreciate the feedback as I know I can improve.

    The moment you've all been waiting for, I hope you enjoy:

    [Only registered and activated users can see links. ]

    Mod's, I'm not entirely sure if I need to post media for snippets so if I do, I'll put some up.

    This code is provided as-is. I will not assist in any bug fixing or installation questions. It's self explanatory where to put stuff. The two loose files are dialogue files. If you can not add these files to your server, you most likely shouldn't be coding an RSPS. Again, please do not PM me for assistance with this. This is a snippet, not a tutorial.
    Reply With Quote  
     


  2. #2  
    Registered Member
    Join Date
    Feb 2013
    Posts
    25
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    Cool, Maybe someone could use this to make a FULLY working Construction Nice.
    SmiteMe Reborn Project Progress: 30%
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    May 2012
    Posts
    183
    Thanks given
    5
    Thanks received
    17
    Rep Power
    47
    Meh it's fully working in the sense that the groundwork is there, its just not fully configured. But thanks anyways
    Reply With Quote  
     

  4. #4  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,019
    Thanks given
    1,499
    Thanks received
    1,965
    Rep Power
    4879
    Won't be using. Rep++ though for contribution.
    Reply With Quote  
     

  5. #5  
    Donator
    Revert's Avatar
    Join Date
    Jan 2013
    Posts
    393
    Thanks given
    70
    Thanks received
    23
    Rep Power
    2
    Nice job, might use.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    May 2010
    Posts
    220
    Thanks given
    15
    Thanks received
    10
    Rep Power
    7
    Code:
    [GTLVote V1.1] Settings initializing...
    [GTLVote V1.1] Connected to the database
    [Launcher] Initing Cache...
    [Launcher] Initing Data Files...
    [ShopsHandler] Packing shops...
    [Launcher] Initing Fishing Spots...
    [Auto-Backup] The mainsave has already been backed up today.
    [Launcher] Initing Fishing Spots...
    [Launcher] Initing NPC Combat Scripts...
    [Launcher] Initing Dialogues...
    [Launcher] Initing Controlers...
    [Launcher] Initing Cutscenes...
    [Launcher] Initing Friend Chats Manager...
    [Launcher] Initing Cores Manager...
    [Launcher] Initing World...
    [Launcher] Initing Region Builder...
    [Launcher] Initing Server Channel Handler...
    [Launcher] Server took 9624 milli seconds to launch.
    ERROR! THREAD NAME: New I/O  worker #1
    java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException
    : com.rs.game.player.content.construction.House
            at java.io.ObjectInputStream.readObject0(Unknown Source)
            at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
            at java.io.ObjectInputStream.readSerialData(Unknown Source)
            at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
            at java.io.ObjectInputStream.readObject0(Unknown Source)
            at java.io.ObjectInputStream.readObject(Unknown Source)
            at com.rs.utils.SerializableFilesManager.loadSerializedFile(Serializable
    FilesManager.java:67)
            at com.rs.utils.SerializableFilesManager.loadPlayer(SerializableFilesMan
    ager.java:25)
            at com.rs.net.decoders.LoginPacketsDecoder.decodeWorldLogin(LoginPackets
    Decoder.java:169)
            at com.rs.net.decoders.LoginPacketsDecoder.decode(LoginPacketsDecoder.ja
    va:43)
            at com.rs.net.ServerChannelHandler.messageReceived(ServerChannelHandler.
    java:98)
            at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleCha
    nnelHandler.java:95)
            at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultCh
    annelPipeline.java:563)
            at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultCh
    annelPipeline.java:558)
            at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:26
    8)
            at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:25
    5)
            at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
            at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedK
    eys(AbstractNioWorker.java:373)
            at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioW
    orker.java:247)
            at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
            at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnabl
    e.java:102)
            at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProof
    Worker.java:42)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.NotSerializableException: com.rs.game.player.content.construc
    tion.House
            at java.io.ObjectOutputStream.writeObject0(Unknown Source)
            at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
            at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
            at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
            at java.io.ObjectOutputStream.writeObject0(Unknown Source)
            at java.io.ObjectOutputStream.writeObject(Unknown Source)
            at com.rs.utils.SerializableFilesManager.storeSerializableClass(Serializ
    ableFilesManager.java:76)
            at com.rs.utils.SerializableFilesManager.savePlayer(SerializableFilesMan
    ager.java:53)
            at com.rs.Launcher.saveFiles(Launcher.java:178)
            at com.rs.Launcher$3.run(Launcher.java:165)
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
            at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
    
            at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
    access$301(Unknown Source)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
    run(Unknown Source)
            ... 3 more
    [SerializableFilesManager] Recovering account: tyler
    ERROR! THREAD NAME: New I/O  worker #1
    java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException
    : com.rs.game.player.content.construction.House
            at java.io.ObjectInputStream.readObject0(Unknown Source)
            at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
            at java.io.ObjectInputStream.readSerialData(Unknown Source)
            at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
            at java.io.ObjectInputStream.readObject0(Unknown Source)
            at java.io.ObjectInputStream.readObject(Unknown Source)
            at com.rs.utils.SerializableFilesManager.loadSerializedFile(Serializable
    FilesManager.java:67)
            at com.rs.utils.SerializableFilesManager.loadPlayer(SerializableFilesMan
    ager.java:32)
            at com.rs.net.decoders.LoginPacketsDecoder.decodeWorldLogin(LoginPackets
    Decoder.java:169)
            at com.rs.net.decoders.LoginPacketsDecoder.decode(LoginPacketsDecoder.ja
    va:43)
            at com.rs.net.ServerChannelHandler.messageReceived(ServerChannelHandler.
    java:98)
            at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleCha
    nnelHandler.java:95)
            at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultCh
    annelPipeline.java:563)
            at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultCh
    annelPipeline.java:558)
            at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:26
    8)
            at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:25
    5)
            at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
            at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedK
    eys(AbstractNioWorker.java:373)
            at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioW
    orker.java:247)
            at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
            at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnabl
    e.java:102)
            at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProof
    Worker.java:42)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.NotSerializableException: com.rs.game.player.content.construc
    tion.House
            at java.io.ObjectOutputStream.writeObject0(Unknown Source)
            at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
            at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
            at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
            at java.io.ObjectOutputStream.writeObject0(Unknown Source)
            at java.io.ObjectOutputStream.writeObject(Unknown Source)
            at com.rs.utils.SerializableFilesManager.storeSerializableClass(Serializ
    ableFilesManager.java:76)
            at com.rs.utils.SerializableFilesManager.savePlayer(SerializableFilesMan
    ager.java:53)
            at com.rs.Launcher.saveFiles(Launcher.java:178)
            at com.rs.Launcher$3.run(Launcher.java:165)
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
            at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
    
            at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
    access$301(Unknown Source)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
    run(Unknown Source)
            ... 3 more
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  7. Thankful user:


  8. #7  
    Registered Member
    Join Date
    Jan 2012
    Posts
    167
    Thanks given
    33
    Thanks received
    33
    Rep Power
    15
    Thanks, might use a couple of things from this in the base I have already made.
    Reply With Quote  
     

  9. #8  
    Registered Member
    Join Date
    May 2012
    Posts
    183
    Thanks given
    5
    Thanks received
    17
    Rep Power
    47
    Just remembered I forgot to put the Object Option 5 packet in the files and that I gave you the wrong House.java file. I have fixed this and you will have to re download for these updates.
    Reply With Quote  
     

  10. #9  
    Registered Member Grown's Avatar
    Join Date
    Oct 2012
    Posts
    838
    Thanks given
    647
    Thanks received
    86
    Rep Power
    54
    Great release, don't think I have any means of using it.
    "Programs arenít just built in one go, like a bridge. They are talked about,
    sketched out, prototyped, played with, refactored, tuned, tested, tweaked,
    deleted, rewritten....
    A program is not built; it is grown.
    Because a program is always growing and always changing, it must be written
    with change in mind."
    Reply With Quote  
     

  11. #10  
    Banned

    Join Date
    Sep 2009
    Posts
    1,878
    Thanks given
    411
    Thanks received
    1,635
    Rep Power
    0
    Honestly you were onto a good start and some of the things you did were in fact great. Other things were unnecessary such as player house savings. If I had to say, your already better than Savions and a large portion of the 503+ section.

    Good job, you even helped me with something minor xD
    Reply With Quote  
     


Page 1 of 8 123 ... LastLast

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. 718 Lanthus Shop & More - $30 - $40
    By Sk3wlbus in forum Buying
    Replies: 1
    Last Post: 02-21-2013, 05:21 PM
  2. Replies: 14
    Last Post: 10-28-2012, 03:22 PM
  3. 667 | 718 Construction
    By Ifti in forum Snippets
    Replies: 32
    Last Post: 10-10-2012, 06:02 PM
  4. 30-40$ for an auto donation system
    By Jilic-Matt in forum Services
    Replies: 7
    Last Post: 09-21-2011, 02:25 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
  •