Shane Handley
e852e0cfab
- Update the stats of characters individually, reverting the change with
...
big combined updates.
- Add a timer to the stats persistence system and change the frequency
that it runs to 10s
- Seperate the loading of character data for the character list during
selection, and the full data we will grab during state creation. Ideally
additional persisted bits can get returned at the same point and added
to the ecs within the same block.
2020-05-13 09:14:09 +10:00
Shane Handley
0a6f9b860d
Gather all characters stats in the system, build one big query, rather than per-character queries.
2020-05-13 09:14:08 +10:00
Shane Handley
7c6c9f4302
Stats persistence
...
- Update client code to use persisted stats
- Add a system for stats persistence
- Add a basic scheduler to control duration between execution of
persistence systems
2020-05-13 09:14:08 +10:00
Shane Handley
e5853dbdd4
Initial models, migration and client code for stats persistence.
2020-05-13 09:14:08 +10:00
Acrimon
0993e9e146
Fix #556
2020-05-13 01:08:33 +02:00
CapsizeGlimmer
49d1225823
Tab completion code review suggestions
2020-05-11 18:02:21 -04:00
CapsizeGlimmer
3f76d1d702
Rework tp command - "/sudo player /tp" is short for "/sudo player /tp sudoer"
2020-05-10 19:17:34 -04:00
CapsizeGlimmer
9d118b55a0
Fixed player list tab completion
2020-05-10 19:17:17 -04:00
CapsizeGlimmer
b486de28ac
Implement tab completion of enums (/object /time /spawn) and numbers
2020-05-10 19:16:34 -04:00
CapsizeGlimmer
24fa23fef4
Initial client implementation of tab completion
2020-05-10 19:16:01 -04:00
CapsizeGlimmer
7ecea34f85
Server server::cmd depends on common::cmd
2020-05-09 21:50:51 -04:00
S Handley
5a13b54cbf
- Load characters after login.
...
- Make the character screen load with an empty character list from the server, send event to the server for character creation with data, but not yet saving them to the DB.
- Working but messy character saving to DB
- Add the character_data to the client, rather than keep it in the GLobalState.
2020-05-09 15:41:25 +00:00
CapsizeGlimmer
63826d1a50
Add optional argument to /get_items
2020-05-07 18:39:48 +00:00
Monty Marz
522e3493c5
Merge branch 'pfau/fix-animals' into 'master'
...
Fix animals not attacking
See merge request veloren/veloren!960
2020-05-04 16:59:33 +00:00
Monty Marz
b589c3fc71
Fix animals not attacking
2020-05-04 16:59:32 +00:00
Songtronix
1d88ec6295
server(cmd): add server version cmd
2020-05-04 17:59:53 +02:00
Monty Marz
89980284aa
Merge branch 'CapsizeGlimmer/functional_lanterns' into 'master'
...
Equipped lanterns now provide an illumination effect.
See merge request veloren/veloren!935
2020-05-04 15:15:31 +00:00
CapsizeGlimmer
4e7f8c686a
Equipped lanterns now provide an illumination effect.
2020-05-04 15:15:31 +00:00
protheory8
31c0457913
Fix #542 - Impose limits on admin commands
2020-05-04 14:50:58 +05:00
Joshua Yanovski
746a10e8d0
Merge branch 'master' of gitlab.com:veloren/veloren into sharp/small-fixes
2020-05-02 04:02:09 +02:00
Monty Marz
c792cc05a9
Villagers and Cultists
2020-04-30 20:43:24 +00:00
Joshua Yanovski
2c5ad9d076
Merge branch 'master' of gitlab.com:veloren/veloren into sharp/small-fixes
2020-04-27 22:35:24 +02:00
Joshua Barretto
8e0f40c71e
Added on_ceiling check for sticky entities
2020-04-26 17:56:09 +01:00
Joshua Barretto
eb23b0b2bd
Added Colliders, made projectiles point particles
2020-04-26 17:56:09 +01:00
Joshua Yanovski
bc2560ea90
Merge remote-tracking branch 'origin/master' into sharp/small-fixes
2020-04-25 23:48:33 +02:00
CapsizeGlimmer
2afa5d06b1
Fixed mutability in /sudo
2020-04-25 13:18:29 -04:00
Joshua Yanovski
44e4aad48d
Merge remote-tracking branch 'origin/master' into sharp/small-fixes
2020-04-25 02:01:04 +02:00
CapsizeGlimmer
29fd45eb52
/sudo player /kill
now lists the sudoer as killing the target
2020-04-24 12:17:56 -04:00
CapsizeGlimmer
bbbe03a033
Implement /sudo command
2020-04-23 22:36:19 -04:00
Joshua Barretto
2a6a19f7ef
fmt
2020-04-23 18:19:42 +01:00
Joshua Barretto
44ace13d85
Stopped player spawning underground
2020-04-23 18:19:42 +01:00
Joshua Barretto
982886b3f8
Made players spawn in the nearest town to the centre of the world, delete object.zip
2020-04-23 18:19:41 +01:00
Joshua Barretto
444f2ecb45
Made /waypoint admin-only, MR cleanup
2020-04-23 18:19:41 +01:00
Joshua Barretto
0329b355ef
Made civsim paths visible in-game
2020-04-23 18:19:41 +01:00
Pfauenauge90
98704a4753
turnip and window blocks
2020-04-23 18:19:41 +01:00
Joshua Barretto
6448c17110
Fixed sprite AO, overhauled entity spawning, better enemy spawning in dungeons, made agents more skilled at combat
2020-04-23 18:19:41 +01:00
Joshua Barretto
e3ebdc56b3
Fixed figure AO (still need to do sprite AO), added more control over NPC spawning, loot in dungeons
2020-04-23 18:19:41 +01:00
Songtronix
996eee0b42
change(server): rename settings file to server_settings.ron
2020-04-15 13:31:16 +02:00
Imbris
053458c2e3
Changelog and small fix
2020-04-12 18:41:09 +02:00
Imbris
c1c09dce1b
Enable unequipping as well as equipping to specific slots
2020-04-12 18:41:06 +02:00
Pfauenauge90
2263b9be95
starter chest, removed unused key commands
2020-04-12 18:41:02 +02:00
Pfauenauge90
85f9f80024
starter equip
2020-04-12 18:41:00 +02:00
Pfauenauge90
ca667fd02b
tooltips
2020-04-12 18:40:58 +02:00
Pfauenauge90
f5a768dccf
more armour types
2020-04-12 18:40:56 +02:00
Pfauenauge90
7f97fbac0b
cape item
2020-04-12 18:40:56 +02:00
Pfauenauge90
771baaaae5
cape item
2020-04-12 18:40:55 +02:00
Olexorus
7c0a3bafe6
Change how fall damage works
2020-04-10 12:03:15 +02:00
Joshua Yanovski
88342640c6
Merge branch 'sharp/map-colors' into sharp/small-fixes
2020-04-02 04:49:20 +02:00
Joshua Yanovski
32b2c99109
Horizon mapping and "layered" map generation.
...
Horizon mapping is a method of shadow mapping specific to height maps.
It can handle any angle between 0 and 90 degrees from the ground, as
long as know the horizontal direction in advance, by remembering only a
single angle (the "horizon angle" of the shadow map). More is explained
in common/src/msg/server.rs. We also remember the approximate height of
the largest occluder, to try to be able to generate soft shadows and
create a vertical position where the shadows can't go higher.
Additionally, map generation has been reworked. Instead of computing
everything from explicit samples, we pass in sampling functions that
return exactly what the map generator needs. This allows us to cleanly
separate the way we sample things like altitudes and colors from the map
generation process. We exploit this to generate maps *partially* on the
server (with colors and rivers, but not shading). We can then send the
partially completed map to the client, which can combine it with shadow
information to generate the final map. This is useful for two reasons:
first, it makes sure the client can apply shadow information by itself,
and second, it lets us pass the unshaded map for use with level of
detail functionality.
For similar reasons, river generation is split
out into its own layer, but for now we opt to still generate rivers on
the server (since the river wire format is more complicated to compress
and may require some extra work to make sure we have enough precision to
draw rivers well enough for LoD).
Finally, the mostly ad-hoc lighting we were performing has been (mostly)
replaced with explicit Phong reflection shading (including specular
highlights). Regularizing this seems useful and helps clarify the
"meaning" of the various light intensities, and helps us keep a more
physically plausible basis. However, its interaction with soft shadows
is still imperfect, and it's not yet clear to me what we need to do to
turn this into something useful for LoD.
2020-04-02 02:46:36 +02:00
Imbris
a73d010f7b
Point to newly released vek, add todo to reconsider empty item, remove uneeded ori slerp, remove agent from character behavior, add todos to combat sys, check if entities still exist before possessing & if possessed entity has a loadout move the active item into the second item space
2020-04-01 11:15:14 -04:00
AdamWhitehurst
e04fdd715e
expose and use blocking consts
2020-04-01 07:07:10 -07:00
Imbris
b3791a2b4e
Upgrade vek version so that it actually uses the patch
2020-03-30 19:44:51 -04:00
Imbris
f551c4a2c5
Move armor types to a new location, use a const for the moving cutoff in voxygen anims
2020-03-28 01:52:12 -04:00
Imbris
ba3fa16c33
Create Dir type for better enforcement of non NaN, normalized representations of directions
2020-03-27 22:02:07 -04:00
timokoesters
c6e635c511
Increase movement speed, make npcs slower than players
2020-03-27 18:39:26 +01:00
timokoesters
fe2aa7da7b
Merge remote-tracking branch 'origin/master' into combat
2020-03-26 23:43:33 +01:00
timokoesters
8010e5afb4
Better equip durations, fix roll bug, slow down while attacking, smoother gliding, stronger npcs, giants
2020-03-26 22:56:33 +01:00
timokoesters
b9c85b9beb
Balancing
2020-03-26 22:56:33 +01:00
Songtronix
604a6cf169
feat: log server version
2020-03-26 12:41:30 +01:00
Imbris
3889ec7292
climbing tweaks, fix triple strike overflow, fix Last<CharacterState>
...
not registered
2020-03-25 02:05:28 -04:00
Imbris
6ba158b7e1
Input handling changes
2020-03-25 01:38:37 -04:00
timokoesters
2117bb05d0
Healing staff
2020-03-24 22:03:11 +01:00
timokoesters
99e7e1f785
Split staff into 3 abilities
2020-03-24 14:00:22 +01:00
timokoesters
fbb24e7c8a
Even better fireballs
2020-03-23 22:52:35 +01:00
timokoesters
9d47fd8c3e
Better explosions
2020-03-23 18:13:14 +01:00
timokoesters
5194cef03a
Easier swimming, better damage calculation for explosions
2020-03-23 12:50:08 +01:00
timokoesters
f3ca06aa71
feat: fireball explosions
2020-03-22 20:40:16 +01:00
timokoesters
0456d3cbed
Better staff M1, random +1 damage, better attackrange,angle impl
2020-03-22 16:26:32 +01:00
Imbris
41c424ac13
Optimized uses of emitters, cleanup
2020-03-22 00:49:46 -04:00
timokoesters
df858cb370
Remove all warnings
2020-03-20 15:45:36 +01:00
timokoesters
c630df7f9a
Ranged weapons now give xp on kill and also make enemies angry
2020-03-20 14:26:18 +01:00
timokoesters
835f3f5fe3
Arrows shouldn't turn into loot, staff shoots fireballs again
2020-03-20 11:25:53 +01:00
timokoesters
26674390ab
Hide player body after death
2020-03-19 20:36:19 +01:00
timokoesters
49b0af10a9
Regular naming scheme for armor assets
2020-03-19 17:47:37 +01:00
timokoesters
449ae22730
Add inventory stacking
2020-03-19 14:32:17 +01:00
Pfauenauge90
d863e12235
swift leather armour parts
2020-03-19 14:17:53 +01:00
timokoesters
2b22b84a33
Give bandits and travelers different armor
2020-03-19 11:21:37 +01:00
Pfauenauge90
509615c15b
npc armour
2020-03-18 23:09:58 +01:00
Imbris
1a484410ca
Delete Vel and Ori on the client when they are removed on the server
2020-03-18 17:01:51 -04:00
timokoesters
87c276b292
Add hard coded loot
2020-03-18 20:37:42 +01:00
timokoesters
f32eb1db75
fix dash attack angles, arrow damage and readd possession stick impl
2020-03-17 14:15:39 +01:00
timokoesters
b040e18246
Fix body parts not changing
2020-03-16 22:06:23 +01:00
timokoesters
81591fcaf7
Make npcs attack again
2020-03-16 14:27:52 +01:00
timokoesters
87acc01d48
Readd ranged and debug boost. Add bouncing while running in first person
2020-03-16 12:32:57 +01:00
timokoesters
1f78344d6f
Move equipment from loadout into body
2020-03-15 19:44:47 +01:00
Joshua Barretto
e20feeeb0c
Added armour items and equipping of armour
2020-03-15 16:42:09 +01:00
timokoesters
aa963b7686
Merge remote-tracking branch 'origin/master' into clientstates
2020-03-15 15:27:06 +01:00
timokoesters
447617dc69
Make durations and damage depend on weapon type
2020-03-15 14:34:17 +01:00
timokoesters
598a4c6cbb
Add loadout struct for info on weapon configurations
2020-03-14 22:33:20 +01:00
timokoesters
fe19698d52
Make abilities depend on weapon
2020-03-14 16:40:29 +01:00
S Handley
bc692c0101
Add audio and chat message feedback when the player attempts to collect something while thier inventory is full.
2020-03-11 10:30:59 +00:00
Imbris
a4eaeb1da6
Merge branch 'imbris/se-latency' into 'master'
...
Rearrange some operations in the server tick to reduce clientside latency of ServerEvent mediated effects
See merge request veloren/veloren!840
2020-03-10 23:21:57 +00:00
Acrimon
406767ae31
Merge branch 'capucho/voxygen-logout-timeout' into 'master'
...
FIX #513 logout timeout
See merge request veloren/veloren!837
2020-03-10 22:12:29 +00:00
Capucho
b14582d196
removed merge artifact
2020-03-10 21:09:38 +00:00
Capucho
339965f6ad
Merge branch 'capucho/voxygen-logout-timeout' of gitlab.com:veloren/veloren into capucho/voxygen-logout-timeout
...
Fixed conflicts
2020-03-10 21:06:08 +00:00
Capucho
a9580a81bc
Rebased on master and moved logout message to events
2020-03-10 21:04:13 +00:00
S Handley
b2312a0487
Check that a targeted collectible is within a certain pickup range of the character before highlighting it
2020-03-10 20:50:04 +00:00
Capucho
5fe9521233
Fix the spam on disconnect
2020-03-10 20:34:50 +00:00
Capucho
9d805a745e
Proper fix to the logout timeout problem using Disconnect ACK
2020-03-10 20:34:50 +00:00
Capucho
d8ba63ffdc
Janky fix of the logout timeout problem
2020-03-10 20:34:50 +00:00
Imbris
14f0b018fd
Add metric for new connection handling time, move StateExt to its own module
2020-03-09 22:39:12 -04:00
Imbris
7132ef4136
Rearrange some operations in the server tick to reduce clientside latency of ServerEvent mediated effects
2020-03-09 22:31:24 -04:00
Songtronix
80dafebac5
fix : #517
2020-03-09 20:52:04 +01:00
Acrimon
bc39b78173
Rebased.
2020-03-08 23:02:15 +01:00
Imbris
a04c1b1d1d
Add uid to Player component
...
fix: world examples
2020-03-08 22:58:38 +01:00
Acrimon
b29e543089
Remove account on logout.
2020-03-08 22:57:19 +01:00
Acrimon
3995f099b0
Fix singleplayer crash.
2020-03-08 22:57:13 +01:00
Imbris
6cc07270ac
improve(login): more precise error handling during login
2020-03-08 22:56:59 +01:00
Acrimon
d3412d5493
Fixed gameserver crash on authprovider error.
2020-03-08 22:56:44 +01:00
Acrimon
08b4cc5fc3
Update auth to use new hashing scheme.
2020-03-08 22:56:34 +01:00
Acrimon
7db0ff0b8c
Update chat-cli to work properly.
...
Update reqwest to 0.10.0
2020-03-08 22:54:15 +01:00
Imbris
8ef1251dc2
Add warning prompt for untrusted auth servers, move some auth code into
2020-03-08 22:51:37 +01:00
Acrimon
403deecc6d
Server auth handling improvements.
2020-03-08 22:49:47 +01:00
Acrimon
584dcddba9
Updated to latest and greatest auth version.
2020-03-08 22:46:40 +01:00
Songtronix
50b845d1c3
:/ and reactivated the password field
2020-03-08 22:34:06 +01:00
Capucho
fb4aba9bb7
Fix the spam on disconnect
2020-03-08 08:54:29 +00:00
Capucho
ca6d5ab506
Proper fix to the logout timeout problem using Disconnect ACK
2020-03-08 08:13:19 +00:00
Capucho
99e64d06b9
Janky fix of the logout timeout problem
2020-03-07 22:14:21 +00:00
Adam Whitehurst
096d3b691e
Merge master
2020-03-07 12:49:15 -08:00
Capucho
a3479f6a49
Fixed the bugs in the settings tab and the character button in the escape menu and unpause when there is more than 1 player
2020-03-05 18:55:14 +00:00
S Handley
b0ca85069b
Piggyback on the InventoryUpdate events and attach some additional event info so that we can detect why the inventory update was triggered, and emit an associated sfx event that matches it.
2020-03-04 10:09:48 +00:00
timokoesters
d0439fdd84
Merge remote-tracking branch 'origin/master' into clientstates
2020-02-24 21:34:17 +01:00
timokoesters
ac611f4618
fix: sync characterstates, better energy management
2020-02-24 20:57:33 +01:00
Shane Handley
f73b5b2fcb
Update max hp and refill health when a player uses the set_level command.
2020-02-23 09:08:30 +09:00
Marvin Altemeier
035d74f502
Move ServerEvents into own module
2020-02-18 20:51:10 +01:00
Marvin Altemeier
a89003cbfa
resolve #481 - add /set_level command
2020-02-14 22:11:41 +01:00
Marvin Altemeier
bfdfd87d89
change order of /give_exp arguments
2020-02-14 22:11:20 +01:00
Marvin Altemeier
787e5a6e49
fix #460 - /give_exp targeting wrong player
2020-02-14 22:11:20 +01:00
Joshua Yanovski
8a9d4012fa
Allow spawning individual species with /spawn.
...
To get the old behavior, you now need to refer to the internal keywords
(like "bird_medium" or "quadruped_small") rather than the old friendly
names (like "duck" or "pig"), as the latter generate single species now.
2020-02-14 03:12:37 +01:00
Imbris
177f331259
Fix possession
2020-02-06 17:06:49 -05:00
timokoesters
0bc07a0835
Merge remote-tracking branch 'origin/master' into clientstates
2020-02-03 22:02:32 +01:00
timokoesters
aa52c6fd4f
fix: jumping and attacking
2020-02-03 17:03:52 +01:00
Marcel Märtens
dae31ae5b6
apply new rustfmt - touching alot of files
2020-02-01 21:39:39 +01:00
Marcel Märtens
dd21235ff8
Apply prefixes to veloren source, espacially comments, so that reformating wont make it unreadable,
...
especially enumerations and other source code in errosions file
2020-02-01 21:37:36 +01:00
Marcel
7940ced71e
Merge branch 'songtronix/add-new-admin' into 'master'
...
add new admin to default admin list
See merge request veloren/veloren!779
2020-01-31 21:49:01 +00:00
Marcel Märtens
e960c2233b
Change the version number to 0.5
2020-01-31 17:26:45 +01:00
Songtronix
145be79585
add new admin to default admin list
2020-01-30 19:01:24 +01:00
Joshua Barretto
a76740182d
Prevent tamed entities constantly trying to 'return home'
2020-01-29 16:37:46 +00:00
Joshua Barretto
faa86226c7
Collars
2020-01-29 12:01:28 +00:00
Joshua Yanovski
3fa21b3dc7
Per-speces NPC names!
...
Is also able to refactor some of the uglier code and introduces a
framework that (suitably extended) could be useful in removing
boilerplate elsewhere.
2020-01-29 04:41:32 +01:00
Joshua Barretto
de96551f65
Resolved pet alignment issues, added ranged aggro
2020-01-27 15:51:07 +00:00
Joshua Barretto
09f0a5744f
Improved NPC spawning and names, made idle NPCs stop before hitting things
2020-01-27 10:58:33 +00:00
Joshua Barretto
631124f3fc
Switched to _squared(), added comments, parallelised waypoint gen
2020-01-26 12:52:32 +00:00
Joshua Barretto
7404800999
Added neutral NPC spawning
2020-01-26 12:52:32 +00:00
Joshua Barretto
8c7e96e313
Improved waypoint spawn locations, scaled down pathfinding cost
2020-01-26 12:52:32 +00:00
Joshua Barretto
b22ee24362
Cleanup
2020-01-26 12:52:32 +00:00
Joshua Barretto
feeccc2ff3
Improved patrol idling
2020-01-26 12:52:32 +00:00
Joshua Barretto
d04a595b3f
Made waypoints work, added waypoint spawning
2020-01-26 12:52:28 +00:00
Joshua Barretto
11193a692a
Better neutral AI, initial waypoint objects
2020-01-26 12:52:28 +00:00
Joshua Barretto
9d7efad526
Made worldgen a default feature
2020-01-26 12:52:28 +00:00