Directory server/

Total Files:
47
Deleted Files:
5
Lines of Code:
55994

[root]/server

Lines of Code

server/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 3032 (100.0%) 83303 (100.0%) 27.4
ryo_saeba 1142 (37.7%) 24663 (29.6%) 21.5
akirschbaum 816 (26.9%) 23747 (28.5%) 29.1
anmaster 143 (4.7%) 17593 (21.1%) 123.0
mwedel 258 (8.5%) 6110 (7.3%) 23.6
partmedia 353 (11.6%) 2875 (3.5%) 8.1
aaron_baugher 7 (0.2%) 2873 (3.4%) 410.4
gros 51 (1.7%) 1325 (1.6%) 25.9
quinet 44 (1.5%) 1145 (1.4%) 26.0
kbulgrien 57 (1.9%) 807 (1.0%) 14.1
silvernexus 69 (2.3%) 757 (0.9%) 10.9
cavesomething 13 (0.4%) 675 (0.8%) 51.9
qal21 63 (2.1%) 519 (0.6%) 8.2
tchize 6 (0.2%) 146 (0.2%) 24.3
kstenger 6 (0.2%) 36 (0.0%) 6.0
rjtanner 1 (0.0%) 17 (0.0%) 17.0
lalo 1 (0.0%) 13 (0.0%) 13.0
meflin2 1 (0.0%) 1 (0.0%) 1.0
alestan 1 (0.0%) 1 (0.0%) 1.0

Most Recent Commits

partmedia 2019-09-24 19:19 Rev.: 21017

Check return value from crypt_string()

7 lines of code changed in 1 file:

  • server: server.c (+7 -1)
partmedia 2019-08-31 11:25 Rev.: 20993

Sleep in select() instead of usleep()

This allows us to handle commands from the client as soon as they
arrive, reducing the command-handling latency.

1 lines of code changed in 1 file:

  • server: server.c (+1 -2)
partmedia 2019-08-31 11:25 Rev.: 20992

Add separate loop to send updates to player

Now do_server() only needs to handle input from the clients. Periodic
updates are handled by send_player_updates().

1 lines of code changed in 1 file:

  • server: server.c (+1)
partmedia 2019-08-31 11:24 Rev.: 20991

Stop double-subtracting player speed

Player speed is subtracted in do_server() when commands are processed
from the client. It is subtracted again in process_events(), because
players are just objects. This means that even when players are sitting
around, a command might not be processed immediately because the player
used up all their speed in process_events().

Player objects now process_object() at an effective speed of 1.0, as
long as they didn't consume all of their speed handling commands. This
allows the first command to always be processed immediately and reduces
latency.

10 lines of code changed in 1 file:

  • server: server.c (+10 -5)
partmedia 2019-08-31 11:15 Rev.: 20990

Remove extra call to handle_client()

0 lines of code changed in 1 file:

  • server: player.c (-8)
partmedia 2019-08-31 11:14 Rev.: 20988

Refactor game loop

12 lines of code changed in 1 file:

  • server: server.c (+12)
partmedia 2019-08-30 01:08 Rev.: 20987

Factor out code for 'goto' command

14 lines of code changed in 2 files:

  • server: c_move.c (+13), c_wiz.c (+1 -13)
partmedia 2019-08-30 01:08 Rev.: 20986

Show correct drain message on death

1 lines of code changed in 1 file:

  • server: player.c (+1 -1)
partmedia 2019-08-30 01:08 Rev.: 20983

Add slow_living_by()

39 lines of code changed in 1 file:

  • server: attack.c (+39 -26)
partmedia 2019-08-29 23:54 Rev.: 20982

Merge duplicate code

3 lines of code changed in 1 file:

  • server: gods.c (+3 -20)
partmedia 2019-08-25 20:45 Rev.: 20979

Clarify warning

6 lines of code changed in 2 files:

  • server: account.c (+3 -2), account_char.c (+3 -2)
partmedia 2019-08-15 01:41 Rev.: 20956

Refactor food apply method

Add MAX_FOOD. Factor common eating effects into eat_common(). Subject
dragons to cursed food effects. Update message sent to player when
eating too much food.

8 lines of code changed in 3 files:

  • server: attack.c (+2 -2), player.c (+3 -3), spell_effect.c (+3 -3)
partmedia 2019-08-12 23:40 Rev.: 20953

Invert logic for clarity

8 lines of code changed in 1 file:

  • server: swap.c (+8 -13)
partmedia 2019-08-12 23:39 Rev.: 20952

Clean up temporary files on exit

While here, document what is really going on in clean_tmp_files().

15 lines of code changed in 1 file:

  • server: server.c (+15 -22)
partmedia 2019-08-11 23:12 Rev.: 20948

Check for object existence after running eventfunc

4 lines of code changed in 1 file:

  • server: plugins.c (+4)
partmedia 2019-08-10 23:08 Rev.: 20942

Stop destroying items based only on die roll

Always look at the material type and resistances. Previously, immune
objects could still be destroyed by attacks; for example, ice storm
could cause an ice cube to unfreeze.

0 lines of code changed in 1 file:

  • server: attack.c (-2)
partmedia 2019-08-10 23:07 Rev.: 20940

Post-decrement food field

An item with one food left should not be removed immediately.

1 lines of code changed in 1 file:

  • server: time.c (+1 -1)
partmedia 2019-08-10 23:07 Rev.: 20939

Make objects in icecubes decay slower

12 lines of code changed in 1 file:

  • server: server.c (+12 -3)
