Perk exploid: Upgrading walls/floorsBug

When the game for some reason won't upgrate a building block (when there is no chat message but you have clicked upgrade to stone/metal ect.) , this still count as done by XPerience, and the player gets frags from the builder perk. One of my players was able to get alot of frags this way :)

Don't know how this work tho.

what do you mean by frags? like building materials? The only thing a player gets at all from the building perk is a reduction of material costs which is refunded to the player but in order to get the refunded materials it must take materials from the player.

Frags as in Metal Fragments.

Yes you do. The way the plugin are programmed are, when you upgrade a building contruction (in this event to metal), you spend some and GET some. However, what a player found was, when the game sometimes won't let you upgrade a construction (not getting an error but just won't), the plugin wtill thinks that it was upgraded, hence giveing you fragments but not spending.

As seen here where it work as intended: https://gyazo.com/545666a82daa8135921a8084bd01624b

ITSB

Frags as in Metal Fragments.

Yes you do. The way the plugin are programmed are, when you upgrade a building contruction (in this event to metal), you spend some and GET some. However, what a player found was, when the game sometimes won't let you upgrade a construction (not getting an error but just won't), the plugin wtill thinks that it was upgraded, hence giveing you fragments but not spending.

As seen here where it work as intended: https://gyazo.com/545666a82daa8135921a8084bd01624b

ok, from that screenshot the game shows that the structure was upgrade and took 200 metal and refunded 24 (amount based on framer skill) however if the game isn't actually upgrading and not removing the materials from the player then this makes it very difficult to fix. The plugin is coded using the "OnStructureUpgrade" hook which is only called when a structure is successfully upgraded so this is a conflict between the game itself and that hook being called within oxide. I will have to see if there is some way to determain if the materials were not removed from the player since everything is telling it otherwise.