Search results

  1. Chucl

    Trying to make a player list and order it by their attachment values

    Pyro if you are willing to keep helping me, please can you tell me how to give different rewards for the first 3 players?, i mean how to check for the top1, the top2,the top3. I mean i can take 1, give it a reward (would be top1) , attach an attachment, called ''noreward'' take 2, give reward...
  2. Chucl

    Trying to make a player list and order it by their attachment values

    I got it,im testing, added it to a worldbroadcast it grabs the first 3 and says their name, i just dont know how to check the order, so [0] gets better reward than [2] var players2 = World.Mobiles.Values.OfType<PlayerMobile>(); // filter only PlayerMobiles players2 = players.Take( 3 )...
  3. Chucl

    Trying to make a player list and order it by their attachment values

    im not sure yet where and when, just wanted to know how to do it once the players are listed
  4. Chucl

    Trying to make a player list and order it by their attachment values

    Ah, not sure if i know how to do that properly. It has to be outside the foreach method right? or it will do it for each player in the list im trying to get the name of the top1 pme[0], it dont let me
  5. Chucl

    Trying to make a player list and order it by their attachment values

    Thanks pyro!!! is there a way to check the first 3 playes? to give them a reward
  6. Chucl

    Trying to make a player list and order it by their attachment values

    Yess! works like a charm, just one more thing: How to make a value of 3000 appear like 3.000? I added; public static int GetTotal(this PlayerMobile pm) { // int level = 0; int totala = 0; ArrayList plist = XmlAttach.FindAttachments(pm); if...
  7. Chucl

    TazUO

    Grid containers ♥
  8. Chucl

    Trying to make a player list and order it by their attachment values

    Thank for your patience PyrO, ok i did that (line 104), now it shows the value correctly for each player but it only orders it once the first time i run the server, then it not orders it anymore The gump is sent on login for testing purporses private class armorygrandpm2 : Gump {...
  9. Chucl

    Trying to make a player list and order it by their attachment values

    already tried that, still showing lowest first and if i add lets say a value of 20 to one player it increase it to every player, the way its looking for the attachment might be wrong
  10. Chucl

    Trying to make a player list and order it by their attachment values

    Ok i get it, now its working but its showing the lower value first Playername [3] Playername [5] Playername [12] etc I would like the opposite, the higher first
  11. Chucl

    Trying to make a player list and order it by their attachment values

    hey pyro thank you, this one compiles but it shows the player name then [0] value of 0 string text = string.Format( ""+pm1.Name+ " Level [{0}] ", level ); namespace Server.Gumps { public class armorygrand : Gump { public enum OrderBy { None, level } public...
  12. Chucl

    Trying to make a player list and order it by their attachment values

    Hello guys im trying to make a list of all players then order it by the Value of 2 attachments together, higher at the top, leaderboard like i saw this method somewhere (thanks vorspire) but its giving me 2 errors; CS1061: Line 88: 'Server.Mobiles.PlayerMobile' does not contain a...
  13. Chucl

    Item properties only displaying on a gump if im carrying the item

    The issue has to do with the parent, if i asign the item parent to a npc, (wich causes bugs) the item props are shown on the gump, so... i dont know a walk around
  14. Chucl

    Player resurrect and equip the last wearing items?

    Hello i disabled item drop on my server, corpses appear empty Is there an easy way to make the player equip the items it was wearing before the death whenever it gets resurrected? Edit: i just found the m_RestoreEquip method ill try to implement it to playermobile and see if it works Im using...
  15. Chucl

    Animation Aura around

    If you ever open a shard using those files, they will no longer be ''private'' ever again hehe
  16. Chucl

    Item properties only displaying on a gump if im carrying the item

    Hello, thanks for your reply, Runuo 2.2 doesnt recognize TOL, its up to SE if i recall good. I feel like the issue is deeper than the Auction system itself. So if the itemprops are only visible by Staff members...its kinda weird
  17. Chucl

    Item properties only displaying on a gump if im carrying the item

    Any clue what could be the issue? for some reason the item properties in gumps are only visible to Accesslevel above player, GM's and such
  18. Chucl

    Item properties only displaying on a gump if im carrying the item

    Thanks for the reply, it doesnt work for some reason. I just noticed that only GMs are able to see the itemproperties in the Auction gump wich is weird In a different gump from a different system If a player (Non GM ) carry an item the prioperties show on a gump So the issue is the...

Active Shards

Donations

Total amount
$0.00
Goal
$500.00
Back