partmedia 2019-08-10 23:07 Rev.: 20938

Refactor

40 lines of code changed in 1 file:

  • server: attack.c (+40 -36)
partmedia 2019-08-10 17:16 Rev.: 20936

Deduplicate code

13 lines of code changed in 1 file:

  • server: c_wiz.c (+13 -17)
partmedia 2019-08-10 17:16 Rev.: 20935

Add login message for new characters with accounts

1 lines of code changed in 1 file:

  • server: login.c (+1 -1)
partmedia 2019-08-08 23:14 Rev.: 20927

Avoid double-linking LIBS

1 lines of code changed in 1 file:

  • server: Makefile.am (+1 -1)
partmedia 2019-07-12 17:12 Rev.: 20911

Terminate salt to avoid buffer overflow

2 lines of code changed in 1 file:

  • server: server.c (+2 -1)
partmedia 2019-04-29 16:39 Rev.: 20763

Fix unmake_perma_dead() for logged-in accounts

If an account whose character is being resurrected is currently logged in,
the original function would update the character's isDead attribute on
disk without updating the version in memory. Subsequently, when the
account logs out, the version in memory would overwrite the changes.

Fix by obtaining the character list from memory if an account is
currently logged in.

8 lines of code changed in 1 file:

  • server: account_char.c (+8 -2)
rjtanner 2019-04-22 01:36 Rev.: 20748

Patch #357 Balancing changes to the summoning branch. Failed summons via Summoning skill no longer cost spell points.

17 lines of code changed in 1 file:

  • server: spell_util.c (+17 -5)
partmedia 2019-03-27 14:10 Rev.: 20738

Assert op is on a map before moving object

1 lines of code changed in 1 file:

  • server: player.c (+1)
partmedia 2019-03-27 14:10 Rev.: 20736

Improve more error messages

3 lines of code changed in 3 files:

  • server: apply.c (+1 -1), attack.c (+1 -1), skill_util.c (+1 -1)
akirschbaum 2019-02-09 06:08 Rev.: 20711

Use proper prototypes

1 lines of code changed in 1 file:

  • server: init.c (+1 -1)
partmedia 2019-01-30 02:01 Rev.: 20704

Improve error message

1 lines of code changed in 1 file:

  • server: time.c (+1 -1)
partmedia 2019-01-28 02:25 Rev.: 20699

Add setting to always use crypt(3)

Add new 'crypt_mode' setting. When set to 0 or left unset, preserve the
legacy behavior of not hashing passwords on Windows and FreeBSD. When
set to 1 (set for new installations), always use crypt(3).

This setting is also useful for hosting player files, originally created
on Linux, on FreeBSD.

12 lines of code changed in 2 files:

  • server: init.c (+7), server.c (+5 -3)
partmedia 2019-01-25 23:16 Rev.: 20697

Prevent NULL dereference when arch doesn't exist

12 lines of code changed in 1 file:

  • server: spell_util.c (+12 -2)
partmedia 2019-01-14 10:59 Rev.: 20692

Add option to always enable HP bars

The new 'always_show_hp' server option enables accurate HP bars for all
living players and monsters, as if a high-level 'probe' spell was always
in effect.

Sponsored by: Titus
Tracker: feature-requests/250

11 lines of code changed in 2 files:

  • server: init.c (+10), spell_effect.c (+1 -1)
silvernexus 2019-01-04 22:31 Rev.: 20677

Another refactor of the load_factor so that it approaches zero at full encumbrance instead of .5.

9 lines of code changed in 1 file:

  • server: skills.c (+9 -4)
silvernexus 2019-01-03 22:56 Rev.: 20676

Penalize high encumbrance in throwing calculations instead of reward it.

12 lines of code changed in 1 file:

  • server: skills.c (+12 -3)
partmedia 2018-12-31 21:33 Rev.: 20668

Fix godpower resistance in bless spells

The documentation and archetypes suggest that 'bless' and 'holy
possession' should grant godpower resistance, but they currently do not
because resistances are copied from the god's granted resistances with
some limiting.

Fix by explicitly setting godpower resistance from the spell_op.

5 lines of code changed in 1 file:

  • server: spell_effect.c (+5 -1)
partmedia 2018-12-31 14:56 Rev.: 20662

Fix missing parenthesis around negation

Logical negation (!) has higher precedence than equality. Parenthesis
are needed to make the comparison function as intended. Fix by adding a
IS_PLAYER macro, and in another case by adding parenthesis.

6 lines of code changed in 5 files:

  • server: build_map.c (+1 -1), c_misc.c (+1 -1), c_object.c (+1 -1), knowledge.c (+2 -2), spell_util.c (+1 -1)
silvernexus 2018-12-30 21:06 Rev.: 20659

Simplify melee weapon auto-pickup to not care about chairs and tables.
Those have not been weapons since 2011.

8 lines of code changed in 1 file:

  • server: player.c (+8 -15)
silvernexus 2018-12-30 00:02 Rev.: 20652

Make some notes to try to reduce the likelihood of repeat incorrect optimizations in hiscore.c

1 lines of code changed in 1 file:

  • server: hiscore.c (+1)
partmedia 2018-12-28 23:42 Rev.: 20646

Clean up

6 lines of code changed in 1 file:

  • server: player.c (+6 -9)
partmedia 2018-12-28 23:42 Rev.: 20645

Simplify logic

4 lines of code changed in 1 file:

  • server: player.c (+4 -3)

(1493 more)

Generated by StatSVN 0.7.0