|
This is my code
How can I chance the text "food stall" to "banana stall"? Because the food stall is the default and i renamed it to banana stall client sided.Code:String objectName = GameObjectDefinition.forId(stall).getName(); c.getPacketSender().sendMessage("You stole from the "+objectName+".");
How can I edit this?
I saw it is reading from this
Spoiler for gameobjectdefinition:
And there is 2 files with "food stall"
667loc.dat
And loc.datCode:Food Stall This table has ripe bananas on show. Steal from
Code:—Food Stall It's a Food Stall ˙˙hidden Steal from hidden !hidden "hidden
cant use frosty for this revision?
In objectDef.java
Look for something like this:
Add this:Code:if (i == 26392) { objectDef.anIntArray773 = new int[2]; objectDef.anIntArray773[0] = 27816; objectDef.anIntArray773[1] = 27836; objectDef.hasActions = false; }
That should do it.Code:if (i == 2403) { //Object ID objectDef.name = "RFD Shop"; // Object name }
That's what I just checked and yea, i'm thinking it's from the cache. Though, I don't know how to edit this...
Do you know how to edit loc.dat in frosty? Could you help out? Thnkx, pm me please if you can.
You're talking about server sided right? If not, then it's only in my client sided for that .java The server sided version is the one me and arch337 is trying to solve.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |