ro11 - Officer fix ( partial )

Status
Not open for further replies.
Newbie Spellweaver
Joined
Oct 12, 2005
Messages
31
Reaction score
0
Ive noted that you can buy officers with as little as 1 darkmatter, while it seems the full darkmatter system is missing/not implamented, i decided to fix this with a quick patch

in file officier.php

find this line:
Code:
if ($CurrentUser['rpg_points'] > 1) {

and replace with this:
Code:
if ($CurrentUser['rpg_points'] > 100000) {

This ammount is what is taken when an officer is purchased, and i plan on replacing the officer system, and removing the darkmatter system in the near future, so this is just a simple fix for this ( from what i can find, there is no other system that uses the darkmatter, although ill keep digging )
 
that is one pretty nice find, you can also just download my fix that auto refreshes the page so you cannot do that anymore.

& bravo work, very amazed
 
Status
Not open for further replies.
Back