Jump to content
Existing user? Sign In

Sign In



Sign Up

How to add Ironman Mode


Monomoy

Recommended Posts

Quote
ADMIN_CAN_TRADE = false, ADMIN_DROP_ITEMS = false, ADMIN_CAN_SELL_ITEMS = false,

Using 2006Scape Open Source, you are going to want to look for the above - this can be used to add ironman mode restrictions to normal players.

 

Quote
if (player.playerRights == 2 && !GameConstants.ADMIN_CAN_TRADE) {
   player.getPacketSender().sendMessage("Trading as an admin has been disabled.");
   return;
}

Then you will want to change the "playerRights == 2"
If changed to "playerRights == 0" then players will receive the sendMessage when attempting to trade.
"Trading as an admin has been disabled." can be changed to "Trading as an ironman has been disabled."

Next you will want to change how items appear in stores as this is another popular method to transfer items.

 

Quote
// Add item to the shop
//addShopItem(unNotedItemID, amount); // this is the line you should comment out
player.getItemAssistant().resetItems(3823);
resetShop(player.shopId);
updatePlayerShop();
return true;

By commenting out 1 line of code, now items sold to shops won't appear in stock to other players. 

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 3 weeks later...
  • 3 weeks later...
  • 3 months later...
  • 2 months later...
  • 1 month later...
  • 1 month later...
  • 2 weeks later...
  • 3 weeks later...

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

Contact

[email protected]

astra.security

What is a RSPS?

A RSPS, also known as RuneScape private server, is an online game based on RuneScape, and controlled by independent individuals.

Popular RSPS Servers

Runewild Ikov RedemptionRSPS

Disclaimer

Runesuite is not affiliated with runescape, jagex in any way & exists solely for educational purposes.

×
×
  • Create New...