Cvolton / GMDprivateServer

Geometry Dash Private Server
GNU General Public License v3.0
389 stars 277 forks source link

Comment Permaban (-10 Implementation in uploadGJComment) #1061

Closed SevenworksDev closed 2 months ago

SevenworksDev commented 7 months ago

What is a "Comment Permaban"

RobTop never uses this to my knowledge but if you comment on a level and get the Error Code "-10", That means YOU, Yes YOU will be met with a permaban screen.

Some of y'all don't even know this exists but heres what it looks like: image

How to use this code for the Pull Request?

Theres a brand new SQL table called comment_bans for accountIDs you want to permanently ban from your GDPS if they commented horrible things like "this level sucks, die!", "cvolton is a horrible programmer" or the worst of all: "skibidi toilet fanum tax rizzler ohio poop xDD".

Since this won't be used in GD, I thought this would be used for Private Servers.

Theres not too much to document on this really, I discovered this months ago through me looking at strings inside GeometryDash.exe and later found it through GDDocs, why did RobTop not use this?

MegaSa1nt commented 7 months ago

Cool

SevenworksDev commented 7 months ago

thanks ig, it was the easiest to implement and i havent seen anyone use this yet sooooooooooo

NumbersTada commented 7 months ago

i got the ban screen when robtop himself banend me

MegaSa1nt commented 7 months ago

I think it can be merged with temporarily ban: