Thread: [508]4 questions. Please read

Results 1 to 2 of 2
  1. #1 [508]4 questions. Please read 
    Banned
    Join Date
    May 2009
    Posts
    10
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Ok, im using codeusa. my first question is

    1) Can someone post my a thing in for player.java. where like if they die in fight pits they spawn back into fight pits starting spot. yea and dont lose items... AND if you die at pvp you keep 3 items and spawn at edge.

    My Second Question IS

    2)Can someone tell me how to fix it if you login with spaces E.G P k 3 d. it will turn out like Pk3d.

    My Third Question IS

    3) I added Statius' Warhammer into my[ build> items > item.cfg

    My Forth Question IS

    4) For some reason (IDK WHY) to attack a npc normally you have to attack a player first before you attack NPC, if you dont iyou attack it like with your fists..

    Sorry about soo many questions. i just need these done then im pretty much done my server =))!!
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Feb 2009
    Age
    30
    Posts
    214
    Thanks given
    5
    Thanks received
    1
    Rep Power
    0
    your 3rd question isn't a question.....

    For pits death.

    In player.java Under

    Code:
    resetAttack();
    Add

    Code:
    if (AtPits() && !isPVP()) setCoords(2395+Misc.random(8), 5170+Misc.random(4), 0);
    			getActionSender().sendMessage(this, "Oh dear, you have died!");

    For that attack NPC add these to variables.

    Code:
    public boolean attackingNpc;
        public int attackNpc;
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •