View Full Version : Channel Loader - Join Channels after Startup
blackAngel
08-31-2009, 04:55 AM
blackAngel88's Channel Loader v0.2.4, tested with HoN 1.65
[has been implemented (where's my Alchemist Bones :D)]
*The .s2z version does not work with other mods that use main_lobby.interface
Files:
ui/main_lobby.interface
ui/bAChannelLoadermod.package
If you have Channels you join regularly, you can use this mod to join them automatically on startup. For now, you can "auto-join" up to 6 Channels. Just click the "Channel Loader"-button near the "Main menu"-button in the menu with the Chat to show the panel.
In the Panel you can simply enter the names in the Textboxes.
If you find any bugs, or see something's wrong, plz post in this thread, thanks.
Thanks to the modders who helped, and to picklefish (used some of his code to learn :> ).
http://img9.imageshack.us/img9/1404/modscreen.jpg (http://img9.imageshack.us/i/modscreen.jpg/)
__________________________________________________ _____________
Installation
To install, download this file (http://www.mediafire.com/?mgtoftgqjx4) into the games folder game/ folder. The default locations for these are:
Linux: /home/<username>/HoN/game/
Windows 7: C:\Program Files\Heroes of Newerth\game\
Windows Vista: C:\Program Files\Heroes of Newerth\game\
Windows XP: C:\Program Files\Heroes of Newerth\game\
Mac:
1. Press Finder
2. Press Applications
3. Right click 'Heroes of Newerth', and press Show containing files
4. Open Game folder
5. Move file here
Hon ModManager Version:
For the Hon ModManager use this file (http://www.mediafire.com/download.php?k0nt2w1kjjm).
__________________________________________________ ___________
Changelog
0.2.4 (16 Jan 2010 13:37 GMT+1):
* updated for 1.65, honmod version did not change
0.2.3 (26 Oct 2009 18:00 GMT+1):
* updated for 1.50.1
0.2.2 (14 Oct 2009 01:42 GMT+2):
* updated for 1.49.1, honmod version did not change.
0.2.1 (10 Oct 2009 17:19 GMT+2):
* updated for 1.48.3, honmod version did not change.
0.2 (26 Sep 2009 15:24 GMT+2):
* Textboxes look better.
* minor changes to the code.
0.1.2 (3 Sep 2009 00:07 GMT+2):
- fixed a crash
0.1.1 (2 Sep 2009 17:16 GMT+2):
* Updated for Game Version 1.41
- added some Comments
0.1.0 (31 Aug 2009 10:32 GMT+2):
- Initial release.
_____________________
This is officially modification 034 in the Modification Repository (http://forums.heroesofnewerth.com/showthread.php?t=39386)!
Check out other mods by users by clicking here (http://forums.heroesofnewerth.com/showthread.php?t=39386)!
MaxGhost
08-31-2009, 10:54 AM
Very nice work :)
DarthKnight
08-31-2009, 02:50 PM
nice work and thank you!
Trilles
08-31-2009, 04:38 PM
Good job =O it will be very usefull =)
*on 16:10, 1680x1050.
The game just freezes when I click "play online" I remove your mod and it works fine again, will try to narrow it down what it's conflicting with, and get back to you.
Tried removing all my other custom mods and yours being the only one in their the game still freezes on startup.
blackAngel
09-02-2009, 06:00 PM
ohh... sry... there really went something wrong in the change... I'll have a look into it, and upload the fixed version asap...
€dit: apparently, you can't place comments wherever you want Oo^^
Crash should be fixed now, thx ...
revanxp
09-26-2009, 05:19 AM
Blackangel is a pro
This is pretty noob but, any insight to how the ChatJoinChannel function works? What is it taking as a parameter? I see 'this' being passed in a lot, is it pulling the actual chat channel from that or does it work a different way? What if I wanted to put a ChatJoinChannel call to a hardcoded channel somewhere else in my own mod? I just want to pass the channel name ideally.
MaxGhost
09-27-2009, 02:23 PM
This is pretty noob but, any insight to how the ChatJoinChannel function works? What is it taking as a parameter? I see 'this' being passed in a lot, is it pulling the actual chat channel from that or does it work a different way? What if I wanted to put a ChatJoinChannel call to a hardcoded channel somewhere else in my own mod? I just want to pass the channel name ideally.
I think you can also just send a chat command: "/j <channel>" to join a channel.
blackAngel
09-28-2009, 11:32 AM
'this' is just the value of the actual element: for example, for a textbox, that would be the text inside the textbox...
ChatJoinChannel(channelname); that's how it works...
if you want to know how a function works, you can just look here: http://honwiki.net/wiki/XAML_reference or try to find it in an interface/package file from the resources0.s2z
blackAngel
10-03-2009, 07:30 AM
works with 1.47.1
blackAngel
10-05-2009, 07:54 AM
Added the Version for Hon ModManager, should work. Plz tell me if you encounter any compatibility problems with other mods, thanks.
dankass
10-24-2009, 03:22 AM
recent patches to .50.1 fubar'd honmod
Dreamtime2k9
10-24-2009, 08:54 AM
With this mod on, i don't see the new options(banning draft, region and the like) under game filters to join a game, i can see them when creating one tho o_O
insaneslayer
10-24-2009, 04:12 PM
cant see the new stats tab either other friends are raving about
GotB1unt
10-25-2009, 07:25 PM
"Channel Loader" caused a problem:
Cound not find string with "<!--Banner / MOTD -->" as sought by c:\Program Files (x86)\Heroes of Newerth\game\mods\ChannelLoaderMod.honmod/mod.xml
yep...?
Bloomie
10-25-2009, 08:38 PM
"Channel Loader" caused a problem:
Cound not find string with "<!--Banner / MOTD -->" as sought by c:\Program Files (x86)\Heroes of Newerth\game\mods\ChannelLoaderMod.honmod/mod.xml
yep...?
ummm yep this.
Looks like this mod needs an update
GotB1unt
10-26-2009, 09:16 PM
thx :) this mod got updated
really? still doesn't work for me, the link seems to still be to the old version
really? still doesn't work for me, the link seems to still be to the old version
yip old ver
blackAngel
10-27-2009, 06:35 PM
hm, the links seem good to me, what version are you using? what's the error/what doesn't work?
€dit: or did i upload the wrong files Oo ... checking...
hm... need the error... maybe another mode changes/delete's something I'm looking for (in the mod.xml to insert code)?
"Channel Loader" caused a problem:
Cound not find string with "<!--Banner / MOTD -->" as sought by c:\Program Files (x86)\Heroes of Newerth\game\mods\ChannelLoaderMod.honmod/mod.xml
yep...?
When clicking Apply Mods in Hon Mod manager this error message comes up
When clicking Apply Mods in Hon Mod manager this error message comes up
ditto
blackAngel
10-27-2009, 08:44 PM
well... that string exists in the original main_lobby.interface... i guess another mod changes/deletes that part? what mods are you using? (that change that file?)
MaxGhost
10-27-2009, 09:30 PM
well... that string exists in the original main_lobby.interface... i guess another mod changes/deletes that part? what mods are you using? (that change that file?)
S2 changed the MOTD text. You'll have to revise your code, if you didn't already. AFAIK, there's no other mod using that section right now.
GotB1unt
10-27-2009, 10:16 PM
really? you using the honmod version? I downloaded the link on the first post and it worked for me.
blackAngel
10-28-2009, 07:08 AM
try only my mod and see if it works... then enable one by one and tell me which one it is that causes the problem/changes the text...
I guess i can paste the code somewhere else if i need to, but this totally works here...
try only my mod and see if it works... then enable one by one and tell me which one it is that causes the problem/changes the text...
I guess i can paste the code somewhere else if i need to, but this totally works here...
Sorted it, your old mod was named "ChannelLoader.honmod" and new one "ChannelLoaderMod.honmod"...I copied new one into mod dir expecting same file name and overwrite but ofc it didn't causing the old version to be used by HoN Mod Manager.
Just removed old version, fine now.
Pupp3tMast3r
11-17-2009, 01:49 PM
Is there an easy tweak to make this work with a username only?
MaxGhost
11-17-2009, 05:22 PM
Is there an easy tweak to make this work with a username only?
... what?
GotB1unt
11-17-2009, 10:17 PM
possibly a computer that have different people using it login with their accounts, and the mod is enabled for anyone to use HoN on that comp.
Pupp3tMast3r
11-18-2009, 10:43 PM
possibly a computer that have different people using it login with their accounts, and the mod is enabled for anyone to use HoN on that comp.
Exactly. Or, I have a main account that I want it joining default channels, and a dumb account for fun, which I don't want joining clan scrim for example.
Braindead
11-26-2009, 03:45 AM
Doesn't work well with some of the textures on 1.57/1.58. Textures on the top right and left corners are missing if I put in this mod.
MaxGhost
11-26-2009, 07:05 AM
No, you just need to re-apply your mods and it's fine.
Darkager
12-16-2009, 08:58 PM
Updated to version 2.4 to fix an incompatibility issue with my Templates mod. Only thing that was modified was HOW the Main Menu button saved a variable. The variable still saves, just doesn't conflict with my mod anymore.
Download v2.4 (http://www.mediafire.com/download.php?mkxzmj2mziz)
Dark_Kevin
12-18-2009, 04:56 PM
This Mod breaks HoN in 1.61.
justplyalrdy
12-18-2009, 05:14 PM
Yep ill second that it breaks 1.61
MagicJoker
12-18-2009, 05:46 PM
Works fine (ModMan)...
BarneyGumbal
12-19-2009, 02:24 AM
Is it possible to update this mod for the latest patch?
MaxGhost
12-19-2009, 11:05 AM
Is it possible to update this mod for the latest patch?
Read the post 4 posts above yours.
version 2.4 works fine =) nice done
version 2.4 doesnt work for me =/
blackAngel
01-16-2010, 07:36 AM
What version 2.4??? I just uploaded that one Oo...
And the HonMod version is still the same, worked for me...
Updated the s2z version.
Gangbangjoe
01-17-2010, 03:16 PM
blackangel, your big combo has alot of trouble for me and some of my friends. We cannot leave channels once we join them in the lobby.
blackAngel
01-17-2010, 05:10 PM
try the new version (wrong thread btw...)
Gangbangjoe
01-17-2010, 05:37 PM
Didn't see the update, expected a reply of you, sorry!
It's just that we are using your mods for our community and we always need it updated asap :)
KaliKot
01-18-2010, 01:56 PM
it doesnt seem to work for long channel names like
"clan insert longgggg clannnnameee"
but then again, it doesnt even join them with the /join command
blackAngel
01-18-2010, 02:37 PM
Hm, didn't even know that.. When i tried to join a clan channel and it didn't work, i thought it was because they changed it so only clanmembers can join...
Apparently the Join command doesn't work at all with longer names...
Still, I don't think it's possible to change it in a mod :/
NiGHTsC
02-09-2010, 09:42 PM
Found a bug.
Re-login will not join the channels again, it seems the auto-join function is a one-time trigger.
Thank you for the mod :)
CallofDuty5
04-19-2010, 08:26 AM
any chance of getting this in 3.x?
theli
04-19-2010, 08:34 AM
any chance of getting this in 3.x?
why do you need this with 0.3.x?
Jager
04-20-2010, 08:37 AM
@Cybercheese - When you're in a channel, there should be a checkbox to the top right of it. You can check it to auto-join that channel on login.
AKA this mod's fuction is already implemented into the default client now.