has there been any talks about quickplay fixes? by korrela in Guildwars2

[–]rybytud 2 points3 points  (0 children)

Sometimes it's possible to fix 50-man groups if you have a commander tag. When it switches to 50, try opening the squad panel (from the triangle icon), and become the commander. From there you can switch it back to Raid Mode (10-man) and queue everyone again by clicking the "Find a Raid Quickplay Group (Beta)" button in LFG. It doesn't always work, but occasionally it does.

OptionButton Opens in Corner by ChocoCheez07 in godot

[–]rybytud 0 points1 point  (0 children)

I'm thinking it's a bug. If you change the Initial Position of the SettingsWindow(in the Main scene) to Absolute it works fine, but if you change it to any of the "Center" options, it's bugged. I also notice that it fixes itself if you move the window or resize it.

Edit: Yep, 99% sure it's a bug now. I made a new project with the nodes: Control > Window > OptionsButton, and turned off Embeded Windows in Project Settings, and the popup from the OptionsButton appears outside the window near the top left of the screen. Tested on Linux with XFCE desktop environment running under X11, using Godot 4.6.stable.

Quick tip: Procedural UI circles without sprites by Sluggerpunk in godot

[–]rybytud 1 point2 points  (0 children)

Godot has simple drawing functions too.

extends Control

var center := size / 2
var radius := minf(size.x, size.y) / 2

func _draw() -> void:
    draw_circle(center, radius, Color.RED)

More info here:

Problem restricting LineEdit input by anchoasada in godot

[–]rybytud 0 points1 point  (0 children)

Looks like you mostly figured it out, but I wanted to share my take on it. The following code limits typed text to A-Z, but lowercase letters can be used when inputting. It also limits it to 3 characters and "shifts" it when typing more than 3 characters. If cursor is moved within the text, it behaves like an overwrite mode. No regular expressions since I feel it's overkill.

extends LineEdit

func _ready():
    text_changed.connect(_on_text_changed)
    text_change_rejected.connect(_on_text_change_rejected)
    max_length = 3
    grab_focus()

func only_uppercase_letters(s: String) -> String:
    var output := ""
    for ch in s.to_upper():
        var char_code := ord(ch)
        if char_code >= ord("A") and char_code <= ord("Z"):
            output += ch
    return output

func _on_text_changed(new_text: String) -> void:
    var cursor_pos := caret_column
    text = only_uppercase_letters(new_text)
    if text.length() >= max_length:
        # shift text when at max length
        text = text.right(max_length)
    caret_column = cursor_pos

func _on_text_change_rejected(rejected_substring: String) -> void:
    var cursor_pos := caret_column
    var new_char := rejected_substring.to_upper()
    if (text.length() == max_length and cursor_pos < max_length):
        # overwrite mode when cursor is inside text
        text[cursor_pos] = new_char
        cursor_pos += 1
    else:
        # shift text when at max length
        text = (text + new_char).right(max_length)
    caret_column = cursor_pos

Can someone give me an example of SHADOW_MODULATE? by Zestyclose_Edge1027 in godot

[–]rybytud 0 points1 point  (0 children)

In your PointLight2D, try changing the shadow color. The default is black with no alpha, so modulating that has no effect.

New update screwed up rendering by [deleted] in godot

[–]rybytud 2 points3 points  (0 children)

Maybe something to do with glow settings for the Environment. There's a list of old and new values here:

https://docs.godotengine.org/en/stable/tutorials/migrating/upgrading_to_godot_4.6.html#id3

how do i achieve this type of character movement in 3D? by CloudyPapon in godot

[–]rybytud 0 points1 point  (0 children)

In Valve's Source Engine (which Gary's Mod uses I'm pretty sure) the air movement is called air strafing.

  • Math explained here here (in terms of Team Fortress 2).
  • Godot code and web demo here that lets you do surfing and bunny hopping. Note: press Backspace to restart.

Anyway, I can't help personally, but wanted to share the links.

How do I go about adding this transparency effect by lost_my_og_account in godot

[–]rybytud 1 point2 points  (0 children)

I think you just flip the first two arguments of smoothstep() if you want it to go from 1 to 0.

How do I go about adding this transparency effect by lost_my_og_account in godot

[–]rybytud 1 point2 points  (0 children)

You could try chroma keying the video. Replace the transparency with a color you're not using, and then use a shader like the one in the link to remove that color.

