Thread: help please no noobs :)

Results 1 to 6 of 6
  1. #1 help please no noobs :) 
    Banned
    Join Date
    Oct 2008
    Posts
    128
    Thanks given
    1
    Thanks received
    2
    Rep Power
    0
    i would like to know if someone got a method that list all the object ids that is between the player coords and another coords .
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Aug 2009
    Posts
    608
    Thanks given
    1
    Thanks received
    17
    Rep Power
    6
    Wtf. You want every object and coordinates?
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Sep 2009
    Posts
    3,245
    Thanks given
    195
    Thanks received
    255
    Rep Power
    0
    " no noobs" ? you're a noob this makes no sense..
    Reply With Quote  
     

  4. #4  
    Registered Member
    Its paris's Avatar
    Join Date
    Apr 2009
    Posts
    1,141
    Thanks given
    56
    Thanks received
    234
    Rep Power
    689
    This has already been resolved. But if someone would want to know.
    You'd need to use math to get the formula of a line, then parse every object in the region.
    You then put the coordinates in the formula of the line and check if the formula is correct. If it is, then your object is somewhere on the line. In that case, depending on the situation, you check if x or y is between the 2 endpoints.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Aug 2009
    Posts
    608
    Thanks given
    1
    Thanks received
    17
    Rep Power
    6
    English please. People won't understand this at all. Make it easy for the noobs =)
    Reply With Quote  
     

  6. #6  
    Registered Member 2pro's Avatar
    Join Date
    Aug 2009
    Posts
    774
    Thanks given
    15
    Thanks received
    15
    Rep Power
    66
    Quote Originally Posted by Skepta View Post
    " no noobs" ? you're a noob this makes no sense..
    Makes sense idiot?
    Quote Originally Posted by Gator God View Post
    The use of small code like this is what makes a server great.
    Quote Originally Posted by Shoes View Post
    First of all, that's my code. Second of all it is more efficient in many ways, they may not be big but it's the little things that count.
    Quote Originally Posted by Luke132 View Post
    A thread's age doesn't mean anything if the information in the topic is still relevant.
    Why is gravedigging disallowed then?
    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
  •