Thread: [Ruse] Construction not working

Results 1 to 5 of 5
  1. #1 [Ruse] Construction not working 
    Registered Member JavaD0x's Avatar
    Join Date
    Jul 2011
    Posts
    78
    Thanks given
    8
    Thanks received
    7
    Rep Power
    11
    Hey,

    I downloaded the Ruse source recently and I can't seem to figure out how Construction works. Does anyone have any ideas or tips? Greatly appreciated!

    At the moment this is the error:

    Code:
    java.lang.NullPointerException
    	at com.ruseps.world.content.skill.impl.construction.Construction$1.execute(Construction.java:69)
    	at com.ruseps.engine.task.Task.tick(Task.java:142)
    	at com.ruseps.engine.task.TaskManager.sequence(TaskManager.java:32)
    	at com.ruseps.engine.GameEngine.run(GameEngine.java:38)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    	at java.lang.Thread.run(Thread.java:745)
    And this is the line the error is on:

    Code:
    int toX = ConstructionData.BASE_X+((portal.getRoomX()+1)*8);
    I'm fairly sure it's just me being an idiot and not calling the correct method when a player creates/enters a house, but I can't seem to find the correct method.

    Credit to Swiffy for the Ruse source.
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Aug 2015
    Posts
    248
    Thanks given
    129
    Thanks received
    56
    Rep Power
    0
    Just check where the variable is being used and how. I'm sure with a little digging you can figure this out
    Reply With Quote  
     

  3. #3  
    Registered Member JavaD0x's Avatar
    Join Date
    Jul 2011
    Posts
    78
    Thanks given
    8
    Thanks received
    7
    Rep Power
    11
    I've been digging all day and still no juice. It would be helpful to know if anyone else has had a similar issue with the source or whether it's just me!
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Jul 2015
    Posts
    610
    Thanks given
    521
    Thanks received
    660
    Rep Power
    0
    I never had time to finish Construction on Ruse. All methods and data are in the source though (credits to owner blade), all you need to do is call them in the right places.
    You also need to fix the construct map region packet, it was messed up.
    Reply With Quote  
     

  5. Thankful user:


  6. #5  
    Registered Member JavaD0x's Avatar
    Join Date
    Jul 2011
    Posts
    78
    Thanks given
    8
    Thanks received
    7
    Rep Power
    11
    Okay, i'll have a look through it, thank you for letting me know!
    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. Client not working for You? READ!
    By Edge in forum Tutorials
    Replies: 59
    Last Post: 02-06-2020, 09:27 AM
  2. Atk Ani not working
    By `Lubricant in forum RS 503+ Client & Server
    Replies: 32
    Last Post: 09-14-2008, 08:48 PM
  3. NPCs not working.
    By FateJiki in forum Configuration
    Replies: 2
    Last Post: 02-17-2008, 02:40 PM
  4. Kevins floor editor not working.. 2 errors :(
    By newservermaker in forum RS2 Client
    Replies: 0
    Last Post: 01-03-2008, 06:47 AM
  5. Replies: 17
    Last Post: 11-30-2007, 04:15 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
  •