Bump, still needing it plz
|
Hi everybody, I've been working in project insanity from 2 weeks and I added alot, I have 2 things that I could not find in my 2 weeks coding (started coding 3 weeks ago) and its how to add SafeZone and better following clip..
Yes, there are many guides about SafeZones but I need one that has SafeZones for hieghts because My safe zone but I need hieghts only.. FIXED
Following clip, searched alooooooooooooot in google about following clip for like 10 days till now but didn't find one.. I've added this guide http://www.rune-server.org/runescape...-clipping.html and it works good for following clip and npc clip.. But there is 1 problem with following clip and its if there is player A and player B. If player A and B both are in cornor, one of them follows the other and he goes throw wall and I need to fix this as soon as possible. Someone told me this guide will work http://www.rune-server.org/runescape...following.html Yes it worked but the problem is the following now is very very bad so I deleted it, the problem was when a player follows other he keeps going backward and forward for a while the follows the player..
If someone has a suggestion for any of this please post here as soon as possible, ahh and yes I said that but again my base is Project Insanity.
Thank you all for helping!
Edit: I need now the interface for Castle Wars waiting zone, mine looks like: FIXED
Bump, still needing it plz
Meh, you could simply google how to add safezone, but i'll give you the base for it, on combatAssistant.java, search for checkReq you should find some void called in something similar to that, then scroll a down bit and do something like:
You will need to make inSafeZone area and on Client.java at HandlePvPInterface (Not sure about the uppercases )Code:if(Server.playerHandler.players[c.playerIndex].inSafeZone()) { c.sendMessage("That player is in a safezone and cannot be harm'd."); c.stopMovement(); c.getCombat().resetPlayerAttack(); }
add this somewhere after a if
^ Can't remember that interface thingCode:} else if (inSafeZone()) { // Send here the interface for Wild and change the text to SafeZone }
When I made safe zones I would always put in the x,y,z for coordinates. your z is height. just change it to like, 1 , 1, 1. instead of 1 , 1, 0
Bump need this please as soon as possible please..
Bump still needing this clipping and interface plz!
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |