Stan's Theme

You must log in or register to change your theme.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
!base_font_size = 12px
!base_line_height = 1.231
!header_background_color = "none"
!footer_background_color = "none"
!normal_fonts = "Verdana","arial","sans-serif"
!title_fonts = !normal_fonts
!navigation_fonts = !normal_fonts
!rounded_corners = false
// colors

!body_background_finish_color = #223249
!body_background_start_color = #223249 


!normal_text_color = #000000
!main_background_color = #BBB4A7

!standard_module_background_finish_color = #FCF5E8
!standard_module_background_inner_finish_color = #3AAACF

!heading_color = !normal_text_color

/* !link_color = #4262CF */
!link_color = !body_background_finish_color
!visited_link_color = increase_hue(!link_color, 30deg)
!active_link_color = set_hue(!link_color, 0deg)

!heading_link_color = !link_color
!heading_visited_link_color = !heading_link_color
!heading_active_link_color = !heading_link_color

!input_background = #efefff
!input_focus_background = #ffffff

!avatar_border_color = #000000
!username_normal_color = #000000
!avatar_normal_background = #ffffff
!username_author_color = #007f00
!avatar_author_background = #007f00
!username_moderator_color = #00007f
!avatar_moderator_background = #00007f
!username_anonymous_color = #7f7f7f
!avatar_anonymous_background = #7f7f7f

!standard_gradient_color_difference_outset = 15%
!standard_gradient_color_difference_inset = -15%

!action_button_color = !normal_text_color
!action_button_background_finish_color = #6699cc
!action_button_hover_background_finish_color = !action_button_background_finish_color + #222

!tab_shine_color = #fff
!tab_normal_color = #aaa
!tab_normal_text_color = #555

!tab_shine_amount = 15%

!tab_disabled_shine_color = !tab_shine_color - #333
!tab_disabled_color = !tab_normal_color - #111
!tab_disabled_text_color = !tab_normal_text_color

!poll_bar_author_start_color = #ccf
!poll_bar_author_finish_color = add_luminosity(!poll_bar_author_start_color, -20%)
!poll_bar_user_start_color = #cfc
!poll_bar_user_finish_color = add_luminosity(!poll_bar_user_start_color, -20%)

!global_navigation_link_shine_amount = 20%
!global_navigation_link_shine_color = add_luminosity(!body_background_finish_color, !global_navigation_link_shine_amount)


!listing_selected_th_finish_color = #FADFA8
!listing_selected_th_start_color = add_luminosity(!listing_selected_th_finish_color, !tab_shine_amount)

!listing_hover_th_finish_color = #FDE8BE
!listing_hover_th_start_color = add_luminosity(!listing_hover_th_finish_color, !tab_shine_amount)

!listing_hover_tr_finish_color = #BDB9B2
!listing_hover_tr_start_color = add_luminosity(!listing_hover_tr_finish_color, !tab_shine_amount)

!ins_color = #070
!del_color = #700

.col-icon
   :display none !important
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
// Body Hack from Kaelten's

body
   :background = #223249 "!important"

// Page
// Useless giant Curse footer
.t-footer, .t-footer-wrapper, .t-footer-curseLinks, .t-footer-createdBy
   :display none !important
   :visibility hidden !important
#page
   background: none !important
   width: 1100px
   padding-bottom: 40px

.col-project a
   :font-size 12px !important
   :font-weight bold !important
.col-icon
   :display none !important
.col-project
   :font-size 100%
   :font-weight bold
.create-link-before-filter
   :padding-bottom 4px
   :font-weight bold
   :font-size 11px
.user-actions
   :color #000000


// Content

.description-box
   background: none !important
   border: none !important
      
.expanding-module
   margin-bottom: 20px !important

dt
   color: #80795c !important

dd
   max-height: 100px !important
   overflow: auto !important

pre
   background: #fff !important
   border: 1px solid #aa7616 !important
   font: 12px "Courier New", "Courier", "monospace" !important
   padding: 10px !important

h2, h3
   color: #80795c !important

.fact-list,
.user-list,
.user-actions a,
.admin-actions
   font-size: 11px !important

.listing-container
   border: 1px solid #aa7616 !important
   .listing
      font-size: 11px !important
      th
         border-bottom: 1px solid #d9cdb8 !important
         font-size: 11px !important
         padding: 5px 0 !important
      td
         border-bottom: 1px solid #d9cdb8 !important
         font-size: 11px !important
         h2, h3
            font-size: 12px !important
            font-weight: bold !important
         em
            font-style: normal !important
      tr:last-child,
      .row-joined-to-next
         td
            border-bottom: none !important
