summaryrefslogtreecommitdiff
path: root/sql-files/main.sql
AgeCommit message (Collapse)AuthorFilesLines
2019-05-14Remove conf dir.Andrei Karas1-1027/+0
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>
2014-07-10SQL Re-Organization.Shido1-540/+540
Signed-off-by: KeiKun <the.keikun@gmail.com>
2014-05-17Renamed incuvate of Pet System.Shido1-1/+2
2014-04-26Follow-up to 93584f7, Fixed issue with Character Creation, column doesn't ↵MrKeiKun1-1/+2
contain default value. Signed-off-by: MrKeiKun <the.keikun@gmail.com>
2014-04-20Follow-up to dd49dbc3e8, added missing main.sql entryHaru1-1/+1
Thanks to QQfoolsorellina Signed-off-by: Haru <haru@dotalux.com>
2014-04-18Rewritten NSI_UNIQUE_ID system to get rid of the cross-database interreg ↵Ibrahim Hossam1-2/+1
dependency - Removes the need for map-server to access the interreg table to store the last used ID. - Login, char and map databases can now be hosted separately. - Note: the unique_id structure has changed, and it now contains the generator character ID in its upper 32 bits. - Now NSI_UNIQUE_ID System is enabled always Special thanks to Haruna.
2014-03-25Added new return values to make_new_char_sqlpanikon1-0/+2
Added char_id to charlog Corrected RE check in skill_magic_reflect (see commit c9310f3)
2014-02-19Follow up 9132878d911cfe720eaad94ad3d4a5dd11958f99shennetsind1-1/+3
Fixed issue (8023) with sc rows (only those of tick = -1, aka permanent scs) duplicating due to lack of primary index. Special Thanks to Flash, Haru. Note that the upgrade script will clear the permanent statuses from your sc_data table (e.g. lex aeterna, carts) to ensure no issues are left. Signed-off-by: shennetsind <ind@henn.et>
2014-01-15Added some missing entries to the sql upgrades table in main.sqlHaru1-20/+22
- Follow-up to 9928044b, 4655f661 - Special thanks to Mumbles Signed-off-by: Haru <haru@dotalux.com>
2014-01-11Hercules 1st 2014 MegaPatchshennetsind1-17/+82
http://hercules.ws/board/topic/3886-hercules-1st-2014-megapatch/ Signed-off-by: shennetsind <ind@henn.et>
2014-01-08Introducing Hercules Autotrade Persistencyshennetsind1-0/+25
Aka autotrading merchants survive server restarts. Originally sekai's (aka me). Special Thanks to Haruna, Michieru. Signed-off-by: shennetsind <ind@henn.et>
2013-12-24Christmas Patch - 2013-12-23 Supportshennetsind1-0/+12
Info: http://hercules.ws/board/topic/3614-christmas-patch-gifto/ Signed-off-by: shennetsind <ind@henn.et>
2013-11-16Introducing Character Ban Support.shennetsind1-0/+2
@charban/@charunban, can temporarily block any accounts as opposed to the usual account-wide block. Special Thanks to Haruna, Yommy! Signed-off-by: shennetsind <ind@henn.et>