summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-05-01Implemented get_percentage() for compact and safe calculation of percentual ↵ultramage10-32/+41
values. Fixed integer arithmetic overflows that were occuring in several supernovice checks (bugreport:1135). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12679 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-01Updated mob_db.sql to latesttoms2-1/+22
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12677 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-01Corrected several effect descriptions.L0ne_W0lf2-202/+205
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-01Quest packet typo.Kevin1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12675 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-28Updated castle DB to be compliant with new WoE scripts.L0ne_W0lf4-22/+25
Updated gvg_eliminate_time comment to reflect use in new Woe scripts. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12674 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-28* Rewrote the WoE 1.0 from the ground up nearly.L0ne_W0lf63-4624/+4973
- Renamed the WoE Time setting NPC to "agit_controller.txt" - System is set up to mimic Aegis, some parts are still lacking. - Documentation on the new system is forth-coming. - Updated Novice WoE scripts to keep them from breaking. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12673 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-28Another correction to "Evil Land", fixed damage-effect range.L0ne_W0lf2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12672 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-28Randgris will summon a dropless/expless mob after initial mob.L0ne_W0lf3-4/+34
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12671 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-28Cleaned up char server set online/offline/char select functions. ↵Kevin2-5/+12
(bugreport:1359) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12670 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27fixing some timestamp type difference warnings...ultramage3-6/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12669 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27Removed the calc_times() no-op (bugreport:1289)ultramage5-13/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27Removed a messed up, unnecessary line.Paradox924X2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12667 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27Corrected r12662 where a guild break would trigger the OnGuildBreak event ↵ultramage7-15/+15
for all castles (even of other guilds). Corrected some x64 compilation warnings in ers/malloc files. cleaned up a case of bad variable reuse. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12666 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27Cleaning up the itemdb reload mess (see r12635, r12643, r12650, r12661, ↵ultramage14-227/+57
r12662, r12663) * the player data inventory-itemdb index is now refreshed using pc_setinventorydata() * mobdb will no longer initialize with nonexistent items, and mobs will no longer drop them in case of a reload * the clif_buylist() function once again hides invalid npc shop items * it is no longer possible to purchase nonexistent items from a npc shop * npc shop loading will not abort if there is a nonexistent item entry, it will just skip over it git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12665 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27Fixed 'suggest parentheses around assignment ...' gcc warningtoms2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12664 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27<3 CakeKevin1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12663 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27Changed the last commit so it must be called with @reloaditemdb2. ↵Kevin7-46/+49
@reloaditemdb only removes the item_data from the itemdb subsystem. If you don't like my code you can uncomment the macro I_HATE_KEVIN in item_db.c so it isn't even compiled. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12662 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-27Some major changes to @reloaditemdb to allow unloading of any item while map ↵Kevin9-28/+197
server is running. - Delete any item from inventory/cart/open storages that went missing during the reload. - Delete item from any shop that has this item. - Refresh item screen for anyone who has a shop open. - Delete mob db drop table references. - Delete item from storage during load if it isn't in the item db. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26Added script function hasquest.Kevin4-0/+25
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12660 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26Uncommented and cleaned up the OnGuildBreak code.Kevin1-6/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26Cleaned up auth system after change back to map server request.Kevin3-88/+72
- Created function set_char_charselect to get rid of some of the "special case" variables. - Removed code that involved the char server sending auth data at char select. - Changed char select code to update the instance of the char data in the DB to fix map/sex info not being propagated to auth request. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12658 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26Added WoE SE castles to castles.txt in save-tmpl.L0ne_W0lf2-0/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-26Fixed escape problem in jobs/novice/novice.txttoms2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12654 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25Updated item_db.sql to latest (Changelog)toms1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12653 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25Updated item_db.sql to latesttoms1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12652 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25Fixed bugreport:1223 (Invalid Items In Shops Are Processed Incorrectly)toms2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12650 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25* Modified delitem/delitem2 to have the same behaviour as getitem/getitem2 ↵toms3-26/+39
(optional account_id parameter) bugreport:1035 * Modified doc in consequence git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12648 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-24* Fixed hugel_bingo making an unneeded infinite loop bugreport:1349toms4-7/+10
* Partially fixed bugreport:1285 (item 13697) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12646 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-24Corrected a typo error ';;' bugreport:919toms2-2/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12645 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-23Changed @reloaditemdb again to only unload items from item_db2. Also byte ↵Kevin2-14/+31
aligned the item_data struct a bit. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12643 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-23* Fixed script strings not being handled properly (only skipped the \).FlavioJS4-6/+54
* Added skip_escaped_c to strlib.c/h. * Fixed sv_unescape_c not handling hex/octal escapes properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12639 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-23* Script parse errors displayed with one ShowError instead of several ↵FlavioJS3-15/+20
ShowMessage's. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12637 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-22Accidentally commit my test db. >_>Kevin1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12636 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-22Changed itemdb_reload to clear the database before reloading, so it is ↵Kevin3-2/+14
possible can remove an item from the DB without restarting the server (bugreport:1348) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-22Fixed a "bug" in sv_readdb under windows and cygwin configured as ↵toms2-1/+4
"Unix/binary" for text files ('\r' is read and empty lines are not skipped) bugreport:1382 bugreport:1401 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12634 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21* Changed the data field of timers from int to intptr.FlavioJS39-140/+142
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21* Added intptr/uintptr to cbasetypes.h (integers with the same size as a ↵FlavioJS2-0/+13
pointer). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12632 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21* Changed Sacrifice status to end on caster's death, not at 25% HP.L0ne_W0lf2-13/+12
- Should also fix over-flow damage returning to sacrificed targets. Partially fixes bugreport:1332 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12631 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21Updated sql files to latesttoms2-7/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12630 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21Fixed yet another WoE SE Bug (Juno castle 3)L0ne_W0lf2-6/+8
Go go gadget revision counter! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12629 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21Fixed another WoE SE Bug. (wrong target for donpcevent)L0ne_W0lf2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12628 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21Fixes to WoE SE Juno castles 1, 2, and 3. (copy/paste issues)L0ne_W0lf4-9/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12627 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21Made some cleanup in changesextoms5-14/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12626 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21Further fixed bugreport:1371.L0ne_W0lf2-8/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12625 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21Fixed bugreport:1390, bugreport:1394, bugreport:1396. L0ne_W0lf12-24/+38
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12624 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-20* Several updates from Trunkzephyrus2-2/+2
- Merged the new Auth process to avoid double logins. - Merged official adoption process. - Removed @gm command. - Cleaning of MAX_ACCOUNT_ID and MAX_CHAR_ID - Update of the online user count (map_getusers) NOTE: i will do a second check to see if i forget something else. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-19Fixed a bug in (init/start/stop)npctimertoms2-28/+47
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-18fixed mapserv crash (divide by zero in Earthquake)Lupus2-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12618 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-18* Fixed a bug when unloading a npc near a shop.toms2-25/+39
* Fixed npc_buylist not giving/checking the good item when it was an item_avail in the shop (the real one was added in inventory). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12616 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-18Implemented config setting 'vending_over_max', to let people configure the ↵ultramage6-0/+17
behavior of vending items over the MAX_ZENY limit. Default/official setting is 'yes', which makes players lose zeny that they cannot hold. Adjust as needed. This re-adds the behavior from before r11344 (see topic:180568). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12614 54d463be-8e91-2dee-dedb-b68131a5f0ec