Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

New watermark #527

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

New watermark #527

wants to merge 2 commits into from

Conversation

gr1ndy
Copy link
Contributor

@gr1ndy gr1ndy commented Feb 22, 2023

ss: image

@gr1ndy
Copy link
Contributor Author

gr1ndy commented Feb 22, 2023

color is currently hardcoded, you can just make a color picker in menu and add it in config files if u want to make it have a specific color

@JannesBonk
Copy link
Contributor

now all pasters can paste this into their epic p2c

@gr1ndy
Copy link
Contributor Author

gr1ndy commented Feb 22, 2023

now all pasters can paste this into their epic p2c

image

this u?

@JannesBonk
Copy link
Contributor

now all pasters can paste this into their epic p2c

image

this u?

i dont own a p2c 😎 neither will i use this

@gr1ndy
Copy link
Contributor Author

gr1ndy commented Feb 22, 2023

now all pasters can paste this into their epic p2c

image
this u?

i dont own a p2c 😎 neither will i use this

image
💀

@JannesBonk
Copy link
Contributor

JannesBonk commented Feb 22, 2023

now all pasters can paste this into their epic p2c

image
this u?

i dont own a p2c 😎 neither will i use this

image
💀

still,nobody paid for it

@gr1ndy
Copy link
Contributor Author

gr1ndy commented Feb 22, 2023

now all pasters can paste this into their epic p2c

image
this u?

i dont own a p2c 😎 neither will i use this

image
💀

still,nobody paid for it

cuz nobody in the right mind would pay 500 e for an osiris paste 🤣

@JannesBonk
Copy link
Contributor

now all pasters can paste this into their epic p2c

image
this u?

i dont own a p2c 😎 neither will i use this

image
💀

still,nobody paid for it

cuz nobody in the right mind would pay 500 e for an osiris paste 🤣

but its still free

Xsintashi

This comment was marked as resolved.

#if DEBUG
build = "[beta]";
#endif
build = "[release]";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldnt there be #else then #endif

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not rly, i tested and it works without #else

@VegifZyx1336
Copy link

Like this :} 👍

@gr1ndy
Copy link
Contributor Author

gr1ndy commented Feb 24, 2023

Like this :} 👍

youre welcome meth addict vegif

@Smellon69
Copy link

cool but it kinda looks like some shitty russian antiaim lua for neverlose lol

@wirekuro
Copy link

@gr1ndy
This way we can display localtime. (based on clock clantag)
The problem is it won't render properly. You see watermark for like 0,5 sec and disappears for an other 0,5 sec.
Would be insane if u can figure it out. I tried while loop but game freezed.

std::string cheatname, username, build, zsazsa;

char* user = getenv("username");
cheatname = "Osiris ";
username = user;

static auto lastTime = 0.0f;

    if (memory->globalVars->realtime - lastTime < 1.0f)
        return;

    const auto time = std::time(nullptr);
    const auto localTime = std::localtime(&time);
    char s[11];
    s[0] = '\0';
    snprintf(s, sizeof(s), "%02d:%02d:%02d", localTime->tm_hour, localTime->tm_min, localTime->tm_sec);
    lastTime = memory->globalVars->realtime;
    zsazsa = s, s;

#if DEBUG
build = "[beta]";
#endif
build = "[release]";

// watermark text
auto text = std::string(cheatname + build + " | " + username + " | " + zsazsa).c_str();

@Xsintashi
Copy link
Contributor

I tried while loop but game freezed. 💀
but whatever.
Imma give you a live time tip. Use debugger.

@wirekuro
Copy link

wirekuro commented Mar 17, 2023

I tried while loop but game freezed. 💀 but whatever. Imma give you a live time tip. Use debugger.

I have actually no idea what am I doing here☠️
I started learning programming half year ago and im writing useless programs in java ☠️☠️

@gr1ndy
Copy link
Contributor Author

gr1ndy commented Mar 18, 2023

@gr1ndy This way we can display localtime. (based on clock clantag) The problem is it won't render properly. You see watermark for like 0,5 sec and disappears for an other 0,5 sec. Would be insane if u can figure it out. I tried while loop but game freezed.

std::string cheatname, username, build, zsazsa;

char* user = getenv("username");
cheatname = "Osiris ";
username = user;

static auto lastTime = 0.0f;

    if (memory->globalVars->realtime - lastTime < 1.0f)
        return;

    const auto time = std::time(nullptr);
    const auto localTime = std::localtime(&time);
    char s[11];
    s[0] = '\0';
    snprintf(s, sizeof(s), "%02d:%02d:%02d", localTime->tm_hour, localTime->tm_min, localTime->tm_sec);
    lastTime = memory->globalVars->realtime;
    zsazsa = s, s;

#if DEBUG build = "[beta]"; #endif build = "[release]";

// watermark text
auto text = std::string(cheatname + build + " | " + username + " | " + zsazsa).c_str();

i've thought of that when i made it but realised it wont work anyways so i gave up lmao

@notgoodusename
Copy link
Owner

    if (memory->globalVars->realtime - lastTime < 1.0f)
        return;

Think about what this does

Repository owner deleted a comment from sodareverse Dec 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants