Directory socket/

Total Files:
12
Deleted Files:
2
Lines of Code:
7500

[root]/socket

Lines of Code

socket/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 555 (100.0%) 11312 (100.0%) 20.3
mwedel 73 (13.2%) 2496 (22.1%) 34.1
akirschbaum 136 (24.5%) 2250 (19.9%) 16.5
aaron_baugher 3 (0.5%) 2114 (18.7%) 704.6
ryo_saeba 169 (30.5%) 1726 (15.3%) 10.2
anmaster 36 (6.5%) 1527 (13.5%) 42.4
partmedia 95 (17.1%) 777 (6.9%) 8.1
silvernexus 15 (2.7%) 157 (1.4%) 10.4
kbulgrien 14 (2.5%) 118 (1.0%) 8.4
gros 2 (0.4%) 93 (0.8%) 46.5
quinet 7 (1.3%) 27 (0.2%) 3.8
kstenger 2 (0.4%) 20 (0.2%) 10.0
cavesomething 1 (0.2%) 4 (0.0%) 4.0
kfitzner 2 (0.4%) 3 (0.0%) 1.5

Most Recent Commits

partmedia 2020-04-13 01:00 Rev.: 21204

Prune removed objects from last_skill_ob

Skill objects can apparently be removed, but will remain on the
last_skill_ob list. This causes NULL dereferences when they are used.

18 lines of code changed in 1 file:

  • socket: request.c (+18 -9)
partmedia 2020-03-20 19:28 Rev.: 21182

Ignore sound_chance

0 lines of code changed in 1 file:

  • socket: sounds.c (-6)
partmedia 2020-03-13 12:58 Rev.: 21155

Fix warning by marking argument unsigned

1 lines of code changed in 1 file:

  • socket: lowlevel.c (+1 -1)
partmedia 2020-03-13 12:58 Rev.: 21154

Use strlcpy() instead of snprintf()

2 lines of code changed in 1 file:

  • socket: item.c (+2 -2)
partmedia 2020-03-08 20:49 Rev.: 21142

Report skipped time in milliseconds

1 lines of code changed in 1 file:

  • socket: loop.c (+1 -1)
ryo_saeba 2020-03-02 14:42 Rev.: 21124

Allow multiple skills to share the same subtype.
This is useful for skills like harvesting (fishing, mining, and such) which work similarly and only differ in the skill.
As a side-effect, skill_names is no more indexed by the skill's subtype.

4 lines of code changed in 2 files:

  • socket: request.c (+3 -3), requestinfo.c (+1 -1)
partmedia 2020-02-11 17:36 Rev.: 21104

Log connection information

5 lines of code changed in 2 files:

  • socket: loop.c (+1), request.c (+4 -2)
partmedia 2020-02-11 17:36 Rev.: 21103

Update project URL

2 lines of code changed in 1 file:

  • socket: request.c (+2 -5)
silvernexus 2020-01-16 17:40 Rev.: 21086

Replace assertion of non-null cmd in handle_cmd.
Fuzz testing produced a scenario where a null command was generated out of strtok_r in handle_client

9 lines of code changed in 1 file:

  • socket: loop.c (+9 -1)
partmedia 2019-12-27 02:33 Rev.: 21066

Do not send upditem for unsent items

Sometimes, we try to update an item that we haven't sent to the client.
Don't! This can happen, for example, when a button under the floor gets
toggled, but objects under floor tiles are generally not sent. There are
some other places where this happens that we haven't tracked down, but
in general, just don't.

7 lines of code changed in 1 file:

  • socket: item.c (+7 -5)
partmedia 2019-12-27 02:21 Rev.: 21065

Improve findsmooth warning

Try to find a smoothing face, or the default smoothing face. If this
fails, set NS_FACESENT_SMOOTH so we don't try to send it again.

Failures are usually due to map makers changing the face of a ground
tile, but forgetting to unset smoothlevel.

10 lines of code changed in 1 file:

  • socket: request.c (+10 -6)
partmedia 2019-12-16 16:29 Rev.: 21053

Stop logging normal conditions as errors

5 lines of code changed in 2 files:

  • socket: loop.c (+3 -1), lowlevel.c (+2 -2)
silvernexus 2019-12-04 20:37 Rev.: 21051

Defererence pl->contr once in draw_client_map2, and assume it will not change in the middle.

26 lines of code changed in 1 file:

  • socket: request.c (+26 -24)
silvernexus 2019-12-04 20:04 Rev.: 21050

Silence warning from snprintf overflow potential.

1 lines of code changed in 1 file:

  • socket: request.c (+1 -1)
silvernexus 2019-12-04 19:27 Rev.: 21049

Reduce dereferences in draw_client_map2

