Commit Graph

326 Commits

Author SHA1 Message Date
CanIGetaPR
a4d127afcf Fixes #455 CME When moving player (#456) 2019-04-26 08:40:39 -03:00
Ronan Lana
b6a91c523f Update README.md 2019-04-23 16:29:46 -03:00
ronancpl
e18061ffaf Turnabout on Character stats concurrency + Null remote IP patch
Cleared the concurrency conflicts that started occuring after the abstract character's listener code was set to run on new thread, potentally leading to several onStatChange mishaps.
Added a check for remoteHost being possibly null when opening a new session with the client.
2019-04-23 11:14:40 -03:00
Jayden Seah
1376c295e1 Ariant Text Translation (#451)
* Translated the NPC text to English
2019-04-23 00:35:25 -03:00
ronancpl
9eb9be8e8e Small patch 2019-04-21 21:54:41 -03:00
ronancpl
bad69dc66f Stat update & Mob skill animation & Yellow EXP patch + Packet logging
Solved a deadlock case within character stat locks that would sometimes tangle up during stat update dispatch operations.
Fixed skill animation being unproperly casted when a mob tries to use a skill even though it couldn't possibly use from its current skillset.
Fixed a bug with EXP gain (on where the solo player is on a party) where the EXP would appear in yellow even after soloing a mob.
Added packet logging.

Happy Easter, folks!
2019-04-21 21:37:29 -03:00
ronancpl
d121ba7d2a Merge branch 'master' of https://github.com/ronancpl/HeavenMS 2019-04-19 21:21:35 -03:00
ronancpl
7d0575aee4 Maplers' Well-known Battlegrounds
Fulfilled merge of Drago's AriantPQ PR #438 into the source!
Adjusted MCPQ map limits predicted within battlefield's map info node.
Added max number-of-players option when creating a AriantPQ lobby.
Added party creation check when trying to create one inside the AriantPQ rooms.
Adjusted several AriantPQ mechanics, in order to either improve the existent features or make those that was still unavailable work seamlessly (score update, ariant batlle points).
2019-04-19 21:20:46 -03:00
Jayden Seah
060b984f48 Reactory Factory Small Fix + Festival of Lights (NPC) (#449)
* Fixed the "INVALID ID" while warping to certain MAPID with XML existed. (Thanks to Ronan)
* Started to fix the quest "Festival of Lights" - Now Simon warps you to the Shalom Temple in Happville
2019-04-19 00:29:37 -03:00
ronancpl
0b80389971 Party loot & Mob Skill cooldown patch
Fixed an issue with party loot that started from recent updates.
Implemented party loot permission update for players ingressing a party.
Fixed mob skills not using cooldown time.
2019-04-06 23:57:27 -03:00
weenie33
ee23a9405a Remove character at the start of the file breaking SQL syntax. Remove id column from temp_data table when deploying database to fix error running db_drops.sql after db_database.sql (#442) 2019-04-05 19:23:11 -03:00
ronancpl
a15713dfa2 "Exp-party" Pi + Event script disabled on dispose + Personal loot fix
Refactored event scripts, no longer triggering after the event is deemed disposed.
Added MCPQ access in Dimensional Doors.
Revised Crusader/Dawn Warrior's Combo Attack, no longer resetting orbs after recasting during active time.
Added 4th job advancement handing out Maple Warrior skill book.
Fixed several issues with not being able to collect drops within owned exclusivity time when back-and-forth changing maps.
Revised visual EXP gain. Players that participated most in the defeat of the mob has the gain displayed in white, else yellow, somewhat similar to GMS.
Fixed client not disconnecting properly after closing the game inside MTS/Cash Shop, leading to no update on account's login state.
Fixed wrongly inputted PIC in anti-multiclient system blocking accounts to login under the same IP.
Fixed parameterless command inputs counting as "one empty command".
2019-04-04 14:02:15 -03:00
ronancpl
0b6951527d Change channel transition patch
Solved an issue where players were being unable to return to the game once changing channels.
2019-03-28 17:09:18 -03:00
ronancpl
16deacb426 Cash shop transition patch
Solved an issue where players were being unable to return to the game once exiting the cash shop.
2019-03-27 13:27:38 -03:00
ronancpl
83266508af CPQ tidyup patch + Guild Creation matcher + Solution to Login Accid=0
Adjusted AP gains, to get it to work following the AP Reset check method.
Fixed usage of inexistent itemids on CPQ and fishing.
Fixed one-of-a-kind items being lost in player trades due to missing inventory checks.
Implemented matching system for the guild creation phase. All players intending to join the new guild must be on the Guild Headquartes and accept the creation of the guild.
Fixed changing jobs not properly updating info on the party tab.
Fixed double tooltip information on CPQ actions UI.
Fixed CPQ not disbanding after a player leaves the party/instance.
Fixed checks for "in-progress" CPQ instances.
Fixed changing maps on CPQ not leading players back to the starting battlefield.
Reviewed login system, now preventing non-local IP connecting on local server and local IP on non-local server.
Reviewed login system, now cherrypicking sessions in transition state when trying to disconnect them due to a failed login (avoiding possible mishaps due to duplicate sessions of a same account).
Adjusted PiratePQ stage 2, now mobs respawn rather than making party leader request for new waves.
Adjusted Prime Minister, its spawn is no longer related to starting the quest. It should also allow party fights.
Fixed "forcevac" command not properly applying, rather sending to inventory, "consume-on-pickup" items.
Fixed (probably) accId = 0 issue on login, that was occurring due to client accountid's being set to 0 a while before being checked once again on finishLogin().
Fixed an issue with extended time on CPQ not properly showing the end-match's visual effect.
2019-03-26 16:28:41 -03:00
Diego Armando de Freitas Matos
0d7e8daf8e ariantpq + correct use catch item 2019-03-20 19:51:45 -03:00
ronancpl
3bdf8cb2be The great MCPQ Merge offensive
Fulfilled the lovely pull request #427 from @dragoso, which added in backing code content to HeavenMS.
Implemented structural changes for the Marriage wishlist, in order to receive, maintain and distribute gifts to spouses.
Added untradeable check on wishlist gift handler.
Adjusted CPQ drops to actually load from DB rathe than hard-coded.
Fixed CPQ "random disease to player/party" functionality not applying properly.
Adjusted how CPQ maps are generated. It directly loads a new area from WZ (this process should at least removes the player's spawned mobs) rather than reset the cache at every MCPQ creation.
2019-03-15 12:08:21 -03:00
ronancpl
1383efd6c3 Merge branch 'pr/427' 2019-03-12 21:20:40 -03:00
ronancpl
9538c415e1 Trade results + Map-Ownership & Fishing + P. EXP distribution rework
Fixed an issue where players could lose priority over recently dropped items after switching maps.
Adjusted EXP bonus buffs to also cover party bonus gains.
Fixed items taken back from merchants not properly checking for stacking opportunities in player inventory.
Fixed some merchant references in visitors' player object not being properly cleared when owner closes shop.
Adjusted merchants to automatically close as soon as the merchant owner finishes maintenance process with it having no items in store.
Added trade result opcodes. Trade results now should work almost as intended originally.
Implemented server-side check for portal distance when deploying player shops and merchants.
Implemented server-side check for whether local or remote IP is being used when logging in a local/remote server (this should mitigate a few of the issues people may find when trying to log in game world).
Implemented commands designed for management of opened IO sessions.
Fixed chalkboard not showing up for owner player when changing maps.
Added "time left" functionality for merchant owners managing the opened store.
Fixed skillbooks not showing properly for other players in the map.
Fixed commands using lowercased-version of content inputted by player.
Implemented the Fredrick expected fee on using the Store Bank service.
Implemented "exclusive invitation management" in the system. Inviters are notified the invited players are already managing an invite, should it be visually "in-progress" for that one.
Implemented "map ownership". Non-map owners are unable to farm in an area if they are not party members with the owner or until the ownership rescinds.
Adjusted inventory sort feature, now sorting projectile items in such a fashion that commonly stronger versions comes before the basic ones.
Added a visual effect that shows up when obtaining Aran skills.
Revised party EXP gain system. Party bonuses now accounts a fraction of the accumulated EXP gained by members when defeating a mob, and raw EXP gained by a player is kept the same regardless of him/her being in a party or not (thus a bonus being REALLY a bonus).
Implemented a custom fishing system in the source, on which during "seasonal" times (that gets arbitrarily defined by both day-of-year and time-of-day) fishes are more likely to be hooked. Such likelihood also improved depending on the amount of mesos spent as lure.
2019-03-10 01:30:22 -03:00
Diego Armando de Freitas Matos
0a8efa4238 Cpq1 ,2 add linguas 2019-03-07 22:37:00 -03:00
Diego Armando de Freitas Matos
90ad58f17f CPQ 1 CPQ 2 CASAMENTO 2019-03-06 21:55:47 -03:00
Nulliphite
799870df63 Allow everyone on the server to receive startevent message, not just the starter themselves (#425) 2019-03-01 16:35:21 -03:00
Nulliphite
2c1f117d35 Fixed indexoutofbounds error when calling @gm without anymore parameters (#415) 2019-02-27 14:05:49 -03:00
Nulliphite
0dfd57c4ee [QoL] Added broadcast message to !startevent command to increase expo… (#414)
* [QoL] Added broadcast message to !startevent command to increase exposure

* Change broadcastmessage to not just GM
2019-02-27 14:04:27 -03:00
Jerry Wang
02ede93298 Handle reborns(rebirths) - set/get from db, flag to enable/disable and 1 basic NPC to handle it (#413)
* Added ability to handle reborn, option to enable/disable in ServerConstant

* Basic rebirth NPC for wolf spirit Ryko chan - id 9010021

* Added player message when rebirth system is off

* Removed some forgotten comments

* Ryko now displays original message if rebirth is not enabled
2019-02-23 18:54:22 -03:00
Jerry Wang
1772910a52 Added votepoints into db_database.sql (#411)
* Added GM lv0 command to read votepoints and rewardpoints

* Added missing votepoints in sql and tweaked MapleClient

* Fix read from votes

* Fix votepoints sql
2019-02-23 10:17:11 -03:00
Jerry Wang
895326e819 Added GM commands for setting reward points (#408)
* Added ability to read and update rewardpoints from MapleCharacter

* Add GM commands to give reward points
2019-02-22 23:57:46 -03:00
Jerry Wang
a7b5839244 Added ability to read and update rewardpoints from MapleCharacter (#404) 2019-02-20 14:08:19 -03:00
Víctor
7a61779611 Small update correction (#402) 2019-02-18 09:09:55 -03:00
ronancpl
46fec675f1 Added Puppets on Aggro + Guild/Alliance packet info patch + Pet flags
Added pet flags recognition, such as the "pet speed same as owner" mechanic.
Fixed repeatable quest "Remnants of HT..." not rewarding Dragon Stones.
Refactored character object's check slots method, now using the same algorithm from the API class.
Fixed a vunerability from before reviving/respawning players to towns, on where players would get their HP restored in area map before sending them back to safety.
Fixed some NPC gates in Mushking Empire, allowing players to access bosses free of quest requirements.
Improved dialog of NPCs for "permission to attempt Zakum expeds".
Implemented (or rather improved) item scripts, now using NPC conversation methods as it was intended originally.
Rehauled mob-skill "summon mobs" limit, now using the placeholders found in the wz to determine limit of concurrent underlings spawned, and "limit" now refers to total of underlings spawned from a mob.
Revised IoSession closing mechanics in several login classes.
Implemented automated loggedin account shutdown if another player has gained a pass from the DB to login.
Improved the server-side check for teleport rocks.
Fixed removeAfter from mobs being procced after they were disposed.
Reviewed EIM start references on several scripts, minding the latest EIM setup implementations.
Fixed equipments that were reused Scissors of Karma not not being able to sell on pshops/merchants.
Fixed a bug where entering alliances would lead a player to see information from other guilds of past alliances until an update takes place.
Padronized a few skillbook names.
Reviewed player puppets not gaining priority properly on the recent aggro system.
Improved "item sold" message of merchants, now displaying also quantity left of an item on store.
Fixed a bug with itemid limits of weapons on server.
2019-02-17 16:08:53 -03:00
Li Jixue
4beea39615 fix the error when a monster's oid in map equals charId, (the item will drop from the error monster) (#400)
(cherry picked from commit 5c1017c73d83b7bc646c36bdde2d7904af78a111)
2019-02-10 10:30:50 -02:00
Víctor Calheiros
1b32afb524 Update file reference (#399) 2019-02-06 20:00:27 -02:00
MedicOP
7aa77285a1 Update mina to 2.0.19 + fix exceptionCaught code (#398) 2019-02-06 19:06:03 -02:00
MedicOP
9bd7548df8 Fix NPC 9000011 (#395) 2019-02-05 19:26:37 -02:00
MedicOP
c7e36e18af Also allow leader to re-join expedition (#391) 2019-02-04 00:46:16 -02:00
MedicOP
55c78c1094 Remove players on exceptionCaught with IOEXception. MINA closes sessions automatically and does not call sessionClosed when an IOException is caught. (#389) 2019-02-04 00:40:57 -02:00
MedicOP
fdcc03c5f7 Fix NPC 9000011 (#388) 2019-02-03 13:30:15 -02:00
MedicOP
6b40f32d30 Add ThunderBreaker.BARRAGE in damage hack calculation (#387) 2019-02-03 13:28:21 -02:00
MedicOP
a82cb9c719 Don't make skill level lower if they already have it (#385) 2019-02-03 10:57:36 -02:00
MedicOP
0a7aa8b05e Make PlayerStorage.getAllCharacters() return a copy (#386)
* Clear continent drops when using !reloaddrops

* Return a copy on PlayerStorage.getAllCharacters()
2019-02-03 10:50:51 -02:00
MedicOP
a95728da84 Clear continent drops when using !reloaddrops (#384) 2019-02-02 20:20:38 -02:00
MedicOP
137e003d1d Fix event system (#382) 2019-02-01 20:05:24 -02:00
MedicOP
8120fe2c04 Fix Hero's Will master level 10 (#383) 2019-02-01 19:58:30 -02:00
ronancpl
efc8884e19 Mob aggro overhaul + STR-DEX autoassign patch + Guild & Pl. Store fix
Reviewed Monster Magnet skill effect on mobs, now properly showing up to other players.
Reworked concurrency protection on login handler, now properly synchronizing requests for the same accountId.
Reviewed an expedition issue with attempting to send packets on loggedoff players. Expeditions no longer holds a character object list of its own, rather finding players through their id on the world storage.
Added stat requirement definition as first message on 1st job NPCs.
Fixed an issue with area triggered NPC conversations not getting properly disposed.
Reviewed "launch.bat", internally referencing Java7 engine. Assuming it has been installed in the default directory on the system, it's no longer necessary to set precedence on PATH for it.
Fixed need for "reapproval from the 3rd job instructors" to attempt Zakum once more.
Reviewed goto command. Non-GM's no longer has access to area maps, only towns.
Implemented a new server flag for enforcing base rates (server rate: 1x) on players level 10 or lower.
Fixed player guild tooltips not being properly marshalled to others on the map, at the event of several guild actions.
Reviewed event system allowing creation of same-name events, potentially leading to null EIM problems.
Refactored some locks on MapleCharacter, potentially solving a deadlock case within expiring/forfeiting quest methods.
Implemented a major overhaul on mob aggro system, now updating player aggro in real-time based on their latest DPS. Properly refactored and encapsulated aggro mechanics.
Fixed NPE on disposing events with alive mobs.
Added server-side birthday check handling when opening player shops or merchants having cash items in store.
Fixed player shop tooltip not finishing properly when shop owner closes store with visitors still in there.
Fixed forceChangeMap method not warping players to the designated event map (rather sending them to the starting event map).
Reviewed "summon" command, now using forceChangeMap, also changing channels if needed.
Reworked HeavenMS autoassigner: STR-based classes now ups a bit more DEX than before, since its a vital attribute for accuracy on their actions.
Added meso ceil check on player transactions. Trades now gets suspended if the max amount is reached.
Implemented server-side item limit check on player shops and merchants.
Fixed an exploit with merchants, on where players would be able to save the selling item on DB before taking from inventory.
2019-01-31 00:49:15 -02:00
marcuswoon
98be29b088 Update 9000036.js (#378) 2019-01-29 14:31:21 -02:00
MedicOP
9443022f16 Add command to stop map event (#373) 2019-01-27 17:09:00 -02:00
MedicOP
6d520937a1 Fix wrong syntax message in !drop command (#372) 2019-01-27 14:21:40 -02:00
Arufonsu
5be2e141f3 Updated forceChangeMap for better GM Warpto (#370)
* Asked by Lost and solution suggested by Ronan in discord group.
* Using "target;" instead of "getWarpMap(target.getId());" to warp directly to the target intead of the target's map id
* This allows GMs to patrol players inside instances.
2019-01-26 16:36:49 -02:00
MedicOP
c6cd69b5d7 Add command to start map event (#366) 2019-01-25 22:38:35 -02:00
MedicOP
08e4a05641 Fix MapleMap.getCharacters() CME in 3 commands (#369) 2019-01-25 22:18:43 -02:00