8488 Commits

Author SHA1 Message Date
Lemongrass3110
165197d26f Fixed cast time for the npcskill script command
Fixes #2342

Thanks to @Atemo
2017-08-16 09:40:38 +02:00
Jittapan Pluemsumran
bfb92940d5 Fixed std::string reference being an incomplete type in inter.h
Fixes #2339
2017-08-15 11:17:16 +07:00
Aleos
7554b53d68 Adjusted script command gettimestr (#2329)
* Fixes #2328.
* Added an optional parameter to pass in a Unix tick value to convert to a readable format.
Thanks to @hendra814 and @Lemongrass3110!
2017-08-14 13:51:18 -04:00
Lemongrass3110
d673d25978 Fixed another error from mobdb reloading
Thanks to @Everade
2017-08-14 04:22:55 +02:00
Jittapan Pluemsumran
cc1d26fe74 Inter server C++ conversion (#2322)
* Renamed inter.c to inter.cpp and refactored it

* Converted inter_server.conf to inter_server.yml

* Updated the makefiles

* Refactored inter-server storage handling logic

* Fixed a bug with wrong maximum being displayed
When you took out an item of the storage it would always display the maximum amount of the normal storage.

* Fixed a bug with storages that are over maximum

Thanks to @Akkarinage, @Lemongrass3110 and @Jeybla
2017-08-14 01:27:58 +02:00
Vincent Stumpf
f9c6b92a63 Fixes memory leak in char-server (#2335)
Fixes #2330

Allocated memory in various StringBuf instances was being cleared instead of freeing it completely.
2017-08-13 23:44:18 +02:00
Lemongrass3110
a2fc7d51b3 Fixed a PACKETVER mismatch for the random options
Fixes #2332

Thanks to @Milchdealer
2017-08-13 00:30:54 +02:00
Lemongrass3110
37f7fc5708 Fixed memory manager still using SVN revision 2017-08-12 16:50:00 +02:00
Lemongrass3110
dce6ff1bea Fixed a memory leak in the script engine
Returning NPC variables in a user defined script function inside the same NPC does not require to allocate any additional stack.

Fixes #1205

Thanks to @Jeybla
2017-08-11 22:52:51 +02:00
Lemongrass3110
abfd1980de Made view_data for mob unit changes persistent (#2316)
Made view_data for mobs changes persistent

Fixes #2269

Thanks to @Yuchinin
---
Fixed reloadmobdb breaking the view ids

Fixes #2326

Thanks to @karlseven
---
Allowed updating mob's class to a pc class
Fixed sex change so that the client is automatically refreshed
Respawn the monster on clientside if the class is changed

Thanks to @Jeybla and @aleos89 for helping!
2017-08-11 19:27:33 +02:00
Lemongrass3110
b30d0fdf64 New NPC IDs and mob ID placeholders 2017-08-11 00:53:35 +02:00
Lemongrass3110
74cc00f88e Follow up to ac1cf04
Thanks to @CairoLee
2017-08-10 23:33:41 +02:00
aleos
ac1cf0499a Follow up to dcbb2df
* Adjusted the checks to one-line.
* Corrected the map-server from spitting out an error for the achievements import file.
2017-08-08 21:12:20 -04:00
aleos
dcbb2df776 Corrected YAML file parsing
* Fixes #2323.
* YAML file parsing will now properly catch and display warnings when unable to read a file.
Thanks to @CairoLee!
2017-08-08 20:50:09 -04:00
Lemongrass3110
4a28c8c1b0 Follow up to 8310253
Achievement code now matches the Quest code.

Fixed a few small typos and removed some leftovers by @aleos89

Thanks to @CairoLee and @Tokeiburu
2017-08-09 00:45:51 +02:00
Jittapan Pluemsumran
71421a4268 Made global variables in header files extern and implement them in their respective source file. (#2318) 2017-08-08 15:33:39 +07:00
Lemongrass3110
8310253b84 Follow up to ee12429
The incomplete count was not updated before moving the memory that way the counter had the wrong value.
Also the memory manager would complain that the pointer is invalid when we have zero achievements.

Thanks to @CairoLee
2017-08-07 12:54:16 +02:00
Lemongrass3110
34aa59d82b Added missing MySQL column check for show_equip
Follow up to 983d164
2017-08-07 09:31:32 +02:00
Lemongrass3110
9084d01536 Fixed a compilation problem with CentOS
Fixes #2317

Thanks to @keitenai and @sanny1128
2017-08-07 07:59:09 +02:00
Jittapan Pluemsumran
a46e012619 Made cbasetypes.h more C++ compatible (#2315)
* Removed inline macro in cbasetypes.h
* Renamed swap macro to avoid name clash with std::swap
2017-08-07 06:33:47 +07:00
Lemongrass3110
829f0a1f59 Added dummy entries for the equip switch feature
With this the players will not get disconnected when they click the button or drag an item into the new part of the equip window.
2017-08-06 22:25:47 +02:00
Lemongrass3110
5424ab85c9 Fixed mob database reloading
Fixes #2304
Thanks to @uddevil and @anacondaqq

Closes #2305
Thanks to @vstumpf
2017-08-06 18:11:54 +02:00
Lemongrass3110
f8e4aabf87 Follow up to 70c14fa 2017-08-06 17:48:24 +02:00
Lemongrass3110
983d164b7d Fixed public equip switch not being saved
Fixes #2310

Thanks to @mrjnumber1
2017-08-06 13:49:29 +02:00
Lemongrass3110
43949b8ab6 Fixed misleading indentation in script.c
Fixes #2307

Thanks to @Akkarinage
2017-08-06 13:23:30 +02:00
Lemongrass3110
70c14fa567 Fixed achievement handling in OnPCStatCalcEvent
Fixes #2314

Thanks to @CairoLee
2017-08-06 13:10:34 +02:00
Lemongrass3110
ee1242908b Fixed a memory leak in achievementremove
Fixes #2313

Thanks to @CairoLee
2017-08-06 12:55:59 +02:00
Aleos
cd164d74cd Removed some hardcoded item checks (#2303)
* Fixes #991.
* Removed hardcoded checks for SC_ITEMBOOST, SC_EXPBOOST, and SC_JEXPBOOST.
* Players are able to still consume these items even if the status is already active.
* Corrected the item bonus for Malangdo Cat Can.
Thanks to @cydh!
2017-08-04 19:11:05 -04:00
Lemongrass3110
bbd42e7f12 Cleaned up character deletion code (#2296)
* Fixes #2271
Thanks to @Tokeiburu
2017-08-04 18:46:17 -04:00
Aleos
fe5f1e115d Added a new item flag for delayed consumption (#2300)
* Added a new item flag for delayed consumption
* Fixes #550.
* The new flag will never consume the item.
* Supports script command itemskill.
Thanks to @cydh!
2017-08-04 18:38:39 -04:00
Atemo
9d6b3d06a9 Fixed readparam when 2nd parameter is a variable
Related issue #2276
2017-08-04 15:45:57 +02:00
Temtaime
cd3f42eb6a Fix swapped accsessories (#2281)
* Enum was swapped, you can view it by calling @itemlist with one accessory equipped.
Thanks to @Temtaime!
2017-08-03 13:38:59 -04:00
aleos89
4c62f581a8 Corrected guild bound item retrieval deletion
* Corrected a SQL statement deleting all guild bound items in the inventory table for offline characters.
Thanks to @Canoe!
2017-08-01 14:20:58 -04:00
aleos89
c0556a397e Follow up to 6748ff7
* Fixed pre-increment and pre-decrement operators for achievement condition parsing.
Thanks to @Lemongrass3110!
2017-07-31 14:25:31 -04:00
aleos89
f4338adab7 Follow up to 6581bac
* Fixed some compile errors.
* Clarified documentation for script command achievementupdate a bit more.
2017-07-31 13:13:23 -04:00
aleos89
6581bac83b Added script command achievementupdate
* Updates the specified achievement's value.
Thanks to @Tokeiburu!
2017-07-31 12:57:39 -04:00
Lemongrass3110
b2c5424af1 Fixed some memleaks in skill_require_db
Thanks to @Everade
2017-07-30 16:40:48 +02:00
Lemongrass3110
6748ff7e17 Fixed pre-increment and pre-decrement operators
Fixes #2176
2017-07-28 22:51:13 +02:00
Lemongrass3110
dfbd6f6cc4 Fixed item selection dialog
Fixes #2293

This was broken in 95!!! different client versions

A real big thank you to @admkakaroto
2017-07-28 21:24:14 +02:00
Lemongrass3110
000786d991 Fixed some RODEX related compile warnings
Fixes #2286

Thanks to @Valorro
2017-07-28 17:50:51 +02:00
Lemongrass3110
d7c7d58d5d Fixed some compilation warnings in release mode
Fixes #2219

Thanks to @keitenai, @CairoLee and @kukuasir1
2017-07-28 17:43:01 +02:00
aleos
a5e18f1250 Allow negative Equipment Attack
* Fixes #2191.
* In renewal Equipment Attack can become negative and is not capped to 0.
Thanks to @jezznar and @reigneil!
2017-07-27 19:03:01 -04:00
Lemongrass3110
f0a07d6d80 Respecting enchants in combos
Follow up to 3f8ff5a

Thanks to @esu1214
2017-07-27 23:07:05 +02:00
Jeybla
3f8ff5a3fb Fixes Item Combos in same equip index. (#2080)
Fixes #1710

Thanks to @esu1214
2017-07-27 22:45:21 +02:00
f0und3r
b21f7c0a1f Config for guild alliance only by master (#2291)
Added a new configuration to allow to restrict alliance requests to the guild master.

Thanks to @f0und3r
2017-07-27 22:18:52 +02:00
Lemongrass3110
02135c4e2e Added support for RODEX 2017 (#2290) 2017-07-27 21:52:43 +02:00
Vincent Stumpf
3a55613537 Allows families to share exp (#2280)
* Fixes #2265
* Family is Mother + Child, Father + Child, or Mother + Father + Child
Thanks to @vstumpf!
2017-07-27 13:23:25 -04:00
Aleos
7f5411da07 Initial release of the Achievement System (#2044)
* Information based on kRO patch notes.
- http://ro.gnjoy.com/news/update/View.asp?seq=163&curpage=1
* Includes Title System which is integrated into the Achievement System.
* Includes RODEX integration for rewards.
* Added new atcommand reloadachievementdb.
* Added new script commands achievementinfo, achievementadd, achievementremove, achievementcomplete, and achievementexists.
Thanks to @Lux-uri, @RagnarokNova, @Lemongrass3110, and @Tokeiburu for their help!
2017-07-27 09:33:03 -04:00
Lemongrass3110
433490a202 Fixed homunculus menu for a few clients 2017-07-27 01:37:58 +02:00
hazimjauhari90
cac49fda1b Updated alternate 3rd job bodystyles (#2288)
* Added Sorcerer class to the bodystyle atcommand.
2017-07-26 13:49:47 -04:00