What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Plugin] A ChuckyEgg Attempt! - Party Dude Pro, breaker breaker roger smack 'em!

The problem in this: The leader is on the main computer, the slave is in a virtual machine(vmware). In the vmware i have shared folder that is on a main.
When the game begins, the bot use banner to the leader, the he immediately makes a portal into the city and takes the banner again to the leader and so in the loop. How do i fix this?
P.s. My apologizes for the grammar.
 
Where is it that you are running the party? and where is that portal ?

Act 3 normal, the portal to "The Arreat Gate".

And my leader keeps inviting everyone on my friendslist. Even though I'm in the game with my leecher.
 
As the higher being as my witness, this is a beautiful plugin. Too bad I'm at work so I can't fiddle around with this. Still no go on picking who to be in party right? Still only picks from top down from what i saw. Too bad there's no way to sense that you're in a party by manually partying and then going off that. Might be easier than trying to code an actual pick-someone-setting for now. Bah, my crappy coding skill.
BTW awesome profile pic.

:) thanks... RED DWARF FTW!
and that's one of my favourite episodes

Yep, it still only picks the party from the top down in the friends list.
I need to take another look at the DemonBuddy API, maybe they have added something that can be used re party formation and being aware that you are in a party.


The problem in this: The leader is on the main computer, the slave is in a virtual machine(vmware). In the vmware i have shared folder that is on a main.
When the game begins, the bot use banner to the leader, the he immediately makes a portal into the city and takes the banner again to the leader and so in the loop. How do i fix this?
P.s. My apologizes for the grammar.

No problem, I understood what you were saying because I have been working on a fix for it today. I have completely rewritten the code that deals with that (portals/lostleader/movement). Latest version, Version 2.0.5 should not loop like that now :)

Will this work with a V P N, say, something like hamachi?

I have no idea. I've never used V P N or had anything to do with it.

If your bots are on one computer then yes it will :)

If on different computers, but they are on the same network, then you can set up a shared drive to hold the database (COMMS system) :)

If using different computers that cannot access a shared drive, then no it won't work :(


Act 3 normal, the portal to "The Arreat Gate".

And my leader keeps inviting everyone on my friendslist. Even though I'm in the game with my leecher.

Hmm, not sure why that is happening! very strange.

Are you totally sure that the PartyLeaderPro config window is set to the number of bots in your party ?

If you have a leader and 1 leacher, the party size should be 2. And the account name of the leacher must be the first in the friends list of the leader.


---------------------------------------------------------
NEW VERSION - 2.0.5

The algorithm that decides what to do during the run re following the leader, leader lost check, portal usage, and TPing to town to rejoin the party, has been completely re-written.

----------------------------------------------------------
I need to sort out the party formation/disband issue next, as the LeaveGame tag no longer disbands the party at the end of a run, which causes problems if the profile relies on that.
Once that is done, I can then get back to the Trinity incompatibility fix.
 
Last edited:
NEW VERSION - 2.0.6

The leader now disbands the group when it leaves the game.

It would be better that the party stays intact, but there are error popping up when attempting to create a new game, so for now I have the leader forcing the party to disband.

I also need to get the party to stay together, as the leader can find itself a good distance from the group after going through portals and the like.
 
hi I think upload file is wrong T_T I checked 2.0.6 but when I check in DB 's plugin .. partydudepro is 2.0.6 but partyleaderpro is 2.0.5 ~ cant do disbands the group when it leaves the game. lol what I do wrongly ? T_T

Hmm, I'll check the download... it has happened before that I uploaded the wrong version.

In the GameLeft method of PartyLeaderPro.cs, it should have the instruction that tells the bot to leavegame (false means it leaves the party too):

PHP:
        public void GameLeft(object sender, EventArgs e)
        {
			// make sure that the party is disbanded when the leader leaves the game
			ZetaDia.Service.Games.LeaveGame(false);
			Log("We are leaving the current game. Time to reset the GameState to CreateParty!");
			// set game state back to form a new party
			leaderRadio.updateGameState("CreateParty");
		} // END OF GameLeft(object sender, EventArgs e)


-----------------------------------
I just checked and the file is correct, I just forgot to change the version number.
If you look at LeaderComms.cs, in the same folder, that has the correct version number, so proof that I just forgot to change the version number of PartyLeaderPro.cs. I copy folders across, not just the individual files.
I need to be a bit more vigilant with my preparation of the code for distribution, bad me :)

Anyone else notice it not disband the group?

Actually, it's just the leader that leaves the party. All the others stay together, but that's okay, because it still allows the leader to invite them to the new group.

I'm going to now give the file handling routines their own thread, so hopefully things will speed up a bit, then I'll get back to the Trinity fix :)
 
Last edited:
NEW VERSION - 2.0.7

In an attempt to speed things up a bit, the file/database access that occurs during the actual run, have been given their own thread to run in.
Watching it, I'm not sure I notice any real difference but this needed to be done anyway.

------------------------
I think I really need to sort something out re the followers/dudes getting left behind, after the leader goes through a portal.
 
Chucky if you insert a few sec delay after portal usage (via profile) won't fix?
Or leader checks if got X SNO's of party members near him
 
Chucky if you insert a few sec delay after portal usage (via profile) won't fix?
Or leader checks if got X SNO's of party members near him

The delay placed in the profile would help, but your ID about the number of actor SNOs (player) is better... I'll think on it.

I'm a bit busy today, and this weekend actually, so not sure if I have time to do anything with this.
 
Last edited:
Sorry if this plugin is not the cause, but thought it might be. If I leave them running unattended I can come back to find one of the clients has crashed. anyone else experience this?
 