6 lines of code changed in 1 file:

  • socket: request.c (+6 -3)
silvernexus 2019-12-03 19:49 Rev.: 21048

Make draw_client_map2 a static function, since it is used only in request.c.

1 lines of code changed in 1 file:

  • socket: request.c (+1 -1)
silvernexus 2019-12-01 12:15 Rev.: 21044

Add amount over to message for ticks longer than server tick time.

1 lines of code changed in 1 file:

  • socket: loop.c (+1 -1)
partmedia 2019-11-27 18:16 Rev.: 21035

Add warning about failing to initialize curl

2 lines of code changed in 1 file:

  • socket: metaserver.c (+2)
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.

58 lines of code changed in 1 file:

  • socket: loop.c (+58 -53)
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().

53 lines of code changed in 1 file:

  • socket: loop.c (+53 -32)
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.

1 lines of code changed in 1 file:

  • socket: request.c (+1 -1)
partmedia 2019-08-31 11:15 Rev.: 20989

Remove unused writefds

3 lines of code changed in 1 file:

  • socket: loop.c (+3 -5)
partmedia 2019-08-31 11:14 Rev.: 20988

Refactor game loop

5 lines of code changed in 1 file:

  • socket: loop.c (+5 -18)
partmedia 2019-08-10 17:16 Rev.: 20935

Add login message for new characters with accounts

4 lines of code changed in 1 file:

  • socket: request.c (+4)
partmedia 2019-08-09 14:57 Rev.: 20929

Refactor

21 lines of code changed in 1 file:

  • socket: init.c (+21 -18)
partmedia 2019-08-09 14:57 Rev.: 20928

Remove manual output socket buffer handling

Our manual buffer code doesn't handle partial writes. While logging in a
client, this sometimes causes the server to skip the tail of a partial
write, resulting in corrupt data being sent to the client.

Instead of handling this issue ourselves, grow the OS output socket
buffer to SOCKETBUFSIZE and disconnect the client if this buffer ever
gets filled, consistent with current behavior, only now it also works
during login.

27 lines of code changed in 3 files:

  • socket: init.c (+1 -4), loop.c (-16), lowlevel.c (+26 -134)
partmedia 2019-01-28 02:24 Rev.: 20698

Lower socket error severity

2 lines of code changed in 1 file:

  • socket: lowlevel.c (+2 -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

22 lines of code changed in 1 file:

  • socket: request.c (+22 -11)
silvernexus 2018-12-23 01:20 Rev.: 20616

Refactor spell_client_use to utilize a switch statement instead of six ifs.

19 lines of code changed in 1 file:

  • socket: request.c (+19 -18)
partmedia 2018-09-01 15:59 Rev.: 20583

Make messages from metaserver errors

1 lines of code changed in 1 file:

  • socket: metaserver.c (+1 -1)
partmedia 2018-08-18 16:07 Rev.: 20580

Print more useful error

6 lines of code changed in 1 file:

  • socket: metaserver.c (+6 -2)
partmedia 2018-08-18 16:07 Rev.: 20579

Increase metaserver message verbosity

1 lines of code changed in 1 file:

  • socket: metaserver.c (+1 -4)
partmedia 2018-08-18 16:06 Rev.: 20578

Refactor metaserver form building

30 lines of code changed in 1 file:

  • socket: metaserver.c (+30 -29)
silvernexus 2018-01-21 13:55 Rev.: 20550

Reorder conditions to prevent segfault if pl is null in esrv_remove_spell.
Identified by CppCheck

4 lines of code changed in 1 file:

  • socket: request.c (+4 -3)
partmedia 2017-06-02 11:49 Rev.: 20378

Use correct function to get region name

1 lines of code changed in 1 file:

  • socket: sounds.c (+1 -4)
partmedia 2017-06-02 01:06 Rev.: 20376

Add missing region null check

Reported by: Nixtarma

4 lines of code changed in 1 file:

  • socket: sounds.c (+4 -1)
partmedia 2017-05-28 00:00 Rev.: 20361

Play region music if a map doesn't have music

Update background music in more cases where the player moves due to
entering a map, teleporting, spells, or other means.

15 lines of code changed in 1 file:

  • socket: sounds.c (+15)
partmedia 2017-05-18 21:28 Rev.: 20350

Improve password hashing interface functions

1 lines of code changed in 1 file:

  • socket: request.c (+1 -1)
partmedia 2016-08-03 19:30 Rev.: 20301

Fix overflows by using calloc() correctly

1 lines of code changed in 1 file:

  • socket: loop.c (+1 -1)
partmedia 2015-12-09 23:24 Rev.: 20143

Log messages that are broadcast to all players

1 lines of code changed in 1 file:

  • socket: info.c (+1)

(304 more)

Generated by StatSVN 0.7.0