Tukaram
Member
I had the token and master looter working before... then had hard drive crash. I am setting everything back up but I seem to be missing some instructions for the tokens. When I kill a monster I get a message that X Tokens have been added - but none are added. The Trash backpack does add Tokens, though.
I was thinking there was a change to make in the basecreature.cs but my files don't have any instructions... So I went to RunUO and downloaded OWLTR and in the Token folder there is a text file file that says to add tokens to creatures:
In BaseCreature.cs look for those 2 lines:
Titles.AwardFame( ds.m_Mobile, totalFame, true );
Titles.AwardKarma( ds.m_Mobile, totalKarma, true );
Add just after them this line:
GiveTokens.CalculateTokens(ds.m_Mobile, this);
Problem now is that I get an error that "ds does not exist in the current context". So maybe there is an update to make it work forServ UO... The whole ds.m_Mobile bit is different... because mine looks like this:
Titles.AwardFame(titles, fame, true);
Titles.AwardKarma(titles, karma, true);
I was thinking there was a change to make in the basecreature.cs but my files don't have any instructions... So I went to RunUO and downloaded OWLTR and in the Token folder there is a text file file that says to add tokens to creatures:
In BaseCreature.cs look for those 2 lines:
Titles.AwardFame( ds.m_Mobile, totalFame, true );
Titles.AwardKarma( ds.m_Mobile, totalKarma, true );
Add just after them this line:
GiveTokens.CalculateTokens(ds.m_Mobile, this);
Problem now is that I get an error that "ds does not exist in the current context". So maybe there is an update to make it work forServ UO... The whole ds.m_Mobile bit is different... because mine looks like this:
Titles.AwardFame(titles, fame, true);
Titles.AwardKarma(titles, karma, true);