[Plugin] xControl

#1

Manage your partys easily using the ingame chat.
The Leader(s) is the character that write chat commands.
If you character have Leader(s) into the leader list, this will follow his orders.

Supported commands :

  • START : Start bot
  • STOP : Stop bot
  • TRACE #Player? : Start trace to leader or another character, Ex.: TRACE JellyBitz
  • NOTRACE : Stop trace
  • SETAREA : Set training area using the actual location
  • SIT : Sit or Stand up, depends on your character state
  • CAPE #Type? : Use PVP Cape, Ex.: CAPE White or CAPE OFF
  • ZERK : Use berserker mode if is available
  • RETURN : Use some “Return Scroll” from your inventory
  • TELEPORT #A #B : Use teleport from location A to B, Ex.: TELEPORT Jangan Donwhang
  • INJECT #Opcode #Encrypted? #Data : Inject packet, Ex.: INJECT 3091 False 0 (means greet action)
  • CHAT #Type #Message : Send any message type, Ex.: CHAT All Hi! or CHAT Private JellyBitz Hi!
  • MOVEON #Radius?: Set a random movement. Radius by default is 10
  • FOLLOW #Player? #Distance? : Trace a party player using distance.
  • NOFOLLOW : Stop following

UPPERCASE is required to use the command, all his data is separated by spaces.
#Variable (required) #Variable? (optional)

Included command inject to inject packet through script.
All his data is separated by comma, encrypted will be false if it’s not specified.

  • Example 1: inject,Opcode?,ItsEncrypted?,Data?,Data?,Data?,...
  • Example 2: inject,3091,False,0 (means greet action)
  • Example 3: inject,3091,0 (means greet action)

Let me to know if something is not working as expected, it’s a reworked plugin mostly.

xControl v0.2.3

The most recent version will be allocated here

3 Likes

[Plugin] xChat
Trace distance
#2

Hey,

I’m, getting this.
[18:28:14] Plugin: xControl.py has failed to load.
I’ve downloaded Plugins v2.0, which contains python34 and I’ve just placed the plugin in “Plugins” folder.

0 Likes

#3

Identation error maybe. Try to download again and let me to know your results!

0 Likes

#4

Still the same problem.

This is what my folder looks like
image

0 Likes

#5

It’s the plugin. I checked carefully this time, fixing a lot of mistakes.

Try to download again. I’ll be waiting feedback :slight_smile:

0 Likes

#6

It’s loading the plugin now.

But adding a leader to the list is not working.
And it’s also on top of some text.
image

0 Likes

#7

It’s on top of TRACE command example: “TRACE JellyBitz”. It’s not looking so important at the moment.

You need to be in-game to start to using the Leaders list because it will save configs using character name :slight_smile:

0 Likes

#8

Yeah its fine :slight_smile:

I am in-game, and when i put a name into the field and press “Add” nothing happens.

0 Likes

#9

No errors either? There are just 3 reasons to nothing happen:

  • You are not in-game (after character selection)
  • Text is empty
  • The leader name is already added

I can’t see the problem, I tested and works as expected…
The xControl folder inside your phBot config path is created correctly?

0 Likes

#10

It’s working now after i restarted the phBot client.

0 Likes

#11

command return not work
image

Teleport baghdad not work

image

0 Likes

#12

Return scroll it’s problably the random it’s not working.

About Teleport, it’s the space between the name. I can fix that, thanks for feedback.

2 Likes

#13

I can’t execute the Attack command and I couldn’t run Skill record. Can you tell us how this works?

0 Likes

#14

There is nothing about attack… :face_with_monocle:

0 Likes

#15

This options. How I execute this?

0 Likes

#16

It is an old plugin. You are not using the same from this thread, I can’t do nothing for you.

0 Likes

#17

Upss I did not know. A special feature that we can atack the goal of the party president would be wonderful.

0 Likes

#18

Addind a little tool to know the exact name from NPC’s when using TELEPORT command

from phBot import *
import QtBind

pVersion = 'v0.0.2'
pName = 'xNPC'

# Needed for phbot GUI
gui = QtBind.init(__name__,pName)
lblNpcs = QtBind.createLabel(gui,"List of NPC's near to you..",21,11)
btnNpcs = QtBind.createButton(gui,'btnNpcs_clicked',"  Refresh list  ",645,8)
lstNpcs = QtBind.createList(gui,21,30,700,200)

# Clear and load the list of NPCs		
def btnNpcs_clicked():
	# Get all NPCs and teleporters
	npcs = get_npcs()
	# Clear the list of npcs
	QtBind.clear(gui,lstNpcs)
	if npcs:
		for key in npcs:
			# Append every NPC description to the list
			QtBind.append(gui,lstNpcs," Name ["+npcs[key]['name']+"] - Model ["+str(npcs[key]['model'])+"] - ServerName ["+npcs[key]['servername']+"]")

log('Plugin: '+pName+' '+pVersion+' successfully loaded.')
2 Likes

#19

Fortress war teleport komut çalışmıyor yardımcı olursaniz sevinirim

0 Likes

#20

The ‘RETURN’ command does not work!
@JellyBitz

0 Likes