Commit Graph

304 Commits

Author SHA1 Message Date
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
MedicOP
5d63f0bd9d Fix Baby Dragon / Robo not in pets table bug (#360) 2019-01-23 23:38:38 -02:00
MedicOP
73fc0b9ef5 Don't deactivate Hyper Body buff before reapplying (#359) 2019-01-22 23:49:39 -02:00
MedicOP
190a601d6d Fix Witch Tower warp point (#355) 2019-01-22 20:19:38 -02:00
MedicOP
1eb7a6b497 Fix Aran body pressure max damage (#356)
* Fix Aran body pressure max damage

* Fix body pressure dmg calculation
2019-01-22 20:19:05 -02:00
MedicOP
e5e0dc9332 Save characters.lastLogoutTime in database (#353) 2019-01-21 19:17:36 -02:00
MedicOP
224f5c677b Sort rankings by time of last EXP gain (#352)
* Sort rankings by time of last EXP gain

* Fix prepared values order
2019-01-21 18:02:32 -02:00
MedicOP
3a0ea6fc77 Fix channel dojo methods getting invalid Map ID (#351) 2019-01-20 23:29:40 -02:00
MedicOP
7ebc99a6fc Fix Gaga Rescue (#350) 2019-01-20 22:31:52 -02:00
MedicOP
68155b1569 Fix autoban false positive dojo skill Bamboo Rain (#348) 2019-01-20 19:53:21 -02:00
MedicOP
b8a3b64bc0 Fix timer commands (#342) 2019-01-20 19:51:34 -02:00
MedicOP
c31ec049e5 Fix Energy Charge MaxDMG (#346) 2019-01-20 19:51:09 -02:00
MedicOP
d2a9c01949 Fix CME in MapleMap.sendObjectPlacement (#339) 2019-01-18 12:29:14 -02:00
MedicOP
80d362dab3 Fix ClassCastException in 9201045 (#338) 2019-01-18 10:56:12 -02:00
MedicOP
a363894882 Add !warpmap and !warparea commands (#337) 2019-01-17 23:39:47 -02:00
MedicOP
1ab164c935 Fix NPC 2010001 (#335) 2019-01-16 17:03:38 -02:00
MedicOP
b5ede15bfb Buddy find channel fix (#332) 2019-01-16 14:59:31 -02:00
ronancpl
0203d45901 PNPC & Pmob + Events Wheel & P. Leave patch + Proper cash use deplete
Reworked cash item consume. It now depletes from the selected slot rather than from the first slot it appears on inventory.
Implemented PNPC and PMOB commands.
Solved an issue with some events finishing abruptly when players quit a party.
Added missing mandatory script functions to the event scripts.
Solved an interaction issue with Wheel of Destiny activation in event instances.
Added interaction with NPC Mom & Dad in the Engagement prequest.
Solved an issue with event maps being disposed while reactor's spray items activity is still in effect.
Fixed modifier scrolls such as Spikes on Shoes depleting a upgrade slot.
Added a server flag for avoiding compulsory consuming by pet autopot.
Added a cache for fetching mob names.
Implemented boss drop rate.
Smart protected commands system against command requests in burst by the same user.
Revised login handler, bringing disconnection checks before checking login state and preventing new client reattribution to already logged-in character objects.
Botched login handler sessions now properly gets closed.
2019-01-16 14:46:28 -02:00
MedicOP
132a4ee989 Fix sync issue in PlayerLoggedinHandler (#326) 2019-01-16 12:00:37 -02:00
MedicOP
c63fc7475c Find command target in world instead of channel (#328) 2019-01-14 23:33:25 -02:00
MedicOP
8158955365 Add timer commands (#327) 2019-01-14 23:31:23 -02:00
MedicOP
f5e58f2d4f Sync login state on channel change (#323) 2019-01-13 22:20:05 -02:00
MedicOP
21f2713300 Fix NumberFormatException in stat commands (#320) 2019-01-13 22:13:54 -02:00