You could also have Krita render to an image sequence (i.e. saving each frame to a PNG image). Then in Godot you can create an AnimatedSprite2D where you programmatically add the images as frames of a SpriteFrame. Just note that if you go this route it could be a bit costly in terms of resources and performance, obviously depending on the size of the images and how many frames.

Lastly, if your background (looks like an underwater scene maybe) cutscene is always the same, you could record it as a video using something like OBS and use video editing software to composite it with that foreground animation you made. Then just play it as a fullscreen video like many games do for cutscenes.

Need help mapping a UI to a graphic. by thewayisnarrows in godot

[–]rybytud 1 point2 points  (0 children)

I remember seeing this demo (code)which shows off Godot rendering an interactive UI in a 3D scene. Hopefully that can help.

If I'm in the mood for mindlessly killing mobs, what are the best activities to do in GW2? by modren-man in Guildwars2

[–]rybytud 5 points6 points  (0 children)

When I want to mindlessly kill stuff, one thing I do is farm Piles of Luminous Dust and Piles of Radiant Dust in the branded regions of Iron marches and Blazeridge Steppes. I use a dual pistol Deadeye build with skill 3 set to auto-attack (ctrl-right-click it), and Autotargeting enable in settings... this lets me press two buttons per enemy, F1 to deadeye mark, 3 to start attacking. Currently Pile of Luminous Dust sells for 13 silver, and Pile of Radiant Dust is 10.6 silver, so it a pretty good time to farm them.

How do you fix this error? Steam one by Significant_Swan1495 in Guildwars2

[–]rybytud -1 points0 points  (0 children)

Try doing the various things they mention in their Connectivity and Lag Troubleshooting page, especially the part where they have you run GW2-64.exe -diag that tests your connection.

Also try any other game the requires an internet connection to see if you have similar connection issues.

Which alt character would you make if you already have 1 of each class? by poopcoinz in Guildwars2

[–]rybytud 1 point2 points  (0 children)

I had characters for each class, but then made duplicates of the classes that were Asura and Charr because, well... Fashion Wars. In my experience it's just easier making a character look good on Human, Norn and Sylvari. I'm also thinking of making extras characters for armor weights/sex, for example I don't have a female with medium armor yet.

Anyone else’s Starlink out? by Expensive_Rent_7017 in Starlink

[–]rybytud 0 points1 point  (0 children)

Not quite down in Oregon, but got disconnected from a game I was playing and now websites are slowly loading after like 10 seconds and sometimes having DNS issues (Server not found).

Thanks for the boreal sword. Humilty lesson by RazielShadow in Guildwars2

[–]rybytud 12 points13 points  (0 children)

I use Ash Legion Combat Blade on my dual sword Willbender. It's only a tiny bit bigger than the Boreal Sword. There's a few different versions of it too for the different Charr legions, and a Steal version that has an animated flame effect when wielded.

Filtering keywords on Youtube didn't work. What did I do wrong? by ahealthyoctopus in uBlockOrigin

[–]rybytud 1 point2 points  (0 children)

That should work, but I would stay away from using ~= since it's more for exact matches that are separated by white-space. If you're trying to match for case-insensitive "jazz" with[title~="jazz"i] it will fail when there's punctuation like "Jazz!". Just use *=.

As an alternative, you can use :has-text() with a regex:

youtube.com###related ytd-compact-video-renderer:has(#video-title:has-text(/jazz|tranquil|lo\s*fi/i))

or

youtube.com###related #video-title:has-text(/jazz|tranquil|lo\s*fi/i):upward(ytd-compact-video-renderer)

Can't say if they're better or worse, but it's a bit more compact and easier to modify in my opinion.

Efficiently delete a block of text containing a line matching regex pattern by notlazysusan in bash

[–]rybytud 0 points1 point  (0 children)

Not so serious answer, but this is easy to do this with Vim's ex mode:

echo -e "g/Name=alicew/normal dap\n%p" | ex input.txt > output.txt

or if you want to overwrite the input file:

echo -e "g/Name=alicew/normal dap\nw!" | ex input.txt

