deathtaker26 Posted December 23, 2009 Author Share Posted December 23, 2009 ive seen the script for getting a players pvp scoreone for level high score but that was itnot the top 5 pvp scoreis there one? Link to comment Share on other sites More sharing options...
Lam3r Posted December 23, 2009 Share Posted December 23, 2009 Well it wouldn't be too hard to edit. Post the script in here and i'll fix it up for you. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted December 24, 2009 Share Posted December 24, 2009 I posted a core for a pvp highscroes script in the Script Database, but it needs some debugging, I think. Link to comment Share on other sites More sharing options...
Lam3r Posted December 24, 2009 Share Posted December 24, 2009 @Lam3r:> Well it wouldn't be too hard to edit. Post the script in here and i'll fix it up for you.@ Admiral as well :D Link to comment Share on other sites More sharing options...
deathtaker26 Posted December 24, 2009 Author Share Posted December 24, 2009 @Admiral:> I posted a core for a pvp highscroes script in the Script Database, but it needs some debugging, I think.can i get the link to it Link to comment Share on other sites More sharing options...
Admiral Refuge Posted December 26, 2009 Share Posted December 26, 2009 Ahh, it was the reputation system that needed to be debugged (kill good NPCs, reputation goes down; kill evil npcs, reputation goes up).Anyway, the highscore system I have is a pvp highscore thing; not a top-5 lvl thing. Though a top-5 level highscore system wouldn't be that hard to create.. I could take a wing at it if nobody else wants to try it. Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted December 26, 2009 Share Posted December 26, 2009 high score script has been done. Check the old script database. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted December 26, 2009 Share Posted December 26, 2009 Well, I just took unknown's Level script and modified it. No, I didn't make this.```Sub ShowPvPLadder(index) 'Generate the ladder Set PlayerList = CreateObject( "System.Collections.ArrayList" ) For CurPlayer = 1 To GetMaxPlayers If IsPlaying(CurPlayer) Then For Each Player In PlayerList If GetPlayerPK(CurPlayer) >= GetPlayerPK(Player) Then Call PlayerList.Insert(PlayerList.LastIndexOf(Player), CurPlayer) Exit For End If Next If Not PlayerList.Contains(CurPlayer) Then PlayerList.Add(CurPlayer) End If Next 'Display the ladder Call PlayerMsg(index, "-----ONLINE PK LADDER-----", GREEN) For Each Player In PlayerList LadderName = GetPlayerName(Player) LadderLevel = GetPlayerPK(Player) Call PlayerMsg(index, PlayerList.LastIndexOf(Player)+1 & ". " & LadderName & " - PK " & LadderLevel, YELLOW) NextEnd Sub```Then have a command:```Case "/showpvpladder"Call ShowPvPLadder(index)``` Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now