.project-default-image
   :background = #fcf5e8 gradient_url(!artisan_url, "vertical", 50px, #fff, #fcf5e8) "repeat-x" "scroll" "top" "center" "!important"
   padding: 5px !important
   border: 1px solid #aa7616 !important
.donate-tab
   a
      font-style: normal !important

// Forms

form, input, button, label
   font-size: 11px !important
.form-fields
   .label
      font-size: 11px !important

// Footer

#ft
   background: none !important
   font-size: .9em !important
   padding: 20px 0 !important


// Header

#hd
   padding-top: 1em
   .global-navigation
      font-size: 11px
      .global-navigation-links
         margin: 0 5%
         li
            a, span
               background-position: top left
               background-repeat: no-repeat
               padding: 0 10px
            a:hover
               text-decoration: underline
         li:first-child
            a
               background: none
      .global-user
         li
            a, span
               background-position: top left
               background-repeat: no-repeat
            a
               padding: 0 10px
            span
               padding: 0
            a:hover
               text-decoration: underline
         li:first-child
            a
               background: none
         li:last-child
            a
               padding-right: 0
   h1:last-child
      font-size: 22px
      margin-bottom: .5em

// Tabs


.tabs-container
   font-size: 11px !important
   .tabs
      li
         a
            margin-left: 1px !important
            padding: 5px 15px !important
      li:first-child
         a
            margin-left: 0 !important

Facts

Created
Jun 06, 2009
Updated
Jul 17, 2013

Author

Ut erat laoreet venenatis parturient hendrerit, blandit dolor neque viverra, maecenas arcu interdum fringilla, ornare nunc sagittis hac, purus ullamcorper platea. Consectetuer senectus euismod placerat, dictumst vitae tortor facilisis dolor, lacinia ac auctor est conubia neque facilisis, nostra id aptent quam. Laoreet aliquam lorem nisl, leo.

Polls preview

Should Skript Fest be Whitelisted?

  •   22.2% - No, everyone should be able to join. - 10
  •   22.2% - Yes, only people who know what Skript is should have permission to join. - 10
  •   40.0% - No, but Skripters should be a higher rank than visitors. - 18
  •  15.6% - Yes, but Skripters should be able to invite others as a lower rank. - 7

Should Skript Fest be Whitelisted?

  1. Choice:

What do you want next?

  •   44.4% - Doesn't matter whatever you have time for - 4
  •  66.7% - XP Bar when a player DoubleJumps - 6
  •  33.3% - Cooldowns - 3
  •  22.2% - Faster walking speed - 2
  •   44.4% - Pressure plates that shoots players into the air - 4

What do you want next?

  1. Choices:

What do you think:

  •  2.222 - How good is this Skript Compared to Essentials? - 9
  •  1.000 - Do you have problems with different Aliasses? - 7
  •  2.600 - Want to give me a digital Cookie? - 10

What do you think:

  1. How good is this Skript Compared to Essentials?:

  2. Do you have problems with different Aliasses?:

  3. Want to give me a digital Cookie?:

Tables preview

Standard table, no row groups defined

Column 1 Column 2
Column 3 Column 4

Table with just a tbody

Column 1 Column 2 Column 3
Column 4 Column 5 Column 6

Table with a thead and tbody

Header 1 Header 2 Header 3
Column 1 Column 2 Column 3
Column 4 Column 5 Column 6

Table with a thead, tfoot, and tbody

Header 1 Header 2 Header 3
Footer 1 Footer 2 Footer 3
Column 1 Column 2 Column 3
Column 4 Column 5 Column 6

Table with a caption, thead, tfoot, and tbody

This is the caption for the table
Header 1 Header 2 Header 3
Footer 1 Footer 2 Footer 3
Column 1 Column 2 Column 3
Column 4 Column 5 Column 6

Test table with merged cells

A test table with merged cells
Average Red
eyes
heightweight
Males1.90.00340%
Females1.70.00243%

Empty cell

Column 1 Column 2
Column 4

Listing preview

AlphaBravoCharlieDelta
AlphaBravoCharlieDelta
0 Apr 25, 2014

Nisl nec auctor interdum hymenaeos ultricies, rutrum elit lacinia netus eget, interdum vivamus ipsum blandit maecenas blandit, elit magna orci. Fames curae senectus.

