notgoodusename / OsirisAndExtra

Other
127 stars 64 forks source link

Surface draw broken? #502

Closed JannesBonk closed 1 year ago

JannesBonk commented 1 year ago

So I tried to remake logs by using surface instead of ImGui https://streamable.com/4jjbab I got this goofy ah results and idk what is fucking it but I cant use another color and its simply fades out same happens to other stuff that I draw using surface

notgoodusename commented 1 year ago

show code

JannesBonk commented 1 year ago

show code

its the same as your old source aka https://github.com/notgoodusename/osiriswithstuff i think its maybe a problem with the ImGui Color structure, should i make a different structure?

notgoodusename commented 1 year ago

don't use that source, it sucks ass also why do you want to use surface instead of imgui?

Wolfyyta commented 1 year ago

check your indexes with something that is up-to-date https://github.com/rollraw/qo0-base/blob/87aad57dfc007dd8ba3c64fe886812018d46d53f/base/sdk/interfaces/isurface.h#L58

JannesBonk commented 1 year ago

don't use that source, it sucks ass also why do you want to use surface instead of imgui?

the fonts look goofy on imgui + for more stuff that legendware has

notgoodusename commented 1 year ago

the fonts look goofy on imgui + for more stuff that legendware has

you can import CSGO fonts, also what does legendware have that this source is missing?

JannesBonk commented 1 year ago

the fonts look goofy on imgui + for more stuff that legendware has

you can import CSGO fonts, also what does legendware have that this source is missing?

so for example i added that advanced scope thing, and if u look closely or at a bright thing u will see that it has black ends, and i am using imgui for that, mea while if i use surface that doesnt happend anynore. abt the fonts stuff, yeah ik abt thay but they look hella shit cuz of imgui. Meanwhe if i use same font on surface it looks exactly how i want

JannesBonk commented 1 year ago

ok so maybe i am hooking it incorrectly so we got

surface.init(interfaces->surface);
surface.hookAt(15, setDrawColor);

which sets the color but from my testing it sets it to other colors, and then we got

panel.hookAt(41, paintTraverse);

which also has the same hook value as

viewRender.hookAt(41, renderSmokeOverlay);
JannesBonk commented 1 year ago

Fixed