getFame function (For NPC scripting)

Status
Not open for further replies.
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Add this to your NPCConversationManager.java
Code:
public int getFame() {
		return getPlayer().getFame();
	}

If you don't know what you are doing... Then... Follow this little guide...
First of all... Find
Code:
 public int itemQuantity(int itemid) {
            MapleInventoryType type = MapleItemInformationProvider.getInstance().getInventoryType(itemid);
            MapleInventory iv = getPlayer().getInventory(type);
            int possesed = iv.countById(itemid);
            return possesed;
        }
Now copy and paste my code AFTER this
This isn't too useful but whatever... Release for the hell of it :/
School is almost starting :(
 
Banned
Banned
Joined
Aug 14, 2008
Messages
149
Reaction score
9
Re: [Release] getFame function (For NPC scripting)

Their is about 2 people with this use the "Search" Button. And Odin already has that. Or Maby not because i got Odin 988 and it had it.. :p
 
Master Summoner
Loyal Member
Joined
Jul 22, 2008
Messages
573
Reaction score
0
Re: [Release] getFame function (For NPC scripting)

i thought, there's already such function?
or it's fixed?
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [Release] getFame function (For NPC scripting)

Oh... I was just looking in my Repack (Based on SeanPack v5.9) And it didn't have it there... So I assumed about 99% servers didn't have this function because PCMaple and Moogra are based on SeanPack...
I can always erase the thread anyway...
 
Master Summoner
Loyal Member
Joined
Jul 22, 2008
Messages
573
Reaction score
0
Re: [Release] getFame function (For NPC scripting)

o.o
i have a npc, coco with gainfame or getfame function
just, it'll automatically -meso and gain fame once click on the npc
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [Release] getFame function (For NPC scripting)

=/
Ehh... This is a horrible release... I'll kill thread :D
 
Status
Not open for further replies.
Back
Top