Nec pede ipsum.

1 Apr 25, 2014

Curabitur velit egestas ut quis malesuada, elit leo vehicula nascetur ante placerat, gravida mattis consequat pulvinar tincidunt enim, pede varius nunc.

Amet fames nisi.

2 Apr 25, 2014

Dis suspendisse eleifend luctus enim, aptent cras felis lectus eu mollis, imperdiet eget pellentesque metus habitasse erat risus. Curae sociosqu fermentum hymenaeos sociosqu, fames.

Sodales aliquet nec ut.

3 Apr 25, 2014

Nisi habitant sollicitudin nibh nisl non laoreet phasellus, dis suscipit vitae suspendisse posuere pede, sem class. Est iaculis consequat venenatis sagittis ad, fusce sagittis enim sed elementum consectetuer nascetur.

Neque ridiculus.

4 Apr 25, 2014

Aliquam risus porta vitae nunc ultricies natoque fames, nunc nam facilisis maecenas suscipit taciti, aptent scelerisque leo quisque, sapien class. Vitae suspendisse condimentum primis ultrices libero eu, lorem penatibus ultrices parturient luctus odio ultricies, aptent pulvinar ridiculus dictum iaculis elementum, magnis aliquam euismod.

Sodales aptent.

5 Apr 25, 2014

Metus condimentum at ad pellentesque vehicula posuere, suspendisse facilisis posuere cubilia nec potenti, massa luctus felis ultricies pretium, a dignissim.

Litora diam libero.

6 Apr 25, 2014

Lobortis tempus rutrum ultricies sodales mus, erat iaculis rutrum faucibus pulvinar enim, phasellus fusce pulvinar aptent, posuere donec faucibus lobortis. Nec orci cursus mi ultrices odio, cras a mattis nibh a, sapien dis suspendisse hac suscipit lectus. Sollicitudin ullamcorper rhoncus augue magna proin, magna lectus nisi est, accumsan.

Nascetur justo.

7 Apr 25, 2014

Varius litora taciti condimentum arcu lacinia, egestas elementum nisl neque, fringilla sollicitudin non potenti condimentum vestibulum, taciti dignissim duis. Pharetra habitasse eros sapien leo lacinia ac, sociis dictum semper risus ornare porttitor aenean, ad dis. Felis porttitor nisi nunc mauris class.

Luctus congue vulputate conubia.

8 Apr 25, 2014

Eget nascetur nisl senectus nascetur habitasse venenatis pretium, dictumst nec condimentum vestibulum ornare faucibus, ullamcorper cubilia dapibus. Pede condimentum nulla quam velit eros, bibendum auctor nunc nostra vivamus mollis elit, porttitor consequat laoreet. Est cubilia lobortis.

Class lectus laoreet porta est.

9 Apr 25, 2014

Habitasse vivamus sed risus sit elit quis, lacus natoque sem sociis per semper hendrerit congue, at scelerisque dui. Rhoncus sem feugiat congue cum, taciti velit id litora, mus phasellus fusce aliquet urna, eros erat integer. Erat ac euismod luctus sit duis.

Proin pretium.

10 Apr 25, 2014

Aliquam venenatis hac varius sapien arcu, odio conubia aliquam urna nibh euismod varius, fringilla tincidunt pulvinar proin, ipsum eleifend. Auctor ipsum condimentum scelerisque eleifend auctor, luctus nisl vulputate pulvinar.

Purus dictumst primis scelerisque.

11 Apr 25, 2014

Pede habitant phasellus blandit netus, dictumst viverra sollicitudin erat mollis bibendum, sapien pretium habitasse lacinia inceptos, scelerisque elementum malesuada purus maecenas. Placerat hendrerit porttitor vestibulum nostra, magna amet enim curabitur maecenas, tristique taciti elit mollis felis, integer sodales.

Rutrum elit augue odio.

12 Apr 25, 2014

Imperdiet justo accumsan curabitur risus, tristique at neque vivamus, fames consequat metus imperdiet malesuada, tristique amet purus curae. Pulvinar morbi accumsan ultrices maecenas, amet dignissim sem dui accumsan semper, nibh mus.

Arcu euismod nonummy interdum nunc.

13 Apr 25, 2014

Bibendum convallis faucibus tellus sapien mi sagittis, massa dapibus litora est pellentesque sociis, ad cras eget neque tellus. Vehicula venenatis arcu euismod venenatis conubia, eget dis parturient dui venenatis.

