Thread: orbs of protection [emulous]

Results 1 to 5 of 5
  1. #1 orbs of protection [emulous] 
    luvgirl12345
    Guest
    hi comunity


    i want to make it that the orbs of protection make it so that u cant be atacked and cant atack in wildy would tha be possible??

    what im thinking about is make: (im bad so please make my code so it works)

    Code:
    ifplayer in inventory (588); {
    public int (wateve it is) wildy = false 
    }
    i would put tha in process so it checks ea 500ms or so (thats what iv heard) so that if he takes it off it doesent bug....

    now i was thinking (dono if this would be to hard):

    if hes in wildy and has it in his inventory (but drops it) he gets teleported to the edge of wildy...
    and:

    Code:
    if in wild = true{
    (dono how to do this part lol)
    }
    thank you for your time with a learning noob =]
    luvgirl

    p.s. i would be happy with a link to the right tutorial where i could learn how to do some of this.... and rep for evry1 who trys to help.
    Reply With Quote  
     

  2. #2  
    Retired. Stop PMing me.


    Galkon's Avatar
    Join Date
    Nov 2007
    Age
    17
    Posts
    7,526
    Thanks given
    1,805
    Thanks received
    2,830
    Rep Power
    5000
    Never used Emulous, ever. But, try something like:

    if (hasItem(588))
    {
    isInWildy = false;
    }
    Attached image
    Reply With Quote  
     

  3. #3  
    luvgirl12345
    Guest
    sry lol im a noob but its all packaged if it werent i would put in client.java but i dono where to put lol

    edit: tryed in client.java got this error:

    Code:
    .\server\players\Client.java:564: cannot find symbol
    symbol  : method hasItem(int)
    location: class server.players.Client
    if (hasItem(588))
        ^
    .\server\players\Client.java:566: cannot find symbol
    symbol  : variable isInWildy
    location: class server.players.Client
    isInWildy = false;
    ^


    ---------- Post added at 09:51 AM ---------- Previous post was at 09:39 AM ----------

    this might helpfrom players.java)
    Code:
    public boolean inWild() {
    		if(absX > 2941 && absX < 3392 && absY > 3518 && absY < 3966) {
    			return true;
    		}
    		return false;
    	}
    Reply With Quote  
     

  4. #4  
    Registered Member
    gamerx's Avatar
    Join Date
    May 2008
    Posts
    310
    Thanks given
    12
    Thanks received
    4
    Rep Power
    355
    pm me and ill help you!
    Spoiler for Awesome List:

    • Stewie, You are kick-ass
    • Galkon, FTW < just ftw
    • Shamon King, Thanks for sprites
    • JGMS, im sad you left
    • Avatar Realms, thanks for your help
    • 1337, umm, yeah...
    Reply With Quote  
     

  5. #5  
    luvgirl12345
    Guest
    Quote Originally Posted by g-a-m-e-r-x View Post
    pm me and ill help you!
    i pmed you...

    ---------- Post added at 11:40 AM ---------- Previous post was at 10:08 AM ----------

    still not fixed.... (bump)
    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
  •