Holograph Emulator COD Edition 2nd Revision

Page 1 of 3 123 LastLast
Results 1 to 15 of 35
  1. #1
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Holograph Emulator COD Edition 2nd Revision

    Concept:
    To make a new whole system like Role play for Shockwave based.

    Why Shockwave and not Flash?
    Because Shockewave is more better and you can do loads of stuff.

    COD?
    Call Of Duty.

    Impossible?
    Was in client side like visually but then i so lab-hotel's thread and said FUCK YEH!

    Codes:
    Xp Class:
    Code:
    using Ion.Storage;
    using Holo.Virtual.Users;
    using Holo;
    using System.Text;
    using System.Data;
    using System.Collections;
    using System;
    using System.Collections.Generic;
    
    namespace Zak.COD.Human.Properties.XP
    {
        public class XP
        {
            #region Declares
            // Max amount of XP user can get [value based on MW2 Xbox].
            private const int MAX_XP = 2434700;
            // Array XP using MAX_XP.
            private string[] mXP = new string[MAX_XP]; // XP Array.
            // Get User By Using VirtualUser.
            private virtualUser U;
            // Declare ID.
            int ID;
            public List<XP> ExperincePoints;
            int GotKill;
            int XPoints;
            #endregion
    
            #region Contructure
            public XP()
            {
                //Credits to Quackster for telling me how to do this with Stringbuilder but im using List now.
                ExperincePoints = new List<XP>();
                using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                {
                    foreach (DataRow XPRow in dbClient.getTable("SELECT * FROM users").Rows)
                    {
                        // Previously using Convert.ToInt32 now using Explict cast conversion.
                        ExperincePoints.Add(new XP( (int)(XPRow["gotkill"]), (int)(XPRow["xp"]), (string)(XPRow["matchname"]))); 
                    }
                }
            }
            public XP(int mGotKill, int mXP, string mMatchName)
            {
                mGotKill = this.GotKill;
                mXP = this.XPoints;
                mMatchName = this.U.MatchName;
            }
            #endregion
    
    
            #region Indexer
            // Advanced int indexer
            public string this[int XP]
            {
                // Get properties.
                get
                {
                    //Define index using variable
                    XP = this.XPoints;
                    // if index is greater then 0 and is low than max xp.
                    if (XP >= 0 && XP < MAX_XP)
                    {
                        // return amount of XP user has.
                        return mXP[XP];
                    }
                    else
                    {
                        // XP is higher than MAX_XP value
                        throw new System.IndexOutOfRangeException();
                    }
                }
                // Set properties.
                set
                {
                    // if index is greater then 0 and is low than max xp.
                    if (XP >= 0 && XP < MAX_XP)
                    {
                        //Array mXP value is set to the amount of the index value.
                        mXP[XP] = value;
                    }
                    else
                    {
                        // If value is higher then MAX_XP
                        throw new System.IndexOutOfRangeException();
                    }
                }
            }
            #endregion
    
            #region Methods
            // Advanced Maths system coming soon.
            public void UpdateXP(int ID)
            {
                int GotKill = this.GotKill;
                int XP = this.XPoints;
                // Kill greater then 0.
                if (GotKill > 0)
                {
                    // If match is search and destroy.
                    if (U.MatchName.Contains("[S&D]"))
                    {
                        // Update UserXp by 500.
                        GotKill = +500;
                        // Remove kill so it does not loop and give loads of xp.
                        GotKill = -1;
                    }
    
                    else
                    {
                        // Update UserXp by 100.
                        XP = +100;
                        // Remove kill so it does not loop and give loads of xp.
                        GotKill = -1;
                    }
                }
            }
            #endregion
        }
    }
    Call Of Duty Core With API System
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Zak.COD.Human.Properties.Health;
    using Zak.COD.Human.Properties.XP;
    using Holo.Source.Weapons;
    using Holo.Virtual;
    using Holo.Virtual.Users;
    using Holo.Source.Call_Of_Duty_Plugin.KillStreaks.BlackBird;
    
    namespace Holo.Source.Call_Of_Duty_Plugin.Main
    {
       public class CallOfDutyCore
       {
           #region Fields
           #region Get Fields
           public HealthSystem fHealth;
           public XP fXP;
           public Snipers fSniper;
           public Zombies fZombie;
           public virtualUser fUser;
           public virtualRoomUser fRoomuser;
           public BlackBirdMainCore fBlackBird;
           #endregion
           #endregion
    
           #region Get System / API
           public HealthSystem Health()
           {
               return fHealth;
           }
           public Snipers Sniper()
           {
               return fSniper;
           }
           public XP XP()
           {
               return fXP;
           }
    
           public Zombies Zombie()
           {
               return fZombie;
           }
           public virtualUser User()
           {
               return fUser;
           }
           public virtualRoomUser RoomUser()
           {
               return fRoomuser;
           }
           public BlackBirdMainCore BlackBird()
           {
               return fBlackBird;
           }
           #endregion
    
           #region Key Properties
           // Chracter Keys
           public void CharKeysApply(int Character)
           {
               char Char;
               switch (Character)
               {
                   // 1 = UP.
                   case 1:
                       {
                           Char = (char)1;
                           char.IsDigit(Char);
                           Character = RoomUser().goalY + 1;
                           break;
                       }
               }
           }
           #endregion
    
           #region KillStreaks
           // Killstreak Carepackage
           #region Care_Package
           //Team Care Package
           #region TeamCarePackge
           public void GetTeamCarePackage(string Colour, string Killstreak, int Kills,List<string> Builder)
           {
               // Default Colour.
               Colour = "Green";
               // Add Killstreak Weapons.
               Builder.Add(BlackBird().BlackBirdCarePackage);
           }
           #endregion
           //Enemy Care Package
           #region EnemyCarePackage
           #endregion
    
           #endregion
           #endregion
       }
    }
    Health Class
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Data;
    using Ion.Storage;
    using Holo;
    using Holo.Virtual.Users;
    
    namespace Zak.COD.Human.Properties.Health
    {
    
        public class HealthSystem
        {
            private virtualUser U;
            // Usage: User gets hit instead of a query it's a void it will improve the performance as this void will be used multiple features.
            // Example: if(UserHitted  == true) { TakeAwayHealth(Health); // Amount hitted. or TakeAwayHealth(20); Take away 20 health points. }
            public void TakeAwayHealth(int Amount)
            {
                using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                {
                    DataRow HealthInfo = dbClient.getRow("SELECT * FROM users WHERE id = '" + U.userID + "'");
                    int Value = (int)HealthInfo["health"] - Amount;
                }
            }
    
            public int GetHealth(int ID)
            {
                using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
                {
                    DataRow HealthInfo = dbClient.getRow("SELECT health FROM users WHERE id = '" + U.userID + "'");
                    return (int)HealthInfo["health"];
                }
            }
        }
    }
    Human Class
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Holo.Source.Call_Of_Duty_Plugin.Main;
    
    namespace Zak.Call_Of_Duty_Plugin.UserProperties
    {
        public class Human
        {
            public CallOfDutyCore Call_Of_Duty_Core;
            int ID;
            int Health;
            int XP;
    
            public Human()
            {
                ID = Call_Of_Duty_Core.User().userID;
                Health = Call_Of_Duty_Core.Health().GetHealth(ID);
            }
        }
    }
    Loads more remember these classes are not completed they are just a base to work from i released this so people can develop further on this i will be also developing on this.

    Guns (what they will look like [not all guns])


    Download Link: http://www.mediafire.com/?kbke615u5da6rgl


  2. #2
    Live Ocottish Sverlord Joopie is offline
    LegendRank
    Jun 2010 Join Date
    The NetherlandsLocation
    2,773Posts

    Re: Holograph Emulator COD Edition 2nd Revision

    LOL xd, nice one but i prefer to play battlefield xd
    Posted via Mobile Device

  3. #3
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: Holograph Emulator COD Edition 2nd Revision

    Noob

  4. #4
    Ultra Light Beam Makarov is offline
    MemberRank
    Apr 2010 Join Date
    GothamLocation
    3,622Posts

    Re: Holograph Emulator COD Edition 2nd Revision

    Is this able to run a hotel on?

  5. #5
    Live Ocottish Sverlord Joopie is offline
    LegendRank
    Jun 2010 Join Date
    The NetherlandsLocation
    2,773Posts
    Quote Originally Posted by Zak© View Post
    Noob
    Now i hate you !
    Posted via Mobile Device

  6. #6
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: Holograph Emulator COD Edition 2nd Revision

    Quote Originally Posted by Tr0ll.™ View Post
    Is this able to run a hotel on?
    It's fully functional as a normal emulator but the functions currently coded are for the features itself it's like making cookie dough before putting it in the oven.

  7. #7
    Account Upgraded | Title Enabled! salah-salah is offline
    MemberRank
    Jan 2009 Join Date
    UndergroundLocation
    716Posts

    Re: Holograph Emulator COD Edition 2nd Revision

    #MW3 on number one 8 nov !!!
    And nicenice Zak:)

  8. #8
    "(still lacks brains)" NoBrain is offline
    MemberRank
    Sep 2011 Join Date
    United KingdomLocation
    2,658Posts

    Re: Holograph Emulator COD Edition 2nd Revision

    Quote Originally Posted by salah-salah View Post
    #MW3 on number one 8 nov !!!
    And nicenice Zak:)
    Battlefield 3 is a way better game!

  9. #9
    Account Upgraded | Title Enabled! salah-salah is offline
    MemberRank
    Jan 2009 Join Date
    UndergroundLocation
    716Posts

    Re: Holograph Emulator COD Edition 2nd Revision

    Quote Originally Posted by Jupos View Post
    Battlefield 3 is a way better game!
    Well give me a reason:)

  10. #10
    "(still lacks brains)" NoBrain is offline
    MemberRank
    Sep 2011 Join Date
    United KingdomLocation
    2,658Posts

    Re: Holograph Emulator COD Edition 2nd Revision

    Quote Originally Posted by salah-salah View Post
    Well give me a reason:)
    Call of Duty doesn't have gravity for bullets, but happens on Battlefield 3 - more realistic because it happens in real life.

  11. #11
    Account Upgraded | Title Enabled! salah-salah is offline
    MemberRank
    Jan 2009 Join Date
    UndergroundLocation
    716Posts

    Re: Holograph Emulator COD Edition 2nd Revision

    Quote Originally Posted by Jupos View Post
    Call of Duty doesn't have gravity for bullets, but happens on Battlefield 3 - more realistic because it happens in real life.
    Well, I played modernwarfare - Modern warfare 2 - And now i will play modernwarfare 3 Its just like candy! Too addicted
    But okay , good reason:)

  12. #12
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: Holograph Emulator COD Edition 2nd Revision

    Quote Originally Posted by Jupos View Post
    Call of Duty doesn't have gravity for bullets, but happens on Battlefield 3 - more realistic because it happens in real life.
    It will be the other way around when MW3 is released half the features are not even been told about, we had a big MW3 event to celebrate what did you have? we had free hand outs of harden edition in the big event with online multiplayer testing and paintball arean based on the actual MW2 map.

    COD series will always suppress any game

  13. #13
    Iron like a Lion in Zion! vLife is offline
    Super ModRank
    Apr 2009 Join Date
    The BahamasLocation
    3,788Posts

    Re: Holograph Emulator COD Edition 2nd Revision

    It only surpasses it because IW can throw out any shit @ its gamers and they will buy.
    People say blackops is horrible, yet they still play the game. TBH, people play COD because of all the shit you can do on it.

  14. #14
    "(still lacks brains)" NoBrain is offline
    MemberRank
    Sep 2011 Join Date
    United KingdomLocation
    2,658Posts

    Re: Holograph Emulator COD Edition 2nd Revision

    Quote Originally Posted by RetroX View Post
    It only surpasses it because IW can throw out any shit @ its gamers and they will buy.
    People say blackops is horrible, yet they still play the game. TBH, people play COD because of all the shit you can do on it.
    I only play COD for the elevator glitches. nuff' said.

    Oh, and Mw2 was a disaster. After it got released the IW owners got really mad because of all the negativity towards the game and fired most of their Staff, good job too. I hope IW die and another company takes over the COD series along side Treyarch.

  15. #15
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: Holograph Emulator COD Edition 2nd Revision

    MW2 is a epic game and still going, why is it better?
    It has awesome glitches
    Epic maps
    Nice guns
    Quick scopeing
    Snipers
    Spec ops
    Perks
    Weapons


    Carry on i'll fight to back this case up



Page 1 of 3 123 LastLast

Advertisement