ricochhet / Erupe-Legacy

A Monster Hunter Frontier server emulator.
MIT License
60 stars 34 forks source link

Feature: Cafepoints #69

Open matthe815 opened 2 years ago

matthe815 commented 2 years ago

This push-request includes: No softlock on n-point usage. Persistant N-points stored in DB. Accurate N-point usage when buying things with points.

sekaiwish commented 2 years ago

This implementation is messy at best. Unnecessary library imports aren't great.

matthe815 commented 2 years ago

This implementation is messy at best. Unnecessary library imports aren't great.

Refactored based on suggestions.

sekaiwish commented 2 years ago

It's an improvement for sure. Not sure why you're still writing integers into pointers though. Should probably check out the CE NetCafe implementation for future reference.