summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-12-21- Moved md5calc to commonFlavioJS41-5238/+4740
- Answered Skotlex's question and fixed "warning: comparison is always false due to limited range of data type" by restricting script words to ASCII characters only. - Applied "svn:eol-style native" to makefiles and project files git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9544 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20* NPC_CHANGEUNDEAD is now "target" for all mobsPlaytester2-6/+8
- all other NPC_CHANGE skills stay "self" git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9543 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20Fixed #endif instead of #elseKarLaeda1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9542 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20- Changed some %lu (long unsigned int) to %u (unsigned int)skotlex1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20- Fixed the #if -> #ifdef mess up -.-skotlex1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9540 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20- Moved PACKETVER to mmo.h, and added support for the expanded character ↵skotlex4-6/+35
info window on the char-server when PACKETVER is above 7. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20- Fixed ISSPACE and ISALPHA casting their returned value to a char. These ↵skotlex2-2/+5
are "bool" functions, and as such return an non-zero int as result, casting them to char just... really messes things up when the returned value is out of the CHAR_MAX/CHAR_MIN range! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9538 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20- Added an answer to a FlavioJS's comment, and added a question myself ↵skotlex6-135/+179
(npc.c/script.c respectively) - Fixed add_str in script.h not being updated to const char as well. But why do we really need such a script-engine low-level function exposed to the rest of files? :/ - Moved the strip unequip code to before deleting the timer, this fixes trying to "re-strip" someone causing the skill to fail and on top of that terminate their current strip effect. - Added an ugly work around to the issue of skills with additional effect causing opt1 status when they have just terminated them (in short, you shouldn't be able to hit someone with, say, sleep, and then have the same skill cause them stun, since both are opt1 values). - Reading of TK Mission variables will now happen if you are a TK-class character regardless of whether you know TK_MISSION or not. Should fix being able to reset skills to reset your Mission data. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9537 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20- Now root script functions calls can have parenthesis (will take any ↵FlavioJS5-44/+68
parenthesis after the function as the start of the argument list). This means "func (exp),exp;" isn't valid anymore and has to be changed to "func exp,exp;" or "func((exp),exp);" or something like that. - Updated swordman.txt and knight.txt accordingly. Only changed this because it was very annoying when I was creating the sample localized npc. Don't expect more changes unless something similar happens again. Bottom line: we're in soft feature freeze and moving to eApp... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20Commented some items that seem to crash the kRO clientPlaytester2-22/+23
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9535 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20* Made NPC_CHANGE self targetted for all mobsPlaytester3-4/+8
- it should either be self or target for all but not mixed up - fixed up Parasite and Peach Tree AI git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9534 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20- Replaced our fix for "mes ();" crashing by jA's version. see trunk[8867] ↵FlavioJS2-59/+100
and stable[8927] - Merged the fix for & having the same precedence as << and >> from jA. - Merged the C_OP3 operator from jA: test ? if_true : if_false git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9533 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20- Changed the script source from unsigned char* to const char*.FlavioJS8-462/+455
- Updated plugins Makefile. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9532 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20- Fixed the meaning of stdout_with_ansisequence and changed the default ↵FlavioJS6-33/+35
value to no. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9531 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20- Fixed SC_STRIPWEAPON failing on two-handed weapons.skotlex3-6/+19
- Minor changes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9529 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-19Now Peach Tree can move, Parasite can'tPlaytester2-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9528 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-19- Fixed the setting hom_setting not being read at all.skotlex3-7/+3
- Minor cleanups git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9525 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-19- Added year to the dates in the npc changelogFlavioJS2-572/+664
- Added sample localized NPC git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-19- Added missing include of system header limits.h to timer.cskotlex1-2/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-19- Reverted the mob ThinkTime update, that field is again aDelay as it ↵skotlex9-23/+14
apparently should be. - Fixed one small compilation error. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9522 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-19- Cleanups or minor changes.FlavioJS6-164/+200
- Now addtick_timer invokes settick_timer, so keep an eye for whatever timer issues it's supposed to have. - Removed the flush_fifo from clif_parse_TickSend until the socket problems are fixed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9521 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-18- Updated POS2 macros. The 6th byte is subx0 and suby0FlavioJS2-18/+31
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-18- Added hom_setting to specify which homunculus 'quirks' are in effect. The ↵skotlex10-16/+54
default activates all of them, if you set them to 0 then homuncs will not be treated in any special matter, pretty much like standard mobs. if I missed any 'quirky' homunc behaviour from it, report it so it can be added to the list. - Made flooritem_lifetime a int so you can specify much longer life times (the default of 60k was already very close to the max of 65k) - Removed monster_ai 0x80 since it's now handled by hom_setting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9519 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-18- When walking into a Guild Dungeon your pvp_points will be set to 5 so you ↵skotlex5-33/+56
have to die twice before being warped out. - If jobchanging while disguised, the disguise will be removed, since it can't be kept and still calculate correctly the new job class to use. - Fuuma shurikens are now unbreakable code-wise (like all maces, books, etc) - Applied Meruru's patch to increase speed of easy path seeks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9518 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-18Fixed some swordsPlaytester2-4/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9517 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-18- Adding new maps to the map_index.txt and maps_athena.confeaac2-0/+32
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9516 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-18- Cosmetic changes to db.FlavioJS5-511/+413
- Fixed the unused MAPINDEX_AUTOADD section in mapindex.c (mapindex.h wasn't being included) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9515 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-18Fixed exploit in The Sign QuestKarLaeda2-0/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9513 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-17Fixed Owl Duke and Owl Baron losing boss mode on NPC_EMOTIONPlaytester2-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9511 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-16Updated some weapons and view idsPlaytester2-9/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9510 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-16Fixed prices of arrowsPlaytester2-10/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9509 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-16Update remaining headgearsPlaytester2-18/+20
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9508 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-16- Moved packet_len_table values to packet_db[SERVER].FlavioJS3-550/+585
- When an invalid packet_ver is found, all it's entries are discarted intead of just stopping the parsing. whew, I'm glad regular expressions exist. =D I'd also like to apologize for the previous revision. That build wouldn't work because I commented out the contents of packet_len_table, resulting in packet sizes being 0 (or whatever is the default value for variables). Got lazy, won't happen again... =X git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9507 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-16- Increased MAX_PACKET_DB to 0x300 and added a warning for when packet ids ↵FlavioJS3-5/+30
greater than MAX_PACKET_DB are found. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9506 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-15- There will be now warnings printed when a shop sells an item which's buy ↵skotlex5-3/+18
price is 20z, since those usually are "rare" items with no buyying price set. Note that this reports one fake, and that is the selling of a certain shuriken that indeed costs 20z. - Most likely fixed client crash when xmas/wedding status runs out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9505 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-15Reverted price of Mink CoatPlaytester2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9504 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-15Updated some more headgearsPlaytester2-12/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9503 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-14Added some new headgearsPlaytester2-0/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9502 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-14Updated various headgearsPlaytester2-215/+216
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9501 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-14- Removed "mobs being enemies of each other all the time" because, even ↵skotlex3-3/+6
though mobs can hit each other as they should, they will refuse to use support skills on enemies, which breaks several of their skills. Mobs can't both help and attack someone tagged as enemy D: I guess eA is just too smart to emulate Aegis's sloppy coding. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-14- Added function skill_strip to handle stripping code. The RG strip skills ↵skotlex7-134/+105
and GS_DISARM use it now. - Modified the strip-related status changes so they handle removing the equipped item instead of leaving it up to the skill-code. They return 0 when nothing could be stripped. - Cleaned some the MD_DETECTOR code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9499 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-14Capped Dex to 255 in the mob_dbPlaytester2-47/+48
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9498 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-14* Old Purple Box now drops Assassin_Mask_ instead of the old onePlaytester2-1/+4
- the old one got removed and will now crash the client git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9497 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-13- Additional damage bonuses (True Sight, EDP, Assassin Link, Crusader Link, ↵skotlex2-26/+33
Card skill damage bonuses) are now applied independently of each other, which lets them stack. - Some minor cleanings on the code vecinity. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9492 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-13Added two new pet eggsPlaytester2-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-13Modified flush_fifo so the code do what is written in the commenttoms2-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9489 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-13- Added boss mode (0x20) to a few mobs that were missing it.skotlex3-44/+46
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9487 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-13- Modified flush_fifo so you can decide whether to block the current thread ↵skotlex4-5/+13
or not until the data is sent. The server-tick reply no longer blocks the current thread. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9486 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-13- Fixed mobs being unable to attack anything... @.@skotlex2-16/+16
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9484 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-13Fixed exploit in the Slotted Sunglasses QuestKarLaeda2-4/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9483 54d463be-8e91-2dee-dedb-b68131a5f0ec