I have a repository with krelay updated here: gitlab.com/arkzzz/krelay assuming that the plugins are old though they may not work anymore
I also have a java clientless library that you can find at gitlab.com/arkzzz/realmjay
Thanks, I got Krelay to work, but sadly the trade plugin i have is outdated and won't load (throws an error, something like: The type "CommandHandler" could not be loaded in Lib K Relay.
Any chance the is a fix for it?
If not, would you say it is hard to write a tradebot myself? - I am used to winforms and Unity (C#) currently.
After a bit of digging around here and trial and error, i got a few things working now:
Detect the needed packets (when a trade is requested, started, changed, accepted, cancelled, and so on)
Print the own inventory as a message (for testing)
Grab all Item IDs, names and if it is soulbound from the objects.xml.
Now that i have the hooked packets, how does one handle them?
I mean for example, how can i read out of the TRADESTART packet, wich Items the other dude has?
How can i see wich item's the other dude has selected in an TRADECHANGED packet?
(i know these packets exists, may the spelling here is wrong as i am currently not looking at the source code)
Last but not least how do i select items myself?
- Guess here would be to create my own tradechange packet using the packetwriter.
Regards,
Maik8
Thank you, but i figured quite a bit of it out already and also got my first automated trades working, it will still take quite some time to finish, since i still need a GUI to create trades and i also have very limited time atm. But it is going to be finished!