summaryrefslogtreecommitdiff
path: root/sql-files/main.sql
AgeCommit message (Collapse)AuthorFilesLines
2020-05-10Update SQL databaseKenpachi Developer1-5/+17
* Add separate tables for global integer and string variables. * Copy data from mapreg table to new map_reg_*_db tables. * Remove mapreg table.
2020-05-02Unify size of columns holding string variable values to 255Kenpachi Developer1-3/+4
2020-04-05Add UNIQUE KEY to column `login`.`userid`Kenpachi Developer1-2/+3
2020-03-22Expand column size of `ipbanlist`.`list` from 13 to 39Kenpachi Developer1-1/+2
2020-02-09Add expanded barter shop sql scriptsAndrei Karas1-0/+44
2020-01-13Update copyright headers for year 2020Haru1-2/+2
Signed-off-by: Haru <haru@dotalux.com>
2019-12-15Merge pull request #2580 from Asheraf/winmariadbconnectorHaru1-487/+487
Replace the windows mysql connector with MariaDB C Connector
2019-11-23Fix for https://github.com/HerculesWS/Hercules/issues/2349.Kenpachi Developer1-1/+2
ipban_log() only inserts the first 3 octets of an IP and an asterisk for last one, so we can set the columns length to 13.
2019-11-19Fix some sql warnings with mysql servers v8Asheraf1-487/+487
2019-11-17Added SQL FilesDastgir1-0/+1
2019-10-06Updates status changes to also keep their total timeGuilherme Menaldo1-0/+2
- This allows clients to continue the "timer" display after you login again
2019-09-22Convert castles ids to match client side idsAsheraf1-0/+1
2019-06-02Use separate field hotkey_rowshift for each hotkeys groupAndrei Karas1-0/+2
2019-05-05Add sql update for guild_expulsion tableAndrei Karas1-0/+2
Add field char_id into table guild_expulsion.
2019-04-08Fix an issue with named/brewed/forged items getting saved with the wrong ↵Ibrahim Zidan1-0/+1
character id The isue was triggered by the refactoring of old undocumented code that relied on the overflow behavior during assignment from int32 to int16 and from uint16 to int16, and by a subsequent clamping to SMALLINT range operated by the SQL server. Credits: Haru <haru@dotalux.com> Fixes #2409 Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-01-14Add support for saving/loading barter shops from sql table.Andrei Karas1-0/+10
Also allow add duplicated item id to barter shops if price is different.
2018-12-14Add inventory size field into db and using it in server.Andrei Karas1-0/+2
2018-11-13Add the available information to the charlog when renaming a characterHaru1-1/+1
All the necessary information was already available (charlog fields are part of the shortdata, which is already loaded by `char_rename_char_sql()`), but it wasn't used by the charlog insert query. Signed-off-by: Haru <haru@dotalux.com>
2018-09-23Merge pull request #2205 from dastgirp/issue/2187Haru1-28/+30
Fixed issue #2187
2018-09-18add missing `IF NOT EXISTS` clause to the `char_achievements` table creation ↵gumi1-1/+1
query
2018-09-02Fixed issue #2187Dastgir1-28/+30
card field is changed to INT in tables
2018-07-28Merge pull request #2067 from dastgirp/1-achievementHaru1-0/+25
Implemented Achievement System and Title System
2018-07-24Implemented Title System.Dastgir1-0/+2
2018-07-24Correct wrong attribute used for pet evolution egg hidingAsheraf1-0/+1
2018-07-24Add SQL Upgrades for Achievementssmokexyz1-0/+23
Co-authored-by: "Dastgir" <dastgirp@gmail.com>
2018-06-25Implemented Pet AutofeedingDastgir1-0/+2
2018-04-07Implementation of Attendance systemAsheraf1-0/+3
2018-03-08Fixed RoDEX mail return not working correctlyGuilherme G. Menaldo1-1/+3
2018-01-25Implementation of Official Clan SystemMurilo Pereti Tavares1-0/+4
All official features work including the autokick for inactive members And the system is completely customizable.
2017-11-18Implement Homunculus autofeedingAsheraf1-0/+2
2017-07-30Implementation of RoDEXKirieZ1-1/+54
2017-04-04Implementation of Item Options System.Smokexyz1-9/+71
Allows the infusing of equipments with bonus item options. This feature is constrained to clients of packet versions greater than or equal to `20150226`. Item Options and their effects are defined server-side in `db/item_options.conf` and client side in `data/luafiles514/lua files/datainfo/addrandomoptionnametable.lub` The ID of the option must tally with the correct index of the description provided in the client side lua file to avoid bugs. IT_OPT_* keys and MAX_ITEM_OPTIONS macro are also exported from the source as constants. An additional flag `disable_options` has been added to sql, and as `DisableOptions: true/false (boolean, defaults to false !!for equipments only!!)` to item_db.conf files. Script commands documentation is also included. SQL file updates are included. Credits: [Smokexyz](https://github.com/Smokexyz) Style and Script Fixes by [Asheraf](https://github.com/Asheraf) Initial design Idea by [secretdataz](https://github.com/secretdataz)
2016-10-26zenylog missing type 'K' for Bank TransactionsSmokexyz1-0/+1
Fixes bug filed here - http://herc.ws/board/topic/13618-db-error-data-truncated-zenylog/
2016-10-22Added Summoner Class.Dastgir Pojee1-1/+3
(Only Placeholder, other things related to summoner will follow-up soon) Added SQL-Upgrade: Added `class` column in charlog
2016-07-08Add sql upgrade scripts for convert date/datetime default values.Andrei Karas1-0/+2
2016-07-07Replace in sql files fields with default date/datetime into default NULL.Andrei Karas1-6/+6
2016-03-14Add missing update into main.sql.Andrei Karas1-0/+1
2016-01-09typo fix in main.sqlDastgir1-1/+1
2016-01-05Fix battle config Hp/Sp overflow valueAnnieRuru1-5/+6
- client can't handle value over 21474836 - SQL also can't save value over 16777215 due to mediumint unsigned Closes #965 as merged Signed-off-by: Haru <haru@dotalux.com>
2016-01-05Added Support for BodyStyleDastgir1-0/+2
Closes #974 as merged
2015-12-15Added GPL-compliant header to sql filesHaru1-0/+19
Signed-off-by: Haru <haru@dotalux.com>
2015-09-17Added redundancy to some SQL statements.GammCrucis1-35/+34
Closes #641 Signed-off-by: Haru <haru@dotalux.com>
2015-08-27Hotkey Rotate Packet ImplementedDastgir1-0/+2
2015-08-10Corrected an issue with the last SQL updateHaru1-0/+1
- Follow-up to 8caa0e564b5331a88d8dc1712513368b37ba9694 - It's safe to re-apply the related sql update script (sql-files/upgrades/2015-07-08--13-08.sql) in order to get rid of the 'detected 1 new SQL updates' message. - Thanks to KirieZ Signed-off-by: Haru <haru@dotalux.com>
2015-08-09Removed unused tables sstatus and interregHaru1-20/+0
Signed-off-by: Haru <haru@dotalux.com>
2015-07-08Update Unique ID system to match official now it cover all cash items ↵Ibrahim Hossam1-0/+1
include stackable ones. Implement ForceSerial option in Package Item Database to force serial for any item. Implement ForceSerial option in item database to force serial for any item. Implement Merge Client interface to merge stackable items with serial numbers ( check npc/other/item_merge.txt ).
2014-11-04Added missing sql_updates query in main.sqldastgir1-0/+1
2014-11-03Introducing 2014-10-22, Roulette and Per-Char Gender!shennetsind1-0/+1
Details in http://hercules.ws/board/topic/7618-2014-10-22-roulette-and-per-char-gender/ Special Thanks to the all-mighty Yommy, Ziu and Haruna! Signed-off-by: shennetsind <ind@henn.et>
2014-09-02Fixes wrong data type in SQL for base_exp,base_drop and base_death.Dastgir1-3/+4
2014-07-17Fixed minor issues in the sql files from 3ecf877bHaru1-11/+11
Signed-off-by: Haru <haru@dotalux.com>