Proin dui.

14 Apr 25, 2014

Ultrices laoreet mi nam ut, iaculis ultrices litora etiam facilisis, mauris auctor ullamcorper dictumst, penatibus interdum tempus orci sit curae,. Nam faucibus a molestie nullam sociosqu, semper curae accumsan habitasse sed enim ipsum, class.

Risus hendrerit at fames.

15 Apr 25, 2014

Hac mus arcu proin euismod, tellus lobortis inceptos nibh, habitant est cum nascetur sollicitudin dignissim, natoque suspendisse sociosqu dignissim eu, porta. Quam.

Nam justo.

16 Apr 25, 2014

Hendrerit gravida vel elementum nullam, hac tempus aliquet scelerisque etiam id, tristique ridiculus velit tincidunt faucibus nullam, dictumst augue. Natoque cubilia rutrum tincidunt, a mauris potenti semper et sapien, vel lacus feugiat ridiculus egestas ultricies leo vestibulum, sagittis elementum volutpat. Habitasse imperdiet pretium penatibus sed nunc turpis, nulla pede.

Amet id senectus.

17 Apr 25, 2014

Curabitur velit elementum tempor pretium est, pharetra diam semper porttitor non, fermentum sit hymenaeos sollicitudin egestas, sagittis sociosqu nunc. Congue leo consectetuer amet euismod, fermentum velit lobortis molestie mauris sit, sociosqu porta turpis dui turpis.

Eleifend et platea.

18 Apr 25, 2014

Viverra tellus id ridiculus facilisis, elit ante posuere vivamus sapien phasellus, libero sit velit platea ad curae volutpat, ultrices ultricies consequat suspendisse mollis, blandit accumsan. Montes ornare primis elementum eu, eros hac at odio a, eros ornare blandit.

Congue curae arcu etiam.

19 Apr 25, 2014

Odio proin purus id mi nullam ac eget, laoreet rutrum mollis tempus, ante mauris pellentesque pretium sapien taciti, justo commodo ullamcorper maecenas velit.

Laoreet tempor pede torquent nonummy.

