Kevin
e78798984a
Changed itemdb_reload to clear the database before reloading, so it is possible can remove an item from the DB without restarting the server (bugreport:1348)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12635 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-22 22:02:54 +00:00
toms
4c74bd7ac6
Fixed a "bug" in sv_readdb under windows and cygwin configured as "Unix/binary" for text files ('\r' is read and empty lines are not skipped) bugreport:1382 bugreport:1401
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12634 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-22 15:13:32 +00:00
FlavioJS
c880052f0f
* Changed the data field of timers from int to intptr.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12633 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21 21:34:31 +00:00
FlavioJS
cbbf504bca
* Added intptr/uintptr to cbasetypes.h (integers with the same size as a pointer).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12632 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21 21:32:26 +00:00
L0ne_W0lf
7708c0c766
* Changed Sacrifice status to end on caster's death, not at 25% HP.
...
- Should also fix over-flow damage returning to sacrificed targets. Partially fixes bugreport:1332
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12631 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21 21:22:33 +00:00
toms
ccb23efe49
Made some cleanup in changesex
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12626 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21 16:19:25 +00:00
zephyrus
7c9411922a
* Several updates from Trunk
...
- 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://svn.code.sf.net/p/rathena/svn/trunk@12621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-20 16:17:24 +00:00
toms
443c56e21f
Fixed a bug in (init/start/stop)npctimer
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-19 15:37:18 +00:00
Lupus
ba5c9df29d
fixed mapserv crash (divide by zero in Earthquake)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12618 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-18 19:43:31 +00:00
toms
2577ffdf25
* Fixed a bug when unloading a npc near a shop.
...
* 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://svn.code.sf.net/p/rathena/svn/trunk@12616 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-18 14:33:31 +00:00
ultramage
b7b80e5c97
Implemented config setting 'vending_over_max', to let people configure the 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://svn.code.sf.net/p/rathena/svn/trunk@12614 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-18 08:12:55 +00:00
ultramage
45f1ef5202
Modified sv_readdb to be able to process non-native line terminators (bugreport:1382)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12610 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-17 10:50:28 +00:00
zephyrus
bb98e43f3c
- Some mistake from someone but OMG!
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-17 00:51:15 +00:00
ultramage
70e34f81cd
Fixed an issue in r12575 where 'not setting char offline when going from mapserver to charserver' also caused a permanent account lockout if the player pressed 'cancel' in the char select screen.
...
Merged some recent changes from SQL to TXT, as someone didn't bother to do it.
Ifdefed the quest data request code as SQL-only (this was causing server disconnects whenver someone logged in).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12606 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-16 07:48:53 +00:00
toms
034920992e
Use the same code for script commands getitem & getitem2 as @item to avoid bug in bugreport:1324 (non-stackable items are stacked)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12603 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15 18:37:06 +00:00
toms
7d3d258492
Used a forward declaration of the struct quest instead of including mmo.h
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12600 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15 14:57:00 +00:00
ultramage
9609149c15
* Corrected some invalid syntax in skill_db.txt (wrong usage of commas)
...
* Renamed BA_FROSTJOKE to BA_FROSTJOKER (aegis server-side name)
* Implemented a generic framework for parsing delimited db files (allows specifying min/max column ranges and max number of rows to read)
* Corrected a typo in quest_update_objective()
* Cleaned up pc.c a bit
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12599 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15 13:49:40 +00:00
FlavioJS
f2fd4cde62
* Fixed a possible crash in char_sql. (since r12575, later modified in r12590).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12593 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 20:22:48 +00:00
toms
73df203735
Fixed a memory leak in mapif_quests_fromsql
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12592 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 15:01:04 +00:00
toms
92f9bf6a8c
Fixed a typo in char_sql/char.c
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12591 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 14:22:54 +00:00
toms
e61bf34e4f
Fixed a bug in the disconnection part char-server (not sending you offline)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12590 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 13:48:25 +00:00
Kevin
a653b4e2d6
Removed some unused variables that appeared in the last commit (r12584).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12585 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 02:45:11 +00:00
Kevin
236c7cba43
Some more updates to the quest log system. It has been completely moved to the inter server instead of the char server.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 02:32:24 +00:00
FlavioJS
dcf71ce50b
* Followup to r12579 (all other players appeared as female on sql branch).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12583 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-14 01:11:21 +00:00
Kevin
302adbf42a
Major updates to the quest system.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-13 22:19:02 +00:00
toms
d7355c9899
Added an include in clif.h to avoid a complaint of gcc
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12580 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-13 18:47:42 +00:00
FlavioJS
49aac80ed6
* Quick&dirty reversal of the inter-server behaviour introduced in r3255/r3256:
...
- the behaviour enabled a desynch between the char-server and the map-server
- now the map-server asks the char-server to authenticate the auth info (the char-server doesn't send the auth info immediatelly)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12579 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-13 18:31:49 +00:00
toms
cdb7323335
Changed LOG_ALL definition to really log everything
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12577 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-13 15:49:04 +00:00
Kevin
69114a1c7d
Login will no longer set character offline when going from map to character select.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12575 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-13 05:14:01 +00:00
ultramage
67d29ff3b7
... but not with a buggy tool (missing svn:props)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12574 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-12 09:19:31 +00:00
ultramage
0c69d0879c
the proper way to use version control
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12573 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-12 09:15:55 +00:00
Kevin
2c1144e804
TXT code has been re uploaded. Please note this does not change the fact that TXT support has been dropped. There is no guarantee the code base will be managed and it will in the near future be REMOVED. If there is in ANY way TXT support in the future, it will be abstracted through a sql interface so only the sql code has to be maintained.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12572 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-12 08:43:29 +00:00
Kevin
fe1fd152a7
Updated visual studio 9 files to reflect TXT support removal.
...
Added txt server code to the txt converter directories to maintain the txt converter programs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12571 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-12 08:12:18 +00:00
Kevin
ace648245b
I live in a giant bucket.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12570 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-12 07:59:42 +00:00
Kevin
fc2bec97d7
At char select, the char server will set character to server -2 (server unknown) rather then -1 (at char select) and will be changed to the map server id once the character loads in.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12569 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11 23:10:14 +00:00
zephyrus
3f1e9f8d9b
- Added code to remove a trap when it dies.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11 16:34:50 +00:00
ultramage
00a5bccbd3
The max_account_id packetver detection mechanism will never cause any connection problems ever again. (bugreport:388)
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12563 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11 09:31:32 +00:00
ultramage
65ea169212
Reverted the login
table changes from r12464
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11 07:45:26 +00:00
Kevin
e889fc9d62
Changed eol-style to native for these files.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11 07:28:27 +00:00
Kevin
ffa3b60fc0
Finished most of the quest log code, still bits here and there but it's usable now.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12558 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11 07:12:45 +00:00
Kevin
12aff369d9
Some quest log changes and removed one of the set char offline calls that was added in revision 12552.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12557 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11 02:42:30 +00:00
Kevin
9bcdb353a4
More questlog code.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12556 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11 01:38:41 +00:00
zephyrus
1c7cf5aa3e
- Fixed a bug in de-adopt code (parent skills need to be removed).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12555 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11 00:42:34 +00:00
Kevin
7a04bbfed2
Crash fix for (r12552).
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12554 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-10 22:11:35 +00:00
Kevin
c62b5e223f
Lolwhoops.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12553 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-10 21:45:03 +00:00
Kevin
3c7a81a079
Client not marked online until map receives auth request from the client and is approved. Also added some online/offline sets to the auth system that were being looked over and not properly updating the char server as to what's going on.
...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12552 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-10 21:28:27 +00:00
ultramage
fd5f918452
Modified the charservers to use a DBMap instead of a cyclic array for auth data.
...
Merged the auth fix from r12473 to TXT as well.
Removed the no-op from r12547.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12551 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-10 19:07:00 +00:00
L0ne_W0lf
977a966a6c
* Reverted the change to MAX_SQUARE_LAYOUT.
...
* Evil Land will always as a 3x3 animation.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12550 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-10 16:49:00 +00:00
zephyrus
d6c303341b
- Fixed Max Guardians max = 8 (no need to increase this value for woe 2.0 as non indexed guardians are set outside of the array).
...
- Hunter traps have 3500 HP, they are not removed by just one hit. (This also fix the bug you can't move traps with arrow shower).
- Some cleanups.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12549 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-10 15:40:48 +00:00
L0ne_W0lf
83f22f6584
* Updated NPC skill "Evil Land". More gravity wtfage.
...
- Based on visual observation, and experience with it on iRO Sakray.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-10 15:16:27 +00:00