5991 Commits

Author SHA1 Message Date
ultramage
6a2e87e03b * Fixed various trading/vending glitches
- fixed vending_tax not working at all (integer division in r10182)
- undid change from r8273 where pc_getzeny() treated zeny overflow as an error condition; officially, the value is just bounded to MAX_ZENY
- fixed stupid code that, instead of properly checking and filtering invalid items during shop setup, opted to 'hide' these items from the vending list instead...
- removed some custom error message packets related to vending
- fixed a glitch where the server would open a shop with no items when all entered items were tagged as invalid
- split zeny handling from trade_tradeadditem() into a separate func (trade_tradeaddzeny())
- removed loads of redundant code from vending.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11344 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-01 14:55:35 +00:00
L0ne_W0lf
2c61369250 * Fixed an assortment of typos and bugs care of yyCC.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11343 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-01 14:37:17 +00:00
L0ne_W0lf
d6e60c8248 * Small bug fix (== -> !=) thanks to Saithis.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-01 13:47:55 +00:00
Playtester
699f4b7b0f Fixed Frigg combo not reducing def by refine rate
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11341 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-01 10:22:31 +00:00
Playtester
57a28a2f66 Small sql update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11339 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-01 08:20:51 +00:00
Playtester
bbd3dec66d * Reverted the bug that was added in the last update
- official script clearly says 30%
- please don't update db files without official source

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11338 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-01 08:12:31 +00:00
Paradox924X
b470d3ec9c Fixed Gemini-S58 Card.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11335 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-01 01:34:55 +00:00
ultramage
98527bc1a7 Re-phrased the max_lv and aura_lv client battle config setting descriptions.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11334 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-30 22:58:47 +00:00
ultramage
25ccf137f4 Removed redundant 'subnet' s_subnet structure variable.
Removed duplicate code from the sql charserver that somehow appeared after the tmpsql merge.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11333 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-30 21:56:07 +00:00
Playtester
29ec62318d * Fixed "Heat" and "Crimson Fire Formation"
- they now do 'unlimited' hits per second (same as firewall)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11332 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-29 17:41:33 +00:00
ultramage
afbef4dce6 Renamed&moved macros clif_trading() and clif_cant_act() to pc.c since they're completely player-status related.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11331 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-29 10:37:53 +00:00
Playtester
83b66681db Fixed Victorious Coronet thanks to Pinky and $ephiroth
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11330 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-28 22:58:18 +00:00
Playtester
e7605cbce0 Added 11.2 gun drops
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11329 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-28 22:11:50 +00:00
FlavioJS
fba34ea4ee * Changed back the query to get the friends of a character to a LEFT JOIN.
* Setting the item script variables to NULL when they are freed. (bugreport:142 ?)
  (a double @reloaditemdb might result in a double free)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-28 18:26:55 +00:00
L0ne_W0lf
37c74a3e87 * Removed slots from Gusli, and commented it out. kRO doesn't support this item.
- Removed slots from Chinese_Handicraft and Arrest_Handcuffs.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-28 16:45:37 +00:00
L0ne_W0lf
215dd1d36e * Corrected Summer Outfit not included as a PC class. (Zephyrus_CR)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11326 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-28 15:37:16 +00:00
ultramage
2b21f97dba Added missing msg_athena.conf entry for the summer outfit; name 'Summer' used for now.
Removed strange 'svn:executable' attributes from item_db2.sql and mob_db2.sql

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11325 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-28 14:56:39 +00:00
ultramage
caaa7bde2f Removed some redundant code from the sql charserver.
Fixed a sql-charserver @block crash (missing Sql_NextRow() call).
Probably fixed 'random junk' being displayed in @changesex reply text.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11324 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-28 14:37:31 +00:00
Playtester
d7a44b3d83 Updated item_db.sql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11322 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-28 13:34:26 +00:00
L0ne_W0lf
694679913a * Implemented Summer Outfit care of Zephyrus_CR.
- Increased MAX_GUILDCASTLE in mmo.h to 29 for future implementation of the 12.1 Guild Castles.
* Added constants for Summer Outfit and updated the Summer_Event_Suit item script.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11321 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-28 02:52:04 +00:00
FlavioJS
43ddb195f7 * Fixed sql target not including the save target in the Makefile, needed by the map server for save/mapreg.txt. (bugreport:131)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11320 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-28 01:13:59 +00:00
L0ne_W0lf
58d610dc2b * Re-added an ETC item that got lost in the item update. (7062)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11319 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-27 23:05:31 +00:00
ultramage
57ba34ee99 Fixed a small script typo in r11315 (offsets are 1-26, so rand() needs to return values from that interval and not 0-25).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11318 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-27 23:02:50 +00:00
Playtester
db7c85336e * Removed Final Strike from skill_cast_db
- also updated sql files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-27 22:03:53 +00:00
L0ne_W0lf
be42e68f8e * Updated All ETC items until 11.2.
- ETC items no longer use the "Sell Price" field.
- Adjusted the Weight of a few items in the process. For example, Unknown Test tube from 30 -> 10.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11316 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-27 19:23:31 +00:00
ultramage
3177e3e9c2 * Optimized/simplified some poorly written code in TSQ
- fixed wrong quiz answers
- added some missing dialogue text, added some comments

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11315 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-27 18:02:29 +00:00
L0ne_W0lf
5f67619e33 * Fixed Diablos Armor. Again.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11314 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-27 17:35:49 +00:00
L0ne_W0lf
f580d4b636 * Fixed Diablos Armor (Thanks to WiZ|)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11313 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-27 16:38:19 +00:00
FlavioJS
a8d7143d0e * Loot code using charid's instead of id's in pick priority.
* configure script using svn:eol-style LF and require mysql/pcre when --with-mysql/pcre is used.

Added a forgotten file from r11311. (script_commands.txt)
Note: charid's are globally unique, id's are equal for characters in the same account.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11312 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-27 15:24:06 +00:00
FlavioJS
0498cb19c0 * Reimplemented mmo_char_fromsql using sql statements. (fixes bugreport:93)
* Fixed buildin_gethominfo not being included in the script engine. (bugreport:124)
* homunculus_evolution -> homevolution in script_commands.txt.
* Deleted item DEFAULT from item_db.txt and regenerated item_db.sql. (bugreport:103)
* Skip empty lines and give more feedback (for invalid lines) when reading item_db.txt/item_db2.txt.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11311 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-27 11:18:58 +00:00
SinSloth
6bed10631c * Made some adjustments in the Sign Quest with dialogs/summoning and fixed a possible exploit earlier.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11309 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-27 09:50:38 +00:00
Playtester
d4bfe1ff41 Fixed two item prices
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11308 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-27 07:50:38 +00:00
L0ne_W0lf
ac52b62707 * Implemented Token of Siegfried effect care of Zephyrus_CR.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11307 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-26 17:07:21 +00:00
skotlex
cfbeade85a - Pretend this never happened.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11306 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-26 06:52:50 +00:00
ultramage
7e4990cccd Fixed a typo in the sql login server causing client hang after entering a wrong password.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11305 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-26 06:34:42 +00:00
L0ne_W0lf
0ab46ab9f5 * Touched up View IDs of the Japanese new Mobile headgears.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11304 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-25 22:44:56 +00:00
L0ne_W0lf
3011bdb9d9 * Added Veins Cool Event Corp. Rep. and Inn master.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11303 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-25 22:20:19 +00:00
L0ne_W0lf
edcacf1b6a Uploading the Guide this time. ;_;
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11302 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-25 21:54:53 +00:00
L0ne_W0lf
116026047d * Added Veins guide first version.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11301 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-25 21:50:17 +00:00
skotlex
e167e80b22 - Fixed bAddEff2 causing the effect on the enemy rather than on yourself.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11299 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-25 21:43:03 +00:00
L0ne_W0lf
ab73822fc1 * Added Veins shops to shops.txt.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11298 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-25 20:21:01 +00:00
L0ne_W0lf
617dd9eb05 * Corrected Aegis name for socketed Schweizersabel and Spike.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11297 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-25 19:33:41 +00:00
L0ne_W0lf
d1c7b68e56 * Fixed a small bug in a Comodo NPC. (close -> close2)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11296 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-25 19:29:46 +00:00
L0ne_W0lf
118952a35e * Item database update.
- Added 12.1 equipment to the item database with the info available.
- Added expanded Socket-enabled items to the item database.
- Corrected some items pointed out by $ephiroth.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11295 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-25 19:17:18 +00:00
skotlex
dbfa221083 - Modified a bit the hard/lazy ai triggers to match aegis:
- Mobs go into active AI when they are 2 cells from entering a player's view (ACTIVE_AI_RANGE)
- Mobs in passive AI no longer use skills.
- Mobs in passive AI do not random walk UNLESS they have entered active AI before (random walk frequency is not lost during passive AI).
- Added an additional check to prevent support skills from being blocked if the target has an armor element that blocks it.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11294 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-25 18:32:08 +00:00
Playtester
61e871da7f Small drop rate update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11293 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-25 12:44:40 +00:00
FlavioJS
62ea9e001e * Fixed the double free's caused by r11290 (wrong option in the database constructors).
Readded tick cache variables (deleted by mistake).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11292 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-25 10:24:53 +00:00
skotlex
76ece51877 - Corrected being able to cast multiple Gravitation Fields before the previous one is cancelled.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11291 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-25 04:04:50 +00:00
FlavioJS
52f3681f3d * Disabled tick cache (to enable it: define TICK_CACHE to the number of calls that should be cached).
* Added a charid2sd database for fast charid searches.
* Reworked the nick cache to only contain offline characters.

Note: The tick cache was causing _some_ of the desync problems in eA. Gameplay should be much smother, but desync problems still exist.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11290 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-25 01:58:31 +00:00
ultramage
c5b8e5d082 Added back log_chat's '1 - log everything' setting (revert from r10850).
Don't forget to adjust your config file ... again.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11289 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-24 22:33:50 +00:00