summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2015-12-22Throw error when variable name length too longAnnieRuru1-0/+14
2015-12-22Not allow send too big variable names to char server from map server (Closes ↵Andrei Karas1-0/+4
#865) Closes #866 as merged
2015-12-22Ensured 32+1 bytes for all buffers that hold variable namesHaru5-30/+39
Related: #865, #866, #867 Signed-off-by: Haru <haru@dotalux.com>
2015-12-22Add a source constant SCRIPT_VARNAME_LENGTHAnnieRuru1-0/+2
since we can freely adjust the length of the variable name just edit this value and edit in main.sql
2015-12-22Merge pull request #992 from Jedzkie/ItemDB_UpdatesDastgir3-67/+153
Item & Skill Updates
2015-12-22Update *dispbottom script command to allow 0xRRGGBB colorAnnieRuru1-9/+21
Closes #858 as merged Signed-off-by: Haru <haru@dotalux.com>
2015-12-22Item Update:Jedzkie2-31/+40
- Added SC_MOVHASTE_POTION and SC_MOVESLOW_POTION. - Change some item effects based on Aegis's special.sc. - White space adjustments
2015-12-22Update *message script command to allow to use account IDAnnieRuru1-8/+13
Signed-off-by: Haru <haru@dotalux.com>
2015-12-21ItemDB Update:Jedzkie2-3/+23
- Added official effect for Jumping Candy (Spark_Candy) (Ref: http://herc.ws/board/topic/1125-please-implement-the-magic-scroll-mental-potion-etc/) Follow up Mercenary Skill update, disable AL_HEAL skill due to mercenary_skill_db doesn't recognize the skill.
2015-12-21Fix Client stuck if npc secure time reached and no actual dialog presented ↵hemagx1-1/+6
to client. Fix dialog being cleared if npc secure time reached and dialog exist Fixes #916
2015-12-20*explode return array size.Emistry1-0/+2
http://herc.ws/board/topic/7489-explode-to-push-arraysize/ Closes #700 as merged Signed-off-by: Haru <haru@dotalux.com>
2015-12-20Fixed a memory leak in the explode script commandHaru1-18/+16
Minor refactoring Signed-off-by: Haru <haru@dotalux.com>
2015-12-20Fix some issues with the @help command.Kpy!1-3/+3
Fix help messages being trimmed due to an incorrect length value. Fix help messages formatting: use clif_displaymessage2 to properly display newlines. Closes #491 as merged
2015-12-20Costume and Shadow items are not equip-able anymore on older clients that ↵hemagx2-0/+7
doesn't support it. Fixes #947 Closes #954 as merged Signed-off-by: Haru <haru@dotalux.com>
2015-12-20Fixed showing HP bar for monsters even if disabled on 2015 clients and onward.hemagx1-3/+3
Fixes #744
2015-12-20HPM Hooks UpdateHercules.ws3-0/+96
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-12-20Fix the *getcharipAnnieRuru1-6/+13
-> it uses the dirties method to search for player -> seriously ? why have to search account_id AND char_id ? -> if the char_id gone big enough, it can reach to account_id
2015-12-20Fix certain script command report source npc twice if player not attachedAnnieRuru1-146/+136
Signed-off-by: Haru <haru@dotalux.com>
2015-12-20Change map->nick2sd into script>nick2sdAnnieRuru1-47/+46
- *getcharid and *getmapxy is exempted to check the condition Signed-off-by: Haru <haru@dotalux.com>
2015-12-20Change map->charid2sd into script->charid2sdAnnieRuru1-12/+11
- *charid2rid is exempted to check the condition Signed-off-by: Haru <haru@dotalux.com>
2015-12-20Change map->id2sd into script->id2sdAnnieRuru1-37/+33
- these 4 commands are exempted, because they are meant to check the condition: *playerattached, *attachrid, *isloggedin, *sleep2 Signed-off-by: Haru <haru@dotalux.com>
2015-12-20Add script->id2sd function to throw error properly if player not foundAnnieRuru2-0/+36
- included script->charid2sd and script->nick2sd
2015-12-20ItemDB Update:Jedzkie2-0/+10
- Added effects for Inc_Str_Scroll and Inc_Int_Scroll - Update some Statuses in sc_config.txt, removed some duplicate entries.
2015-12-20ItemDB Update:Jedzkie2-6/+32
- Added official effect for RWC_Cele_Fire and RWC_Cele_Fire2. - Fix Battle Scroll not applying additional attack. - Fix Mystic Scroll not applying cast reduction - Fix Combat Pill and Advance Combat Pill giving ATK not ATKRATE. - Fix Combat Pill and Advance Combal Pill should not stack each other when used.
2015-12-20ItemDB Update:Jedzkie2-0/+25
- Added official effect of Combat Pill and Advanced Combat Pill.
2015-12-19Corrected a typo in the Renewal cardfix calculationHaru1-3/+3
- If you name your variabled cardfix_ and cardfix, don't complain if you get confused... - Since 210c963d Signed-off-by: Haru <haru@dotalux.com>
2015-12-20Item & Skill Update:Jedzkie2-35/+31
- Speed Potion & Guyak Pudding effects are now official. • Movement Speed changed from 50% to 100% • Removed its hard coded data in src. • Cannot be Slowed by Quagmire, Decrease AGI, and Slow Grace. - Modified Rudo Card effect. - NPC_AGIUP movement speed is now official • Movement speed changed from 50% to 100% • Fixed 100% movement speed per level. - Fix Slow Down Potion's movement speed reduction.
2015-12-18Add *getunittype and update *getmapxyAnnieRuru1-26/+91
- unlike rathena, hercules' getunittype use the value from getmapxy - getmapxy now can search object position using GID Closes #871 as merged Signed-off-by: Haru <haru@dotalux.com>
2015-12-17Added 8 Official kRO & jRO Costumes supported up to 2015-05-13aRagexe.Jedzkie2-12/+78
Change the AegisName of Music Decoration to its official name. Update Status Change ID's. (Thanks to Rytech) Note: • Some of the costumes items are missing or not implemented on this commit, but this is their official SC's. • SC's that don't have costume items: - SC_FLOWERSMOKE - SC_HAPPINESS_STAR - SC_MAGICAL_FEATHER
2015-12-17Merge pull request #917 from dastgir/packetAndrei Karas1-1/+5
Update max packet size according to client date
2015-12-17Update max packet size according to client dateDastgir1-1/+5
2015-12-17Removal of SC_ITEMSCRIPT.Jedzkie2-58/+2
2015-12-17Implement official effect of MVP ScrollsJedzkie4-12/+53
- Ghostring Scroll - Phreeoni Scroll - Tao Gunka Scroll - Mistress Scroll - Orc Hero Scroll - Orc Lord Scroll (thanks to Dastgir) Note: in Aegis, the reflect damage from Orc Lord Scroll is in the user not in the attacker, but in this commit, the attacker receives the reflect damage. - Added New Cash Boxes * Tao Gunka Scroll Box * Mistress Scroll Box Signed-off-by: Haru <haru@dotalux.com>
2015-12-17Change all chat mute checks to use pc->can_talk instead of direct check.hemagx6-25/+18
Put new macro pc_ismuted and change all other kind of mutes to use it Closes #937 as merged Signed-off-by: Haru <haru@dotalux.com>
2015-12-17Add bAddMaxWeight bonus for increasing player's max weightAnnieRuru2-1/+5
2015-12-16HPM Hooks UpdateHercules.ws9-0/+93
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-12-15Added GPL-compliant header to sql filesHaru1-1/+24
Signed-off-by: Haru <haru@dotalux.com>
2015-12-15Added GPL-compliant header to all sources and build scriptsHaru210-773/+4233
Signed-off-by: Haru <haru@dotalux.com>
2015-12-15Added GPL information on interactive server startupHaru5-0/+19
2015-12-15Fix Dialog being cleaned after timeout on secure npc timeout enabled.hemagx1-1/+0
Closes #916
2015-12-15HPM Hooks UpdateHercules.ws1-27/+27
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-12-15Fixed some too long char buffer initializers.Florian Wilkemeyer2-11/+15
- While they don't really cause an overflow (in C), there's no point in initializing strings to "\0". - Original commit message was: Found some static-assignment overflows -> fixed. Signed-off-by: Haru <haru@dotalux.com>
2015-12-15Added const qualifier to the w1~w4 arguments of npc_parse_unknown_objectHaru2-2/+19
Signed-off-by: Haru <haru@dotalux.com>
2015-12-15Added const qualifier to the w1~w4 arguments of npc_parse_mobHaru2-2/+20
Signed-off-by: Haru <haru@dotalux.com>
2015-12-15Added const qualifier to the w1~w4 arguments of npc_parse_functionHaru2-4/+27
Signed-off-by: Haru <haru@dotalux.com>
2015-12-15Added const qualifier to the w1~w4 arguments of npc_parse_duplicateHaru2-9/+38
Signed-off-by: Haru <haru@dotalux.com>
2015-12-15Added const qualifier to the w1~w4 arguments of npc_parse_scriptHaru3-8/+34
Signed-off-by: Haru <haru@dotalux.com>
2015-12-15Added const qualifier to the w1~w4 arguments of npc_parse_shopHaru2-6/+19
Signed-off-by: Haru <haru@dotalux.com>
2015-12-15Added const qualifier to the w1~w4 arguments of npc_parse_warpHaru2-3/+20
Signed-off-by: Haru <haru@dotalux.com>
2015-12-15Added const qualifier to the w1~w4 arguments of npc_parse_mapflagHaru2-9/+37
- This is necessary before merging #960 Signed-off-by: Haru <haru@dotalux.com>