summaryrefslogtreecommitdiff
path: root/src/char
AgeCommit message (Collapse)AuthorFilesLines
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.malufett2-6/+39
-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 Featuremalufett4-71/+44
-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 Featureshennetsind4-40/+78
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 Codeshennetsind6-40/+327
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 placeshennetsind2-12/+13
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 filesshennetsind3-4/+5
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-16Dropped _sql suffix in server names.shennetsind2-15/+15
Updated .gitignore to reflect this change, also renamed some other stuff to make their functionality clearer. 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-07Fixing mistake in modified source code headersshennetsind2-2/+2
Signed-off-by: shennetsind <ind@henn.et>
2013-02-06Fixed Bug #7056shennetsind1-1/+1
atoll was introduced in a 2011 lib and vc9 and 10 dont have that, dropping to atol since we dont need the int64 and using a tricky conversion to get it to unsigned http://hercules.ws/board/tracker/issue-7056-compiling-error/ Signed-off-by: shennetsind <ind@henn.et>
2013-02-04Allow unsigned int values for guild exp (as it was before the change).akrus1-2/+2
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-31Fixed Bug #3080shennetsind2-6/+8
Replaced strncpy with safestrncpy where I found would be beneficial. http://hercules.ws/board/tracker/issue-3080-safestrncpy-instead-of-strncpy-where-applicable/ Also modifying headers accordingly. Signed-off-by: shennetsind <ind@henn.et>
2013-01-27Fixed Bug #7035shennetsind1-1/+1
Char server displaying extra '/' in exp_guild path. http://hercules.ws/board/tracker/issue-7035-typo-in-charserv-sqlbat/ 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-25Merge pull request #4 from mkbu95/mastershennetsind1-1/+1
Fix for bugreport:7218 in rAthena
2013-01-25Fixed bugreport:7218, where unique id was implemented and they forgot that ↵Matheus Macabu1-1/+1
more load was being retrieved after, so card0 wasn't being loaded properly. Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-01-25Dropping _athena file suffixesshennetsind3-6/+6
Signed-off-by: shennetsind <ind@henn.et>
2013-01-08* Renaming variable name from nsiuid to unique_id for better understanding ↵markzd5-30/+30
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- Fixed a typo on SQL single quote, in int_storage.c, follow up ↵markzd1-1/+1
r17080.(bugreport:7141) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17083 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)markzd6-30/+87
* 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-02-Follow up r17065 glighta1-25/+25
--removing useless check on skill_id --fix few broken atcommand due to failed sscanf -Change skill_amotion_leniency as pointed out on tid:76492 so amotion delay wont be twice by default, (also increase intervall if you do want higher acd) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-30-Harmonize skillid, skill_num, skillnum, skill, to skill_id and same for ↵glighta1-5/+5
skill_lv -Optimise type from int to int16 in order to reduce ram consumtion. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17065 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-22Community Contribution Time!momacabu1-2/+2
* Fixed bugreport:6303: official servers now always reshuffle the dice emoticon. To disable change the configuration to 'no'. Thanks to Vianna for providing the information! * Fixed bugreport:7026: creating a guild and exiting in a short amount of time wouldn't save the guild properly. Thank you clydelion! * Fixed bugreport:7030: removed warning introduced by r16987. Thanks Mr. Brian and Sir BuildBot for pointing! * Fixed bugreport:7031: if a player crashed during warp it would cause OnTouch_ to not trigger anymore. Thanks to flaviojs (eA-r15185) for the fix and Napster for pointing out! * Fixed bugreport:7032: Clementia and Canto Candidus give an additional of +1 str/agi/dex each 10 job levels (from caster). Thanks solvent! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17034 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-12- Follow up r17004 & bugreport:6995, added safer calculation to strategic ↵markzd2-2/+3
points at battle.c&status.c. - Implemented reading of renewal exp_guild.txt. (tid:75398) - Fixed Status Fogwall(Blinding Mist) to be reduced by status/card. (bugreport:4543) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-12-11Happy Holidays and Happy 12/12/12 :)rud0lp201-16/+18
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-09* Use sv_readdb to read exp_guild.momacabu1-24/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17012 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).brianluau19-9195/+9087
[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.greenboxal219-9087/+9187
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-24-Fix geoipreading cache for Windows, bugreport:6923glighta1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16960 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-23-Apply mkdu95 fix for bugreport:5145 preventing clone if player dead, (for ↵glighta1-75/+75
slave and evil clone) -Fix old fread, fgets warnings, displaying a msg errors when failed now -Cleaning checkweight debug showinfo git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16952 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 ↵shennetsind2-37/+8
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-11-09- Removed backup.pl (for TXT servers) and vs9-to-vs8.php (outdated versions);momacabu3-9/+0
- Merged @killmonster2 with @killmonster tid:73632; - Fixed bugreport:6764, auction code was misplaced; - Follow up to r16753 (bugreport:6523), fixed bugreport:6673, using Gravitational Field with Safety Wall would keep the character immobilized. Blame myself, thankyou Lunar for the fix; - Fixed bugreport:6514, @slaveclone wouldn't be targeted by monster. Thanks to zippy; - Fixed bugreport:6837, some code was duplicated; - Fixed bugreport:6768, removed some leftovers from TXT removal; - Fixed bugreport:6868, Unequipping a weapon with Incantation Samurai card will not kill you if you have less than 999 hp and are on a non-pvp map; - Fixed wrong bit field on ai field in mob_data structure. Credits to Ind. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16881 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