Last edited:
Sorry if this plugin is not the cause, but thought it might be. If I leave them running unattended I can come back to find one of the clients has crashed. anyone else experience this?

Which version are you using?

I haven't done an extended test run with the last 2 versions, so you never know, it could be the plugin.

I'll clear the log folder and run a party for the rest of the day... see what happens.

EDIT: someone on the CIGGARC site reported crashes, so it looks like the latest version is causing the problem.
They supplied a log, so I'll now take a close look at that.

EDIT again: Damn, the log file is not the full thing... I'll run try and reproduce the crash myself.
Best to use 4.0.6 for now.

EDIT: It crashed for me... didn't take long and it was the leader.
The PartyLeaderPro part of the plugin was not updated in 2.0.7, it had a minor change in 2.0.6, which would not affect its running. And prior to that the last update applied to PartyLeaderPro was way back in 2.0.2

Therefore the fault lies with the file access methods having their own thread.

I'll remove 2.0.7 completely.
 
Last edited:
That's good, but it's been doing this for a while, so might be something else. I do have the latest on now though.

The same type of crash occurred when a 'dude' was trying follow the leader whilst in the wrong game - it was trying to click the flag and I clicked the 'accept join game' invite and then it crashed.

I have cleared my logs now, I will see if it happens again.
 
One issue is that if a dude dies and the spawn has mobs, they will try to TP and die continually.
 
That's good, but it's been doing this for a while, so might be something else.

Okay, that's not good. I'll carry on running them in a party for a good long run, see what happens.


The same type of crash occurred when a 'dude' was trying follow the leader whilst in the wrong game - it was trying to click the flag and I clicked the 'accept join game' invite and then it crashed.

If that's with 2.0.7, then it's probably the same thing that caused my leader to crash.

Hmm, actually iif you click on the accept invite yourself , that will cause problems, but it shouldn't crash it... I need to check the code that accesses the files. It could be that a file was not created, therefore it caused the crash when it tried to access it.

This is the party creation part that really could do with an overhaul.

When the dude accepts the invite, it grabs its ID and updates the PartyState file (contains a list of the party members, saying if they are in the group or not). The dude also creates its own state file (Dude#State). I expect you accepting the invite resulted in this file not being created, and therefore nothing to access. Mind you, I should have had a check in place to make sure it existed!

Okay, overhaul of Party Creation badly needed!

I'll write a new algorithm that takes into account all eventualities.
 
[16:40:58.707 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:01.966 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:01.968 N] [GilesTrinity] Your bot got stuck! Trying to unstuck (attempt #1 of 8 attempts)
[16:41:05.227 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:08.521 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:11.819 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:15.062 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:18.239 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:21.573 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:24.740 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:28.010 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:31.208 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:34.444 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:34.444 N] [GilesTrinity] Your bot got stuck! Trying to unstuck (attempt #2 of 8 attempts)
[16:41:37.762 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:37.762 N] [GilesTrinity] Your bot got stuck! Trying to unstuck (attempt #3 of 8 attempts)
[16:41:41.011 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:41.011 N] [GilesTrinity] Your bot got stuck! Trying to unstuck (attempt #4 of 8 attempts)
[16:41:44.346 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:44.346 N] [GilesTrinity] Your bot got stuck! Trying to unstuck (attempt #5 of 8 attempts)
[16:41:47.574 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:50.740 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:50.740 N] [GilesTrinity] Your bot got stuck! Trying to unstuck (attempt #6 of 8 attempts)
[16:41:54.059 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:41:54.059 N] [GilesTrinity] Your bot got stuck! Trying to unstuck (attempt #7 of 8 attempts)
[16:41:57.322 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:42:00.613 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:42:00.613 N] [GilesTrinity] Your bot got stuck! Trying to unstuck (attempt #8 of 8 attempts)
[16:42:03.806 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:42:03.806 N] [GilesTrinity] Anti-stuck measures now attempting to kickstart DB's path-finder into action.
[16:42:06.977 N] Interacting with object Boss_Portal_MistressOfPain-22124
[16:42:10.147 N] Interacting with object Boss_Portal_MistressOfPain-22124


The timer keep resetting, and the leader never clicked 'accept'

Happened again

[17:23:28.210 N] Interacting with object Boss_Portal_Azmodan-104219
[17:23:29.366 N] Interacting with object Boss_Portal_Azmodan-104219
[17:23:33.627 N] Interacting with object Boss_Portal_Azmodan-104219
[17:23:36.815 N] Interacting with object Boss_Portal_Azmodan-104219
 
Last edited:
[16:40:58.707 N]

The timer keep resetting, and the leader never clicked 'accept'

Happened again

[17:23:28.210 N] Interacting with object Boss_Portal_Azmodan-104219
[17:23:29.366 N] Interacting with object Boss_Portal_Azmodan-104219
[17:23:33.627 N] Interacting with object Boss_Portal_Azmodan-104219
[17:23:36.815 N] Interacting with object Boss_Portal_Azmodan-104219

damn, Azmodan?

That definitely should not happen! :(

damn Gremlins in the works, again!

Also, it just crashed for me with 2.0.6 .... so it's not that Threading!

What on Earth is going on???


Which one is the Mistress of Pain ? name, act ?
 
It's Act 3, Cydaea.

Running 2.0.6 at the moment, just got to the end of the run..

The leader left, still in party - tried to make a new game and 'error'

[17:38:28.989 N] Waiting 8.5 seconds before next game...
[17:38:37.512 N] Creating new game, Params: <Act:A3 Difficulty:Inferno Quest:101758 QuestStep:29 ResumeFromSave:False IsPrivate:True Handicap:0>
[17:38:37.989 N] [RadsAtom] - Error Dialog found, closing dialog

D3 crashes completely.
 
Back
Top