Thread: Green money when 10M+ and White money when 100k+

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Green money when 10M+ and White money when 100k+ 
    Registered Member
    Join Date
    Nov 2013
    Posts
    378
    Thanks given
    21
    Thanks received
    50
    Rep Power
    61
    Anyone know how to do that.
    Reply With Quote  
     

  2. #2  
    mush

    Danny's Avatar
    Join Date
    Sep 2013
    Posts
    1,221
    Thanks given
    38
    Thanks received
    316
    Rep Power
    551
    Code:
    private static String intToKOrMilLongName(int i) {
    		String s = String.valueOf(i);
    		for (int k = s.length() - 3; k > 0; k -= 3)
    			s = s.substring(0, k) + "," + s.substring(k);
    		if (s.length() > 8)
    			s = "@gre@" + s.substring(0, s.length() - 8) + " million @whi@("
    					+ s + ")";
    		else if (s.length() > 4)
    			s = "@cya@" + s.substring(0, s.length() - 4) + "K @whi@(" + s + ")";
    		return " " + s;
    	}
    Attached image
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2012
    Posts
    447
    Thanks given
    26
    Thanks received
    35
    Rep Power
    14
    Quote Originally Posted by Limits View Post
    Anyone know how to do that.
    There are tutorials, GL.
    Project is finally released, Come try it out @ Optimize-OS.
    Spoiler for Optimize-OS:
    http://www.rune-server.org/runescape-development/rs2-server/advertise/617031-optimize-os-spawn-pking-dont-let-your-enemy-escape-beginning.html
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jan 2014
    Posts
    813
    Thanks given
    69
    Thanks received
    47
    Rep Power
    9
    Quote Originally Posted by JoshS View Post
    There are tutorials, GL.
    That Post isn't necessary. Im pretty sure danny helped him already lol.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Nov 2013
    Posts
    378
    Thanks given
    21
    Thanks received
    50
    Rep Power
    61
    Quote Originally Posted by -Danny View Post
    Code:
    private static String intToKOrMilLongName(int i) {
    		String s = String.valueOf(i);
    		for (int k = s.length() - 3; k > 0; k -= 3)
    			s = s.substring(0, k) + "," + s.substring(k);
    		if (s.length() > 8)
    			s = "@gre@" + s.substring(0, s.length() - 8) + " million @whi@("
    					+ s + ")";
    		else if (s.length() > 4)
    			s = "@cya@" + s.substring(0, s.length() - 4) + "K @whi@(" + s + ")";
    		return " " + s;
    	}

    Thanks for trying but I've already fixed it and you aren't even close.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Nov 2012
    Posts
    447
    Thanks given
    26
    Thanks received
    35
    Rep Power
    14
    Quote Originally Posted by Boolean- View Post
    That Post isn't necessary. Im pretty sure danny helped him already lol.
    It's good to mind ur own business ty.
    Project is finally released, Come try it out @ Optimize-OS.
    Spoiler for Optimize-OS:
    http://www.rune-server.org/runescape-development/rs2-server/advertise/617031-optimize-os-spawn-pking-dont-let-your-enemy-escape-beginning.html
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jan 2014
    Posts
    813
    Thanks given
    69
    Thanks received
    47
    Rep Power
    9
    Quote Originally Posted by JoshS View Post
    It's good to mind ur own business ty.
    Posting "there any many tutorials" doesnt help him at all.
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Nov 2012
    Posts
    447
    Thanks given
    26
    Thanks received
    35
    Rep Power
    14
    Quote Originally Posted by Boolean- View Post
    Posting "there any many tutorials" doesnt help him at all.
    Ur opinion, done talking. have a good day.
    Project is finally released, Come try it out @ Optimize-OS.
    Spoiler for Optimize-OS:
    http://www.rune-server.org/runescape-development/rs2-server/advertise/617031-optimize-os-spawn-pking-dont-let-your-enemy-escape-beginning.html
    Reply With Quote  
     

  9. #9  
    Member #35, most veteran member left? :D


    Join Date
    Jul 2006
    Age
    30
    Posts
    2,660
    Thanks given
    53
    Thanks received
    331
    Rep Power
    925
    Quote Originally Posted by Limits View Post
    Thanks for trying but I've already fixed it and you aren't even close.
    Just double checking, you do know that this is a client-sided edit and not server-sided, correct?


    `Ex-global moderator x3 (resigned)
    Reply With Quote  
     

  10. #10  
    mush

    Danny's Avatar
    Join Date
    Sep 2013
    Posts
    1,221
    Thanks given
    38
    Thanks received
    316
    Rep Power
    551
    Quote Originally Posted by Limits View Post
    Thanks for trying but I've already fixed it and you aren't even close.
    You do know its done client side right? and this is correct.

    May need this aswell
    Code:
    private static String intToKOrMil(int j) {
    		if (j < 0x186a0)
    			return String.valueOf(j);
    		if (j < 0x989680)
    			return j / 1000 + "K";
    		else
    			return j / 0xf4240 + "M";
    	}
    Attached image
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Good money when poor (and a bit of mage XP)
    By Hippie408 in forum Guides
    Replies: 3
    Last Post: 12-02-2009, 07:24 PM
  2. Replies: 2
    Last Post: 11-11-2009, 12:31 AM
  3. Replies: 21
    Last Post: 10-04-2009, 07:34 PM
  4. Replies: 4
    Last Post: 07-22-2009, 05:15 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •