Commit Graph

967 Commits

Author SHA1 Message Date
eathenabot
9d4ba09780 * Merged changes up to eAthena 15113.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16177 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 05:42:46 +00:00
shennetsind
df2f149052 Fixed bugreport:5757 Added missing Sorcerer Insignias, Credits to brAthena
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-17 06:01:15 +00:00
rud0lp20
2990091a11 Fixed bugreport:5749 Amplify Magic Power should now work properly on multi-hit magical skills.
Fixed bugreport:5748 Masquerade-Groomy now removes Dragon and Warg.
Fixed bugreport:5751 Implemented script command in checking/mounting Dragon, Warg and MADO Gear, also made a clean up regarding MADO Gear and Warg conditions. 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16114 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-16 16:56:43 +00:00
shennetsind
9384614806 Fixed bugreport:5650 GN Cart Remodeling weight boost should now be working properly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16042 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-02 05:02:59 +00:00
shennetsind
1bac5ef84d Fixed bugreport:5668 delayed consumption items are no longer usable while sitting. (temporary measure until we figure what actually broke it)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16010 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-29 20:43:50 +00:00
xazax-hun
f304ebb056 * Replaced rand() calls with rnd().
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25 18:31:34 +00:00
xazax-hun
529295983e * Code consistency updates. No functional changes. Credits to Lighta.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25 18:22:00 +00:00
shennetsind
9d14415b75 Removed pc_cant_newmount since it has been proved newer clients still support them.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15966 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-25 11:20:28 +00:00
eathenabot
490bd54958 * Merged changes up to eAthena 15086.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-22 17:10:52 +00:00
epoque11
d65b3b64b2 - Added elemental source files to the appropriate VS2010 filters
- Fixed status point cost not being set to 0 once maximum has been reached

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15903 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-21 09:47:45 +00:00
shennetsind
a1612031a6 Initial support for Genetic, Sorcerer and Elemental Summons. Special Thanks to 3CeAM for the base.
Notice this revision onwards requires you to update your char sql table and add the elemental sql table (check sql-files/upgrade_svn15885_log.sql)
If you step by any bugs, let us know at http://rathena.org/board/tracker/ Thank you very much.
ARRIBA ARRIBA.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15885 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20 18:05:14 +00:00
technote24
9003fa4eca =General
*Added CANNONBALL and THROWWEAPON item types as ammo types.
-IT_THROWWEAPON will be removed soon as all ammo equiptable
-items should be fully treated as ammo type in rAthena and
-not as a item type.


=Jobs
*Added a config to set max stat limit for baby 3rd's. Default is 108.

*Kagerou/Oboro stat limit is now set to whatever the limit is set to for 3rd jobs.
-Which is the default 120.

*Added item job masks for Gangsi, Death Knight, Dark Collector, and Kagerou/Oboro.
-Note: Backwards compatibility was added to allow Kagerou/Oboro to use all the equips
-the Ninja job can use to prevent needing to edit a chunk of the item database.
-The job also has its own exclusive mask which will be used on their exclusive equips soon.

*Kagerou/Oboro jobs can now duel weld daggers.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15882 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20 13:06:34 +00:00
technote24
b34833c2d0 =General
*Did some cleaning up and enabled all job lines in job_db 1 and 2.

*Added some more jobs to the pre-re and re exp tables.

*Enabled all typeable job changing names for the job change command.
-Also did some more cleaning and organizing for the list that shows
-when typing the command by itself. This will be the final time I
-touch this until a new job is released.

*Increased MAX_SKILL_TREE to 84 as the Expanded Super Novice/Baby jobs needs it.

=Jobs
*Added 7 new jobs.
-Added jobs are Gangsi, Death Knight, Dark Collector,
-Expanded Super Novice, Expanded Super Baby, Kagerou, and Oboro.
-Note: Keep in mind that Gangsi, Death Knight, and Dark Collector
-are official jobs that were never completed and arnt fully playable
-like other jobs. Im just adding them in since their official and to
-let the curious people out there mess with them.

