Welcome To RsLock Forums!


Created By: Luda
 
HomeHomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Quick Chat

Go down 
AuthorMessage
Loveandpower



Posts : 24
Reputation : 0
Join date : 2011-10-06

PostSubject: Quick Chat   Thu Oct 06, 2011 4:39 am

I would like to suggest a quick chat feature to be added to the server. By having the quick chat feature you can tell others your levels more quickly and it also can be useful for bragging rights. Basketball

Please do note that this should be added to clickingbuttons.java

Below is a simple tutorial on how to add: Credits to Exion(lol I do realize this could had been done a lot easier but oh well.)

Code:

case 33206:
c.forcedText = "[Quick Chat] My Attack level is " + c.playerLevel[0] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33209:
c.forcedText = "[Quick Chat] My Strength level is " + c.playerLevel[2] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33212:
c.forcedText = "[Quick Chat] My Defence level is " + c.playerLevel[1] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33215:
c.forcedText = "[Quick Chat] My Range level is " + c.playerLevel[4] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33218:
c.forcedText = "[Quick Chat] My Prayer level is " + c.playerLevel[5] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33221:
c.forcedText = "[Quick Chat] My Magic level is " + c.playerLevel[6] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33224:
c.forcedText = "[Quick Chat] My Runecrafting level is " + c.playerLevel[20] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33207:
c.forcedText = "[Quick Chat] My Hitpoints level is " + c.playerLevel[3] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33210:
c.forcedText = "[Quick Chat] My Agility level is " + c.playerLevel[16] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33213:
c.forcedText = "[Quick Chat] My Herblore level is " + c.playerLevel[15] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33216:
c.forcedText = "[Quick Chat] My Thieving level is " + c.playerLevel[17] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33219:
c.forcedText = "[Quick Chat] My Crafting level is " + c.playerLevel[12] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33222:
c.forcedText = "[Quick Chat] My Fletching level is " + c.playerLevel[9] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33208:
c.forcedText = "[Quick Chat] My Mining level is " + c.playerLevel[14] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33211:
c.forcedText = "[Quick Chat] My Smithing level is " + c.playerLevel[13] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33214:
c.forcedText = "[Quick Chat] My Fishing level is " + c.playerLevel[10] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33217:
c.forcedText = "[Quick Chat] My Cooking level is " + c.playerLevel[7] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33220:
c.forcedText = "[Quick Chat] My Firemaking level is " + c.playerLevel[11] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33223:
c.forcedText = "[Quick Chat] My Woodcutting level is " + c.playerLevel[8] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;
case 33226:
c.forcedText = "[Quick Chat] My Farming level is " + c.playerLevel[19] + "";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
break;

This is also a good addition for slayer so that way we can tell more easily how many monsters in a task are left:

Code:

case 47130:
            c.forcedText = "[Quick Chat] My Slayer level is " + c.playerLevel[18] + ", and I must slay another " + c.taskAmount + " " + Server.npcHandler.getNpcListName(c.slayerTask) + "";
            c.forcedChatUpdateRequired = true;
            c.updateRequired = true;
         break;

Back to top Go down
View user profile
Convict13

avatar

Posts : 21
Reputation : 0
Join date : 2011-09-24
Age : 28
Location : California

PostSubject: Re: Quick Chat   Fri Oct 07, 2011 9:57 pm

Being that it is on a private server, I don't see it as needed... But could perhaps be useful for somethings
Back to top Go down
View user profile
 
Quick Chat
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
 :: Server :: Suggestions-
Jump to: