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
Monty Marz
c792cc05a9
Villagers and Cultists
2020-04-30 20:43:24 +00: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
CapsizeGlimmer
2afa5d06b1
Fixed mutability in /sudo
2020-04-25 13:18:29 -04: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
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
Joshua Barretto
290cb52d0d
I don't know how much I put in this commit, but it's some stuff
2020-01-26 12:52:28 +00:00
Joshua Barretto
353a0f67be
Better pathfinding iteration cap
2020-01-26 12:52:28 +00:00
Joshua Barretto
f92371101c
Added pauseable pathfinding, improved Chaser heuristics, etc.
2020-01-26 12:52:07 +00:00
Joshua Barretto
2d9aa21eef
Added test world, friendly NPC pathfinding
2020-01-26 12:52:07 +00:00
Justin Shipsey
64690279af
new mobs
...
alligators
2020-01-26 00:22:48 +00:00
Joshua Yanovski
02f9c9490b
Addressing MR comments.
2020-01-24 03:45:29 +01:00
Joshua Yanovski
55a96bce09
Minor fix to map generation.
...
Also fixes some typos and makes formatting easier for changes needed to
produce large maps.
2020-01-23 18:18:17 +01:00
Joshua Yanovski
49e7e55cd6
Fix warnings in examples and benchmarks.
2020-01-23 18:18:16 +01:00
Joshua Yanovski
d54f22c9fa
Add a default world map.
...
Also adds map versioning, proper scaling, and updates sediment
rendering. It also tones down warp.
2020-01-23 18:18:15 +01:00
Joshua Yanovski
1358f1dffa
Changes to worldgen, adding more sedmient etc.
2020-01-23 18:18:14 +01:00
Joshua Yanovski
ebe0d14eab
Send client 3D rendered map.
...
Also shares configurable rendering between map generator and server.
2020-01-23 18:18:14 +01:00
Joshua Yanovski
e91578ffdb
Cargo fmt most things (except erosion.rs).
2020-01-23 18:18:12 +01:00
Joshua Yanovski
9520ef4f6d
Implement sending world map across the network.
2020-01-23 18:18:11 +01:00
Joshua Yanovski
ee5d383c46
Map saving, soil production, speedup attempts.
2020-01-23 18:18:10 +01:00
Joshua Yanovski
e71f145b71
Sediment transport, plus many other things.
2020-01-23 18:18:09 +01:00
Joshua Yanovski
69a8d5039b
Adding hillslope diffusion.
2020-01-23 18:18:07 +01:00
Gilbert Röhrbein
4f90e6325e
feat: add endurance fitness willpower to stats
2020-01-21 18:49:17 +01:00
timokoesters
2e8bf9d212
improvement: enemy balance
2020-01-20 19:15:12 +01:00
Imbris
63d74eb8ba
Don't panic if a region can't be found for a deleted entity
2020-01-19 18:22:11 -05:00
timokoesters
6e651eb659
fix: make fall damage behave correctly again after changing gravity
2020-01-19 22:39:20 +01:00
timokoesters
8afe5fd1dd
improvement: reset character state and energy on death
2020-01-19 22:39:19 +01:00
timokoesters
8064b51ee2
improvement: better movement
2020-01-19 22:39:18 +01:00
Adam Whitehurst
d82e93b39f
Merge master and build
2020-01-16 05:27:30 -08:00
Gilbert Röhrbein
28060e7b6e
fixing #405 - Energy as its own component
2020-01-12 22:25:04 +01:00
Piotr Korgól
e1adf40856
Improvement: Replace all '..=b' with '..b + 1'
2020-01-12 15:46:53 +01:00
Monty Marz
851d7858e6
Scrolling Combat Text (SCT)
2020-01-10 00:33:38 +00:00
AdamWhitehurst
de36e75264
Fix imports, update matches
2020-01-08 11:31:42 -08:00
Imbris
f52aef224e
Fix typos, don't insert Controller if it doesn't already exist in the
...
mount system so that Controller components are not added to entities
client side
2020-01-02 05:34:27 -05:00
Imbris
c9caf14877
Fix formatting, Update CHANGELOG, turn overflow checks on for dev
...
profile
2019-12-31 16:38:13 -05:00
Imbris
ede05c47b0
fix(char screen induced ghosts):
...
Adds removing extra components and deleting entities clientside when
going back to the character screen. Also, simplifies ClientState by
removing the Dead variant and removing ClientMsg::StateRequest in favor
of more specific ClientMsg variants.
2019-12-31 16:38:13 -05:00
Monty Marz
8aff5faa83
assets update
...
acacia trees
updated help.png
bigger map zone name
npc levels from 0-10
boss levels from 20-50
2019-12-30 12:16:35 +00:00
Imbris
ec3e075020
fix(player list): Show players not in range on the player list
...
fix(overflow): Stops including block updates that fail (since chunks
don't exist on the client) in `TerrainUpdates` (which would trigger
meshing of those nonexistent chunks). Furthermore, removes
remeshing of chunks with block updates if those chunks don't have all their
neighbours (since those wouldn't be meshed in the first place).
2019-12-29 20:51:05 -05:00
Dylan Kile
badd3113d5
hierarchical pathfinding
2019-12-29 20:58:21 +00:00
Imbris
934c5d6846
Various tweaks: moved radius determination to function on , comments, simplified server Destroy event code, debug assert modified components aren't removed in change tracking, etc
2019-12-20 22:51:35 -05:00
Imbris
b2752d2419
Cutout unnecessary Resource syncing machinery and Tracker trait
2019-12-20 22:51:35 -05:00
Imbris
5813f626d1
cleanup
2019-12-20 22:48:14 -05:00
Imbris
8f7323f41b
Stop syncing health change timer updates
2019-12-20 22:48:14 -05:00
Imbris
d341073a44
Upgrade to specs 0.15.1
2019-12-20 22:48:14 -05:00
Imbris
c3ac251fa8
Stop syncing Projectile component to the client
2019-12-20 22:48:14 -05:00
Imbris
e49cafafbf
Actually send deletion messages
2019-12-20 22:48:14 -05:00
Imbris
71cce03f29
Move sync code into common submodule
2019-12-20 22:37:12 -05:00
Imbris
609e0f23bf
Stop global syncing of entity creation
2019-12-20 22:37:12 -05:00
Songtronix
0d919a9dc6
improve(log): adjust verbosity of some logging
...
fix: settings do not log due to logging being initialized to late
2019-12-20 15:45:30 +01:00
Forest Anderson
d8fc7cb667
Add advanced path finding to new 'Traveler' enemy using A* algorithm
2019-12-11 05:28:45 +00:00
Songtronix
e885a78deb
change(deps): enforce crossbeam version
2019-11-22 19:12:58 +01:00
Forest Anderson
5a73554aa1
Merge branch 'qwertycrackers' into 'master'
...
Add a `debug_items` chat command that gives all debug items.
See merge request veloren/veloren!641
2019-11-11 17:36:31 +00:00
Monty Marz
c38447a264
assets update
...
map image
human male hairstyles
elf male hairstyle
potion item
cheese item
removed admin items from inventory
2019-11-09 13:42:42 +00:00
Joseph Gerardot
0a44e714b4
Cargo fmt
2019-11-06 20:57:05 -05:00
Joseph Gerardot
e73884a1d4
Respond to MR feedback.
...
Mainly clean up code with better use of iterators, and rename the debug
command to be just `debug`.
2019-11-06 17:57:54 -05:00
Joseph Gerardot
7325757066
cargo fmt
the previous changes.
2019-11-05 15:57:08 -05:00
Joseph Gerardot
eb1b42be0f
Add debug_items
command
...
This command gives the player all debug items he does not currently
have.
2019-11-05 15:57:08 -05:00
soruh
6dfa146484
Mitgated RUSTSEC-2019-0014 by updating noise
and
...
disabling its default features, specifically `image`,
which had the vulnerability.
2019-11-05 11:14:39 +00:00
soruh
007920a238
iterate up to max_z + 1
...
(because max_z could still be a soild block)
2019-11-01 00:24:18 +00:00
Justin Shipsey
a6d268e8ee
Merge branch 'slipped/skeletons' into 'master'
...
new skeletons
See merge request veloren/veloren!620
2019-10-27 14:06:54 +00:00
Imbris
6b0e346ec4
fix: bugs in new server ecs systems fixed
2019-10-25 22:00:47 -04:00
jshipsey
2b5fd372c5
streamlined body part naming scheme, swapped quadruped to quadruped_small, rewrote mesh names to reflect body type instead of npckind. finally.
2019-10-25 21:50:14 -04:00
timokoesters
5bff899522
fix: character now spawns with a weapon again
2019-10-25 13:14:36 +02:00
Timo Koesters
0ae15bb251
Merge branch 'timo-items-as-ron' into 'master'
...
feat: store items as RON files
See merge request veloren/veloren!618
2019-10-25 08:57:39 +00:00
Imbris
58ca150f63
fix: /object chat command no longer spawns invisible objects
2019-10-25 02:08:23 -04:00
pestilence
52dbfde510
add giveitem command
2019-10-25 00:14:08 +02:00
timokoesters
f1b728b89b
improvement: load_cloned returns a result
2019-10-24 23:55:24 +02:00
timokoesters
20248a4818
feat: store items as RON files
...
When a new item is created, a ron file will be used as a template
2019-10-24 23:47:26 +02:00
Imbris
a200dafd45
Fix possess bug, remove commented code, drain controller events
2019-10-24 00:00:00 -04:00
Imbris
966b2bfbff
Integrate new systems with metrics
2019-10-23 23:50:06 -04:00
Imbris
8f81b69a25
Move terrain management and syncing into server side ecs systems
2019-10-23 23:50:06 -04:00
Imbris
2703c8afe1
Move serverside client to a component and communications into server ecs systems
2019-10-23 23:50:06 -04:00
Imbris
c02cd0a730
Cleanup unused code
2019-10-23 22:43:02 -04:00
Imbris
53ddbec527
Actually fix region removal panic, update fuzzy chunk location, sync entity removal when unloading chunks, region size constant tweak
2019-10-23 22:43:02 -04:00
Imbris
ab7740f378
Fix not not sending updates outside a certain range and not sending character state when it changes due to update throttling
2019-10-23 22:43:02 -04:00
Imbris
b09bddda79
Make clients subscribed to nearby regions and only send physics updates from those regions.
2019-10-23 22:43:02 -04:00
Monty Marz
3e0ac48bd8
Multiple Assets and UI fixes and additions
2019-10-23 19:40:45 +00:00
Acrimon
57bfb302dd
Formatted code.
2019-10-23 20:23:31 +02:00
Acrimon
2215f9abd7
code-style: iter instead of into_iter.
2019-10-23 16:45:47 +02:00
Acrimon
6f532a7a37
Drastically improved error messages in client and server.
2019-10-23 18:38:09 +02:00
soruh
db69bf23b8
Don't display commands that the player cannot use.
2019-10-21 18:36:35 +02:00
Songtronix
5b716515bb
change(githash): provide date and hash
2019-10-18 15:32:55 +02:00
Monty Marz
fdfab6a807
refactor: create_projectile doesn't take a light
...
It returns a builder so the caller can just do it
2019-10-17 20:59:36 +00:00
Joshua Yanovski
8ae2692b6e
Allow canceling chunk generation.
...
Currently we only do this when no players are in range of the chunk. We
also send the first client who posted the chunk a message indicating
that it's canceled, the hope being that this will be a performance win
in single player mode since you don't have to wait three seconds to
realize that the server won't generate the chunk for you.
We now check an atomic flag for every column sample in a chunk. We
could probably do this less frequently, but since it's a relaxed load it
has essentially no performance impact on Intel architectures.
2019-10-16 11:39:41 +00:00
KyoZM
5be28178bd
proper message on permission check failure for commands
2019-10-12 18:24:44 -03:00
Imbris
028d010624
Make bows give experience via giving projectiles an owner field
2019-10-11 19:33:01 -04:00
Imbris
2f9d8ee2e6
Add new debug item
2019-10-11 19:32:46 -04:00
Marcel Märtens
09bb908072
Make all CoreDevelopers and Admins server admins for now till we have a working auth system
2019-10-11 15:13:02 +02:00
Marcel Märtens
30c9fcc911
Fix bug that metrics took a random port always introduced in !584
...
also removed the duplicate port from the server creation process, using the server settings struct now
2019-10-11 14:19:55 +02:00
Wu Yu Wei
4b80f88085
Bind random port for ServerMetrics
2019-10-11 09:06:34 +00:00
Marcel Märtens
20c520a044
Change the version number to 0.4
2019-10-10 15:48:01 +02:00
Monty Marz
d82ec6715a
Item icons, chests and more
2019-10-09 19:28:05 +00:00
timokoesters
be5d79b123
fix: all enemies start with lvl 1 hp
2019-10-09 17:09:25 +02:00
timokoesters
051a964798
fix: server side fall damage
...
This avoids flickering health
2019-10-08 18:55:30 +02:00
timokoesters
f76f74b411
fix: spawnpoint nearer to the floor
...
We can change this back when we have a proper spawn location system or
random seeds.
2019-10-08 18:55:29 +02:00
timokoesters
4e87f125a2
fix: fix level and health distribution
2019-10-08 18:12:08 +02:00
Songtronix
03f0024607
fix: reduce amount of network related ghosts
2019-10-07 15:15:29 +02:00
KyoZM
9ac089ae26
consume vector without calling the iterator
2019-10-07 01:49:56 -03:00
KyoZM
5abe88ecee
cargo format
2019-10-07 01:38:28 -03:00
KyoZM
064f33666a
removelights no longer deletes players with lanterns
2019-10-07 01:03:53 -03:00
KyoZM
ea82115656
create /removelights command
2019-10-07 00:19:46 -03:00
timokoesters
3078591060
feat(bow): arrow spawn height
2019-10-06 21:21:33 +02:00
timokoesters
a01edbe370
fix: error message for give_exp
2019-10-06 20:52:26 +02:00
timokoesters
0d1bf16e46
fix: selecting another character no longer shows a new login message
2019-10-06 18:26:51 +02:00
timokoesters
4501fef503
fix: don't show logout message when player never was ingame
2019-10-06 17:34:51 +02:00
Piotr Korgól
09429b45d1
Make /adminify admin-only and /waypoint free
2019-10-05 17:37:10 +02:00
Piotr Korgól
9e10c8b700
Make enemies spawn with different levels
2019-10-05 17:37:09 +02:00
Forest Anderson
2f1c62d2ed
Merge branch 'appcrashwin7/veloren-exp-command' into 'master'
...
add give_exp command
See merge request veloren/veloren!536
2019-10-04 21:02:07 +00:00
timokoesters
460a494e77
fix(bow): Don't remove vel and use sticky component instead
2019-10-04 21:30:13 +02:00
timokoesters
d876215012
feat(combat): melee combat damage depends on power of the weapon
...
Normal NPCs have a weapon of power 5 so they do 5 damage if the attack
is not blocked. Bosses and players have power 10.
2019-10-04 21:02:44 +02:00
timokoesters
fc97c27b65
feat(bow): sticky arrows
2019-10-04 21:02:43 +02:00
timokoesters
df4c4bbd5d
fix(bow): initial orientation wrong for 1 frame
2019-10-04 21:02:42 +02:00
timokoesters
ab634f1d21
Reuse combat code
2019-10-04 21:02:41 +02:00
timokoesters
2ba143a514
Make arrows deal damage
2019-10-04 21:02:41 +02:00
timokoesters
e3c02f8ac1
Allow projectiles to react to triggers
2019-10-04 21:02:40 +02:00
timokoesters
d46f1e1859
Initial bow & arrow implementation
2019-10-04 21:02:39 +02:00
Monty Marz
4c1eba1f3e
Assets update, aesthetics, minor fixes
2019-10-04 18:27:12 +00:00
appcrashwin7
1069173d83
add give_exp command
2019-10-04 17:48:14 +02:00
Acrimon
b4bca0a150
Format code.
2019-10-04 16:26:22 +02:00
Acrimon
6d6c020eab
Updated to work on latest master.
2019-10-04 16:25:47 +02:00
Nicolas
6e4d556073
Add max chat message length
...
Fixes #115
Credit to @scorpion9979 for the previous implementation (https://gitlab.com/veloren/veloren/merge_requests/215 )
2019-10-04 16:14:54 +02:00
Forest
35b9040a6f
Removed now stable feature
2019-10-03 17:28:17 -04:00
Justin Shipsey
27f3bebe40
Char overhaul and asset update
2019-10-02 10:05:17 +00:00
Joshua Barretto
a6d5b82ef5
Prevented pickups with full inventory
2019-09-26 00:15:07 +01:00
Joshua Barretto
57a2313348
Don't consume unuseable items
2019-09-26 00:15:07 +01:00
Joshua Barretto
dff67e1c41
Added block collection, improved controls for it
2019-09-26 00:15:07 +01:00
Joshua Barretto
e22fe81a2f
Added velorite
2019-09-26 00:15:07 +01:00
Joshua Barretto
f57c2ec453
Made consumable items have an effect, better damage animation
2019-09-26 00:15:07 +01:00
Joshua Barretto
a961a267f1
Added apple and mushroom collection
2019-09-26 00:15:07 +01:00
Joshua Barretto
7e6eede740
Better sun halo colours
2019-09-26 00:15:07 +01:00
Imbris
dd8500071e
Stop cpu spinning in metrics server
2019-09-20 00:41:44 -04:00
Joshua Yanovski
9ba64ca57f
Addressing code review.
2019-09-16 15:11:47 +02:00
Joshua Yanovski
20f57cf7f3
Continue instead of breaking.
2019-09-16 04:18:40 +02:00
Joshua Yanovski
2abf7cd016
Fixing more rustfmt errors.
2019-09-16 04:05:36 +02:00
Joshua Yanovski
95b02912b6
Fixing rustfmt.
2019-09-16 04:01:05 +02:00
Joshua Yanovski
b4ad76372b
Allow canceling chunk generation.
...
Currently we only do this when no players are in range of the chunk. We
also send the first client who posted the chunk a message indicating
that it's canceled, the hope being that this will be a performance win
in single player mode since you don't have to wait three seconds to
realize that the server won't generate the chunk for you.
We now check an atomic flag for every column sample in a chunk. We
could probably do this less frequently, but since it's a relaxed load it
has essentially no performance impact on Intel architectures.
2019-09-16 03:41:33 +02:00
Marcel Märtens
02fe9adfb7
Fix panic if starting singleplayer twice without closing the game
...
reduce costs for metrics by checking chunks only every 100th tick
add metrics for "server start time" and ingame "time of day"
2019-09-10 15:22:34 +02:00
Joshua Barretto
3f2e22f039
Exponential interpolation for linear damping
...
With an additional approximation to allow for the same size jumps given different framerates.
2019-09-09 19:11:40 +00:00
Marcel Märtens
58b0b49dfe
adjust metrics to rebased Chunks
2019-09-09 10:47:40 +02:00
Marcel Märtens
49b08b55c7
switch from hyper http to rouille for http server
2019-09-09 10:07:25 +02:00
Marcel Märtens
b05e51152f
update version, revert from static prometheus back to normal because static doesnt supprot registries, and implement most of the metrics except for entity count
2019-09-09 09:54:30 +02:00
Marcel Märtens
8d3fb40419
first implementation of prometheus in veloren for git hash, tick times, chunks loaded, player online, entity count and light count
2019-09-09 09:48:44 +02:00
haslersn
1796c09ca1
common: Rework volume API
...
See the doc comments in `common/src/vol.rs` for more information on
the API itself.
The changes include:
* Consistent `Err`/`Error` naming.
* Types are named `...Error`.
* `enum` variants are named `...Err`.
* Rename `VolMap{2d, 3d}` -> `VolGrid{2d, 3d}`. This is in preparation
to an upcoming change where a “map” in the game related sense will
be added.
* Add volume iterators. There are two types of them:
* _Position_ iterators obtained from the trait `IntoPosIterator`
using the method
`fn pos_iter(self, lower_bound: Vec3<i32>, upper_bound: Vec3<i32>) -> ...`
which returns an iterator over `Vec3<i32>`.
* _Volume_ iterators obtained from the trait `IntoVolIterator`
using the method
`fn vol_iter(self, lower_bound: Vec3<i32>, upper_bound: Vec3<i32>) -> ...`
which returns an iterator over `(Vec3<i32>, &Self::Vox)`.
Those traits will usually be implemented by references to volume
types (i.e. `impl IntoVolIterator<'a> for &'a T` where `T` is some
type which usually implements several volume traits, such as `Chunk`).
* _Position_ iterators iterate over the positions valid for that
volume.
* _Volume_ iterators do the same but return not only the position
but also the voxel at that position, in each iteration.
* Introduce trait `RectSizedVol` for the use case which we have with
`Chonk`: A `Chonk` is sized only in x and y direction.
* Introduce traits `RasterableVol`, `RectRasterableVol`
* `RasterableVol` represents a volume that is compile-time sized and has
its lower bound at `(0, 0, 0)`. The name `RasterableVol` was chosen
because such a volume can be used with `VolGrid3d`.
* `RectRasterableVol` represents a volume that is compile-time sized at
least in x and y direction and has its lower bound at `(0, 0, z)`.
There's no requirement on he lower bound or size in z direction.
The name `RectRasterableVol` was chosen because such a volume can be
used with `VolGrid2d`.
2019-09-06 15:43:31 +02:00
Christoffer Lantz
7dce9c4fb9
Added unwrap_or to obj_str_opt in handle_object in case we don't return early in the _ => match arm
2019-09-02 01:22:09 -04:00
Christoffer Lantz
c154a41c5c
Changed Spawned object: to Spawned: in handle_object
2019-09-02 01:22:09 -04:00
Christoffer Lantz
8f68df2bd1
Tells the user which object was spawned
2019-09-02 01:22:08 -04:00
Monty Marz
f53904b534
More sprites, ui fixes, lianas
2019-09-01 19:04:03 +00:00
timokoesters
9a832dd56b
Move std::mem::discriminant into new method
2019-08-30 22:51:46 -04:00
timokoesters
77a48c61a1
Fix rolling for the player
2019-08-30 22:50:53 -04:00
timokoesters
e674424974
Allow non player entites to be removed again
2019-08-30 22:47:39 -04:00
timokoesters
a95893e43b
Remove inventory::swap and improve inventory::insert
2019-08-31 00:09:25 +02:00
timokoesters
bd8e71c5aa
Rename activate_inventory_slot to use_inventory_slot
2019-08-30 22:46:45 +02:00
timokoesters
082ccd7c46
Avoid right-ward shift
2019-08-30 22:32:47 +02:00
timokoesters
952ec35857
Remove warnings
2019-08-29 19:54:53 +02:00
timokoesters
6e1c78e5d5
Add debug mode item giving speed boost in look_dir on click
2019-08-29 19:44:28 +02:00
timokoesters
155605841b
Use comp::Stats to store Equipment, make char weapon selection work
2019-08-29 19:44:28 +02:00
yashaslokesh
be71aea20b
Changed exp type from f64 to u32 and altered exp calculations and function signatures to adhere to the new types
...
Signed-off-by: Yashas Lokesh <yashas.lokesh@gmail.com>
2019-08-27 22:33:14 +00:00
timokoesters
c4879307af
Update to github vek repo
2019-08-26 13:12:45 +02:00
timokoesters
05f2f168fd
Make falldamage local, don't use force update for local, cleanup
2019-08-26 13:12:43 +02:00
timokoesters
eb34e5bb27
fmt
2019-08-26 13:12:43 +02:00
timokoesters
3258fa3a3c
Add basis for projectiles
...
But we have no controller action to spawn them yet
2019-08-26 13:12:41 +02:00
Songtronix
814e858720
Split Events in ServerEvent and LocalEvent
2019-08-26 13:12:41 +02:00
timokoesters
e8ccbe75fa
Clean up entity spawning code
2019-08-26 13:12:39 +02:00