Project Insanity
All project insanity tutorials belong here.
6 topics in this forum
-
Hey guys, So I saw some people that needed help adding customs to their RSPS so here I am. 1) You should have an int (the item's info) and 2 .dat files (those are the models for your item, the drop model and the wear model) 2) Add these two models in your "Raw" folder in your cache: Now go to your Client folder. 3) Add the int in your itemdef.java or itemdef_2.java or anything like that. That file is located in you Client folder. Add the int somewhere in the middle of other ints, not at the beginning THIS IS AN INT EXAMPLE: if(i == #) { itemdef.name = "##"; itemdef.d…
-
2
Reputation Points
- 103 replies
- 17.4k views
-
-
Difficulty: 1/10Tested on: Project InsanityClasses modified: PlayerAssistant.javaStart off by opening your PlayerAssistant.java class. Then search for: public void handleLoginText() { You will notice a bunch of codes. So let me explain. c.getPA().sendFrame126("Monster Teleport", 1300); What this code does is that it goes to the Client class, then get's the sendFrame method from the PlayerAssistant class, then sends a frame to the server to the assigned ID and changes it's text.If you played the PI base, you'll notice that in the modern spellbook, they have a teleport called "Monster Teleport", right? The ID used here (1300) is the name of the Varrock telepor…
-
0
Reputation Points
- 42 replies
- 6.1k views
-
-
Hey all, This is a really simple tutorial for adding shift drop into your stock Project Insanity (PI) client. It's a cool feature, loved by all RuneScape players. In your Client.java (inside src, under models.players) Add the following code public static boolean shiftPressed = false; What are we doing here? (For newcomers) Here, we are creating a boolean that we can refer back to later to check if the shift key is currently pressed. This variable will be changed by key event listeners as seen later on in this tutorial. Then use CTRL+F or your IDE search tool to find the following condition: if (j == 1 && menuActionRow > 0) { …
-
0
Reputation Points
- 59 replies
- 7.6k views
-
-
Using 2006Scape Open Source, you are going to want to look for the above - this can be used to add ironman mode restrictions to normal players. Then you will want to change the "playerRights == 2" If changed to "playerRights == 0" then players will receive the sendMessage when attempting to trade. "Trading as an admin has been disabled." can be changed to "Trading as an ironman has been disabled." Next you will want to change how items appear in stores as this is another popular method to transfer items. By commenting out 1 line of code, now items sold to shops won't appear in stock to other players.
-
0
Reputation Points
- 18 replies
- 2k views
-
-
NOTE: This has been released on several other sites, but I decided to post my own version. This is also my first snippet / tutorial, I hope I helped you in any way Source: PI Files: Playersave.java, Player.java, npcHandler.java Difficulity: 1/10 CHANGE WHERE I PUT ASDF TO YOUR CUSTOM POINT. Step 1: open Playersave.java (src/server/model/players) Search for this - } else if (token.equals("character-rights")) { Then you will see this - } else if (token.equals("character-rights")) { p.playerRights = Integer.parseInt(token2); Under that somewhere add this - } else if (token.equals("ASDF")) { p.ASDFPoints = Integer.parseI…
-
0
Reputation Points
- 34 replies
- 4.6k views
-
-