summaryrefslogtreecommitdiff
path: root/src/char
AgeCommit message (Collapse)AuthorFilesLines
2013-06-10Added SqlStmt functions to the SQL interfaceSusu5-238/+238
2013-06-09Fixed Bug #7319shennetsind3-1/+8
Special Thanks to KeiKun~! http://hercules.ws/board/tracker/issue-7319-db-name/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-08Follow up d73783f22b2bb881aab74524d153d89a5932a199shennetsind3-9/+9
Adjusting db.c interface name to adhere with the rest (pretty much we try to make it as short as we can, and being there were no conflicts we saw no reason to maintain the 'i') Signed-off-by: shennetsind <ind@henn.et>
2013-06-07Hercules Renewal Phase One : pc, party, map, timerSusu4-34/+34
Added iPc, iParty, iMap, iTimer to HPM exported interfaces
2013-05-30Memory Slasher - May 30 Patchshennetsind1-2/+2
http://hercules.ws/board/topic/928-memory-slasher-may-30-patch/ Signed-off-by: shennetsind <ind@henn.et>
2013-05-30Memory Slasher - May 30 Patchshennetsind2-16/+32
http://hercules.ws/board/topic/928-memory-slasher-may-30-patch/ Signed-off-by: shennetsind <ind@henn.et>
2013-05-18Some type conversion warnings fixed. If this breaks anything create a bug ↵Matheus Macabu1-2/+2
report ASAP and I will revert it gladly. Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-05-17- Made DB and malloc lib HPM-friendlySusu3-9/+9
- Also fixed a bug preventing the plugins to be loeaded because HPMI and HPMI_s weren't HPExport
2013-05-16Fixed Bug #7250 item 2shennetsind1-0/+5
Zopokx's http://hercules.ws/board/tracker/issue-7250-cant-create-party-and-guild/ Signed-off-by: shennetsind <ind@henn.et>
2013-05-16Fixed Bug #7250shennetsind7-9/+8
Screwed up. http://hercules.ws/board/tracker/issue-7250-cant-create-party-and-guild/ Follow up 0aee4fd57f2f4135361f4182a08a98cf52ed9d10 Signed-off-by: shennetsind <ind@henn.et>
2013-05-15HPM Updateshennetsind13-778/+788
Made SQL and strlib functions HPM-friendly, special thanks to Yommy for bringing the issue up. Added partial map.c support, for the all-handy map[] array, beware that soon the whole map.c renewal design will be commit and when that happens your usage of map.c functions in plugins might require some updates. Signed-off-by: shennetsind <ind@henn.et>
2013-05-09Fixed character slot change in 2013 clientsshennetsind1-4/+9
Made Possible Thanks to Yommy <3~! Signed-off-by: shennetsind <ind@henn.et>
2013-05-09Fixed Bug #7225shennetsind1-1/+1
http://hercules.ws/board/tracker/issue-7225-about-perfect-hide-status/ Signed-off-by: shennetsind <ind@henn.et>
2013-05-04mapindex updateshennetsind1-3/+13
Fixed a mapindex_name2id problem that'd persistently not fix a broken mapindex data (e.g. char save/last map data being incorrect). It'll now align it to MAP_DEFAULT when such error occurs. Also speeded up mapindex_name2id queries, replaced the loop by the red-black-tree db lookup. Special Thanks to yommy~! Signed-off-by: shennetsind <ind@henn.et>
2013-05-04Upgrading Stat Server from 2.5 to 3.0shennetsind1-275/+275
also: modified encode_zip in grfio for a upcoming modification and some minor stuff in some other places. Signed-off-by: shennetsind <ind@henn.et>
2013-05-02Introducing Hercules Plugin Manangershennetsind1-23/+2
http://hercules.ws/board/topic/549-introducing-hercules-plugin-manager/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-27Skill ID Processing Overhaulshennetsind1-17/+25
http://hercules.ws/board/topic/512-skill-id-processing-overhaul/ Signed-off-by: shennetsind <ind@henn.et>
2013-04-25Fixed Bug #7189shennetsind2-2/+2
http://hercules.ws/board/tracker/issue-7189-warning-while-recompiling-using-centos5/ Signed-off-by: shennetsind <ind@henn.et>
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-11Added birthdate to @accinfoshennetsind1-3/+4
As suggested by kyeme in http://hercules.ws/board/topic/292-suggestion-in-accinfo/ 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-30Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-14/+8
2013-03-30Hercules Renewal: clif.c completeshennetsind3-6/+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-30Fixed Bug #7139malufett1-14/+8
-Follow up for the Pincode Feature. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-03-27@accinfo updateshennetsind1-4/+9
Added pincode support Changed group_id to group_level as to respect the level hierarchy on whether to display passwords or not. Updated GeoIP Database to March 2013 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.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>