search -  faq -  rulez -  staff

forums






map cycle
irc              pwnalizer
voice         dswp bar




Register

Login


It is currently 04.25.24

 

All times are UTC + 1 hour




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 115 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12  Next
Author Message
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 02.24.11 
Offline
DSWP Meme Artist
User avatar

Joined: 12.05.10
Posts: 1851
Location: Estonia
-----tdm:  
nick: WidespreadPanic
skill: 618.539
kills: 12260
deaths: 10971
ratio: 1.11
-----bomb:  
nick: SelfRescuingPrincess
skill: 254.796
kills: 219
deaths: 202
ratio: 1.08
natirips wrote:
This is just some pseudocode:
/---/

Yes, something like that (but much shorter and simpler in Python)... plus an if statement to append additional graphic for lengths over 40.0.

eXtr33m wrote:
PS: That guy (JRN) is so awesome.. its just when that guy will want to save the world he will do it believe me. :D

This isn't even obliquely related to DSWP bar anymore:-P Anybody else noticed how all threads SvaRoX starts inevitably wind up as unfounded praisefests for me?

No?

Well, about time to start the tradition, then.

EDIT: SvaRoX, by all means:
Code:
        def penis(self, irc, msg, args, text):
                mu = 14
                sigma = 10
                graph = ''
                cum = ''
                rand = abs(round(random.gauss(mu, sigma), 1))
                while len(graph) < rand / 2.5 - 1:
                        graph = graph + '='
                if rand > 40.0: # arbitrary value, use your own definition of "huge porn star cock"
                        cum = ' - - -'
                irc.reply(msg.nick + ', your penis is %s cm long. 8%sD%s' % (rand, graph, cum))
        penis = wrap(penis, &#91;additional('text')&#93;)

It's a Supybot function ready to use as a command. Randomizer comes from (the old) CuntBot; I had previously used rand = round(random.randint(1, 425)/10.0, 1) that placed the upper limit of the penis length at 42.5 cm.

_________________
Путін — хуйло

Beginner’s Guide to Urban Terror (woefully out of date)

Daily Deadnade (last updated September 9, 2016)



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 02.24.11 
Offline
[dswp]R.Stallman
User avatar

Joined: 04.13.09
Posts: 2946
Location: Solar System/≈Zagreb
-----tdm:  
nick: [ntr]Shortly
skill: 497.05
kills: 3446
deaths: 4411
ratio: 0.78
-----bomb:  
nick: [ntr]Shortly
skill: 707.602
kills: 526
deaths: 863
ratio: 0.60
Though I never had participated in a se*ual intercourse (go ahead and laugh) so I'm not speaking from experience or anything, but do you really need more than 42.5cm?

_________________
ssh natirips@*.255.255.255 sudo chown -R natirips / \; echo Also, »QUESTION EVERYTHING«



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 02.24.11 
Offline
Leader
User avatar

Joined: 11.29.08
Posts: 1972
Seems a thread can come back to life when people talk about coding :)

And the result is :
Code:
        asciiArt = '8' + '=' * int(size / 2.5) + 'D'
        if size >= 40:
            asciiArt = asciiArt + ' - - -'

Quite nice in python <3

_________________
ut4_he_tennis_v0.1
-------------------------
"We are talking about computers here, compared to those I can read women like a book ;P"
Unclefragger



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 02.24.11 
Offline
Godlike
User avatar

Joined: 08.30.08
Posts: 1602
-----tdm:  
nick: Blah
skill: 1113.98
kills: 15850
deaths: 10118
ratio: 1.56
-----bomb:  
nick: I_Play_Games
skill: 734.04
kills: 2551
deaths: 2228
ratio: 1.14
Image



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 02.25.11 
Offline
DSWP Meme Artist
User avatar

Joined: 12.05.10
Posts: 1851
Location: Estonia
-----tdm:  
nick: WidespreadPanic
skill: 618.539
kills: 12260
deaths: 10971
ratio: 1.11
-----bomb:  
nick: SelfRescuingPrincess
skill: 254.796
kills: 219
deaths: 202
ratio: 1.08
natirips wrote:
Though I never had participated in a se*ual intercourse (go ahead and laugh) so I'm not speaking from experience or anything, but do you really need more than 42.5cm?

