summaryrefslogtreecommitdiff
path: root/src/char/char.c
AgeCommit message (Collapse)AuthorFilesLines
2013-04-23Delete some athena words from files char_athena.conf to char-server.confChristian1-1/+1
2013-04-22Also fixed a behavior of npcwalkto, which was capped by walkpath limit.Matheus Macabu1-1/+1
Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-04-22Little fix to start_items. Thanks to lighta!Matheus Macabu1-2/+2
Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-04-22Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-18/+25
2013-04-22Hercules April 22 MEGA-ULTRA-LONG Patch~!shennetsind1-26/+2
http://hercules.ws/board/topic/470-hercules-april-22-patch/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-20* Added support for up to 32 items in starting items (the items you receive ↵Matheus Macabu1-18/+25
when creating a new character). Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-04-15Fixed Bug #7127shennetsind1-7/+23
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-13Follow up f69814b33ba65898ee44f69ffc3551f829fe3befshennetsind1-1/+0
wooo. its like a inner necessity, can't commit something important without leaving some debug leftover behind =_= Signed-off-by: shennetsind <ind@henn.et>
2013-04-122013 Client char-select packet updateshennetsind1-9/+60
Special Thanks to Shakto, malufett! http://hercules.ws/board/blog/1/entry-26-2013-char-select-packet-update/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-02Follow up a4e273d9bed24286002bed8f2909f0ff1b5c4f91shennetsind1-7/+7
Fixed a issue that was making it unable to create new characters Signed-off-by: shennetsind <ind@henn.et>
2013-04-01Introducing socket_datasyncshennetsind1-624/+632
a user-friendly way to notify users when their servers are out of sync, e.g. http://hercules.ws/board/topic/328-intif-guild-data-size-error/ http://hercules.ws/board/topic/315-error-chrif-authok-data-size-mismatch-52224-52228/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-01Dropped char_per_account char-server configshennetsind1-25/+4
It became pointless, since 0241d0195558b7e57d2181f2f097cf774a1ef463 introduced a more accurate way to control the amount of characters in an account. This update also reduced the amount of mysql queries used on char creation by 2. Signed-off-by: shennetsind <ind@henn.et>
2013-03-31Fixed a login bug with clients from before 20110309shennetsind1-4/+4
servers with pincode enabled would always reject char selection Signed-off-by: shennetsind <ind@henn.et>
2013-03-30Hercules Renewal: clif.c completeshennetsind1-1/+1
Added the last missing functions into the interface, all functions in clif.c are now wired to the interface. http://hercules.ws/board/topic/237-hercules-renewal/ Also shortened clif->displaymessage to clif->message, removed the old clif->message and merged its functionality with clif->disp_overhead (both use the same packet and do the same thing :P) - and a gazillion other stuff: http://hercules.ws/board/topic/316-introducing-hercules-channel-system/ Signed-off-by: shennetsind <ind@henn.et>
2013-03-27Introducing Slot Change featureshennetsind1-529/+598
Special Thanks to Yommy for providing the packet structure/data. Signed-off-by: shennetsind <ind@henn.et>
2013-03-17Follow up 3b89a135dcde9779bd0537cd136a7c34cfadbe3fshennetsind1-8/+0
Dropping the not-used setting from the previous implementation. http://hercules.ws/board/topic/272-re-introducing-console-input/ Signed-off-by: shennetsind <ind@henn.et>
2013-03-16Enhance Pincode Feature.malufett1-0/+24
-added a hack check for pincode feature. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-03-16Follow up fixed for Pin Code Featuremalufett1-13/+11
-Fixed some warning in Windows. -Fixed 'pincode_charselect' where it doesn't work properly Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-03-14Fixed Pin Code Featureshennetsind1-20/+13
Now cross-platform, and stable ( after fixing I tested it a couple dozen times ). Special Thanks to Yommy for providing me with his packet list, without it I would have never figured what was wrong with it. Special Thanks to Jeroen who reported a inconsistency on the feature when used on windows. Signed-off-by: shennetsind <ind@henn.et>
2013-03-09Hercules Renewal'd Pin Codeshennetsind1-35/+71
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-04Introducing account-dependent character slot countshennetsind1-16/+28
As requested in http://hercules.ws/board/topic/248-reserved-slot-system/ Signed-off-by: shennetsind <ind@henn.et>
2013-02-18Improvements all over the placeshennetsind1-7/+7
Committing on the behalf of mkbu95 who is unable to do it himself, he coded it all and sent me the diff. Thanks mkbu95! Signed-off-by: shennetsind <ind@henn.et>
2013-02-16Updating the Headers across source filesshennetsind1-2/+3
And adding missing ones. Signed-off-by: shennetsind <ind@henn.et>
2013-02-16Minor changes; check descriptionshennetsind1-3/+9
Login and Char servers will now exit when failing to bind to the port (as map server has always done). Moved Sql_HerculesUpdateCheck() to be run before "server is 'ready' " thing for layout-purposes. Signed-off-by: shennetsind <ind@henn.et>
2013-02-16Fixed Bug #7070shennetsind1-3/+12
Character's online states are now updated as soon as they attempt a char select, instead of at the end of the procedure. This improves reliability with 3rd party software e.g. control panels. Signed-off-by: shennetsind <ind@henn.et>
2013-02-15Fix to char.c::mmo_char_fromsql loading skill id and flag as USHORT while ↵shennetsind1-3/+3
both are UCHAR Signed-off-by: shennetsind <ind@henn.et>
2013-02-14Fixed Bug #5018shennetsind1-11/+15
Skills granted through scripts are now permanent, until this date they were not relog persistent Signed-off-by: shennetsind <ind@henn.et>
2013-02-14Introducing MySQL DB Update Checkershennetsind1-0/+1
First version. Signed-off-by: shennetsind <ind@henn.et>
2013-02-04Merged some commits from rAthena.Matheus Macabu1-4/+5
2013-02-01Added New Char-Server Rename Packetshennetsind1-0/+29
Special Thanks to Ancyker http://hercules.ws/board/tracker/issue-7040-missing-char-server-rename-packet/ Signed-off-by: shennetsind <ind@henn.et>
2013-01-26Changing ASCI Art / Moving stat server to Hercules.shennetsind1-1/+1
Changed the ASCI art (not quite final; just changing it prior to release), moving stat server to hercules end Signed-off-by: shennetsind <ind@henn.et>
2013-01-25Dropping _athena file suffixesshennetsind1-4/+4
Signed-off-by: shennetsind <ind@henn.et>
2013-01-08* Renaming variable name from nsiuid to unique_id for better understanding ↵markzd1-12/+12
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-07* Follow Up: r17080markzd1-1/+0
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* Implemented Unique identifier for Non stackable items. (tid:69380)markzd1-15/+24
* 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
2012-12-05- Re-committed r16985 (pid:161281).glighta1-73/+83
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17001 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05 - Re-committed r16979/trunk/src/ (pid:161281).markzd1-3/+1
- Re-committed r16980/trunk/src/ (pid:161281). - Malufett enhancement applied (bugreport:16981) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-05- Undid r16968: SVN Replaced with source:/trunk/src/@16966 (tid:74924).brianluau1-4052/+4115
[16969:16991/trunk/src/] will be re-committed in the next 24 hours. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-29- Upon character deletion remove received mails and elemental.momacabu1-2/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16985 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-29* Minor fix and description when removing debuffs by status_change_clear_buffs.markzd1-2/+0
Follow up: r16979 * Reverted r16930. (bugreport: 6939) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16980 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-25Applied AStyle code formating as discussed on tid:74602.greenboxal21-4115/+4044
Removed /SAFESEH option from MSVC11 projects. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-21Another minor improvement on char_per_account setting (follow up to r16937). ↵momacabu1-7/+4
Thankyou Lemongrass for your suggestion! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16939 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-20Minor improvement in char_per_account setting, which could be greater than ↵momacabu1-5/+9
MAX_CHARS. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16937 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-20Console clean up, dropped quite a few pointless messages and modified others ↵shennetsind1-27/+7
to only be displayed when relevant (e.g. you dont need to know you have only 1 subnetwork) Improved the debugging of scripts when an amount greater than supported of arguments is used. Follow up r16935 -- commit missed the script.c part of it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16936 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-20- Fixed bugreport:6915, where @follow would still be enabled when the ↵momacabu1-0/+3
target/source died; - Fixed a exploit on the creation char process, the hair color and style could be bypassed (bugreport:6916). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16930 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-31Fixed bugreport:6779 dropped between-server ping timers, replaced by a much ↵shennetsind1-26/+17
more reliable and performance-efficient on-demand flagging. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16854 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-10-29-Add some src basic documentation.glighta1-5/+5
-Change some remaining -1 for status ending timer. -Move some hardcoded msg in msg_athena -Small optimisation on battle_attr_fix git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-16Introducing rAthena's anonymous data collector. This aims at improving ↵shennetsind1-1/+30
rAthena's overall features by letting we know which options are most and least used. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16785 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-22Major cleanup all over the place, made possible by mkbu95's scan-build ↵shennetsind1-7/+4
report he provided us with. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16687 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-18Fixed bugreport:6496 character selection screen rename function fixed for ↵shennetsind1-1/+1
clients 20111025 and newer (right click the character with the add-ons sidebar and select the first option to rename) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16666 54d463be-8e91-2dee-dedb-b68131a5f0ec