*Did some major skill tree updates.
-Corrected the required level of SM_RECOVERY needed for LK_CONCENTRATION.
-Fixed a few other trans skill requirements in the 3rd job skill trees.
-Added complete skill trees for Sorcerer, Genetic, Baby 3rd's,
-Expanded Super Novice/Baby, Kagerou, and Oboro.
-Note: Even tho Sorcerer, Genetic, and Kagerou/Oboro skills arnt in
-the server, the skills introduced in these jobs will still be read
-by the server, but will not appear on players skill window until entrys
-are added to the skill_db and skill_requirement_db.
-No error's will be generated when read. So its perfectly safe to leave
-them entirely enabled so skills will slowly appear 1 by 1 as their coded in.
-Also added a pre-tree for Gangsi, Death Knight, and Dark Collector
-jobs for now and added some extra tree lines. These will be worked with in the future.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15876 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-20 05:34:53 +00:00
technote24
885a642019 =General
*Added some extra data here and there that will be used in the future.
-Mostly stuff for adding more jobs.
*Corrected how the server listed a few job names. Like Mage should be Magician.
-As the job name is seen hard coded in the client.
*Added support for all 3rd jobs in the pre-re exp table.
-Base levels use a copy of the Trans exp table. Job levels use a copy of the
-Trans 2nd job exp table.
*Added baby 3rd's to the renewal exp table.
*Did some cleaning and updating in the atcommand.c file for the jobchange command.
-Added a few job changes by job name typing.
-Spaced things out in the message strings to allow job names of up to 16 characters.
-If a name is bigger then 16 characters, it will need to be reduced to fit the space.
-No more then 4 jobs listed max per line
-Also removed unneeded text lines as the ID's they point to are dummy ID's.
-Finally, updated the list of dummy ID's to prevent changing to, as well as added a
-message to display if someone attempts to job change to one of those dummy ID's.
*Readded the spaces in the pc.c file as tabs in the middle causes unorganized viewing issues.
-The space gap is now big enough to allow everything to line up.

=Jobs
*Added 3rd job babys.
-Everything is working properly for them except the max stats and skill trees.
-I will add this stuff in the next update.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-19 12:06:34 +00:00
brianluau
64379ae3d4 - Added 22nd argument to 'getmonsterinfo' which returns the mvp_exp of a monster.
- Changed 'checkvending' to return 2 if player is using @autotrade.
- Follow up to r15871: used spaces so everything lines up (people might use different Tab Size in their text editors).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15872 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-19 05:56:01 +00:00
technote24
6aac4722fb =General
*Added some job coding to the source to prepare for the adding of baby 3rd's and other expanded jobs.
*Removed Baby Taekwon, Baby Star Gladiator, and Baby Soul Linker MAPID's code since their pointless.
-Gravity never released baby versions of these classes. If they do in the future then ill readded them.
*Did some clean up in pc.c in the job management code. All unnecessary spaces were replaced with tabs
-to lower the file size and make it easier to keep things tighty.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-19 01:12:50 +00:00
shennetsind
6716f8bbfb Fixed bugreport:5535 while caster is in shadow formation he no longer can attack or use items.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15847 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-11 05:15:16 +00:00
shennetsind
badb682be9 Fixed bugreport:5543 this item is official rentable and it should unmount upon expire.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15845 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-11 04:43:42 +00:00
shennetsind
f723992af9 Fixed bugreport:4292 item_noequip now scans armor enchant gems.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15844 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-11 04:35:16 +00:00
epoque11
34e7f045b7 - Spring cleaning of various source files
- Removed unused src/map/config/Skills/Mage_Classes.h file

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15837 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-09 22:56:59 +00:00
technote24
fb6262a990 =General
*Added some jobs with ID's and MAPID's masks to prepare for the adding of more jobs in const.txt
*Fixed a typo on JOBL_THIRD check in const.txt
*Added all currently known tags and ID's support for NPC's, skills, status, and units.
*Changed SI_SITTING to official name SI_SIT.
*Increased MAX_SKILL to 3040.

