highest player info ans stats

Results 1 to 9 of 9
  1. #1
    Enthusiast koni99 is offline
    MemberRank
    Feb 2007 Join Date
    Southampton UKLocation
    42Posts

    highest player info ans stats

    hiya i need some help,

    iam trying to make an npc script that will show who the highest level player is online

    and the top dc, sc and mc pc points etc, i cant seem to get it to work ive been using the following commands via the npc

    This information only counts the people currently logged on: \ \
    Highest level player: <$HIGHONLINELEVEL>\ \
    Player with the most SC: <$HIGHSCINFO>\ \
    Player with the most DC: <$HIGHDCINFO>\ \
    Player with the most MC: <$HIGHMCINFO>\ \

    when iam on the gm char it says player with the most sc: no player found
    when i log a char on without gm powers it just goes blank and says player with the mo sc: with no info there

    any help would be great

    cheers


  2. #2
    Member atarian is offline
    MemberRank
    Apr 2007 Join Date
    somewhere in the bit-stream of a floppy diskLocation
    55Posts

    Re: highest player info ans stats

    have you assign the charcters/player name to the variable.

    this is just a thought of possibilities.

    dchighinfo holds player name, if its not holding the name you wil;l get player not found. if you know what i mean.

    this maybe a bit above me atm, as i'm not that fluent in the script arena, but what i've seen in the variable department, and given what you have posted...

    as i said was a thought.


    BUT maybe a nice feature for an info tab within the game itself holding trivia info.

  3. #3
    Enthusiast koni99 is offline
    MemberRank
    Feb 2007 Join Date
    Southampton UKLocation
    42Posts

    Re: highest player info ans stats

    on 1.9 it worked fine with those commands from the npc, but now with the 2.3 files it just doesnt work correctly, perhaps it is a different command ?

    td if you read this could you please post what the command is or what iam doing wrong

    cheers

  4. #4
    Enthusiast koni99 is offline
    MemberRank
    Feb 2007 Join Date
    Southampton UKLocation
    42Posts

    Re: highest player info ans stats

    still trying to solve this problem

  5. #5
    Account Upgraded | Title Enabled! thedeath is offline
    MemberRank
    Mar 2003 Join Date
    at the place i'Location
    1,309Posts

    Re: highest player info ans stats

    oops forgot to reply
    you have to set what you want the 'commands' to return in string.ini
    variable = MyInfo=
    options:
    %name, %map, %x, %y, %level, %gold, %minhp, %maxhp, %minmp, %maxmp, %mindc, %maxdc, %minmc, %maxmc, %minsc, %maxsc, %logontime, %logonlong

  6. #6
    Enthusiast koni99 is offline
    MemberRank
    Feb 2007 Join Date
    Southampton UKLocation
    42Posts

    Re: highest player info ans stats

    n1 thanks td all sorted now

  7. #7
    Member life+1 is offline
    MemberRank
    May 2007 Join Date
    77Posts

    Re: highest player info ans stats

    could you post the script that you used for this, as i can't get it to work ><

  8. #8
    Enthusiast mStation is offline
    MemberRank
    Oct 2003 Join Date
    In the WebLocation
    44Posts

    Re: highest player info ans stats

    yep.. same.. i didnt understand what should be done exactly.. do i have to add extra strings in string.ini?

  9. #9
    Account Upgraded | Title Enabled! scottishero is offline
    MemberRank
    Oct 2005 Join Date
    Glasgow, ScotlandLocation
    334Posts

    Re: highest player info ans stats

    any chance you could add this to 2.3 low rate server that u host TD?



Advertisement