Jump to content
  • 0

[Resolved] Auto-Party


Angst

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  97
  • Reputation:   20
  • Joined:  11/13/11
  • Last Seen:  

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
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  97
  • Reputation:   20
  • Joined:  11/13/11
  • Last Seen:  

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

Link to comment
Share on other sites

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.

×
×
  • Create New...