Outdated[K-Relay][27.7.X9] K-Relay with Basic Plugins

Posts 16–30 of 35 · Page 2 of 3
Quote Originally Posted by pharoh View Post
Thanks again @toddddd and a reminder that einaras solved the long loading issues in his version
https://github.com/EinarasGar/K_Relay
maybe next time , compile that intead of the regular one , these crazy loading times man
Ill take a look at it, it seems the loading time isnt always slow for me so i dont mind it. But ill try to get something figured out.
I updated the "lib k relay.dll" file, it now loads the servers much much faster. The issue was the original k-relay was attempting to resolve the ip address for each and every server, but it was doing this USING the ip address lol. I changed it so it will check to make sure its a valid IP address, and if it isnt then it will attempt to resolve the ip. But otherwise it will just use the value given. This causes it to load super quick.


Scans:
https://virusscan.jotti.org/en-US/fi...job/du0kj4pel5
https://www.virustotal.com/en/file/8...is/1481152318/


Replace the "Lib K Relay.dll" file in both the main folder and your plugins folder.



I also updated the packet names to reflect the renamed packets. Not sure when the packets got renamed, but some of them have been renamed and therefore wouldnt work if you attempted to hook them. For example, the packet TINKERQUEST was renamed to QUESTREDEEM. I also found the ACCEPTARENADEATH packet structure had changed slightly, as well as the IMMINENTARENAWAVE packet. I didnt go over all the packets to make sure their structures were still correct but i might do that here in the near future.


@059 @Raple @Ahl can you please add all of this to to main post when you approve it, thanks
Quote Originally Posted by toddddd View Post
I updated the "lib k relay.dll" file, it now loads the servers much much faster. The issue was the original k-relay was attempting to resolve the ip address for each and every server, but it was doing this USING the ip address lol. I changed it so it will check to make sure its a valid IP address, and if it isnt then it will attempt to resolve the ip. But otherwise it will just use the value given. This causes it to load super quick.


Scans:
https://virusscan.jotti.org/en-US/fi...job/du0kj4pel5
https://www.virustotal.com/en/file/8...is/1481152318/


Replace the "Lib K Relay.dll" file in both the main folder and your plugins folder.



I also updated the packet names to reflect the renamed packets. Not sure when the packets got renamed, but some of them have been renamed and therefore wouldnt work if you attempted to hook them. For example, the packet TINKERQUEST was renamed to QUESTREDEEM. I also found the ACCEPTARENADEATH packet structure had changed slightly, as well as the IMMINENTARENAWAVE packet. I didnt go over all the packets to make sure their structures were still correct but i might do that here in the near future.


@059 @Raple @Ahl can you please add all of this to to main post when you approve it, thanks
Good job!
Can't wait for this to get approved!
Thank you for this.
Approved
When i start it, it keeps crashing..

any fix?
The new Autoloot is indeed faster and overall better because of your new, modified plugin but it also leads to more frequent DCs.

For example, if the user attempts to autopickup a health pot or mp pot by running over it, it normally works. But sometimes, it just keeps attempting while never putting the item into the user's inventory (nor taking it out of the bag with finality). If this continues enough times, it causes an immediate disconnect, similar to OP autonexus. As a result, upon the user re-entering the realm, they have to wait 120 seconds all over again in order to teleport which makes it difficult to get to areas like Godlands for the slower classes.

Can you please look into this? Thanks.

Edit: I suppose I can just turn auto pickup off specifically for hp/mp pots and it shouldn't really be an issue as the monsters that drop those do essentially no damage, meaning that pausing to pick them up is safe. This also works because Orape autopickup kicks in, which might have been the problem in the first place.
Quote Originally Posted by aqwplayer View Post
The new Autoloot is indeed faster and overall better because of your new, modified plugin but it also leads to more frequent DCs.

For example, if the user attempts to autopickup a health pot or mp pot by running over it, it normally works. But sometimes, it just keeps attempting while never putting the item into the user's inventory (nor taking it out of the bag with finality). If this continues enough times, it causes an immediate disconnect, similar to OP autonexus. As a result, upon the user re-entering the realm, they have to wait 120 seconds all over again in order to teleport which makes it difficult to get to areas like Godlands for the slower classes.

Can you please look into this? Thanks.

Edit: I suppose I can just turn auto pickup off specifically for hp/mp pots and it shouldn't really be an issue as the monsters that drop those do essentially no damage, meaning that pausing to pick them up is safe. This also works because Orape autopickup kicks in, which might have been the problem in the first place.
Yeah i noticed this as well. It is actually the same with the original, it just didnt occur because the original never tried to loot from brown bags. I have it fixed already on my end but havent uploaded the new version of the plugin yet. Until then I suggest opening the loothelper config (type "/loothelper") and remove "Health Potion" and "Magic Potion" from the autoloot string. That will stop the disconnect from happening when you attempt to pick up a hp/mp potion. And no it isnt because of the orape autoloot kicking in, its because its trying to autoloot the potion to your inventory, but that doesnt work it needs to be autolooted to your health/magic potion slot.
Quote Originally Posted by toddddd View Post
and your plugins folder.
You can delete Lib_K_Relay from your plugins folder. It is never loaded, as KRelay only loads stuff that inherit IPlugin from that folder, it's just taking space.
Quote Originally Posted by RotmgLand View Post
Can you guys help me fix this problem? http://prntscr.com/dh3463
Yes thats usually happening because the flash player is trying to get a "policy-file" or something like that. Open ROTMG and connect to a regular server first, then you should be able to connect to the proxy server/k-relay no problem.
I Figured it out...

It was cause I didn't have the client in trusted location...
Nice, I was waiting for this - thanks!
I have a problem, KRelay isn't saving my settings. It keeps connecting me to a server i don't want to, i can connect to a different server using the /con command, but as soon as i go to the char selection screen i goes back to the default server. I've already tried to change this but still connecting me to default.
Quote Originally Posted by Dante-sama View Post
I have a problem, KRelay isn't saving my settings. It keeps connecting me to a server i don't want to, i can connect to a different server using the /con command, but as soon as i go to the char selection screen i goes back to the default server. I've already tried to change this but still connecting me to default.
On the settings tab of the k-relay GUI it says "k-relay must be re-opened for all settings to apply", meaning you have to restart k-relay after you make changes to the settings.
I am disconnected after a few minutes (5-20)
Posts 16–30 of 35 · Page 2 of 3
This thread is closed for replies.

Similar Threads

Talk with us