Clicking a object makes you say something
Purpose: *cough* title
Difficulty: if yuo cant get this you are a noob and should be slapped...
Assumed Knowledge: you know what? im going to leave a smilie.. :\
Server Base: any
Classes Modified: client.java
Procedure
Step 1: open client.java.
Step 2: hit ctrl + f
Step 3: search for case 132
Step 4: we wil be making a crate say something so add
Code:
if (objectID == 357)
{
txt4 = "bullhorn owns!";
string4UpdateRequired = true;
}
right under
Code:
int objectX = inStream.readSignedWordBigEndianA();
int objectID = inStream.readUnsignedWord();
int objectY = inStream.readUnsignedWordA();
int face = 0;
int face2 = 0;
int GateID = 1;
println_debug("atObject: "+objectX+","+objectY+" objectID: "+objectID); //147 might be id for object state changing
TurnPlayerTo(objectX, objectY);
updateRequired = true;
appearanceUpdateRequired = true;
Notes: the objectid is a crate and will make you say bullhorn owns! this can be used in a variety of ways so just have fun with it...
Credits: Bullhorn7 100%