There is a thread which already calls the newbot method...Quote:
Thanks, pro4never!... I was actually wanting to get a glimpse of how to make my char move at least an inch... Now, that i`m in jail, i don`t have to worry... In jail, i dropped some normal stuff while trying a long jump and got bot jailed again... :D
Besides, i was wondering from where you should be calling the NewBot(). I placed it as a Case under Cmd switch. But, i`m not able to make it loop, as i feel the control breaks no matter how many indefinite loops i put my code into.
Example: If i code it to hit monsters and get close to a mob of 3 monsters and type "/Bot", the char attacks all the 3 Mobs and after that, the loop breaks, even though it`s within an infinite loop. I also tried using Jump() and CliJump(). But, unable to get it to jump or teleport...
Character.cs has two different threads which are started on login to the game server.
Thread 1: Packets thread. Runs through the queue of packets to send to either server or client and sends them.
Thread 2: Calls the NewBot method assuming the bot is turned on and not disabled (I disable it during certain actions that need a pause... such as activating xp skill or w/e)
As for dropping items... EVERY action should have a delay between it and the previous/next one.
The problem with dcing I feel is actually the drop packet has changed since I released the proxy (that's why some ppl for loot were getting 0/0 x/y for items...
Try reading the packets being used by the client/server already and re-write the drop item method to reflect the new structure.