=NPC
*Corrected a typo in the jobmaster script.
-Fixed required job level for changing to 3rd to 50.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15836 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-08 23:41:53 +00:00
protimus
d0f2568d8f Cleanup of conditions for old clients.
- No one use versions as old, besides being advised to keep up to date.
- Informations of packets will be maintained, the cleanup is just for conditions. Please do not remove old packet information, it is useful for future searches.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-03 21:18:23 +00:00
shennetsind
509c5d37b5 Reverted r15825, glitch found. will work on it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-03 00:57:50 +00:00
shennetsind
bf4a87928d Fixed bugreport:5018 skills permanently granted through scripts are now 100% functional.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15825 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-02 23:54:50 +00:00
shennetsind
7f57ab9eee Fixed bugreport:5497, LK/RG/PD/RG new mounts are now available again to clients prior to november 2011, items with delayed consumption are no longer available to users in new mount state. Updated setoption to consider pc_cant_mount and remove OPTION_MOUNTING from the opt bundle
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15808 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-28 04:39:54 +00:00
shennetsind
1f7f269eea Fixed Super Novices mentral strength so that they may ressurect in gvg maps w/o being kicked out. bugreport:1988
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15781 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-23 09:46:19 +00:00
eathenabot
ee2653b6eb * Merged changes up to eAthena 15082. (skipped 15081)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15771 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-23 04:30:17 +00:00
shennetsind
ab21adbac1 Fixed crash with using @allskills in a character without PC_PERM_ALL_SKILL also applied some more of my curly brace love
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15769 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-23 03:46:34 +00:00
shennetsind
f8ddb21f74 Rehashed Item_delay.txt (bugreport:5487)
- Before you could only have MAX_ITEMDELAYS (10) items with delays. Now: you can have up to MAX_ITEMDELAYS (10) concurrent delays. and of course you can always increase MAX_ITEMDELAYS in src/map/itemdb.h as much as you may need.
- Item delays are no longer lost on logout, they're persistent until server restarts.
- When a item use is denied due to delay still up a message now tells the user why he can't use the item (before would leave the user wondering wtf was going on. it had no response)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22 07:37:23 +00:00
shennetsind
b477b2ef01 Fixed bugreport:5355 Shadow Chaser's Auto Shadow Spell is now fully functional.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22 05:19:37 +00:00
shennetsind
44e9e22241 Fixed bugreport:5445 Severe Rainstorm skill now takes arrow element in account
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15750 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22 02:44:44 +00:00
shennetsind
ca93d7b9cb Fixed bugreport:5468 Swordsman upper classes and ranger are no longer allowed to use reins of mount (new mounts)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15746 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-22 01:31:52 +00:00
epoque11
7bcfb36e0e - Fixed Clown/Gypsy/Minstrel/Wanderer not receiving skill points upon change-sex
- Fixed missing casts from void* to struct online_char_data* in char.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15735 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-20 14:01:10 +00:00
shennetsind
fcb46867e4 Follow up r15732, Fixed bug where a player killed by a method not passing thru pc_damage (e.g. poison/@die) would leave sitting icon active even while dead. Thanks to wildcard and epoque
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15733 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-19 20:06:03 +00:00
lordttseven
b1ee1c2d8f * uncluttered DB paths between REMODE on/off a little
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18 13:32:13 +00:00
shennetsind
c6537f77e7 Fixed gcc warning on pc.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15709 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18 03:41:55 +00:00
shennetsind
2a492d7300 Added Official behavior to non-ensamble songs: they no longer go off if you warp within the same map. bugreport:4547
Dev Note: I didn't put it under session data cause only bard/gypsy classes use it, I found it to a be a waste. I'm not very comfortable with the dbmap either, however, so if you got any idea on how to make it more efficient lets talk :3

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-18 03:35:00 +00:00
shennetsind
7e4c23322b Fixed baphomet card bonus not working when used by ammunition (required by a new kunai), bugreport:506
WHOS YOUR DADDY? IND HENNET!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15696 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-17 19:47:43 +00:00
lordttseven
a58fc65984 Status change packet cleanup
* fixed a couple typos
 * replaced duplicate function clif_status_load with a macro
 * normalized and documented status change table related getter abstraction
 * put some checks that were previously in multiple places into clif_status_change
 * packets are now used as they are on official servers:
  - ZC_MSG_STATE_CHANGE for ending statuses and starting them on non-pcs
  - ZC_MSG_STATE_CHANGE2 for starting *all* statuses on players
  - tick = 9999 for statuses of indeterminate duration
  - for non-pc units, a packet is only sent if it has a visual impact on the client; if you notice any missing visual effects, please report them!
 * fixed hidden GM characters leaking certain status packets
 * fixed hidden GM characters not displaying timers for newly gained statuses
 * fixed status end packet never being sent for non-pc, non-mercenary units
 * fixed SC_CLOAKING displaying a time bar on the client
 * fixed tick being an unsigned int, yet used as a signed int
 * removed hard-coded status length exceptions in clif_status_change

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-15 10:30:42 +00:00
lordttseven
d78313665c Assorted skill-related tidbits
* reduced network load for PC_PERM_ALL_SKILL
 * fixed @allskill setting skill ids too late
 * fixed skill reset giving free level 9 NV_BASIC

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15655 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-04 11:00:25 +00:00
lordttseven
272d3792c5 * fixed job change level not being recorded for 2nd -> 3rd class (bugreport:5383). the fix should be self-regenerating on existing 3rd job characters
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15653 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-03 23:39:20 +00:00
lordttseven
7ed49a2dad * fixed third class skill point allocation logic (follow-up to r15594, bugreport:5329)
* replaced some hard-coded constant values in the vicinity with DB lookups
- removed semi-sensible special scenarios for borked GM character's skill trees in pc_calc_skilltree_normalize_job

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15625 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-20 16:50:27 +00:00
shennetsind
93f8dc1ffd Added 2 new item bonuses as per kenpachi's request:
- bonus2 bHPGainRaceAttack
- bonus2 bSPGainRaceAttack

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15608 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-18 18:15:31 +00:00
shennetsind
df656cee43 Fixed @allskills crashing with SM_SELFPROVOKE (doesn't have icon) -- Added it to list of skills not added to @allskills
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15600 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-17 18:46:07 +00:00
shennetsind
c99d6a3e95 Fixed bug with 3rd classes bypassing player_skillup_limit config
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15594 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-17 16:48:41 +00:00
shennetsind
3df097e1e2 Initial support for Shadow Chaser and a few adjustments here and there.
- credits to 3ceam for the base
- should you step by any bugs let us know, http://rathena.org/board/tracker

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15589 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-17 15:33:13 +00:00
gepard1984
22f0714c07 - Added libconfig (configuration file library: http://www.hyperrealm.com/libconfig/):
- Updated VS9/10 project files.
   - Updated `configure` & `Makefile`s.
 - New GM, Commands & Permissions system:
   - '''This is a backwards compatibility breaking update''', please read tid:58877
   - Replaced GM levels with Player Groups.
   - Commands permissions & other privileges now depend on group, not GM level.
 - `@help` command improvements: requires "commandname" param and shows more detailed info about commands.
 - Modified GM whisper system to deliver messages basing on permissions, not GM level.
 - Remote trade request is now possible only if player is allowed to use `@trade` command as well.
 - Added a proper permission to use `/changemaptype` command.
 - `clif_displaymessage` is now capable of displaying multiline messages.
 - All `ACMD_FUNC`s are static now, and the only way to invoke them is with `is_atcommand()`; all client commands (starting with `/`) are now translated into corresponding atcommands (with exception of `/kick` used on monster, as there is no atcommand to kill single monster).
 - Removed nonsense "bot check" triggering when player blocked (`/ex`) Server.
 - Merged `@monster`, `@monsterbig` and `@monstersmall`.
 - Improved flow of atcommand execution to avoid revealing info about online players or existing commands to non-privileged players.
 - Merged `atcommand` and `charcommand` script functions (`charcommand` is aliased to `atcommand`).
   - Fixed `atcommand` script function reading unknown memory area (possible access violation).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15572 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-13 01:19:04 +00:00
shennetsind
1f958f879d Added minor autolootitem code improvement. saves from scenarios like:
Kill a monsters on a aoe, with 10 drops looking up a empty autolootitem array -- 100 times ? -- (10 per loot with AUTOLOOITEM_SIZE as 10).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15556 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-09 03:27:59 +00:00
shennetsind
76253a7cad Fixed bug that allowed a auction bid to fail (and generate zeny loss) if made while no char server is present.
Added @showzeny tracking to pc_payzeny so that it's messages are more consistent when zeny is earned/reduced. credit to gepard for his concept
both from bugreport:1138

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15550 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-09 00:12:13 +00:00
xazax-hun
9627c783a4 * item_trade.txt is split into re and pre-re folder as per Kenpachi's request.
* skill_tree.txt is split into re and pre-re folder. In renewal version only level 5 spear mastery is required for spiral pierce.
* Removed an unnecessary new line on a message.
* Enabled mechanic summons in pre-re/mob_db.txt to avoid some startup error messages.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15546 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-08 09:56:24 +00:00