Jump to content
  • 0

[Resolved] Auto-Party


Question

Posted (edited)

I think half of this is in the correct section. It's a whole project so I hope it's alright to just post the whole thing. :/

I don't know if this is possible with npc script but then again I'm thinking it might be less resource demanding if it was in the source somewhere?

I don't speak C so I have no clue how to go about this, but I know how to use VS C++ so compiling would be the easy part.

I'll type the idea in semi-npc script and maybe it can be translated to a diff.

OnPCLoginEvent:
AUTOPARTY:
if (!getcharid(1)) {
 set .@r, rand(999999999);
 set .@pnum$, (md5(.@r));
 atcommand "@party "+.@pnum$;
 sleep2 50;
 goto !getcharid(1)?AUTOPARTY:-;
}

Simple and small.

To me, the script would set the party name in the same way as partyID, how it counts up +1 every time a new party is created.

Also '/organize "" ' would have to be modded to just '/organize' without any party name designation, where typing /organize creates a party with server-side designating the name, ie: /organize == partyID && partyName: 1154

Also to go with this, I was wondering how to remove the party display when the cursor hovers over a player?

Or change it to something that says you're in a party, ie:

PlayerName (In Party)

Guild [Master]

I know basic hexing of the client as well so hopefully the party display part doesn't require disassembly. :/

Any help would be very much appreciated.

Edited by Angst

2 answers to this question

Recommended Posts

Posted

I was actually looking for something automated, not a command (it looks like a command mod to me?); but thanks for the suggestion!

I shall have a friend take a look at those. =D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...