Thread: HELP - Changing clan channel on log-in.

Results 1 to 9 of 9
  1. #1 HELP - Changing clan channel on log-in. 
    Donator
    Skater's Avatar
    Join Date
    Nov 2011
    Posts
    545
    Thanks given
    21
    Thanks received
    23
    Rep Power
    0
    Pretty much when I log in I am auto joining a clan channel that I want to change to another channel.

    Please help as much as you can because I have been in playerlogin.java etc etc etc and
    as you can see... I've went through every friggin page on the search bar about this and done about clanchathandler.java clanchat.java etc etc and well
    for some reason it still joins to the same clan channel that I really want to change.
    Reply With Quote  
     

  2. #2  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Look up the channel they are joining and have a look in what codes make this happend and change it.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  3. #3  
    Donator
    Skater's Avatar
    Join Date
    Nov 2011
    Posts
    545
    Thanks given
    21
    Thanks received
    23
    Rep Power
    0
    I'll try that as a last resort because that channel name is legit in every file...
    Reply With Quote  
     

  4. #4  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by Owner Spikey View Post
    I'll try that as a last resort because that channel name is legit in every file...
    Well if you do not know the code, it would not consider a last resort but more a fix for your issue.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  5. #5  
    Ask me how I'm doing

    .NF.'s Avatar
    Join Date
    Aug 2015
    Age
    30
    Posts
    2,174
    Thanks given
    293
    Thanks received
    619
    Rep Power
    567
    you literally search clanchat, or the owners name and change it.
    Attached image
    Reply With Quote  
     

  6. #6  
    Super Donator

    StanDev's Avatar
    Join Date
    Apr 2014
    Posts
    660
    Thanks given
    82
    Thanks received
    255
    Rep Power
    592
    find your login method, then search for references to the clan chat manager instance of the player (even faster would be to find references of the join method in your clan chat handling) and then just modify the name specified. If you do not use an IDE yet, do it, there's really no reason not to.
    Reply With Quote  
     

  7. #7  
    Donator
    Skater's Avatar
    Join Date
    Nov 2011
    Posts
    545
    Thanks given
    21
    Thanks received
    23
    Rep Power
    0
    if (player.clanName != null) {
    if (player.clanName.length() > 0) {
    World.getClanChat().joinClanChat(player, player.clanName.toLowerCase());
    } else {
    World.getClanChat().joinClanChat(player, "OracleScape");

    In my playerlogin.java
    Is this it? What do i do now?

    Quote Originally Posted by icebrick View Post
    find your login method, then search for references to the clan chat manager instance of the player (even faster would be to find references of the join method in your clan chat handling) and then just modify the name specified. If you do not use an IDE yet, do it, there's really no reason not to.
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Dec 2016
    Posts
    14
    Thanks given
    2
    Thanks received
    2
    Rep Power
    11
    Quote Originally Posted by Owner Spikey View Post
    if (player.clanName != null) {
    if (player.clanName.length() > 0) {
    World.getClanChat().joinClanChat(player, player.clanName.toLowerCase());
    } else {
    World.getClanChat().joinClanChat(player, "OracleScape");

    In my playerlogin.java
    Is this it? What do i do now?
    Pm me TeamViewer?
    Reply With Quote  
     

  9. #9  
    Donator
    Skater's Avatar
    Join Date
    Nov 2011
    Posts
    545
    Thanks given
    21
    Thanks received
    23
    Rep Power
    0
    Thank you all "HZN" has done a tremendous job! I highly rep that bronze r-s newbie
    Reply With Quote  
     


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. Replies: 0
    Last Post: 07-16-2014, 09:27 AM
  2. [PI]Joining random clan chat? On log in
    By Harambe_ in forum Help
    Replies: 0
    Last Post: 11-20-2010, 08:52 PM
  3. changing look on log in [508]
    By BoJava in forum Tutorials
    Replies: 33
    Last Post: 04-09-2009, 04:41 AM
  4. Replies: 6
    Last Post: 03-10-2009, 02:39 AM
  5. unhandled packet 129, on log in [508]
    By mige5 in forum Help
    Replies: 2
    Last Post: 01-15-2009, 02:53 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •