Go Back   Smogon Community > Socialization in the Empire > Thread Cryonics > Closed Forums > Pokemon Online
Register FAQ Social Groups Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
Old Nov 21st, 2011, 9:37:15 AM   #1
Antar*
That's Dr. Antar to you
is a Battle Server Administratoris a Super Moderatoris a Programmeris a Community Contributor
 
Antar's Avatar
 
Super Moderator
Join Date: Feb 2010
Posts: 2,081
DC Metro Area
Default Fixing the scripts (by stealing from PO?)

As some of you may know, we've been having some issues with the scripts on our PO server. Namely, the Drizzle+SwSw ban is inconsistently enforced and the scripts that are supposed to blanket-ban Moody and ban Drought in UU and below do not work (for these latter two, I've implemented a workaround that involves making Moody an "unreleased DW ability"--sucks for DW players and Drought unreleased on Vulpix.

Now, SmashPass has been voted banned from RU (and below), and the ban is going to need to be implemented.

So how are we gonna fix the scripts and implement a SmashPass ban?

I *hope*, by stealing from PO.

Here is a link to our scripts: https://github.com/sarenji/poserver/...ter/scripts.js

Here is a link to PO's "scripts" forum: http://pokemon-online.eu/forums/foru...php?13-Scripts

The OP in the "current scripts" thread was last updated in March, so I'm not sure how useful it is.

Basically, this is how this is gonna work: propose a revised script or a new script altogether by posting it here. When I get back from vacation (on 11/26), I will implement the revised scripts on a "testing" server, and we'll see what works and what doesn't. Then, anything that works, we implement on the main Smogon PO server. This ensures a minimum of downtime of the Smogon PO server and the fewest possible interruptions.



Oh, finally, if you want to propose a skarmpiss-blocking script, be my guest.
Antar is offline   Reply With Quote
Old Nov 21st, 2011, 7:19:55 PM   #2
Eos
summer time ya bishh
is a Battle Server Moderator
 
Eos's Avatar
 
Join Date: Jan 2011
Posts: 736
Michigan
Default

Alright, so this is perfect timing.
...
__________________
Eos is offline   Reply With Quote
Old Nov 21st, 2011, 7:43:44 PM   #3
Lady Salamence
Bye Smogon, it's been fun.
is a Contributor to Smogon Media
 
Lady Salamence's Avatar
 
Join Date: Aug 2010
Posts: 2,326
ROFL ROFL ROFL
Default

On the topic of Skarmpiss...

