summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2008-08-22- Mercenary data structures.zephyrus4-2/+27
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13110 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-22- Mercenary Database Reading.zephyrus2-0/+184
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13109 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-22- Ups. I forget this merge about Basilica (caster cannot walk).zephyrus1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13108 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-21- Big update to Basilica, implementing official behavior.zephyrus5-52/+74
* Basilica caster cannot walk. * On Basilica area, only caster can use Basilica again to stop it. * On Basilica no one can use skills. (Previous bug on eA because you can use support skills on it, also caster). * Only Pressure can bypass Basilica protection. * Any enemy of the caster bounce 2 cells back from basilica, except Boss type. (Bugreport 2099). * Any monster can target you on basilica and try to attack you, also with skills, but damage is reduced to 0, except Boss. Notes: - Basilica Cell stuff is not used anymore... is it required? - Still need to add a check previous to cast basilica because if there are mobs, items, npcs, walls, skills around the caster (7x7 i think) the skill should fail. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13106 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-21- Fixed a bug. Warp portal cannot be casted on dead players.zephyrus1-4/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13104 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-21Deleted zombie extern variable declaration which was causing a "static ↵ultramage1-2/+0
declaration follows non-static declaration" gcc compilation error. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13103 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20- New invisible walls system (for WOE SE and Battlegrounds).zephyrus4-1/+218
- New script commands for this system "setwall" and "delwall" - Added other scripts commands "changelook" (can be used to try clothes colors, hair styles, headgears, etc without saving this on logout). - Added getmobdrops to request a list of drop and rate of an specified class. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13101 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20- More cleanup of Barricades (final i think)zephyrus3-3/+3
- Fixed a bug, missing sizeof(add_steal_rate). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13100 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20- Do not trigger event if killed by script at all.zephyrus1-11/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13099 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20* Implemented Brainstorm's and SketchyPhoenix's fixes for Flying side kick.L0ne_W0lf2-2/+68
- Skill will now remove KA-type statuses and not remove stalker's link while preserved. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20- Removed my barricade implementation. Not required in WoE SE.zephyrus8-308/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13097 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20- Fixes on schg_cas02 and arug_cas01.txtzephyrus1-17/+26
- Official Meteor Storm. Meteors can fail and just not fall, and only fall where you can get a shootable path. * Tested on Aegis with help of ultramage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13096 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-18Fixed incorrect array capacity / format string for txt mapreg loading code.ultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13090 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-17Fixed some messed up operator priority in the mapreg code (bugreport:2078).ultramage2-12/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13088 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-17** Please update your server ASAP. **zephyrus1-8/+10
- Fixed a wrong auth process, setting account offline in Login server when accessing Char server. (OMG!) - Fixed a bug on TK_JUMPKICK. It should only do damage if can reach target. - Fixed bug on Arug_cas01 script. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13087 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15Some cleaning in script.cultramage4-177/+152
- documentation of functions translation of japanese comments - usage of const char* instead of char* where appropriate - removal of unused isstr() function git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13083 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15Split off mapreg code from script.cultramage7-326/+542
* new mapserver files, mapreg.h, mapreg_txt.c, mapreg_sql.c * removed MAPREGSQL from project files / makefiles * mapreg storage engine is now fully dependent on the server type * added config settings mapreg_txt and mapreg_db to inter config * added get_str() function to complement add_str() * fixed txt mapreg code allowing too long variable names git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13081 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15* Removed gm_cant_party_max_lv. It now uses gm_cant_party_min_lv as the ↵sketchyphoenix3-4/+4
threshold. (bugreport:2051) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13077 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-12Now using proper enum type for mob skill state tracking.ultramage2-18/+17
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13075 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-12Added updated client effects list.ultramage1-36/+42
Corrected some doc/npc typos. Reindented some mob AI code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13074 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-11Fixed right-click npc unload not unloading duplicates (bugreport:2014)ultramage1-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13070 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-10Some skill corrections based on bugreport:1945ultramage1-2/+1
- enabled WZ_FIREWALL and NJ_KAENSIN effect stacking (for more damage) - blocked stacking of Warp Portal and Flip Tatami land skills - reverted r12798's land-protector code change (incorrect and also doesn't have any effect) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13064 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-10Some small code cleaningultramage3-110/+149
- removed unused create_storage() function - removed unused char_db mapserver config setting - adjusted formatting of mapserver config loading code git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13063 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-09Really implemented SC_WALKSPEED (instead of copy-pasting old code) (followup ↵ultramage1-1/+1
to r13039) - the modifier is now a percentual value - a higher modifier now means faster speed, not slower git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-09Fixed a mistake in r13051 party invite code where 'tsd' was accessed before ↵ultramage1-5/+5
checking for NULL. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13058 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-09Fixed @noks leaking internal buffer contents (bugreport:1528).ultramage1-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13057 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-09Now Novices without lvl5 basic skill can be partied (bugreport:1131).ultramage1-14/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13056 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-07* Added another GM trust config for party invitations (bugreport:2004)sketchyphoenix3-1/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13051 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-04- Killed mobs with NPC_REBIRTH skill used should not drop items again. ↵zephyrus3-38/+51
(Aegis test) - Monsters with SC_KAIZEL should not trigger event script until. - Monsters NPC_REBIRTH should not be casted if no source (killmonster script or @killmonster) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13047 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-03Re-implemented SC_WALKSPEED (used in npc scripting) according to official ↵ultramage1-0/+2
sources (followup to r13037). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13039 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-02Player shops will not close on death anymore (bugreport:1955).ultramage1-4/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13036 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-02Added itemid defines for Stone and Skull_ (used by Pick Stone skill and pvp ↵ultramage4-4/+5
skull drop, respectively). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13035 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-01Disabled the gm-hide namerequest cheat detection, uncomment if you know what ↵ultramage1-18/+15
you're doing. Related revisions: r5813, r6709, r6715, r9905. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13031 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-01Removed unused guardian hp columns from the guild castles table in main.sql ↵ultramage4-8/+10
(should have been done in r11915). Corrected incorrect use of the datetime column in the `login` table (bugreport:1962). Refreshed txt account savefile. Cleaned up some random minor source code glitches. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13030 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31Quagmire now will affect boss monsters, but more info is required to code ↵shadow1-1/+0
the debuff exceptions properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13028 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31@autoloot and @autolootitem can now be used together for more precise ↵ultramage1-12/+1
looting (no idea why it was blocked...) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13023 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31Reverted r12230. cUSTOM_CFLAGS is redundant since you can achieve the same ↵ultramage1-2/+2
result by setting CFLAGS. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13022 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31Removed the mob controller system, now a customization (see topic:194375).ultramage9-349/+6
The system consists of * script command to spawn a controlled mob * script commands to attach npcs to such mobs and manipulate their AI * a page of documentation for these commands * callbacks at various source code locations that invoke the attached npcs * two npc examples git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13021 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-30Small cleanup of script.cultramage1-65/+26
* removed DEBUG_FUNCIN (some tracing code for expression parsing) * cleaned up the hashing functions code a bit * removed SCRIPT_HASH_PJW since it gives results identical to SCRIPT_HASH_ELF * switched the hashing function used to ELF, since on current eathena it gives strictly better results than all others (w.r.t. entry count in buckets whose size is above the expected average) - note: ELF behaves very poorly if SCRIPT_HASH_SIZE is changed to 1024, others don't. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-30Removed the IRC bot system, now a customization (see topic:194306)ultramage8-626/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-29- Fixed a bug with Status Resist Potion.zephyrus2-1/+2
- Fixed double char data save on quit with storage opened. BugReport 1794. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13013 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-29Renamed struct 'skill' to 's_skill' to remove naming collisions.ultramage4-15/+24
Added defines for mercenary skill ranges. Added a mapping of mercenary skills to the skill db (700-799 atm). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-27Cleaned up several poorly chosen loginlog variable names.ultramage1-8/+6
Removed the unused login and txt->sql options in inter_athena.conf. Renamed config option log_db to log_db_db in inter_athena.conf. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13005 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-26Merged the /loginmerge branch (topic:192754)ultramage14-487/+68
* the login server storage, ipban and logging systems have been abstracted and now provide a common interface; the rest has been merged into a single login server core (no more login/login_sql duplicity) * storage systems are now added via compiler options (WITH_SQL / WITH_TXT) * multiple storage engines can be compiled in at the same time, and the config option account.engine defines which one will be used. * due to MySQL autoincrement limitations, accounts with id '0' will not be supported; account IDs from this point on should start from '1'. * login_log() functions now again record IP addresses in dotted format, not as 4-byte integers (undo from r6868). * removed config options that defined column names in the login table * removed `memo` and `error message` columns from login db/savefile * moved `loginlog` table to the logs database * added sql files upgrade_svn12975.sql and upgrade_svn12975_log.sql * due to changes to the login table layout, I added an !optional! sql file (upgrade_svn12975_view.sql) that will provide a certain degree of backwards compatibility with existing software; read the instructions inside carefully! * moved third-party includes/libs to a separate directory * updated project files / makefiles Changed the way GM levels are handled * removed conf/gm_account.txt * added the gm level column to the txt savefile (after 'email' column) * gm level information is now transferred along with account data For open problems see bugreport:1889. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-26Replaced occurences of '-1' with the more appropriate 'INVALID_TIMER' value ↵ultramage10-69/+70
where appropriate. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-26- Implemented official Convex Mirror (With help of Yomanda and Sirius White)zephyrus9-8/+148
- Fixed SC_WARN don't receiving reflecting damage (Bug Report 1854). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-22Fixed a bug in the npc shop code, where requesting an item that wasn't on ↵ultramage2-63/+83
the list caused the server to keep scanning past the list's array bounds. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12980 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-20* Simplified the search in pop_timer_heap and added more debug info to help ↵FlavioJS1-4/+17
determine the source condition of timer errors. (bugreport:1860) * Fixed crash in skill_castend_id. (bugreport:1860) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-20Corrected #storagelist target typo (bugreport:1873)sketchyphoenix1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12967 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-16Fixed TK_JUMPKICK, should not jump over objects and cliffs.shadow1-1/+1
- This also might fix them being able to jump barricades on WoESE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12962 54d463be-8e91-2dee-dedb-b68131a5f0ec