
Originally Posted by
Bola
If you are rewriting why don't you change, else you will only writing the same code again, go different from the owned of project you're using as base project.
I'll move to mysql, but for now I prefer to keep postgresql.
By the way, this is the changelog of the last week:
Code:
- Removed useless logs from battle server (that make my eyes blood)
- Removed top-ups- Removed pc-cafe (will be coded as vip)
- Removed level-up for rank over 51
- Added plant and defuse duration static in the server (to avoid decimal separator problems, plant and defuse time don't need a configuration)
- Added observer checkbox on room for player with rank GM or MOD (I'll code a system for rank permissions)
- Small bug fixing- Database and encoding configuration are now readed from 'Data\Database.ini' (to avoid multiple configurations)
- Implemented RCON on gameserver (useful for real-time interaction from website to server)
- RCON use Fleck (WebSocket) for receive packets
- RCON can be enabled / disable from configuration
- RCON have a password that must be sended on packet for confirm that sended packet's are valid
- Cleared auth / game from useless logs
- !! Added weapon synchronization in battle
- !! Removed "10 minutes remaining" after battle end, maybe I'll code playtime events in the future
- !! Added clan enable / disable from config Auth.ini
- Replaced table 'info_login_configs' with table 'server_settings'
- Replaced table info_basic_items'' with table 'server_inventory_template'
- Replaced table 'info_channels' with table 'channels'
- Replaced table 'info_gameservers' with table 'gameservers'
- Replaced table 'info_cupons_flags' with table 'server_effect_flags'
- Replaced table 'info_missions' with table 'server_cards'
- Replaced table 'info_rank_awards' with table 'server_rank_awards'
- Moved 'Data\Cards\MissionAwards' to database, table 'server_cardsawards'
- Replace tables 'events' with 'serverevents'
- Moved 'Data\Rank\Player.xml' to database, table 'server_ranks'
- Moved 'Data\Rank\Clan.xml' to database, table 'server_clan_ranks'
- Replaced table 'auto_ban' with table 'logs_auto_ban'
- Replaced table 'nick_history' with table 'logs_nick_history'
- Removed table 'gamerules', I'll code tournaments in the future
- Replaced table 'friends' with table 'player_friends'
- Replaced table 'clan_data' with table 'clans'
- Replaced table 'accounts' with table 'players'
- Removed table 'online' (not needed, can use players.online and players.state)
- Improvement on BattleManager
- Improvement on GameManager
- Added RconSendMoney (Opcode: 1, Pattern: opcode|rconPassword|userId|moneys)
- Added RconSendPoints (Opcode: 2, Pattern: opcode|rconPassword|userId|points)
- Bunch of small bug fixed
- Translated 'logs_nick_history' motive from Thai to English
- Fixed channels user count on auth server
- Added attendance check events (up to 31 rewards)
- Added attendance check multi-reward (up to 2 items to choose)
- Added settings 'enable_greenblood' in table 'server_settings', turn on / off age selection and force normal blood to everyone
- Now 'access_level' permissions will be readed from table permissions_rights
- Added permissions
- Added permissions_levels (base database will have the follow levels: normal, vip, advanced vip, trial moderator, moderator, gamemaster)
- Added permissions_rights
- Added 'observer_enabled' permission
- Added ':commands %page%' command (permission: commandscommand)
- Show all the commands available for this user
- Added ':gift %userid% %type% %value%' command (permission: giftcommand)
- type 'money/moneys/cash', value 'amount': give money to user - type 'point/points/gold', value 'amount': give points to user
- type 'item/good/good', value 'goodid': give good item to user inventory (no characters and masks)
- Added ':update %what%' to update part of the emulator (permission: updatecommand)
- Can update:
- shop (instant for command sender, must login back for other players)
- events (instant for everyone and force update even on the Auth server)
- permissions (instant for everyone but fake_rank won't apply without login back, force update even on the Auth Server)
- Quickstarts preferences now are saved in the database- Removed 'QuickStart.xml'