/me laffs dutifully

A fellow n*rd ^_^

You mean, is this code unrealistic? Quite so, but that doesn't matter, as digital genitalia do not follow IRL rules (most notably, even females can have remarkably large penises).

SvaRoX wrote:
Seems a thread can come back to life when people talk about coding :)

And huge dicks.

SvaRoX wrote:
Code:
        asciiArt = '8' + '=' * int(size / 2.5) + 'D'
        if size >= 40:
            asciiArt = asciiArt + ' - - -'

Cool. Another thing learned. Replaced my code with this:-)

Aimlessbot is now idling alongside with Cuntie; I split the plugin in two, and whenever Cuntie quits, main plugin loads the other one with all those emulations (and whenever Cuntie joins, unloads it).

As a side note, I've managed a rather successful threadjack. (Must resist the urge to make a dirty pun on "jacking"... must...)

Crusher wrote:
<image>

/me raises an exception: OutOfContextError

_________________
Путін — хуйло

Beginner’s Guide to Urban Terror (woefully out of date)

Daily Deadnade (last updated September 9, 2016)



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 02.25.11 
Offline
Godlike
User avatar

Joined: 09.28.08
Posts: 2318
Location: Solar System
JRandomNoob wrote:
Crusher wrote:
<image>

/me raises an exception: OutOfContextError

No, you have bad compiler... P.E.N.I.S. suits perfectly to this di_ck measurement.

_________________
Image



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 04.01.11 
Offline
DSWP Meme Artist
User avatar

Joined: 12.05.10
Posts: 1851
Location: Estonia
-----tdm:  
nick: WidespreadPanic
skill: 618.539
kills: 12260
deaths: 10971
ratio: 1.11
-----bomb:  
nick: SelfRescuingPrincess
skill: 254.796
kills: 219
deaths: 202
ratio: 1.08
Since SvaRoX still hasn’t released a new version of the bar, I finally tried to figure out the reasons of some of its… idiosyncracies. The player number bug was real easy (I had had a similar trouble with aimlessbot); turns out there was (.*) in a regex instead of (.+), ensuring that anything matched. So the player array was never empty. (But, speaking of aimlessbot, I’m still doing something wrong in another place, because I have to use a workaround to get it do display ‘0 players’. Hmpf.)

As seen on the accompanying illustration, I also rearranged the UI elements (copying the output of aimlessbot; to see it while Cuntie’s online, ask for !statustest). It makes more sense for me, what do others think?

OK, off to mangle Javascript again:-)


Attachments:
dswp-bar-zero-players.png
dswp-bar-zero-players.png [ 4.42 KiB | Viewed 4333 times ]

_________________
Путін — хуйло

Beginner’s Guide to Urban Terror (woefully out of date)

Daily Deadnade (last updated September 9, 2016)



 
Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 04.01.11 
Offline
Godlike
User avatar

Joined: 01.08.09
Posts: 1295
Location: Berlin, Germany
-----tdm:  
nick: Samtron
skill: 584.92
kills: 316
deaths: 269
ratio: 1.17
Hey, cool work! Can you upload your code, so that others (in fact me) can test it and have a look at it?

Probably we can get SvaRoX to sign the new version, so that the automatic update works again for everybody :)

_________________
Image



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 04.01.11 
Offline
DSWP Meme Artist
User avatar

Joined: 12.05.10
Posts: 1851
Location: Estonia
-----tdm:  
nick: WidespreadPanic
skill: 618.539
kills: 12260
deaths: 10971
ratio: 1.11
-----bomb:  
nick: SelfRescuingPrincess
skill: 254.796
kills: 219
deaths: 202
ratio: 1.08
Samtron wrote:
Hey, cool work! Can you upload your code, so that others (in fact me) can test it and have a look at it?

There’s no code… just a single character replaced, and some cosmetic changes. I’m only poking at this thing because nobody else seems to care, not because I’d understand what I’m doing.

