Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home/iano/public_html/tpforums-vb5/forum/includes/class_core.php on line 5842

PHP Warning: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 588

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 612

PHP Warning: Use of undefined constant misc - assumed 'misc' (this will throw an Error in a future version of PHP) in ..../global.php(29) : eval()'d code(6) : eval()'d code on line 1

PHP Warning: Use of undefined constant index - assumed 'index' (this will throw an Error in a future version of PHP) in ..../global.php(29) : eval()'d code(6) : eval()'d code on line 1

PHP Warning: Use of undefined constant misc - assumed 'misc' (this will throw an Error in a future version of PHP) in ..../includes/class_bootstrap.php(1422) : eval()'d code(4) : eval()'d code on line 1

PHP Warning: Use of undefined constant index - assumed 'index' (this will throw an Error in a future version of PHP) in ..../includes/class_bootstrap.php(1422) : eval()'d code(4) : eval()'d code on line 1

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6

PHP Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4684) : eval()'d code on line 6
As I'm bored I made a NG module :p
Results 1 to 5 of 5

Thread: As I'm bored I made a NG module :p

  1. #1
    Junior Member
    Join Date
    Apr 2007
    Posts
    28

    As I'm bored I made a NG module :p

    Code:
    Public Function getClosestTarget()
    Dim X As Integer
    Dim Dist As Single
    
    For X = 0 To Creatures.Count
      If (Creatures.Creature(X).Name <> Self.Name) And (Creatures.Creature(X).Visible = True) And (Creatures.Creature(X).NPC = False) And (Creatures.Creature(X).Health > 0) And (Creatures.Creature(X).Z = Self.Z) Then
        Dist = (Abs(Self.X - Creatures.Creature(X).X) + Abs(Self.Y - Creatures.Creature(X).Y)) / 2
        MsgBox Creatures.Creature(X).Name & " " & Dist
      End If
    Next X
    End Function
    Code:
    Public Type TContainer
        Capacity As Integer
        Count As Integer
        Name As String
        ID As Integer
        Item() As TItem
        Subcontainer As Boolean
        Open As Boolean
    End Type

    I won't release it but quite a funny thing todo if your bored. I actually got permission from LoW to use it when scripting e.g BotBase

  2. #2

    As I'm bored I made a NG module :p

    Am I supposed to understand your topic?

  3. #3
    Junior Member
    Join Date
    Apr 2007
    Posts
    28

    As I'm bored I made a NG module :p

    Perhaps not.
    It's a module in VB that imitates NGScript

  4. #4

    As I'm bored I made a NG module :p

    ~Bump~
    That's awesome. Please, please release it so it can be improved because this scripts like heaven.

  5. #5

    As I'm bored I made a NG module :p

    i see, when i look i understand, nice work.. would be sweet to make it lookalike workingalike NG xd

Posting Permissions

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