#DPP - UE

1 messages · Page 1 of 1 (latest)

soft hull
#

This is DPP-UE, DPP integration inside Unreal Engine! You can do what you would normally do in C++, but also in Blueprints! The sky is the absolute limit with whatever your imagination can come up with!

This feature is currently in the works and will likely take a bit before I roll it out. It will be on Windows & Linux, and eventually for download on the Unreal Marketplace!

#

Here's a working example of sending images, directly from inside Unreal Engine! This uses a SceneCaptureComponent2D, takes the render target, and then sends it in discord!

frank lynx
#

this is completely pog... can't wait to see where this goes!

flint meadow
#

That looks pog as hell. I would love to see/make some advanced bots with this

runic hamlet
#

wtf

#

the future is today dude

soft hull
#

Hahahaha, thanks for all the comments everyone! I’m momentarily jumping back on dpp, contributing some stuff up, then I’ll be back on this very shortly with more to show!!

lilac ridge
#

Holy shit this likely just made bot development both easier with the posibilities to make it more advanced at the same time and thanks to blueprints its beginner friendly good fucking shit @soft hull

#

This type of advancement is insane

#

Not just for DPP but for discord bot development in total

#

Mad impressive

#

I can sort of imagine how it works e.g building blocks with args obviously a simplified explanation but damn

#

Would love to give this a go once its out

#

Also wouldn't this have the potential to make bot apps/game commands less intensive as theres less region for error and mistakes? Along with it being c++ anyway

#

Good shit man you need recognition for this

soft hull
#

It opens up a whole new area of freedom and creativity with discord that I'd love to see be used

lilac ridge
#

Big ups to you man i could definately seeing even big bots utilizing this

soft hull
#

I’m not entirely sure if 3D stuff will work when you’re a dedicated server but hopefully it does somehow

lilac ridge
#

Im sure with proper integration from the bot developer themselves it should be fine but theres no proper way to tell really is there

soft hull
#

Yeah, not really a way to tell atm

#

As dedicated servers only really know that things exist and where they are, no 3D side, i'm not entirely sure they'll be updating a render texture

#

I imagine you'd expect clients to do that

soft hull
#

Here's a new test with buttons!

frank lynx
#

very cool!

#

you should add coloured emissives to the crosses and noughts, red and blue, so its obvious this is a 3D environment you cant just do as image compositing, also alter the angle to make it more obviously 3D rather than just top-down

soft hull
#

Hm, that's a good idea :)

frank lynx
#

yeah these are things you can do without going outside the realm of programmer-art

#

from an above view, people who know UE know the power of this, but a random joe looking at it will just say "i can do this with libgd"

#

or canvas js

#

go 3D, and "got em"

soft hull
#

New way of sending messages :O

#

And most importantly, we got callbacks 😎

#

Long gone are the days of only using strings, we now got spaghetti in this house

#

The row spaghetti has to be done because you can't do TArray<TArray<Comp>>

#

So it's TArray<CompRow> To which comp row is TArray<Comp>

frank lynx
#

but perhaps thats because i did that C++ side

soft hull
#

nope, threw an error :(

#

You might not have been using it as a UPROPERTY

frank lynx
#

nah i remember what i did

#

just have an array of 9 elements, using a function to determine from X and Y what the correct index is

#

instead of 3x3

soft hull
#

Yeah but i'm thinking for others :P

#

It's more friendly to let people know "these elements are on this row"

#

i'd rather the spaghetti if it's more user-friendly :P

frank lynx
#

if its abstracted they dont need to know, you give them a component where the componentrows is private, and you give them a get and set function that take x and y

soft hull
#

True, that could work too

frank lynx
#

thats how mr boom level maps work

soft hull
#

I like that idea tbf

remote pecan
#

This is amazing, i'm super stoked for this!

soft hull
soft hull
#

Added a cheeky HDR :)

frank lynx
#

that's pretty damn awesome, shows off that it's a 3D game engine not just images

soft hull
#

Hell yeah!

soft hull
#

We’re getting closer to the Linux phase of testing which will be fun :)

old grove
#

Archie woke up one day and decided to be an absolulte madlad
And I'm all here for it

rustic trout
soft hull
soft hull
#

Linux support would allow for people to use UE dedicated servers on linux with this

#

which could be huge for performance

grim trench
#

But still I don't think you can do big bot with it

soft hull
#

you definitely can

#

Can't do much benchmarking atm, not got it running on linux

#

but due to how little resources DPP uses, it's basically like running a barebones UE dedicated server

grim trench
#

Well. Can you make it do not draw anything at all?

soft hull
#

granted, you'll run a bigger bot easier without the UE end, but that's not the point. If you're wanting to run a bot like Triviabot, you wouldn't be using DPP-UE

grim trench
#

Like do not render game? kekw

soft hull
#

dedicated servers can't draw

#

they're headless

grim trench
#

But how to create image than?

soft hull
#

that's not via the dedicated server

#

There may be a way to do images via a dedicated server, but that's not related to DPP-UE, that's related to Unreal Engine itself

#

Or maybe even the drawing of an image happens in a dedicated server, but again, how often it draws is not related to DPP-UE.

#

You can make SceneCaptureComponent2D only capture when you call "Capture Scene" (or whatever it's called), which is much more performant than a capture every frame

#

There's a lot of testing that needs to be done with DPP-UE in Dedicated Servers, but the whole image thing isn't related to DPP-UE and is purely just my Proof of Concept, the Tic-Tac-Toe images you're seeing posted is purely to show "hey, DPP-UE can send images from Unreal Engine if you provide it the image!"

#

Unreal engine is handling the image creation, the image saving, the image compressing, pretty much all of that end. DPP-UE only does the load and send

soft hull
#

With DPP-10.0.26 released, you can expect more info today! The new release helps the backend of this greatly, meaning I can now handle some events in a much nicer way!

soft hull
# soft hull

Commands will also begin to look different (in how you handle them) following this update!

soft hull
#

Here we are! Tic Tac Toe pretty much complete!

old grove
soft hull
#

Not entirely sure how i'll achieve the animated look (i could do a gif but Unreal doesn't support that) but I'll have a look :)

whole quail
#

But can it run doom?

soft hull
#

honestly, I thought of this, and it's doable

frank lynx
#

lol, sure, but how do you play it when you only see a snapshot

old grove
#

Cause legal issues etc

rustic trout
#

I mean, you can make an actual game and "link" it to Discord

old grove
#

Yeah but grandpa was talking about Doom

soft hull
#

I mean, who says it has to be exactly Doom

#

it could be Boom

#

A Mr. Boom inspired Doom™️ Game

soft hull
#

However, I'm curious as to if there is workarounds

frank lynx
#

not until discord allow bots to stream video, no

soft hull
#

Sadly :(

whole quail
#

Bruh nobody will come after you for porting Ultimate Doom, the game is literally older than me.

rustic trout
#

It's older than most of D++ community

frank lynx
soft hull
whole quail
soft hull
#

Here's a fun thought

#

Alpha test soon? thonk

soft hull
#

:P

#

It'll be without linux support atm

fresh storm
#

Does it run headless?

fresh storm
# frank lynx not until discord allow bots to stream video, no

https://www.youtube.com/watch?v=TfS1GIr4kW4
I doubt it's an approved method, BUTTTT....

Bad Apple, 51x38 @ 10 fps, rasterized into unicode squares in Discord messages.
No video editing was done besides trimming and adding the audio.
Share this video so it gets more views than the inferior ones!

This IS api abuse, as 15 bots were used to circumvent the rate limit, so I do not recommend doing this! However, only 2,191 messages were...

▶ Play video
soft hull
#

Hahahaha

#

Maybe not lmaoo

frank lynx
#

there are rate limits that stop it

#

ah no wait i see how

#

watch the colour of the pfp in the top left

#

its a botnet of selfbots.... thats a huge no-no.

grim trench
#

It is not self bots

#

It is regular bots

#

We can try to make one via dpp

#

Showcase

frank lynx
#

its massive api abuse

#

lol

grim trench
#

But who sad it is forbidden?

#

You can have up to 5 bots on one user account if I remember right

frank lynx
soft hull
#

Multiple of them

#

You can see the icon change multiple times

soft hull
#

I've been away from this for a bit, doing other things due to time, but I do want to get a test running in headless :D

fresh storm
#

I'd guess something like the llvmpipe renderer would be enough for this

soft hull
#

llvmpipe renderer?

fresh storm
# soft hull llvmpipe renderer?

Yeah, CPU accelerated rendering. You don't really need a lot of FPS, right? And this would allow it to run headless on any random VPS.

#

Combined with a dummy X11 server maybe.

frank lynx
#

you need to be able to render and capture the scene fast enough that it wont be a performance bottleneck to the bot

soft hull
#

Idk if that would even work with ue

fresh storm
fresh storm
#

It's a graphics driver.

soft hull
#

🤔

#

I mean, definitely worth for someone to try then!

fresh storm
#

Yeah, I'd write some wiki documentation if it works.

soft hull
#

hmmmm

#

That'd be cool

#

I need to figure out how to even setup a wiki docs page for dpp-ue

fresh storm
#

It's usually a switch in the settings or a tab where you need to click "get started".

soft hull
#

oooo

#

sounds good

#

I'm working on getting my unreal engine source built so I can get a headless server built

#

Technically, headless will be a dedicated server, but that's just how Unreal Engine works :P

soft hull
#

#test-and-bot-commands The bot is alive here :)

#

(for the moment that is)

soft hull
#

Was close to testing headless today, but UE decided to go "no"

#

But the docs are coming along well!

whole quail
#

Starred. Keep up the good work!

soft hull
#

Thank you!!

frank lynx
#

looking great 😄

soft hull
#

Unreal Engine 👍

soft hull
#

now ive gotta rebuild the whole engine

#

🙃

soft hull
old grove
soft hull
#

I think we’re very close to seeing bots work headless, I’ll know in ~20 minutes :)

soft hull
#

Right

#

I will go ahead and push a couple changes to DPP-UE, but it is fully working on Windows now!

#

@fresh storm think you might be interested in this

fresh storm
#

Don't feel like compiling UE lol

soft hull
#

Not without leaking a bot token 😅

soft hull
# soft hull

but, then again, will you need llvmpipe with this?

fresh storm
soft hull
#

Not with that no :)

#

It's a dedicated server

fresh storm
#

Is it software rendering?

soft hull
#

nope

fresh storm
#

Or not rendering anything at all?

soft hull
#

no rendering

#

just a server

fresh storm
#

Ahh but then your tic tac toe wouldn't work

soft hull
#

true, that's the limitation to dedicated servers

#

but that's on Unreal's side ¯_(ツ)_/¯

fresh storm
#

Yeahh, with my idea one could run a non-dedicated server headless

soft hull
#

so that would just be a general packaged build?

fresh storm
#

Yup

soft hull
#

I mean, in that case, you could open any UE

fresh storm
#

Could even be a game if you really wanted to

#

Yup

soft hull
#

it's only dedicated servers that require UE Source

fresh storm
#

Hmm, is there an easy way to build UE projects without installing the editor?

soft hull
#

nope, requires UBT 😭

#

and you'd need to open the editor and change the bot token

fresh storm
soft hull
#

I'm not entirely sure I can do that with UE

fresh storm
#

Or an environment variable, that'd always work

#

getenv() can be called from anywhere

soft hull
#

especially if it's a packaged game

#

if you wanna send me a bot token then I'll just pipe it into the bp node, export it, zip it up and send it to ya

fresh storm
#

Oh yeah that sounds doable

soft hull
#

okie dokie

#

ya can delete that msg :P

fresh storm
#

Eh couldn't care less tbh, it's private and only on my test server...

soft hull
#

more or less for other peeps so they can't spam ur test server

#

Right, that's packaging up for ya

fresh storm
#

Thank you

soft hull
#

The one sad part about using GitHub's wiki feature is that not everyone can contribute to wiki, so if you're able to say how you got it running with llvmpipe (if it works) then that'd be great for me to add to the wiki!

frank lynx
#

yes they can

#

i can be cloned as a git repo

#

then you can submit PRs for it iirc

soft hull
#

Oh right

#

my slow ass internet 😭

soft hull
frank lynx
#

I'll give it a go in a while when back at pc

soft hull
#

professional

soft hull
#

It works on Linux too!

#

I'm gonna experiment with dedicated servers on linux, see if that works

#

then i'll test that on an OVH VPS and see if it can be up 24/7

rustic trout
#

Looking awesome!

soft hull
#

Unknown platform LinuxServer while parsing allow list

#

Failed to cook /Game/TestMap for platform LinuxServer. It imports class /Script/DppUE.ClusterObject, which is in a module that is not available on the platform.

#

mfw

#

Gonna try LinuxArm64 builds, if that doesn't work then i really cba with trying this 😭

soft hull
#

Been doing a quick test to try get webhooks working, but DPP-UE just shits the bed, how fun

fresh storm
rustic trout
old grove
soft hull
#

i wish

old grove
frank lynx
#

backwards doom

old grove
#

what about room

soft hull
#

maybe, but it does run zoom

rustic trout
old grove
#

Talk to me when it runs Doom

rustic trout
#

Google Meet sucks more

old grove
#

Hard to argue

frank lynx
rustic trout
#

Aw:(

#

More like

#

Oh :|

soft hull
#

a

grim trench
#

b

#

c

#

d

soft hull
#

e

#

f

#

g

woeful apex
#

Now this is my type of channel :)