Commit graph

123 commits

Author SHA1 Message Date
Dastgir
fd67aaa5db typo fix in main.sql 2016-01-09 15:35:00 +05:30
AnnieRuru
f836b4a752 Fix battle config Hp/Sp overflow value
- 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-05 15:34:45 +01:00
Dastgir
0c458a4976 Added Support for BodyStyle
Closes #974 as merged
2016-01-05 13:09:15 +01:00
Haru
da78cd6027 Added GPL-compliant header to sql files
Signed-off-by: Haru <haru@dotalux.com>
2015-12-15 20:53:49 +01:00
GammCrucis
ebf17bcb5e Added redundancy to some SQL statements.
Closes #641

Signed-off-by: Haru <haru@dotalux.com>
2015-09-17 15:16:51 +02:00
Dastgir
2b4b33b06a Hotkey Rotate Packet Implemented 2015-08-27 21:16:42 +05:30
Haru
d23d21735e Corrected an issue with the last SQL update
- Follow-up to 8caa0e564b
- 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-10 05:50:53 +02:00
Haru
8caa0e564b Removed unused tables sstatus and interreg
Signed-off-by: Haru <haru@dotalux.com>
2015-08-09 21:14:02 +02:00
Ibrahim Hossam
856b6f1feb Update Unique ID system to match official now it cover all cash items 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 ).
2015-07-08 03:26:34 +02:00
dastgir
6dc75795d2 Added missing sql_updates query in main.sql 2014-11-04 05:42:40 -05:00
shennetsind
239d480487 Introducing 2014-10-22, Roulette and Per-Char Gender!
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-11-03 08:10:26 -02:00
Dastgir
435d888eb1 Fixes wrong data type in SQL for base_exp,base_drop and base_death. 2014-09-02 20:51:43 +05:30
Haru
f62ce0c0ba Fixed minor issues in the sql files from 3ecf877b
Signed-off-by: Haru <haru@dotalux.com>
2014-07-17 21:32:55 +02:00
Shido
3ecf877ba3 SQL Re-Organization.
Signed-off-by: KeiKun <the.keikun@gmail.com>
2014-07-10 23:53:21 +08:00
Shido
5f5380e8d5 Renamed incuvate of Pet System. 2014-05-17 01:13:23 +08:00
MrKeiKun
47fae87d89 Follow-up to 93584f7, Fixed issue with Character Creation, column doesn't contain default value.
Signed-off-by: MrKeiKun <the.keikun@gmail.com>
2014-04-26 19:37:55 +08:00
Haru
2f1d13680e Follow-up to dd49dbc3e8, added missing main.sql entry
Thanks to QQfoolsorellina

Signed-off-by: Haru <haru@dotalux.com>
2014-04-20 07:07:33 +02:00
Ibrahim Hossam
dd49dbc3e8 Rewritten NSI_UNIQUE_ID system to get rid of the cross-database interreg 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-04-18 09:58:42 +02:00
panikon
4b1cc23085 Added new return values to make_new_char_sql
Added char_id to charlog
Corrected RE check in skill_magic_reflect (see commit c9310f3)
2014-03-25 20:23:39 -03:00
shennetsind
d0b9510cf0 Follow up 9132878d91
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-02-19 15:16:46 -03:00
Haru
dafba12dd4 Added some missing entries to the sql upgrades table in main.sql
- Follow-up to 9928044b, 4655f661
- Special thanks to Mumbles

Signed-off-by: Haru <haru@dotalux.com>
2014-01-15 23:48:56 +01:00
shennetsind
82b583b5ef Hercules 1st 2014 MegaPatch
http://hercules.ws/board/topic/3886-hercules-1st-2014-megapatch/
Signed-off-by: shennetsind <ind@henn.et>
2014-01-11 14:02:59 -02:00
shennetsind
b79a9d7efa Introducing Hercules Autotrade Persistency
Aka autotrading merchants survive server restarts.
Originally sekai's (aka me).
Special Thanks to Haruna, Michieru.

