Jump to content

Corbett

Members
  • Posts

    43
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Corbett

  1. if (Config.SERVER_NEWS)

           {

               String serverNews = HtmCache.getInstance().getHtm("data/html/servnews.htm");

               if (activeChar.getAccessLevel() > 0 )

               {

                   serverNews = HtmCache.getInstance().getHtm("data/html/servgmnews.htm");

               }

               if (serverNews != null)

                   sendPacket(new NpcHtmlMessage(1, serverNews));

           }

     

    if (Config.SERVER_NEWS)

           {

               if (activeChar.getAccessLevel() > 0 )

               {

                   String newsGM = HtmCache.getInstance().getHtm("data/html/servgmnews.htm");

                   if (newsGM != null)

                       sendPacket(new NpcHtmlMessage(1, newsGM));

               }

               else

               {

                   String newsNormal = HtmCache.getInstance().getHtm("data/html/servnews.htm");

                   if (newsNormal != null)

                       sendPacket(new NpcHtmlMessage(1, newsNormal));

               }

           }

     

    Θα σε αφησω να καταλαβεις μονος το λαθος σου ;~) Θα σε βοηθησει να μην το επαναλαβεις την επομενη φορα. Καλη επιτυχια.

     

    ΥΓ: Οσα υπογραμμισα ειναι ενα μερος του προβληματος.. Υπαρχει κι αλλο ενα, πολυ βασικοτερο. Αυτο το αφηνω σε εσενα.

  2. το έχω δοκιμάσει κι έτσι. πάλι τα ίδια έκανε. Τέσπα thanks για το help.

     

    Δοκιμασε να γραψεις ΑΚΡΙΒΩΣ οτι σου εδωσα. Παρατηρησα ενα βασικο λαθος στον κωδικα που εδωσες, και καταλαβα τι δεν εχεις καταλαβει. Ξαναδοκιμασε να βαλεις ΑΚΡΙΒΩΣ οτι σου εδωσα και πες μας το αποτελεσμα. Μην ξεχασεις φυσικα να δημιουργησεις το νεο htm για τους GMs.

  3. if (Config.SERVER_NEWS)
           {
               if (activeChar.getAccessLevel() > 0 )
               {
                   String newsGM = HtmCache.getInstance().getHtm("data/html/servgmnews.htm");
                   if (newsGM != null)
                       sendPacket(new NpcHtmlMessage(1, newsGM));
               }
               else
               {
                   String newsNormal = HtmCache.getInstance().getHtm("data/html/servnews.htm");
                   if (newsNormal != null)
                       sendPacket(new NpcHtmlMessage(1, newsNormal));
               }
           }

     

    try.

     

    ΥΓ: Μια παρακληση.. Αν δεν εχετε ιδεα για το τι λετε, μην πετατε μαλακιες. Ευχαριστω πολυ =)

  4. i wanna do her qq

     

    Who knows.. She failed on singing, now she became an actress. When she fails on that, we may see her in brazzers =D

     

    justin bieber and all his songs.

     

    +1

     

    miley sirus is a death to music

     

    +12

     

    lady gaga

     

    +13

  5. I daily browse www.youtube.com and I've seen lots of things.. And I really get pissed of by seeing stupid/imature people, singing EPIC songs. I understand, they still are young and want to become something, but.. If you've got NO VOICE, NO SKILLS, NO CLUE about the past.. Why do you even try? =/ Could you please post in this topic any Music-Killahs?

    I've already spotted a few:

     

     

    http://www.youtube.com/watch?v=E7l5r9GxAZI

     

     

    PS: Yea, you got it right, I'm not such a JB fan =D

  6. Τοοοοοσα post μεχρι να καταλαβετε πως χρησιμοποιει Interlude.. Και δικο του το λαθος που δεν το ανεφερε εξ αρχης. Τελως παντων, το wedding npc δεν γινεται spawn στην Giran οπως φανταζεσαι (επειδη υποθετω πως το ειδες ετσι σε εναν server). Πρεπει εσυ ο ιδιος να το κανεις spawn εκει που θες (αν και ηδη υπαρχει σε ενα παγωμενο μερος, Ice Merchant Cabin νομιζω).

    Οπως φαινεται εδω το npc αυτο υπαρχει.

    Το μονο που εχεις να κανεις ειναι //spawn 50007

  7. i see you didnt read it completly, np :)

    but also saw that you didnt know how to read what you read. If the event vote system is enabled, the event hours for which each event is planified are ignored and vice-versa

     

    Well, as I previously mentioned, I didn't manage to read all of it. My eye just saw some stuff, so I thought that I should comment it. And actually you could do it better.. With these configs you kinda limit the configuration style, and also you could handle all the restrictions through new files, instead of touching every single class. For example, creating a file like restrictions.properties (just like you did with the configs), and in this file the users will be able to set the proper restrictions.

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock