1281 Commits

Author SHA1 Message Date
shennetsind
b411524f2e bugreport:6137 fixed a bug that allowed item delays to be bypassed when a empty slot was found in the item delay array (e.g. a delay from other item was cleared and left the slot empty). also fixed a issue with the seconds display.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16371 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-03 08:37:28 +00:00
shennetsind
32b82f75b8 Fixed bugreport:5984 rental items exploit which allowed a rental item from never being deleted when used alongside storage has been fixed, blame on r14958
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16361 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-01 12:29:38 +00:00
shennetsind
d0105f816b Fixed bugreport:6107 item restrictions are now checked upon logoff/mapchange which leads to gear being unequipped when conditions are not met. Super-Mega-Ultra Thanks/Credits To: Daegaladh
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16360 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-01 12:05:02 +00:00
rud0lp20
2cf6927750 Implemented new item script bonuses:
- bSkillCooldown,n,x;
   - bSkillFixedCast,n,x;
   - *bSkillVariableCast,n,x;
   - bFixedCastrate,x;
   - *bVariableCastrate,x;
*Pending until RE Casting system is fully implemented.
ATM bCastrate is used to manipulate variable cast time where it should not.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16355 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-29 15:52:29 +00:00
shennetsind
b7d3e0665f Fixed bugreport:5808 GN Cart Boost is now removed when user takes off his cart
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16339 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-24 01:33:50 +00:00
shennetsind
a1080d66ea Hello and welcome to BUG TRACKER NIGHT!
The first dish of the night, bugreport:6018 has been fixed. new carts are now removed properly.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16330 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-23 23:15:40 +00:00
shennetsind
c5654e53c1 Follow up r16297 fixed bug with the cart not going visually-off after it was removed.
Follow up r16296 fixed algorithm issue

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16298 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-14 19:43:34 +00:00
shennetsind
282892387f Added support for new carts (requires packetver 20120201 or newer). Super-Ultra-Plus thanks to Fatal Error and Judas.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16297 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-14 19:36:05 +00:00
rud0lp20
2b700279d8 Fixed bugreport:5954 SC_SHADOWFORM Can now be canceled with detecting skills which is check in every 2 seconds.
Fixed bugreport:6010 AB_EXPIATIO now give a piercing damage bonus.
Fixed Diamond/Crystallize status to work only to non mob target and its official behavior(bugreport:5893)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16296 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-14 17:33:21 +00:00
brianluau
6261742ed4 * Merged /branches/renewal/ r14635 Item Stacking System to /trunk (follow up to r15060) pid:106973
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16279 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12 16:22:33 +00:00
shennetsind
4f1f7b9d38 Fixed bugreport:5994 misuse of inline against msvc standards (and inline was pointless there too. thought it'd be used elsewhere, not the case).
Blame on r16273

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16274 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12 03:59:24 +00:00
shennetsind
4ca3aa34ed Added new bonus as per kenpachi's request: bonus2 bUseSPrateSkill,n,x; // Reduced increases/reduced the SP consumption of skilln by x%. (supports skill names)
e.g. bonus2 bUseSPrateSkill,"AL_BLESSING",50; -> increases AL_BLESSING sp usage by 50% (e.g. if its 50 it goes to 75)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12 02:09:55 +00:00
shennetsind
e2fd3350e5 Improved bonus-adding processes by no longer having to add it to the zero'd memset bullshit, replaced it by moving the first set of bonus into its own struct and simply zeroing the struct prior to recalc.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-12 01:08:05 +00:00
rud0lp20
80d35e7ab0 Fixed bugreport:5911 Reflect Damage should now cancel when shield/guard is unequipped.
Fixed bugreport:4828 LG_PINPOINTATTACK should now only work with spears.
Fixed bugreport:5905 All heal support skill now can't work with Mado Gear.
Fixed other non Mado related skill that it should not work when Mado is equipped.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16217 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03 14:54:06 +00:00
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