Signed-off-by: shennetsind <ind@henn.et>
2014-01-08 11:22:00 -02:00
shennetsind
cf19b26d50 Christmas Patch - 2013-12-23 Support
Info:
http://hercules.ws/board/topic/3614-christmas-patch-gifto/
Signed-off-by: shennetsind <ind@henn.et>
2013-12-24 02:03:04 -02:00
shennetsind
aee2f6317e Introducing Character Ban Support.
@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>
2013-11-16 16:30:11 -02:00
shennetsind
40262e063a Updated account_data upgrade files
to avoid issues as demonstrated by report 7824 http://hercules.ws/board/tracker/issue-7824-exp-and-drop-rates-in-lat/
Special Thanks to Yommy!

Signed-off-by: shennetsind <ind@henn.et>
2013-11-15 18:02:59 -02:00
shennetsind
8ed38f9889 Adjusted account-modifiers default values to 100.
Special Thanks to Haruna, ossi0110.

Signed-off-by: shennetsind <ind@henn.et>
2013-11-08 22:09:40 -02:00
shennetsind
b9b32ac760 Item Bound Fixes/Adjustments/Improvements
Special Thanks to Haruna

Signed-off-by: shennetsind <ind@henn.et>
2013-11-07 16:04:51 -02:00
shennetsind
b1f7e524a7 Merge remote-tracking branch 'origin/master'
Signed-off-by: shennetsind <ind@henn.et>

Conflicts:
	conf/messages.conf
	src/common/mmo.h
	src/map/pc_groups.c
	src/map/pc_groups.h
2013-11-06 22:40:57 -02:00
shennetsind
5c94e76753 Updated to latest Hercules
Signed-off-by: shennetsind <ind@henn.et>
2013-11-02 17:16:07 -02:00
sevenzz23
c47d8e4b8f No error after compilation, but when logging in at map server it will crash.
Im pretty sure its on the clif.c

Signed-off-by: sevenzz23 <sevenzz23@yahoo.com>
2013-10-31 12:42:05 +07:00
shennetsind
4340bf74d5 Official Font Support
Fonts are now relog-persistent.
Font items are now toggle-on/off, they no longer go away on use, they go away when their rental duration is over (and the font effect goes back to original).
Special Thanks to Yommy for all the data!

Signed-off-by: shennetsind <ind@henn.et>
2013-10-30 19:39:40 -02:00
shennetsind
baef78f795 Shadows System Base
http://hercules.ws/board/topic/581-implement-the-shadows-system/

Special Thanks to Yommy for all the client data, Haru for making it possible to get it out and rosfus for the details on the feature.
Shadows Feature requires packetver 20120925 or newer.

----------
Also: Updated all packets related to the shadows system, improved memory/processing of inventory/cart/storage/viewequip packets

Signed-off-by: shennetsind <ind@henn.et>
2013-10-27 15:00:37 -02:00
Streusel
80dfb11513 Follow up c5c3381
Thanks to QQfoolsorellina
2013-10-10 11:03:04 -07:00
shennetsind
c5c3381b0b Introducing Bank Support
http://hercules.ws/board/topic/2455-introducing-bank-support/
Thanks to Yommy, Haru!

Signed-off-by: shennetsind <ind@henn.et>
2013-10-10 12:25:22 -03:00
shennetsind
2967335cb4 Fixed Bug #7127
Also Implemented allow party invitations state.
Implemented saving of client options (atm show_equip and allow party invitation)
http://hercules.ws/board/tracker/issue-7127-view-equipment/

Signed-off-by: shennetsind <ind@henn.et>
2013-04-15 23:27:29 -03:00
shennetsind
889a866e92 Introducing Slot Change feature
Special Thanks to Yommy for providing the packet structure/data.

