Questions About Server Making

Results 1 to 7 of 7
  1. #1
    Member iHaveALife is offline
    MemberRank
    Jul 2008 Join Date
    55Posts

    Questions About Server Making

    Well I have decided to make a server but I need some questions to help me get started. [LOTF BASED]

    1)How do you change mob drops? And how do you decrease the drop rate?

    2)How do you add mob spawns to places, I.E... Spawning mobs of slingers in lab1.

    3)How do you add a counter so that when you kill x amount of monsters, you can get exp like on CO.

    4)How do you make it so that when you get promoted to.. lets say.. a trojan you get gear in your inventory?

    5)How do you make an unban command? I have copied the ban command and changed some stuff and it wont work... (Yes i made the code which changed the flags to 1.)

    6)How do you change starting gear?

    I don't expect to have straight out answers, but, I would be more than happy for you guys to give me tips/hints instead of just spoonfeeding me.

    Also, if you can't help me, don't even bother replying


    Thanks for your cooperation.


  2. #2
    Enthusiast Super.Pvper is offline
    MemberRank
    Jun 2008 Join Date
    36Posts

    Re: Questions About Server Making

    1) Open up entities.cs, and go to line 537~. ChanceSuccess(X) is the chance that the item will drop, the higher the number, the more likely it is to drop.

    2) Mob Spawns are done in the database. Open the database with PhpMyAdmin, and go to mob spawns, then insert a new one.

    3) Monster Hunter Quest? Not going to release this one =P.

    4) Find the promotion chat with the NPC in client.cs. Add "MyChar.AddItem("ITEM ID-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));" to where u want the item to be added. Change ITEM ID to the ID of the item.

    5) Keep trying.

    6) Change the default equips in the source. Not sure what file =S
    (Tip) Just make it so players start in Birth Village, and when they talk to an NPC to leave, that NPC gives them gear.

  3. #3
    Member iHaveALife is offline
    MemberRank
    Jul 2008 Join Date
    55Posts

    Re: Questions About Server Making

    Quote Originally Posted by Super.Pvper View Post
    1) Open up entities.cs, and go to line 537~. ChanceSuccess(X) is the chance that the item will drop, the higher the number, the more likely it is to drop.

    2) Mob Spawns are done in the database. Open the database with PhpMyAdmin, and go to mob spawns, then insert a new one.

    3) Monster Hunter Quest? Not going to release this one =P.

    4) Find the promotion chat with the NPC in client.cs. Add "MyChar.AddItem("ITEM ID-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));" to where u want the item to be added. Change ITEM ID to the ID of the item.

    5) Keep trying.

    6) Change the default equips in the source. Not sure what file =S
    (Tip) Just make it so players start in Birth Village, and when they talk to an NPC to leave, that NPC gives them gear.
    KTYVM..
    But, can you at least gimme a little bit of the code for the quest thing and I'll work it out.
    Also what does Mech mean...

  4. #4
    Enthusiast Super.Pvper is offline
    MemberRank
    Jun 2008 Join Date
    36Posts

    Re: Questions About Server Making

    Look for:
    Code:
    if (MobTarget.GetDamage((uint)AttackDMG))
    in Character.cs.

    Now, you need to define (at least) 2 new tables in characters in ur database.
    "QuestKO" and "QuestMob"


    Now,
    Code:
    if (MobTarget.Name == QuestMob)
    What would we want to happen, if the mob that is killed, is the quest mob?

    Maybe add 1 to QuestKO? mm, Idk... =P

    You will also have to do more than that, like save it to the database, and more.

    Good Luck

  5. #5
    Member iHaveALife is offline
    MemberRank
    Jul 2008 Join Date
    55Posts

    Re: Questions About Server Making

    *Yawn* This will be a looooooooong process :'( Gonna start it tomorow
    Add me on msn just in case I need help with dbs because I understand the code but not dbs<.<
    epicphail@project-7.net

  6. #6
    Valued Member xEnt is offline
    MemberRank
    Nov 2006 Join Date
    100Posts

    Re: Questions About Server Making

    If you have a life, don't make a server. Especially when you don't know what ur doing.

  7. #7
    Enthusiast Super.Pvper is offline
    MemberRank
    Jun 2008 Join Date
    36Posts

    Re: Questions About Server Making

    @xEnt, well said.

    @iHaveALife, it doesn't take very long to do monster hunter. lol



Advertisement