Anyway, I’m rather stupefied now, because it appears the dozens of restarts of Firefox broke something system-wide and frozen refresh doesn’t freeze the browser anymore. Which is all nice and good, except that it kind of shouldn’t be like this. I specifically ran the original version in offline mode, and disconnected from the net, and made a fucking fresh Firefox install, but no difference. Would someone try the following: mark “Work offline” (File menu), press Refresh on the bar, and try to scroll or change tabs or anything? It might be an example of false assumptions on my side, specifically that deliberately trying to freeze the browser would actually work… (This is supported by the fact that this deliberate freeze ends in quite short time after you re-enable the connection.)

_________________
Путін — хуйло

Beginner’s Guide to Urban Terror (woefully out of date)

Daily Deadnade (last updated September 9, 2016)



 


Top
 Profile  
 
 Post subject: Re: DSWP Bar for Firefox
PostPosted: 04.03.11 
Offline
DSWP Meme Artist
User avatar

Joined: 12.05.10
Posts: 1851
Location: Estonia
-----tdm:  
nick: WidespreadPanic
skill: 618.539
kills: 12260
deaths: 10971
ratio: 1.11
-----bomb:  
nick: SelfRescuingPrincess
skill: 254.796
kills: 219
deaths: 202
ratio: 1.08
I still haven’t gotten anywhere with the timeout‘n’stuff, but there are few changes now… I already mentioned that empty server is now shown as such; I also prettified few strings (10 players/minutes vs 1 player/minute). Layout has changed (yell at me if you don’t like it)… If you get a hung refresh again, try logging out and in again — it now resets the refresh button, so the bar perhaps might work fine again after some indeterminable time (dunno, this is some deep magic for me). But the feature that made me post this is:

I had for quite some time wanted to distinguish the forum account owners more clearly from others, but things like “ -- ” or “   ” between the playername and the forum name weren’t noticable enough. Idly wondering why there are such wide margins in the menu, I realized that those are for ICONS!!! (and other such things). So, yeah, now there are nice UrT logos before every homie’s name (it’s the 16×16 layer from dswp.de favicon).
Attachment:
dswp-bar-icons.png
dswp-bar-icons.png [ 3.31 KiB | Viewed 4284 times ]

Attached the JAR file of the bar; I assume you, my fair reader, understand what to do with it if you download it.

JRN off to bed. *thunk*


Attachments:
dswpbar.zip [5.54 KiB]
Downloaded 480 times

_________________
Путін — хуйло

Beginner’s Guide to Urban Terror (woefully out of date)

Daily Deadnade (last updated September 9, 2016)



 
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 115 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Imprint

Powered by phpBB © 2000, 2002, 2005, 2007, 2008, 2009, 2010 phpBB Group

Skin by Lucas Kane
we use apache2 mod rewrite with phpBB SEO
map train_beta1-100 © 2009 by SteveMcQueen
Statistics Backend + Database by XLR Stats and B3 Bot
mapvote robot and gameserver monitor © 2009 by BlinKy
mumble viewer Copyright © 2008 Dominik Radner (aka Urmel)
mumble switcher and integration © 2008 by XTJ7, Unclefragger and Wursti
Localisation Plugin © 2009, Team Leads Plugin © 2009 and Knifer Plugin © 2009 by SvaRoX
for our stats we use Chart.js Copyright (c) 2013-2015 Nick Downie.
the stats also use some jQuery jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc.



voice server
top 20 players


nameskillkills
-Dws.BLINGBLING*-*1730.63418631
NormaSnockers1865.75400492
Zottel1760.8276378
make.them.suffer1846.17269872
>8v=1825.35230156
moon1777.56195615
sjas1692.49192315
peace1878.86190660
Wagner_Moura1562.9188001
Goomba1859.75182677
z0rn1608.41181016
Mad1803.76179124
[dswp]PLZ1847.85178516
Graf_ZahlIII1835.73167407
Zohan1611.07159737
ubercunt1634.93159240
Yarrr!1917.33156233
I_am_nOOb1909.64151268
Pandageddon1891.75148319
Pirat1664.08145798