Vermintide-2-Source-Code
apisix
Vermintide-2-Source-Code | apisix | |
---|---|---|
14 | 63 | |
75 | 13,689 | |
- | 0.8% | |
6.8 | 9.6 | |
14 days ago | 4 days ago | |
Lua | Lua | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Vermintide-2-Source-Code
-
What do you think could be the classification of skeletons?
Skeleton with hammer
-
Curious if anyone has dug into the code
I believe this is courtesy of royale with cheese: https://github.com/Aussiemon/Vermintide-2-Source-Code/
-
Question about righteous stand Finale cataclysm Challenge
Some basic information is available here with how many terror events are triggered for the finale and so on. That link led me to this https://github.com/Aussiemon/Vermintide-2-Source-Code/blob/54867e3cd2a1ec152433a090ce9057a3fbd039eb/scripts/settings/terror_events/terror_events_military.lua which I believe is the terror events for Righteous Stand. From what I can gather, each terror event will always conclude when 100 seconds have passed, and 7 of those terror events gives us 700 seconds. Plus maybe a minute for all the delays between terror events.
-
Help me understand stagger values please. Why is Krubber's shield bash so good at generating THP with the stagger THP talent?
It should be in the Vermintide 2 Lua Source Code. Someone more knowledgeable than me will have to point you to the particular line of code with the shield weapons bash attack stats.
- Some questions from someone relatively new to Legend
-
Knights of Bretonnia! Which virtue dost thou prefer; that of the Ideal, or that of Knightly Temper?
This file seems to govern attack power and the buff is not mentioned anywhere in here.
-
Does every weapon in Vermintide 2 have the same range?
Yes, you can see it in the Lua source code of the game: https://github.com/Aussiemon/Vermintide-2-Source-Code/tree/master/scripts/settings/equipment/weapon_templates
-
Javelin's reload animation is not the real speed of its reload, and we can make it reload faster.
So I checked the source code of Javelin, on weapon_reload, it actually said its anim_time_scale = 1 which means the animation of doing the reload is 1 sec. So you need to press R for 1 second to finsih the whole animation, especially when you are reloading more than 1 javelins, you need to keep press R for X sec, X is the ammo you need to reload.
-
So what was the actual change done on CoD?
I believe the change in the source code is here - scripts/settings/terror_events/terror_events_catacombs.lua.
-
Chaos Wastes content
Here is the decomp project on GitHub
apisix
-
Multi-layer Caching in API Gateway Tackles High Traffic Challenges
Through this intelligent caching mechanism, APISIX efficiently utilizes system resources when handling a large volume of requests, thereby improving overall system performance and stability. APISIX, with its advanced LRU cache, provides developers with a reliable and efficient API gateway solution, facilitating smooth communication with external services.
-
Apache APISIX plugin priority, a leaky abstraction?
The main issue is that priority is documented in the config-default.yaml file, while the phase is buried in the code. Worse, some plugins run across different phases. For example, let's check the proxy proxy-rewrite plugin and, more precisely, the functions defined there:
-
A "Tiny" APISIX Plugin
// references: // https://github.com/tetratelabs/proxy-wasm-go-sdk/tree/main/examples // https://github.com/apache/apisix/blob/master/t/wasm/ package main import ( "github.com/tetratelabs/proxy-wasm-go-sdk/proxywasm" "github.com/tetratelabs/proxy-wasm-go-sdk/proxywasm/types" "github.com/valyala/fastjson" ) func main() { proxywasm.SetVMContext(&vmContext{}) } // each plugin has its own VMContext. // it is responsible for creating multiple PluginContexts for each route. type vmContext struct { types.DefaultVMContext } // each route has its own PluginContext. // it corresponds to one instance of the plugin. func (*vmContext) NewPluginContext(contextID uint32) types.PluginContext { return &pluginContext{} } type header struct { Name string Value string } type pluginContext struct { types.DefaultPluginContext Headers []header } func (ctx *pluginContext) OnPluginStart(pluginConfigurationSize int) types.OnPluginStartStatus { data, err := proxywasm.GetPluginConfiguration() if err != nil { proxywasm.LogErrorf("error reading plugin configuration: %v", err) return types.OnPluginStartStatusFailed } var p fastjson.Parser v, err := p.ParseBytes(data) if err != nil { proxywasm.LogErrorf("error decoding plugin configuration: %v", err) return types.OnPluginStartStatusFailed } headers := v.GetArray("headers") ctx.Headers = make([]header, len(headers)) for i, hdr := range headers { ctx.Headers[i] = header{ Name: string(hdr.GetStringBytes("name")), Value: string(hdr.GetStringBytes("value")), } } return types.OnPluginStartStatusOK } // each HTTP request to a route has its own HTTPContext func (ctx *pluginContext) NewHttpContext(contextID uint32) types.HttpContext { return &httpContext{parent: ctx} } type httpContext struct { types.DefaultHttpContext parent *pluginContext } func (ctx *httpContext) OnHttpResponseHeaders(numHeaders int, endOfStream bool) types.Action { plugin := ctx.parent for _, hdr := range plugin.Headers { proxywasm.ReplaceHttpResponseHeader(hdr.Name, hdr.Value) } return types.ActionContinue }
-
10 Reasons for Choosing API7
API7 takes Apache APISIX as its robust foundation, which is open-source and has an active community with over 600 contributors all over the world. The nature of open source allows users to examine the source code, which promotes transparency. This transparency helps users understand how APISIX works, verify its security, and identify and fix any potential vulnerabilities or bugs.
-
How is Apache APISIX Fast?
But the best part is that the libraries mentioned here and Apache APISIX are entirely open source, meaning you can look under the hood and modify things yourself.
-
Ops friendly Apache APISIX
Default configuration
-
Custom Plugin Development For APISIX With Lua And ChatGPT
4. Plugin definition: It is a really important part of plugin implementation that we define as a table with properties for the version, priority, name, and schema. The name and schema are the plugin's name and schema defined earlier. The version and priority are used by APISIX to manage the plugin. The version typically refers to the version that is currently in use like API versioning. If you publish and update your plugin logic, it is going to be 1.1 (You can set any version you wish). But you need to be very careful in choosing priority. The priority field defines in which order and phase your plugin should be executed. For example, the 'ip-restriction' plugin, with a priority of 3000, will be executed before the 'example-plugin', which has a priority of 0. This is due to the higher priority value of the 'ip-restriction' plugin. If you're developing your own plugin, make sure that you followed the order of plugins not to mess up the order of existing plugins. You can check the order of existing plugins in the config-default.yaml file and open the Apache APISIX Plugin Development Guide to determine.
-
Your opinion on Kong
Their use of etcd was a hard pass for me; I don't need more etcd in my life
-
The Ultimate Beginner’s Guide to Open Source Contribution
Apache APISIX Apache APISIX is an open source, dynamic, real-time, high-performance cloud native API gateway. APISIX provides rich traffic management features such as load balancing, dynamic upstream, canary release, circuit breaking, authentication, observability, and more. Official website https://apisix.apache.org/ GitHub projects APISIX (the core): https://github.com/apache/apisix GitHub - apache/apisix: The Cloud-Native API Gateway GitHub - apache/apisix-dashboard: Dashboard for Apache APISIX GitHub - apache/apisix-website: Apache APISIX Website GitHub - apache/apisix-docker: the docker for Apache APISIX GitHub - apache/apisix-go-plugin-runner: Go Plugin Runner for APISIX GitHub - apache/apisix-java-plugin-runner: APISIX Plugin Runner in Java GitHub - apache/apisix-python-plugin-runner: Apache APISIX Python plugin runner GitHub - apache/apisix-helm-chart: Apache APISIX Helm Chart GitHub - apache/apisix-ingress-controller: ingress controller for K8s
-
A poor man's API
Grafana configuration. Most of it comes from the configuration provided by APISIX.
What are some alternatives?
Penlight - A set of pure Lua libraries focusing on input data handling (such as reading configuration files), functional programming (such as map, reduce, placeholder expressions,etc), and OS path management. Much of the functionality is inspired by the Python standard libraries.
Kong - 🦍 The Cloud-Native API Gateway and AI Gateway.
luarocks - LuaRocks is the package manager for the Lua programming language.
haproxy-lua-http - Simple Lua HTTP helper && client for use with HAProxy.
emissary - open source Kubernetes-native API gateway for microservices built on the Envoy Proxy
koreader - An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices
envoy - Cloud-native high-performance edge/middle/service proxy
lua-resty-auto-ssl - On the fly (and free) SSL registration and renewal inside OpenResty/nginx with Let's Encrypt.
tyk-operator - Tyk Operator for Kubernetes
gloo - The Feature-rich, Kubernetes-native, Next-Generation API Gateway Built on Envoy
easegress - A Cloud Native traffic orchestration system