Results 1 to 4 of 4

Thread: Task Counter!

  1. #1
    Normal User
    Join Date
    Mar 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Task Counter!

    Has Any one Created a Task Counter?


    i need one for Sea Serpents and young sea serpents

    if any one could help me i give rep +

  2. #2
    Normal User
    Join Date
    Jun 2012
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    5
    im looking for the same thing. i found one script but its so buggy and dont count right. i tried to work on it but i was unable to fix it.

    this was posted by lelao22 and its the one i was talking about.
    killedcount = 5
    taskposx = 30
    taskposy = 30
    monsterkill = "mutated human"
    msgs = getmessages("Server Log")
    qtd = msgs.count-1
    qtd2 = qtd+killedcount
    hudname = "taskcounter"

    for i=killedcount,qtd2 do
    if msgs[qtd].text:find('Loot of a '..monsterkill) then
    i=killedcount
    killedcount=killedcount+1
    end
    end

    addtext('you have killed '..killedcount,taskposx,taskposy)

  3. #3
    Banned
    Join Date
    May 2012
    Posts
    680
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    24
    Rep Power
    0
    What's buggy about it? Looks like it should work, make sure to clear your Server log before launching that script though. a tip would be to create a action for the code in the background though

  4. #4
    Normal User
    Join Date
    Jun 2012
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    5
    even with the server log cleared, it counts the monster. but it counts like instead of 1 it will count by 1000 and random numbers then it will clear its sell and go back to 0. its weird. i edited it in another post and got it to count by 1 each time, but it still erases itsself and goes back to 0 after the message in server log is moves by another message.

Posting Permissions

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