Signed-off-by: shennetsind <ind@henn.et>
2013-03-27 15:38:32 -03:00
shennetsind
d2d734ce09 Hercules Renewal'd Pin Code
Feature is not, I repeat, NOT complete. the decryption is not fully functional which leads to dial values  different from the ones the player used.
Credits:
lemongrass3110 for the base
yommy for the packets
LightFighter for the decrypt function (altho its not stable :P)

Signed-off-by: shennetsind <ind@henn.et>
2013-03-09 00:04:28 -03:00
shennetsind
bafe9ad228 Followup 0241d01955
git's commit-per-line thing fooled me, it skipped this line.

Signed-off-by: shennetsind <ind@henn.et>
2013-03-04 22:27:09 -03:00
shennetsind
0241d01955 Introducing account-dependent character slot count
As requested in http://hercules.ws/board/topic/248-reserved-slot-system/

Signed-off-by: shennetsind <ind@henn.et>
2013-03-04 22:22:30 -03:00
shennetsind
4ce4adceac Updated main.sql to reflect the latest sql_updates entries
Signed-off-by: shennetsind <ind@henn.et>
2013-02-16 20:35:36 -02:00
shennetsind
651d6857d7 MySQL Update Checker: Updated
Added a primary key to the `sql_updates` table (special thanks to Trojal)
Modified the parser to ignore new/empty lines and added support for "//" comments in the index file.

Signed-off-by: shennetsind <ind@henn.et>
2013-02-15 18:15:57 -02:00
shennetsind
2bc85620e0 Fixed Bug #5018
Skills granted through scripts are now permanent, until this date they were not relog persistent

Signed-off-by: shennetsind <ind@henn.et>
2013-02-14 17:18:11 -02:00
shennetsind
810ba40b78 Introducing MySQL DB Update Checker
First version.

Signed-off-by: shennetsind <ind@henn.et>
2013-02-14 17:15:36 -02:00
akrus
bb61951098 Getting rid of unused indexes.
Source: http://dev.mysql.com/doc/refman/5.5/en/multiple-column-indexes.html
If the table has a multiple-column index, any leftmost prefix of the index can be used by the optimizer to find rows. For example, if you have a three-column index on (col1, col2, col3), you have indexed search capabilities on (col1), (col1, col2), and (col1, col2, col3).
2013-02-04 14:13:38 +04:00
markzd
5d1712c148 * Renaming variable name from nsiuid to unique_id for better understanding of its meaning, as requested on tid:69380.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17086 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-08 05:31:06 +00:00
markzd
cf31e4f05b * Follow Up: r17080
1. Removed an unnecessary update call.
   2. Implemented interreg table at main.sql.
   
* Follow Up: r17077, r17072, r17065
   1. Fixed bugreport:7078, removed unnecessary checks.

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17081 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-07 06:01:48 +00:00
markzd
24987d8513 * Implemented Unique identifier for Non stackable items. (tid:69380)
* Set as off by default, it can be changed in /src/config/core.h.

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17080 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-07 05:13:54 +00:00
euphyy
a691c52d01 * Custom Quest Shop updated to v1.6, which adds support for bulk purchases.
* Follow-up r17014, fixed a typo in main.sql -- credits to Jeroen for finding that.
* Follow-up r17039, missed a parameter -- thanks, clydelion/mkbu95!

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17040 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-24 02:56:49 +00:00
rud0lp20
97166dfb92 Happy Holidays and Happy 12/12/12 :)
Update Elemental summon to its official behavior
  - Fixed missing skill features of Ventus(bugreport:6792,bugreport:6723,bugreport:6511)
  - Note: upgrade_svn17014.sql
  - And other elemental skills are to follow :)
Fixed bugreport:6889 updated const.txt where it cause error to some items.
Fixed bugreport:6999 where matk damage deals miss atk to plant type targets.
Fixed status calculation where it doesn't give accurate result or how official calculation does.

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-11 17:20:44 +00:00