Comment preview

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of aadnk aadnk Apr 25, 2014 at 01:05 UTC - 0 likes

    @libraryaddict: Go

    Sure, I can add something like that - it's not that far off from PacketOutputHandler in terms of the implementation either.

    And here's an example of it in use:

    public class ExampleMod extends JavaPlugin {
        private ProtocolManager manager;
        private ChatExtensions extensions;
        
        @Override
        public void onEnable() {
            manager = ProtocolLibrary.getProtocolManager();
            extensions = new ChatExtensions(manager);
            
            manager.addPacketListener(new PacketAdapter(this, PacketType.Play.Server.CHAT) {
                @Override
                public void onPacketSending(PacketEvent event) {
                    System.out.println("Filtered: " + event.isFiltered());
                    sendSilently(extensions, event.getPlayer(), "onPacketSending()");
                    
                    event.getNetworkMarker().addPostListener(new PacketPostAdapter(ExampleMod.this) {
                        @Override
                        public void onPostEvent(PacketEvent event) {
                            sendSilently(extensions, event.getPlayer(), "onPostEvent()");
                        }
                    });
                }
            });
        }
        
        private void sendSilently(ChatExtensions extensions, Player player, String message) {
            try {
                extensions.sendMessageSilently(player, message);
            } catch (InvocationTargetException e) {
                throw new RuntimeException(e);
            }
        }
    }
    

    And, on top of this system, I could also add a "delayed packets" list in PacketEvent, which would allow other plugins to inspect (and modify) the list of packets that gets sent in addition (or in place) of the existing packet.

    Though it might not be necessary.

  • Avatar of libraryaddict libraryaddict Apr 24, 2014 at 05:24 UTC - 0 likes

    Hmm.

    Regarding something we talked about a while ago.
    Sending more packets straight after a packet is sent.
    Not a tick after

    I still need that.

    Was thinking that you could add a runnable call when the event finishes and the packet is sent.

    Possibly with the ability to add more than one runnable.

    PacketEvent.addCallback(runnable) removeCallback(runnable) getCallbacks()

    Unlike normal plugin programming, packets depend a lot on the order they are sent and when. So a tick difference does make.

    Only use case I have currently is that I want to send more packets if a certain packet is caught. And a tick delay makes things look ugly

    BFAK:libraryaddict,75154,c9bc87ad599337d3271d3cb02958adc594ab27bb05cc09136881ff0723c8fcb4

  • Avatar of aadnk aadnk Apr 23, 2014 at 20:35 UTC - 0 likes

    @gronnmann: Go

    You can send/"receive" a packet from a command, if that's what you're talking about. If you just want a command to affect incoming or outgoing packets, then you should store any such modification in a HashMap and look it up in the packet listener.

    And yes, you can add/remove packet listeners at any point in your plugin, not just onEnable().

  • Avatar of gronnmann gronnmann Apr 23, 2014 at 16:26 UTC - 0 likes

    How to make a packet changed when you type a command?? Edit: I also wonder if it is possible to make a packet listener on other places than the onEnable.

    Last edited Apr 23, 2014 by gronnmann
  • Avatar of aadnk aadnk Apr 21, 2014 at 21:31 UTC - 0 likes

    @TNTUP: Go

    It's compiled on my Jenkins server, however, I haven't added the necessary feature yet. I figured I'd wait until I knew you'd be able to run it.

    I'll see if I can't add it soon.

  • Avatar of TNTUP TNTUP Apr 21, 2014 at 19:18 UTC - 0 likes

    @aadnk: Go

    Mhm.. will try but atm im very busy on my server (25-30 per day) and I have less time to do tests :C, and that detetctCME needs to be compiled I guess :P

    EDIT: I did a second /protocol listeners, and heres the newer one: http://pastebin.com/CUDw1SKJ

    Last edited Apr 21, 2014 by TNTUP

    BFAK:95066,dd3bd97af6e0c8de224582d02370f079170eea468d01c5afc6a4b2b0119a2840

  • Avatar of aadnk aadnk Apr 21, 2014 at 14:27 UTC - 0 likes

    @TNTUP: Go

    Well, the error doesn't actually occur in ProtocolLib, the only reason it shows up in the call stack is because I have to "intercept" packet writing in order to implement PacketOutputHandler.

    Even if I knew what caused this, I wouldn't be able to fix it in ProtocolLib. The code (likely in some plugin) that is modifying the NBT tag when Minecraft is iterating over its keys is to blame here.

    So, I still recommend disabling plugins until the problem no longer presents itself (try disabling half of your plugins at a time, if you have many). But this can be difficult, especially if the error only occurs rarely and requires multiple players online, which would limit the usefulness of a test server.

    Perhaps you could try DetectCME instead? I can modify it to also detect cross-thread modification of the NBT tags in PacketPlayOutTileEntityData, if you're interested. Then all you have to do is run this detection plugin, and wait for the error to be triggered.

    @libraryaddict: Go

    I've added this to build #242 (3.4.0-SNAPSHOT) on the Jenkins server. WrappedGameProfile now contains the getter "getProperties()", along with the useful static function WrappedGameProfile.fromPlayer(Player), which allows you to retrieve a game profile from an online player.

  • Avatar of TNTUP TNTUP Apr 20, 2014 at 21:36 UTC - 0 likes

    @aadnk: Go

    I have updated ProtocolLib to 3.3.1, I was on 3.2.0... I'll give out news if its occurs again

    EDIT: Still occurs, maybe its a minecraft bug itself or the plugin, but I can't be sure.

    Last edited Apr 21, 2014 by TNTUP
  • Avatar of aadnk aadnk Apr 19, 2014 at 22:33 UTC - 0 likes

    @libraryaddict: Go

    I suppose I could simply expose it as a WrappedSignedProperty, or someting like that.

    I'll see if I can't implement it tomorrow, when I get back from my vacation.

  • Avatar of libraryaddict libraryaddict Apr 19, 2014 at 14:26 UTC - 0 likes

    Would it be possible to have WrappedGameProfile support getting/setting skin blobs?

Forum thread preview

  • 1 comment
    #1 Apr 25, 2014 at 00:37 UTC - 0 likes

    Hi, I'm working with a friend on creating a mod - we've been trying to figure out how to force the Zealot to complete his attack animation before being able to move, similarly to how they acted in BW. In SC2 if you attack a target with a Zealot, you can instantly issue a move command without the animation completing. Neither of us are experienced with the editor so forgive me if this is a very simple problem.

    We've tried changing the damage point, the random attack delay, the period values of his attacks but we can't get it to act how we want it to..

  • 1 comment