[Plugin] xControl

Control your party using in-game chat.
Leader writes commands and your character will follow it.

Supported commands :

  • START : Start bot

  • STOP : Stop bot

  • TRACE #Player? : Start trace to leader or another character.
    Ex.: TRACE JellyBitz

  • NOTRACE : Stop trace

  • RETURN : Try to use a “Return Scroll” or if you are dead, it will be inmediatly.

  • TP #A #B : Use teleport from location A to B.
    Ex.: TP Jangan Donwhang
    Ex.: TP Ferry Ticket Seller Chau,Ferry Ticket Seller Hageuk

  • RECALL #Town : Set recall on city portal

  • ZERK : Try to use berserker mode

  • GETOUT : Left current party

  • MOVEON #Radius? : Makes a random movement

  • MOUNT #PetType? : Mount pet or summons a horse by default
    Ex.: MOUNT transport
    Availables Types here

  • DISMOUNT #PetType? : Dismount pet or horse by default

  • SETPOS #PosX? #PosY? #Region? #PosZ? : Set training area position
    Ex.: SETPOS -11287 2766 ( Constantinople )
    Ex.: SETPOS -22011 1446 -32764 ( Tomb of Qui-Shin [B4] )
    Ex.: SETPOS -24278 -88 -32767 0 ( Donwhang Cave [F1] )

  • GETPOS : Get the current character position

  • SETRADIUS #Radius? : Set training area radius

  • SETSCRIPT #Path? : Change script path from training area
    Ex.: SETSCRIPT

  • SETAREA #Name : Changes the training area by config name

  • PROFILE #Name? : Switch profile by name or set to default if not specified

  • DC : Disconnect from game

  • INJECT #Opcode #Encrypted? #Data? : Inject a packet
    Ex.: INJECT 3091 False 0 (Greeting action)
    Ex.: INJECT 3091 0 (Greeting action)

  • CHAT #Type #Message : Send a game message
    Ex.: CHAT guild Hello Guild!
    Ex.: CHAT private Jelly Hey, what's up!
    Available types here

  • FOLLOW #Player? #Distance? : Trace party member using distance

  • NOFOLLOW : Stop following

  • JUMP : Funny knockback visual effect

  • SIT : Sit or Stand up, depends on current state

  • CAPE #Type? : Use PVP mode
    Ex.: CAPE white
    Ex.: CAPE off (quit cape)

  • EQUIP #ItemName : Equips an item from inventory by full name or part of it
    Ex.: EQUIP Angel Flute Mail
    Ex.: EQUIP Mail

  • UNEQUIP #ItemName : Unequips item from character by full name or part of it

  • REVERSE #Type #Name? Use a reverse to specified type location.
    Ex.: REVERSE return - Last return scroll point
    Ex.: REVERSE death - Last death point
    Ex.: REVERSE player JellyBitz - Party Member
    Ex.: REVERSE zone Holy Water Temple

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


Download : [Save as Link] :male_detective:
Do you like my plugins? Buy me a coffee! :coffee:
Keep the track of my updates with xPluginUpdater :mage::sparkles:

23 Likes

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.

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

Still the same problem.

This is what my folder looks like
image

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:

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

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:

Yeah its fine :slight_smile:

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

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?

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

command return not work
image

Teleport baghdad not work

image

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.

4 Likes

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

There is nothing about attack… :face_with_monocle:

This options. How I execute this?

1 Like

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

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

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.')
3 Likes

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

1 Like

The ‘RETURN’ command does not work!
@JellyBitz