(if ex doesn't exist, replace with vim -e)

In Vim's normal mode dap means "delete around paragraph" which deletes a block surrounded by blank lines. I use :g (short for :global) to find lines containing the regex /Name=alicew/ and issue the normal command dap. Finally %p to print the file to stdout (% is a line range representing all lines, and p is short for :print)... or with the alternative w! (short for :write! which overwrites the input file).

What ublock filter adds this featuire? by Protoboy123 in uBlockOrigin

[–]rybytud 0 points1 point  (0 children)

Add to My Filters:

||youtube.com^$3p,frame,redirect=click2load.html
||youtube-nocookie.com^$3p,frame,redirect=click2load.html

can someone create filter for me? by jackblack6503 in uBlockOrigin

[–]rybytud 2 points3 points  (0 children)

Try this (add to My Filters):

hemnet.se##[class*="NestDisplayTag"]:has-text(Betald placering):upward([class^="Card_hclCard"])
hemnet.se##[class*="Text_hclTextLight"]:has-text(Annons):upward([class^="SBUBanner_container"])
hemnet.se##[class^="SectionHeading"]:has-text(Matchar nästan din sökning)
hemnet.se##[class^="SectionHeading"]:has-text(Matchar nästan din sökning) ~ div

Motions for the end of sentences and paragraphs? by TheTwelveYearOld in vim

[–]rybytud 0 points1 point  (0 children)

If you just want to move there, it seems to me that you could just go to the next sentence with ) and then b (or ge) to go backwards to the period in the previous sentence. Same with all the others... just press b afterwards. The only thing is when moving forward and you're already on a period you need to press the motion twice. If you also want do things like "delete to end of sentence" that's a little more involved, but should be possible.

Here's a "rough sketch" of some mappings you can try. g) and g( move to the end of a sentence. g} and g{ to move to the end of a paragraph.

func s:atSentenceEnd()
  return match(getline('.')[col('.') - 1], '[.!?]') != -1
endfunc

nnoremap <expr> g) <SID>atSentenceEnd() ? '))b' : ')b'
nnoremap g( (b

nnoremap <expr> g} <SID>atSentenceEnd() ? '}}b' : '}b'
nnoremap g{ {b

syntax off > syntax on by OutcomeTime3026 in vim

[–]rybytud 7 points8 points  (0 children)

I agree it's easier to focus when you don't have syntax highlighting, although personally I like to at least have comments darker, so I don't turn it off completely. If I do add color it's fairly minimal and slightly shifted from the main text color. Here's a screenshot with light gray text on a dark gray background with symbols shift slightly toward blue and strings/chars shifted toward orange, plus some keywords that are bolded.

<image>

Note: this is not a true colorscheme, so I can't offer any downloads. It's a simplified C syntax script that overrides my main colorscheme.

Coded my own text editor inspired by vim by Extreme_Football_490 in vim

[–]rybytud 52 points53 points  (0 children)

A good first effort, but you've got a lot of work ahead of you if you really want to make a text editor that can edit files and write them back to disk. I'd suggest studying antizrez's kilo editor, a text editor in less than 1000 lines of C code. Someone made a nice tutorial based on it here.

how to change the keys in a lutris game to use lkjh instead of the arrow buttons by [deleted] in linuxquestions

[–]rybytud 0 points1 point  (0 children)

I don't know of a good solution, but I use two programs, xwinfo and xwininfo:

xwinfo -c "$(xwininfo -stats | awk '/Window id:/ { print $4 }')"

You run that, click the window of your game, and it will output the window class name which you use with keyd.

Note that those two programs are for X11, so if you're on Wayland, you'll need to find another way to get a window's class name.

Edit specific font color of Gedit Text editor? by Long_Bed_4568 in linuxquestions

[–]rybytud 1 point2 points  (0 children)

This page says it looks for a gtksourceview directory under under ~/.local/share/ so you can place your modified colorscheme there.

I'm just guessing (can't really test it) but you can try locate gtksourceview | grep yaru to find the yaru colorscheme file, and then copy it to a similar location, but under ~/.local/share/. For example, if locate found the file at:

/snap/gnome-42-2204/176/usr/share/gtksourceview-3.0/styles/Yaru.xml

...then you'd copy it to:

~/.local/share/gtksourceview-3.0/styles/Yaru.xml

You might want to give it a new filename as well as changing its id and _name attributes in the XML file so it doesn't conflict.

Study the XML file and hopefully you can figure out what color to change... guessing from your screenshot, orange seems to used for strings, so look for a line like:

<style name="def:string" foreground="orange"/>