I googled Skarmpiss hoping for pastebins of his usual spam, to see if they were greater than 250 characters (i wouldn't be surprised) and found this:

http://pastebin.com/TJKVNdCb

Would this work?
__________________
WW2
Lady Salamence is offline   Reply With Quote
Old Nov 21st, 2011, 8:03:49 PM   #4
prem
failed abortion
is a Community Contributoris a Tiering Contributoris a Contributor to Smogonis a Battle Server Moderator
 
prem's Avatar
 
Join Date: Mar 2011
Posts: 1,221
<@Sarenji> anyway i learned knitting pretty fast <@Sarenji> because im a woman
Default

just going to say this, but sarenji stole the drizzle swim script from po already and that has been failing.
prem is offline   Reply With Quote
Old Nov 21st, 2011, 8:05:33 PM   #5
Yamata no Orochi
Lie to myself
is a Battle Server Moderator Alumnus
 
Yamata no Orochi's Avatar
 
Join Date: May 2011
Posts: 258
Default

Ah, I went to that server, it is completely Skarmpiss free
__________________

Loli Hadron Collider
Yamata no Orochi is offline   Reply With Quote
Old Nov 21st, 2011, 8:09:19 PM   #6
idiotfrommars
schemes and plots are the same thing
is a Tutoris a Contributor to Smogon Mediais a Tiering Contributor
 
idiotfrommars's Avatar
 
Join Date: Jun 2010
Posts: 1,038
Michigan
Default

http://pokemon-online.eu/scripts.js

Those should be up to date as far as I can tell.

Unfortunately all the scripters are offline at the moment so I can't get a 100% confirmation, but things added as recently as today are in it so it should be correct. If you need anything specific that isn't in there I can most likely get it.
__________________
idiotfrommars is offline   Reply With Quote
Old Nov 21st, 2011, 8:17:20 PM   #7
Steamroll
Look, Chalmers, let's understand each other...
is a Smogon IRC AOpis a Battle Server Moderator
 
Steamroll's Avatar
 
Join Date: Jan 2011
Posts: 1,804
I don't like you.
Default

Yeah confirming with prem. The PO script is failing since I already have 2 reports of Swift Swim and Drizzle today.
Steamroll is online now   Reply With Quote
Old Nov 21st, 2011, 8:18:51 PM   #8
Antar*
That's Dr. Antar to you
is a Battle Server Administratoris a Super Moderatoris a Programmeris a Community Contributor
 
Antar's Avatar
 
Super Moderator
Join Date: Feb 2010
Posts: 2,081
DC Metro Area
Default

Quote:
Originally Posted by Fat Eos View Post
Hey Aldaron, we (meaning the server mods and I) have been talking today about reducing the character length per post since skarmpiss and other trolls take advantage of having the ability to say something that can take up the entire chat. I was talking with IFM and he said that PO uses this to control these messages and it seems to me like a great idea.
I like it, as long as it has the approval of the Smogon PO mods. I think we should decide on what the limit should be, though. 250 seems a bit long to me.

Quote:
Originally Posted by Fat Lady Salamence View Post
This would block Skarmpiss from going by the name Skarmpiss (already done through a ban), but Skarmpiss has built himself a custom client that reports a different IP address every time he logs in (or so he claims), so banning the IP addresses would be pointless.

Quote:
Originally Posted by Fat prem View Post
just going to say this, but sarenji stole the drizzle swim script from po already and that has been failing.
Quote:
Originally Posted by Fat Steamroll View Post
Yeah confirming with prem. The PO script is failing since I already have 2 reports of Swift Swim and Drizzle today.
Drizzle+SwSw used to work, back before I upgraded the server to 1.0.30, didn't it? So he probably stole the script from when PO was running 1.0.23. Hopefully, the PO people have come up with a new script since.

Quote:
Originally Posted by Fat idiotfrommars View Post
http://pokemon-online.eu/scripts.js

Those should be up to date as far as I can tell.
You rock!

Last edited by Antar; Nov 21st, 2011 at 8:31:18 PM.
Antar is offline   Reply With Quote
Old Nov 21st, 2011, 8:38:17 PM   #9
prem
failed abortion
is a Community Contributoris a Tiering Contributoris a Contributor to Smogonis a Battle Server Moderator
 
prem's Avatar
 
Join Date: Mar 2011
Posts: 1,221
<@Sarenji> anyway i learned knitting pretty fast <@Sarenji> because im a woman
Default

no the scripts have always been failing ever since we moved from dusk to bk's server
prem is offline   Reply With Quote
Old Nov 21st, 2011, 9:35:56 PM   #10
iDunno
 
Join Date: Aug 2009
Posts: 1,135
Default

To expand on that "if there are x amount of characters ban the guy thing", how about instead of banning, you just make the text invisible to everyone except for the guy who is typing it (maybe except for mods). Instead of banning him, for which he probably has a script that executes another login from a different ip address, why not just let him have his fun and make obnoxious posts without knowing that nobody can see them?
__________________
:3 yum
iDunno is offline   Reply With Quote
Old Nov 21st, 2011, 9:37:43 PM   #11
Lady Salamence
Bye Smogon, it's been fun.
is a Contributor to Smogon Media
 
Lady Salamence's Avatar
 
Join Date: Aug 2010
Posts: 2,326
ROFL ROFL ROFL
Default

because he knows people respond when he does it
__________________
WW2
Lady Salamence is offline   Reply With Quote
Old Nov 21st, 2011, 9:46:06 PM   #12
prem
failed abortion
is a Community Contributoris a Tiering Contributoris a Contributor to Smogonis a Battle Server Moderator
 
prem's Avatar
 
Join Date: Mar 2011
Posts: 1,221
<@Sarenji> anyway i learned knitting pretty fast <@Sarenji> because im a woman
Default

Quote:
Originally Posted by Fat iDunno View Post
To expand on that "if there are x amount of characters ban the guy thing", how about instead of banning, you just make the text invisible to everyone except for the guy who is typing it (maybe except for mods). Instead of banning him, for which he probably has a script that executes another login from a different ip address, why not just let him have his fun and make obnoxious posts without knowing that nobody can see them?
thats actually how po deals with skarmpiss. it invisible mutes it so only he can see it while in the staff channel they get a message saying _________ is spamming. so they can have moderative action
prem is offline   Reply With Quote
Old Nov 21st, 2011, 9:47:30 PM   #13
iDunno
 
Join Date: Aug 2009
Posts: 1,135
Default

Quote:
Originally Posted by Fat Lady Salamence View Post
because he knows people respond when he does it
That's true, but he would have a tough time making an autologin script if he doesn't know when the blind mute kicks in. It could be executed by a combination of post length/posts per second or just lines per second so he would have a hard time flooding the chat before he is muted.

Quote:
Originally Posted by Fat prem View Post
thats actually how po deals with skarmpiss. it invisible mutes it so only he can see it while in the staff channel they get a message saying _________ is spamming. so they can have moderative action
some smart peeps over there at PO
__________________
:3 yum
iDunno is offline   Reply With Quote
Old Nov 21st, 2011, 10:51:57 PM   #14
Lesser Smaug
 
Join Date: Nov 2011
Posts: 148
Why Everyone Ignores:
Default

Why exactly are we stealing scripts from Pokemon Online's server?
Lesser Smaug is offline   Reply With Quote
Old Nov 21st, 2011, 11:11:30 PM   #15
Antar*
That's Dr. Antar to you
is a Battle Server Administratoris a Super Moderatoris a Programmeris a Community Contributor
 
Antar's Avatar
 
Super Moderator
Join Date: Feb 2010
Posts: 2,081
DC Metro Area
Default

Quote:
Originally Posted by Fat Lesser Smaug View Post
Why exactly are we stealing scripts from Pokemon Online's server?
Because we also "stole" their simulator. This isn't "stealing" as in robbery--it's more like "stealing" as in "a glance at their code."

Last edited by Antar; Nov 21st, 2011 at 11:22:26 PM.
Antar is offline   Reply With Quote
Old Nov 21st, 2011, 11:36:42 PM   #16
Woodchuck
<Feranfell> punbot irl aka virginity protector
is a Battle Server Administratoris a Forum Moderatoris a Smogon IRC AOp
 
Woodchuck's Avatar
 
Moderator
Join Date: May 2010
Posts: 1,690
us best
Default

Quote:
Originally Posted by Fat Lesser Smaug View Post
Why exactly are we stealing scripts from Pokemon Online's server?
because ours are inadequate
__________________
Woodchuck is online now   Reply With Quote
Old Nov 22nd, 2011, 12:42:29 AM   #17
Rising_Dusk
is a Site Staff Alumnusis a Team Rater Alumnusis a Battle Server Admin Alumnusis a Super Moderator Alumnusis a Programmer Alumnusis a Smogon Media Contributor Alumnusis a Contributor Alumnus
 
Rising_Dusk's Avatar
 
Join Date: Dec 2009
Posts: 4,742
Default

Rather, because their code is open source, which means it is free to use and not stealing at all. It exists to be used as a point of reference, or even directly, by other servers.
Rising_Dusk is offline   Reply With Quote
Old Nov 22nd, 2011, 4:45:19 AM   #18
Blue Kirby
Keep your hands off my stack.
is a Tutor Alumnusis a Site Staff Alumnusis a Battle Server Admin Alumnusis a Smogon IRC SOp Alumnusis a Contributor Alumnusis an Administrator Alumnusis a past WCoP and SPL champion
 
Blue Kirby's Avatar
 
Join Date: Nov 2007
Posts: 2,815
Default

(Our scripts are open source too!)
__________________
Blue Kirby is offline   Reply With Quote
Old Nov 23rd, 2011, 1:15:24 PM   #19
udhayako
 
Join Date: Nov 2011
Posts: 3
Default

Absolutely right bro. We couldn't say it is "stealing" while they are open source scripts.
__________________
Defeat Easy, Win Hard
udhayako is offline   Reply With Quote
Old Nov 23rd, 2011, 8:17:19 PM   #20
verbatim
legends blurred and torn
is a Battle Server Administratoris a Forum Moderatoris a Smogon IRC AOp
 
verbatim's Avatar
 
Moderator
Join Date: Jun 2011
Posts: 1,080
United States
Default

Quote:
Originally Posted by Fat iDunno View Post
That's true, but he would have a tough time making an autologin script if he doesn't know when the blind mute kicks in. It could be executed by a combination of post length/posts per second or just lines per second so he would have a hard time flooding the chat before he is muted.
To be fair, he tends to spam his message until the chat gets locked, maybe we could use an edit of that code where he sees (moderator that is online) locked the chat. Also, I haven't seen him use his "official" log recently, but I have seen many people claim to be him. How hard is it to evade P.O.'s defenses? If you look at my sig, the dude clearly manages to evade the ban, but I'm not quite sure it was him.
verbatim is offline   Reply With Quote
Old Nov 23rd, 2011, 8:22:49 PM   #21
Lady Salamence
Bye Smogon, it's been fun.
is a Contributor to Smogon Media
 
Lady Salamence's Avatar
 
Join Date: Aug 2010
Posts: 2,326
ROFL ROFL ROFL
Default

Are you sure "aososi2" is the real aososi?
__________________
WW2
Lady Salamence is offline   Reply With Quote
Old Nov 23rd, 2011, 9:02:32 PM   #22
Antar*
That's Dr. Antar to you
is a Battle Server Administratoris a Super Moderatoris a Programmeris a Community Contributor
 
Antar's Avatar
 
Super Moderator
Join Date: Feb 2010
Posts: 2,081
DC Metro Area
Default

I was really hoping the focus of this thread could be fixing the tiering scripts and implementing the new SmashPass ban.

::sigh::

If I wanted that to be the goal, I really should never have mentioned Skarmpiss...
Antar is offline   Reply With Quote
Old Nov 23rd, 2011, 11:48:36 PM   #23
New World Order
The Baby Arcanine All Grown Up :')
is a Contributor to Smogonis a Team Rater Alumnus
 
New World Order's Avatar
 
Join Date: Jul 2009
Posts: 1,939
Edmonton
Default

Is there perhaps a way to ban every user with both "Skarm" and "Piss" in their names? I think the reason Skarmpiss keeps spamming over and over again is because everybody knows its him. If a script could be made to make that name unavailable, it would certainly ruin Skarmpiss' fun if not stop his spamming. The again, Skarmpiss could make a name like Sk4rmpi$$ or something, so its probably futile. Still worth a shot though.
__________________
RAWRGRAWRAWWRARRWRAARGRAWWRAWWRAR
http://www.iaza.com/work/111231C/iaza12106389156800.gif
New World Order is offline   Reply With Quote
Old Nov 24th, 2011, 12:29:15 AM   #24
Lesser Smaug
 
Join Date: Nov 2011
Posts: 148
Why Everyone Ignores:
Default

New World Order, in order for that to even work, the scripts need to match strings or patterns (regular expressions). As far as I know, JavaScript (the language the scripts are based on IIRC) doesn't support regular expressions.

Scripts are not "pour in your random idea here", you know.
Lesser Smaug is offline   Reply With Quote
Old Nov 24th, 2011, 6:57:47 AM   #25
Antar*
That's Dr. Antar to you
is a Battle Server Administratoris a Super Moderatoris a Programmeris a Community Contributor
 
Antar's Avatar
 
Super Moderator
Join Date: Feb 2010
Posts: 2,081
DC Metro Area
Default

Quote:
Originally Posted by Fat Lesser Smaug View Post
As far as I know, JavaScript (the language the scripts are based on IIRC) doesn't support regular expressions.
Pretty sure JavaScript *does* support regex. Even if it doesn't, there's always a way to hard-code that stuff in.

Quote:
Originally Posted by Fat New World Order View Post
I think the reason Skarmpiss keeps spamming over and over again is because everybody knows its him.
I've seen plenty of instances where he's spammed using a username in no way related to "skarmpiss" (everyone knows it's him not from his name but from what he spams).
Antar is offline   Reply With Quote
Reply Smogon Community > Socialization in the Empire > Thread Cryonics > Closed Forums > Pokemon Online

« Previous Thread | Next Thread »
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 11:51:50 AM.