47 Commits

Author SHA1 Message Date
Aleos
5b832de199
Minor cleanup to mapflags (#7782)
* Adds missing documentation for mf_norodex.
* Updates atcommand mapflag to display information on some missing mapflags.
* Removes "Other Flags2" and combine list with "Other Flags" for atcommand mapflag.
2023-06-07 10:11:32 -04:00
Lemon
7e62670882
Improved itemlink logic (#7532)
Fixed tags and separators for various packet versions.

If itemlink is disabled it will output the item name with the refine as prefix and the slots as suffix (if equipment)
It will also append [0] if the item is an equipment and has 0 slots (to make it easier to tell from non-equipment items)

Disabled feature on packet versions older than 2015-11-04 until proven otherwise

Fixes #7441

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2023-01-23 10:49:18 +01:00
Aleos
8bd77496da
Fixes atcommand reloadatcommand (#6891)
* Fixes #6874.
* Removes an extra config file check that is no longer needed.
Thanks to @reunite-ro!
2022-05-03 23:13:28 -04:00
Aleos
84248255b7
Implements MF_NOPETCAPTURE (#6618)
* Fixes #6556.
* Implements the nopetcapture mapflag which is used to stop pet-type monsters from being caught.
Thanks to @RagnaWay and @Lemongras3110!
2022-02-16 12:51:25 -05:00
Aleos
aa18fb0c2d
Adds MF_NOCASHSHOP (#6279)
* Fixes #5903.
* Adds a new mapflag to disable the Cash Shop on specified maps.
Thanks to @cahya1992's suggestion!
2021-10-02 16:36:07 -04:00
Lemongrass3110
f57b037b83
Fixed monster exp definitions (#5672)
Fixes #5656

Thanks to @Skystar18
2021-01-06 18:42:43 +01:00
Lemongrass3110
f37990414f
Cleanup of MVP mode checking (#5559)
Fixes #5368

Thanks to @mazvi, @attackjom and @aleos89
2020-11-22 02:09:02 +01:00
Aleos
5c5c6839a0
Fixes item production with high item IDs (#5315)
* Fixes #5312.
* Fixes general item production skills not consuming catalyst items with high IDs.
* Adjusts item searching functions to use t_itemid instead of uint32.
* Adjusts script command makeitem2 to use t_itemid isntead of uint32.
* Fixes output and lookups for atcommands idsearch, autolootitem, iteminfo, whodrops, makeegg, and itemlist.
* Fixes signed vs unsigned checks.
* Fixes MVP logging.
* Fixes item drop ratio storage.
* Fixes CSV2YAML conversion checks.
Thanks to @idk-whoami and @Lemongrass3110!
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2020-08-11 10:39:37 -04:00
Vincent Stumpf
3776bfbaa3
Support itemids up to ~2 billion (#5141)
Co-authored-by: aleos89 <aleos89@users.noreply.github.com>
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2020-08-08 12:06:07 +02:00
Lemongrass3110
e72c7360cf
Added int64 support to the script engine (#4522)
Added support for signed 64 bit integer value computation into the script engine.
This is required because newer official features require support for bigger numbers inside the scripts.

This also cleans up a lot of messy code and fixes a few issues like script stack corruptions.

Thanks to @aleos89 and everyone who supported me with this.
2020-01-13 14:44:48 +01:00
Lemongrass3110
64b5c3082b
Migrated atcommand aliases and help to YAML (#4487)
Merges atcommand_athena.conf and help.txt into a single file.
Removed some leftover settings that were removed before.
Removed CLI support for modifying the atcommand configuration file.
Moved atcommand and charcommand symbol definition into conf/battle/gm.conf
Removed some messages that are not needed anymore

Co-authored-by: Aleos <aleos89@users.noreply.github.com>
2019-12-21 19:19:19 +01:00
Jittapan Pluemsumran
ac558d7c1e
Initial implementation of pet evolution system + Pet DB conversion to YAML (#3544)
* Implemented official pet evolution system
* Added evolved pets to pet database
* Corrected various pet system mechanics
* Migrated pet database to YAML format and the converter from CSV format

Thanks to @Lemongrass3110 @aleos89 and @Atemo for their suggestions and additional fixes
2019-03-26 22:51:57 +07:00
Aleos
c5a5c54518
Converted remaining C comments (#3927)
* Converted remaining documentation that references .c or .h files.
2019-02-09 15:08:45 -05:00
Daegaladh
1e2032cc21 Fixed Endow skills to match official behavior. (#2918)
* Endows are now interchangeable.
* No longer break the weapon on failure and now unequips instead.
Thanks to @Daegaladh!
2018-02-22 16:23:11 -05:00
Lemongrass3110
3b219565d3 Enabled import for translations by default (#2535)
Added possibility to override MAP_MAX_MSG with defines_pre.h
Added possibility to override LANG_ENABLE with defines_pre.h

Thanks to @Daegaladh for the idea with LANG_ENABLE.
2017-10-24 22:36:59 +02:00
Lemongrass3110
f0ab8d2a52 Overhauled and dropped packet db (#2263)
Adds support for a lot of missing clients and features almost all clients from 2016 and 2017
clientinfo.xml's version value will be ignored from now on
By setting PACKETVER the server will configure everything else on it's own from now on
Dropped is_clientver script command
And a lot more
2017-07-15 22:45:12 +02:00
hazimjauhari90
39e54d65bb Expanded baby jobs (#2039)
* Added support for expanded baby jobs.
* All jobs listed below are now fully playable.
- Baby Summoner
- Baby Ninja
- Baby Kagerou
- Baby Oboro
- Baby Taekwon
- Baby Star Gladiator
- Baby Soul Linker
- Baby Gunslinger
- Baby Rebellion
2017-04-06 18:00:30 -04:00
Lemongrass3110
ecc8cf9f0b Initial release of the clan system
Thanks to @cydh, @RagnarokNova and @aleos89 for their help.
2016-11-16 15:36:08 +01:00
aleos89
604e805c03 Corrected some MAX_SEARCH results (fixes #1345)
* The count was already being capped by itemdb_searchname_array() so the check was never hit.
* Adjusted the return message to match the corrected result.
2016-06-16 13:46:15 -04:00
Lemongrass3110
6ab9fd0eea Small refactor of pc_setpos
pc_setpos now delivers an enum for the error that happened.
Additionallly it now returns a different return value when the targeted player is in autotrade state.
Added usage of this new return value to all recall commands.
2016-04-24 20:32:05 +02:00
Lemongrass3110
b53e00bcc2 Added support for arrays to atcommand set
Removed allocation and freeing of an unneeded script data structure.
Additionally removed a message that could never be shown.
2016-03-31 22:47:20 +02:00
aleos89
daa9e018f4 Release of Doram Race!
* Requires client 2015-10-01 and newer.
* All skills are usable from from the base list to all 3 branch types.
-- Some skills still need their official activation chance and durations.
* Adjusted the char-server start point and start item split functions to be more dynamic.
Thanks to Rytech and @NovaRagnarok for their information!
2016-03-19 14:09:30 -04:00
Lemongrass3110
057384aa51 Partial revert of a674869
Fixes atcommands heal and jump not working without parameters anymore.
2015-11-17 14:46:05 +01:00
Lemongrass3110
a674869113 Fixed a lot of scanf issues reported by rathena's cppcheck 2015-05-13 14:47:07 -04:00
aleos89
7cd82d00db Increased item ID array size.
- Increased limit from 32,767 to 65,535.
- Still uses same amount of memory with doubled usable size.
- Adjusted CARD0_PET from -256 to 256.
- Please run both SQL files after applying this update to avoid values becoming corrupt.
- Tested and works on clients 2012-04-10 and up thanks to Cydh.
- Removed an unused SQL file.
2014-06-12 11:29:10 -04:00
Akinari1087
f0566292bb Added support for Rebellion class (no skills) - Credits to Hercules, Sanasol, Cydh
Packets update for banking and 2013-08-07 - Credits to Shakto
Fixed a problem where players could use items in Invisibility
2013-10-27 12:58:24 -07:00
Akinari1087
01677cf333 Merge pull request #8 from Atemo/master
Message conf fr update.
2013-10-19 14:43:41 -07:00
Cahyadi Ramadhan Togihon
99ea656914 * Fixed bugreport:8090, Frost Driver damages with overpower level because skill_lv reduction mistake.
* Added item_id on @whodrops's result for each item (avoiding confusion if the result is more than 1 items).
2013-09-23 19:20:57 +07:00
Capuche
5eef367c00 Message conf fr update. 2013-09-08 03:30:33 +02:00
Euphy
f6f1bcaeb9 * Updated FRN and RUS map_msg translations. (credits: Capuche, Jarek)
* Added some maps to the custom warper.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-30 21:46:45 -04:00
lighta
8c14fb9367 -Remove mapflag name in msg_conf for @mapinfo since the name of the mapflag shouldn't change. 2013-07-24 14:44:22 -04:00
cydh
12523667f7 Added party script commands and documentation (thank Euphy)
- party_create "<party name>"{,<char id>{,<item share: 0-no. 1-yes>{,<item share type: 0-favorite. 1-shared>}}};
- party_addmember <party id>,<char id>;
- party_delmember {<char id>};
- party_changeleader <party id>,<char id>;
- party_changeoption <party id>,<option>,<flag>;
- party_destroy <party id>;
Added script command for checking player's language
- checklang()
Mapflag related
- Add nocommand mapflag documentation
- Added notomb at @mapinfo message
- some changes at @mapflag
Attempt to fix error on 'skill_produce_mix' while deleting materials


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17414 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-07-11 01:56:54 +00:00
euphyy
9288d3e20b * Documented some GM client commands.
* Custom Quest Shop updated to v1.6a, which adds support for previewing costumes and robes.
* Updated THA map_msg translation. (credits: Boneskung)
* Changed remaining @npcoff references to @unloadnpc.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17366 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-15 04:02:12 +00:00
euphyy
9d3b1ec38d * Follow-up on Item Bound System. (r17351, r17361)
* Moved Optamara Crew coordinates to match new Alberta map. (credits: M45T3R)
* Updated FRN and IDN map_msg translations. (credits: Capuche, Cydh)
* Switched THA map_msg encoding from UTF-8 to TIS-620. (credits: Boneskung)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17364 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-13 23:13:06 +00:00
glighta
02ddefb9d5 -Follow up r17332
--Fix unreference warning and delete_timer mismatch func
-- updated all map_msg translations and edited some comments. (Euphy)
-Merge/adapt few Hercules stuff:
-- Add save char after buying if save_config&128
-- Check if char_server online before sending 0x3008 (stats_report)
-- Add hom_class2type, to solve homonculus type, easier then bitmasking.
-- Add vending_db to speed up searchstore iteration.
-Quickfix (Daegaladh)
--Add emotion effect to SA_QUESTION
--Upd SA_INSTANTDEATH to really kill ourself and not set to 1hp
--Fix SC_SLOWDOWN not asking to recalculate speed when used.
--Fix SC_STRIPX effect on player, (should only remove equip on player)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17333 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-23 22:58:26 +00:00
euphyy
f967a8de53 * Implemented Mora town NPCs from iRO.
* Implemented Mora guides.
* Implemented Mora official warp scripts.
* Added Mora Points NPC and removed a wrong shop item.
* Added placeholder NPCs for Mora quests -- no quests are currently functional.
* Rewrote documentation for 'recovery' command. (follow-up r17321)
* Updated RUS, SPN, IDN map_msg translations. (credits: Jarek, Leeg, Cydh)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17325 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-10 00:10:45 +00:00
euphyy
8e3d87d39d * Documented changes to @fontcolor from r17317.
* Updated IDN, FRN, and RUS map_msg translations. (credits: Cydh, Capuche, Jarek)
* A couple updates to script_commands.txt. (incl. bugreport:7649)
* Other misc. changes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17319 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-05 02:30:57 +00:00
euphyy
9736d3298e * Some rewriting and reorganization of script_commands.txt.
* Added missing documentation for 'readparam', 'changebase', and 'unitattack' commands. (bugreport:7646)
* Small changes to @fontcolor command, and documented changes from r17313.
* Updated FRN map_msg translation. (credits: Capuche)
* Other misc. changes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17314 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-04 05:08:52 +00:00
euphyy
8f20df9e5a * Updated RUS map_msg translation, and switched encoding from UTF-8 to Windows-1251. (credits: Jarek)
* Fixed "View Equip" bug. (bugreport:7628)
* Follow-up r17305, applied proper fix for functions_kafra.txt.
* Follow-up r17308, minor formatting changes and added prop eol-style:native.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17309 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-02 03:16:01 +00:00
euphyy
0cb9ee98ef * Added documentation for cashshop.c functions. (credits: Lighta)
* Fixed a duplicate 'next' call for cart function in functions_kafras.txt.
* Updated item bonuses for LV5 Assumptio Scroll (12218) and Chemical Protection scrolls. (Hercules 7a625b9, 854851c; incl. bugreport:6396)
* Replaced current SPN map_msg translation by jaBote/Tragedy with one by Leeg.
* Updated FRN, CHN map_msg translations. (credits: Capuche, Goddameit)
* Changed '@newmount' to '@mount2' in atcommand documentation.
* Other misc. changes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17305 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-29 22:39:28 +00:00
euphyy
8e810c050c * Some more updates to the channel system, including documentation for new atcommands.
* Updated IDN map_msg translation. (credits: Cydh)
* Reverted changes to fortune.txt in r17297.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17299 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-26 20:31:02 +00:00
akinari1087
380bf896f0 Cleaned up Camouflage to work as originally intended
Fixed offensive healing and cleaned up skill_calc_heal - Fixes bugreport:7317
Fixed Poison Mist to accurately display and damage correct area - Fixes bugreport:7600
Cleaning channel system update from r17284 and r17285 (lighta)
Updated CHN, SPN, IDN, FRN map_msg translations (Goddameit, Tragedy, Cydh, Capuche)
Follow up to r17228 - Removed map_msg lines related to deprecated @main chat
Fixed issues with clif_maptypeproperty2 and clif_dropfloorite (lighta) bugreport:7602 - bugreport:7603

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17296 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-26 03:13:48 +00:00
glighta
bb6c9b6e53 -Follow up r12273, add check on map_flooradditem to prevent item apparition if inventory full and item is not droppable
-Follow up r12272, change msg_langtype2langstr for readable format (mkbu95)
-Upd mobdb, increase range for new id, thx to tid:81416
-Fix bugreport:7563 mob casttime are no longer affected by any status (Akinari)
-Fix bugreport:6475 bloodsucker should now reveal hidden target (Akinari)
-Upd map_msg_fr (Capuche)

.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17274 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-20 03:19:19 +00:00
euphyy
05e3bf6ff0 * Implemented Malangdo refiners "Clink" and "Holink".
* Added Pouring spawn to mal_dun01, according to iRO.
* Updated POR map_msg translation. (credits: mkbu95)
* Fixed a few incorrect item types. (bugreport:7554)
* Users can no longer attack while in chat rooms. (Hercules 21d1bdd)
* Some minor follow-ups to other commits.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-18 00:49:30 +00:00
euphyy
fdeb3e605d * Minor updates to Console Commands system. (follow-up r17255).
* Updated IDN map_msg translation. (credits: Cydh/nanakiwurtz)
* Fixed a function call in Yuno Kafra. (bugreport:7531)
* Applied eol-style:native property to newly added files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17257 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-14 02:01:31 +00:00
glighta
755000f570 -Releasing console support (disable by default)
--Allow admin to send some command in server by cli. (do not use those who require a real player)

-Update msg system
--Add RU translation from Lilith (give me that in UTF8 plz guys)
--Upd FR translation from Capuche
--Upd file read for something more dynamic
--upd @langtype to display available when no arg enter as specified in doc
--Fix few typos

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17255 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-13 13:51:25 +00:00
glighta
bba1db77e0 -Releasing Multilanguage support tid:80352 hx to Lilith and all other contributors
No other langage is enable by default, change LANG_ENABLE in msg_conf.h
-- Add 2 new atcommand :
@langtype to switch over langages
@reloadmsgconf to reload the db
Langage choosen is account wide, not reseted by default on relog.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-12 03:50:16 +00:00