Jump to content

Dythzer

Members
  • Posts

    52
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by Dythzer

  1. In Player.cpp at Player::Create where it says: SetMapId(info->mapId); Relocate(info->positionX,info->positionY,info->positionZ); Add something like: if(GetSession()->GetSecurity() > 1) { SetMapId(1); Relocate(x,y,z); } else { SetMapId(info->mapId); Relocate(info->positionX,info->positionY,info->positionZ); } but replace x,y and z with the coordinates and also the correct map ID.
  2. On offy you get the error message "At gold limit" when trading/selling etc and getting over max money, 2147483648 copper. Happened to 2 people so far on offy realm. Not allowed to post screenshot but google it if you want and you will find some articles about it. Anyway, here's the patch: Index: src/game/Player.h =================================================================== --- src/game/Player.h (revision 6319) +++ src/game/Player.h (working copy) @@ -1287,6 +1287,10 @@ SetMoney (GetMoney() > uint32(-d) ? GetMoney() + d : 0); else SetMoney (GetMoney() < MAX_MONEY_AMOUNT - d ? GetMoney() + d : MAX_MONEY_AMOUNT); + + // "At Gold Limit" + if(GetMoney() >= MAX_MONEY_AMOUNT) + SendEquipError(EQUIP_ERR_TOO_MUCH_GOLD,NULL,NULL); } void SetMoney( uint32 value ) { http://pastebin.com/m318948c6
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use