summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2019-06-01Fix some stats calculation issues by reverting basic stats type from uint32 ↵Andrei Karas1-2/+3
to uint16
2019-06-01Merge pull request #2380 from AnnieRuru/59-all_AllHaru1-2/+8
Standardize to "all" in script commands
2019-06-01Merge pull request #2430 from Emistry/scriptcommand_npcspeedHaru1-46/+62
Fix map-crash when floating npc use *npcspeed script command
2019-06-01Merge pull request #2471 from Emistry/scriptcommand_mesclearHaru1-0/+14
Add *mesclear script command.
2019-06-01Merge pull request #2472 from Emistry/scriptcommand_cap_valueHaru1-0/+12
Add *cap_value script command
2019-06-01Merge pull request #2474 from Emistry/scriptcommand_getmapinfoHaru1-3/+9
Update *getmapinfo script command.
2019-06-01Merge pull request #2477 from Emistry/issue_2469Haru1-1/+2
Fix *failedremovecards script command.
2019-06-01Merge pull request #2375 from AnnieRuru/58-negative_inputHaru3-28/+41
Allow *input script command to support negative input
2019-06-01Merge pull request #2433 from Asheraf/questinfomemfixHaru9-196/+127
Move questinfo data from map to npc_data
2019-05-22Fix reading rates from refine dbAndrei Karas1-1/+1
2019-05-18Fix *failedremovecards script command.Emistry Haoyan1-1/+2
- only `type == 1` will remove the card. - fixes #2469
2019-05-15Update *getmapinfo script command.Emistry Haoyan1-3/+9
- Added parameter `MAPINFO_NPC_COUNT` to return the total number of NPC exists in the map. - Added new server define `MAX_NPC_PER_MAP`
2019-05-14Add *cap_value script commandEmistry Haoyan1-0/+12
- add `cap_value(value, min, max)` script command. - avoid the ugly nested `min()` and `max()` combo if needed.
2019-05-14Added *mesclear script command.Emistry Haoyan1-0/+14
- `*mesclear()` script command will clear the NPC dialog text and continue the script without player interaction. example: `next();`.
2019-05-08Fix aspd and probably other stats issues.Andrei Karas1-2/+2
2019-05-08Merge pull request #2465 from 4144/updatepacketsHaru1-0/+2
Fix packet ZC_SE_PC_BUY_CASHITEM_RESULT for old packet versions
2019-05-08Merge pull request #2464 from 4144/fix2463Haru1-1/+32
Fix sending guild storage to client (Fixes #2463)
2019-05-07Fix sending guild storage to client (Fixes #2463)Andrei Karas1-1/+32
2019-05-07Fix packet ZC_SE_PC_BUY_CASHITEM_RESULT for old packet versionsAndrei Karas1-0/+2
2019-05-07Merge pull request #2461 from guilherme-gm/fix-randomoptHaru1-1/+2
Fixes a nullpo on MVP drops
2019-05-06Fixes a nullpo on MVP dropsGuilherme Menaldo1-1/+2
2019-05-06Merge pull request #2460 from 4144/fix2459Haru1-3/+3
Fix player name packet (Fixes #2459)
2019-05-06Fix player name packet (Fixes #2459)Andrei Karas1-3/+3
2019-05-06Move questinfo data from map to npc_dataAsheraf9-110/+91
this will fix the issue where having multiple `questinfo()` blocks wont work properly
2019-05-06remove duplicated code used to clean map dataAsheraf1-87/+37
2019-05-06Merge pull request #2453 from Emistry/scriptcommand_unitwarpHaru1-1/+1
Update unitwarp script command.
2019-05-06Merge pull request #2232 from guilherme-gm/201810-trap-visibilityHaru5-15/+44
Added option to make hunter traps invisible
2019-05-06Change return type of attack related functions from unsigned int to intAndrei Karas2-40/+40
2019-05-06Fix warnings after last changesAndrei Karas1-6/+10
2019-05-06Add configurable limits for attack related functionsAndrei Karas3-32/+61
2019-05-06Change attack related status functions to return int variableAndrei Karas2-51/+55
2019-05-06Change most field sizes from short to int in status_data struct.Andrei Karas1-8/+6
2019-05-05Implement Refine success/failure announcement featureIbrahim Zidan5-0/+69
Currently as far as we know kRO only sends this on success in refining an item through the refinery ui, from level 10 all the way to 20. Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Fix serval variable scopes in refine.c to reduce scope as much asIbrahim Zidan1-11/+8
possible Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Implement Refinery UIIbrahim Zidan14-7/+711
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Move refine database from refine public interface to private interfaceIbrahim Zidan3-22/+23
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Remove all direct access to refine database from status.c and replace it ↵Ibrahim Zidan1-6/+6
with new refine interface functions Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Implement functions to returns refine database values to be used instead of ↵Ibrahim Zidan2-1/+37
direct access to database structure * refine->get_bonus to retrive the refine bonus * refine->get_randombonus_max to retrive maximum refine random bonus NOTE: all functions expects the actual refine level and not the index of it unlike the previous code which used indexes Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Fix variables shadowing refine interface variable map-server sourceIbrahim Zidan6-26/+26
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Removal of refine database code from status.c and moving it respectfully to ↵Ibrahim Zidan12-238/+417
its own files Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Add some missing trading flag checksAndrei Karas1-4/+7
2019-05-05Add missing checks for prevend flagAndrei Karas8-22/+25
2019-05-05Move packet ZC_SE_PC_BUY_CASHITEM_RESULT into separate function and convert ↵Andrei Karas3-8/+27
to struct
2019-05-05Add missing value into enum CASH_SHOP_BUY_RESULTAndrei Karas1-0/+1
2019-05-05Convert packet ZC_MERGE_ITEM_OPEN into struct and fix packet datesAndrei Karas2-15/+32
2019-05-05Convert packeet ZC_ACK_MERGE_ITEM into structureAndrei Karas2-6/+17
2019-05-05Move sending packet from clif_ackmergeitems into separate functionAndrei Karas2-35/+29
2019-05-05Add script function for close roulette windowAndrei Karas1-0/+12
New script function: closeroulette()
2019-05-05Add packet ZC_ACK_CLOSE_ROULETTEAndrei Karas3-0/+23
2019-05-05Add char_id into struct guild_expulsionAndrei Karas1-1/+2
Also use char_id in packet ZC_BAN_LIST.