[RP] [Jammy] Auto Flag Feature (Emulator Side)

Status
Not open for further replies.

Ari

Member
Sep 29, 2010
320
48
1. Open your emulator

2. Open virtualUser.cs

3. Find:
Code:
_isLoggedIn = true;

4. Add under that:
Code:
if (_Username.Contains(" ") || !_Username.Contains("-"))
                            {
                                using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                                {
                                    dbClient.runQuery("UPDATE users SET flagged = '1' WHERE name = '" + _Username + "'");
                                }
                                Disconnect();
                            }

This also patches the glitch where users have spaces in their names ^.^
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,199
3,934
Nice, but I wouldn't even do it this way do it via the cms, on register and flag, also you only released this to beat me, you noob ;<
 

Forum

Anything and everything.
Jun 18, 2011
104
3
So i really love this mate because if someone's coming in with a ''Non-RP'' Name they'd be automatic flagged right really nice love your improvement's
 

Zak

Posting Freak
Mar 12, 2011
848
453
This does a check every time a user logs in.

Zak logs in 20 times due to dc's.
20x querys. use the methods craigs doing by doing a row at the start.
 

RastaLulz

fight teh power
Staff member
May 3, 2010
3,934
3,933
Pretty cool feature. You should also check if the username contains an numbers.

Although, it'd be much better to edit the register and flag page so that you don't have to worry about this.
 

Ari

Member
Sep 29, 2010
320
48
This does a check every time a user logs in.

Zak logs in 20 times due to dc's.
20x querys. use the methods craigs doing by doing a row at the start.
That would not be possible because the flag page shows up everytime you open the client if you are flagged and the flag page will have the same rule as my check
 
Status
Not open for further replies.

Users who are viewing this thread

Top