MMORPG Core - Deutsche Community für Online Rollenspiele - Powered by vBulletin

  • AAA
  • Aggressive
  • Alienated
  • Amazed
  • Amused
  • Angelic
  • Angry
  • Apelike
  • Artistic
  • Asleep
  • Balanced
  • Banhappy
  • Bashful
  • Bitchy
  • Blah
  • Bookworm
  • Bored
  • Breezy
  • Brooding
  • Busy
  • Buzzed
  • Chatty
  • Cheeky
  • Cheerful
  • Cloud 9
  • Cold
  • Coldturkey
  • Confused
  • Cool
  • Crappy
  • Creative
  • Curious
  • Cynical
  • Daring
  • Dead
  • Depressed
  • Devilish
  • Disagree
  • Doh
  • Doubtful
  • Dramaqueen
  • Dreaming
  • Drunk
  • Elated
  • Energetic
  • Fiendish
  • Fine
  • Flirty
  • Gloomy
  • Goofy
  • Grumpy
  • Happy
  • Horny
  • Hot
  • Hungover
  • In Love
  • Innocent
  • Inpain
  • Insomnious
  • Inspired
  • Lonely
  • Lucky
  • Lurking
  • Mellow
  • Mischievious
  • Mondayblues
  • Musical
  • Nerdy
  • Notamused
  • Notworthy
  • Paranoid
  • Pensive
  • Predatory
  • Procrastinating
  • Psychedelic
  • Question
  • Relaxed
  • Roflmao
  • Sad
  • Scared
  • Scurvy
  • Shocked
  • Sick
  • Sleepy
  • Sluggish
  • Sneaky
  • Snobbish
  • Spaced
  • Spooky
  • Sporty
  • Starving
  • Stressed
  • Sunshine
  • Sweettooth
  • Thinking
  • Tired
  • Torn
  • Twisted
  • Veggedout
  • Volatile
  • Woot
  • Worried
  • Yeehaw
  • DDos
  • DDos
  • DDos
  • DDos
  • DDos
  • DDos
  • DDos
  • DDos
  • DDos
  • DDos
  • DDos
  • Tweet   
    Ergebnis 1 bis 5 von 5
    1. #1
      Anfänger
       
      Avatar von Hepatitis C
      Registriert seit
      Dec 2009
      Beiträge
      30
      Danke
      2
      Danke erhalten: 11

      Standard [Release]Fully working Composition

      Die Werbung stört? Registriere dich hier!
      Go to compose.cs and search for
      Code:
      if (MainI.ID != 0 && MinorI.ID != 0 && MainI.Plus <= 8)

      Replace that entire void with this:


      Code:
                  if (MainI.ID != 0 && MinorI.ID != 0 && MainI.Plus <= 11)
                  {
                      uint Progress = MainI.Progress;
                      Progress += Database.StonePts[MinorI.Plus];
      
                      GC.MyChar.RemoveItem(MinorI);
                      GC.MyChar.RemoveItem(MainI);
      
                      while (Progress >= Database.ComposePts[MainI.Plus] && MainI.Plus <= 11)
                      {
                          Progress -= Database.ComposePts[MainI.Plus];
                          MainI.Plus++;
                      }
      
                      if (MainI.Plus == 12)
                          Progress = 0;
                      MainI.Progress = (ushort)Progress;
                      GC.MyChar.AddItem(MainI);
                      GC.MyChar.RemoveItem(MinorI);
                  }
      Then go to database.cs and search for
      Code:
      public static ushort[] ComposePts = new ushort[12] { 20, 20, 80, 240, 720, 2160, 6480, 19440, 58320, 2700, 5500, 9000 };

      And replace that with
      Code:
      public static ushort[] ComposePts = new ushort[13] { 20, 20, 80, 240, 720, 2160, 6480, 19440, 58320, 2700, 5500, 9000, 29160 };
      There you go.
      Fixed composition.

    2. Die folgenden 3 Mitglieder bedankten sich bei Hepatitis C für diesen Beitrag:

      Ilci (02.01.10), Mike[PM] (27.12.09), newstar (01.01.10)

    3. #2
      Anfänger
       
      Avatar von Cømbat
      Registriert seit
      Dec 2009
      Beiträge
      47
      Danke
      3
      Danke erhalten: 6

      Standard

      Nice, You think you can do "Breeder" next :)

    4. #3
      Anfänger
       
      Avatar von Hepatitis C
      Registriert seit
      Dec 2009
      Beiträge
      30
      Danke
      2
      Danke erhalten: 11

      Standard

      Zitat Zitat von Cømbat [Um Links zu sehen registriere dich bitte. Klicke hier.]
      Nice, You think you can do "Breeder" next :)

      Isure will give it a shot!

    5. #4
      Neuling
       

      Registriert seit
      Dec 2009
      Beiträge
      2
      Danke
      1
      Danke erhalten: 0

      Standard

      Zitat Zitat von Hepatitis C [Um Links zu sehen registriere dich bitte. Klicke hier.]
      Go to compose.cs and search for
      Code:
      if (MainI.ID != 0 && MinorI.ID != 0 && MainI.Plus <= 8)

      Replace that entire void with this:


      Code:
                  if (MainI.ID != 0 && MinorI.ID != 0 && MainI.Plus <= 11)
                  {
                      uint Progress = MainI.Progress;
                      Progress += Database.StonePts[MinorI.Plus];
      
                      GC.MyChar.RemoveItem(MinorI);
                      GC.MyChar.RemoveItem(MainI);
      
                      while (Progress >= Database.ComposePts[MainI.Plus] && MainI.Plus <= 11)
                      {
                          Progress -= Database.ComposePts[MainI.Plus];
                          MainI.Plus++;
                      }
      
                      if (MainI.Plus == 12)
                          Progress = 0;
                      MainI.Progress = (ushort)Progress;
                      GC.MyChar.AddItem(MainI);
                      GC.MyChar.RemoveItem(MinorI);
                  }
      Then go to database.cs and search for
      Code:
      public static ushort[] ComposePts = new ushort[12] { 20, 20, 80, 240, 720, 2160, 6480, 19440, 58320, 2700, 5500, 9000 };

      And replace that with
      Code:
      public static ushort[] ComposePts = new ushort[13] { 20, 20, 80, 240, 720, 2160, 6480, 19440, 58320, 2700, 5500, 9000, 29160 };
      There you go.
      Fixed composition.
      I followed you, I used this on my server btw, It helps alot thanks dude.

    6. #5
      Anfänger
       
      Avatar von Cømbat
      Registriert seit
      Dec 2009
      Beiträge
      47
      Danke
      3
      Danke erhalten: 6

      Standard

      Zitat Zitat von Hepatitis C [Um Links zu sehen registriere dich bitte. Klicke hier.]

      Isure will give it a shot!
      Cool hope it goes well =P

    Lesezeichen

    Berechtigungen

    • Neue Themen erstellen: Nein
    • Themen beantworten: Nein
    • Anhänge hochladen: Nein
    • Beiträge bearbeiten: Nein
    •