Jump to content
Corncob

90% Ironman mode

Recommended Posts

You can choose between an ironman, and an ultimate ironman.
90% because you can still take the loot of npcs damaged by other players, as well as items dropped by other players on death.
Please post if you have any issues with this.

WEwfbkJ.jpg
emb2AMf.jpg

First, open up Client and add:
 

Please login or register to see this code.

 

open up DialogueHandler and add in:

Please login or register to see this code.


Now go over to ClickingButtons and add this under case 9157:

Please login or register to see this code.

 


Proceed to case 9158: and add..

Please login or register to see this code.


Now, open up ActionHandler and under find  Make sure it's the one under firstClickNpc.
Add this:

Please login or register to see this code.

 


Now proceed over to PlayerSave and under  add these:

Please login or register to see this code.


Find 
And under it, add:
 

Please login or register to see this code.



Now go back to ActionHandler and under secondclickobject, add:

Please login or register to see this code.

 


Open up Trade and under

Please login or register to see this code.


add this:
 

Please login or register to see this code.


Open up ChallengePlayer and under 
add this:

Please login or register to see this code.


Head over to PlayerAssistant and find "c.freezeTimer = 0;". Under it, add this:
 

Please login or register to see this code.


Open up your spawn-config.cfg and add this anywhere:

Please login or register to see this code.

 

Share this post


Link to post
Share on other sites

Far from 90% but nice try. I'd recommend storing the npcdrops, dropped items and other stuff in a list? maybe a hashmap? then check the packets before allowing them to loot the item and remove from the list when needed. Also, why do you use integers for storing the iron man variables? why not a boolean? lol

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×