BETA: Single Account Portal Bot.

Have a meta to release to the public? Looking to download a meta? This is the place for you!
User avatar
Trigger9008
Posts: 41

BETA: Single Account Portal Bot.

Post #1 »

I haven't seen any solid portal bot metas that are ready to cram with names and run, so I made this. I don't like using tings because it causes problems on Windows 10. Unfortunately I'm running 10 to become familiar with the environment :roll:

Please read the help file! Sorry it's a bit convoluted. If you need help setting it up, I can definitely help you out. All I would need is a list of characters on 1 account and the portals they are tied to:

Character Name Primary Tie Secondary Tie

A list like that and you should be able to set up an entire account on your own within 10 minutes.

Tell the bot "whereto" once it's setup. More info in the help file.

EDIT: See my post at the bottom of this page for an exe file that is more friendly than note pad for set up. ;)
TrigPortal.zip
(3.36 KiB) Downloaded 496 times
Last edited by Trigger9008 on January 8th, 2016, 1:59 am, edited 1 time in total.
~Trigger9008~

User avatar
HellsWrath
Site Admin
Posts: 389

Post #2 »

By single account do you mean Multi-Char?

User avatar
Trigger9008
Posts: 41

Post #3 »

By 'Single Account', I mean. it's set up right now to find/replace exactly 1 account worth of characters into the meta to be used as a portal bot meta for 22 unique portals. (11 characters X 2 portal ties). So I guess you could describe it a few different ways. I haven't slept in ... (calculating....) 63 hours. :shock:
~Trigger9008~

User avatar
HellsWrath
Site Admin
Posts: 389

Post #4 »

63 hours?! Go to sleep!

User avatar
Trigger9008
Posts: 41

Post #5 »

Slept for 4.5 hours with my son on the recliner. I'm good now :) I'll take another look at those instructions because they are probably crap. I'll edit this post with an update. It's actually really simple to set up.

EDIT:

Open the meta in a txt editor with find/replace. (such as notepad++)

For each character on the portal bot account:
find and replace each of the following:

C I Name with first character name
C I Primary with first character primary tie name
C I Secondary with first character secondary tie name

C II Name with second character name
C II Primary with second character primary tie name
C II Secondary with second character secondary tie name

C III Name with third character name
C III Primary with third character primary tie name
C III Secondary with third character secondary tie name

C IV Name with fourth character name
C IV Primary with fourth character primary tie name
C IV Secondary with fourth character secondary tie name

C V Name with fifth character name
C V Primary with fifth character primary tie name
C V Secondary with fifth character secondary tie name

C VI Name with sixth character name
C VI Primary with sixth character primary tie name
C VI Secondary with sixth character secondary tie name

C VII Name with seventh character name
C VII Primary with seventh character primary tie name
C VII Secondary with seventh character secondary tie name

C VIII Name with eighth character name
C VIII Primary with eighth character primary tie name
C VIII Secondary with eighth character secondary tie name

C IX Name with ninth character name
C IX Primary with ninth character primary tie name
C IX Secondary with ninth character secondary tie name

C X Name with tenth character name
C X Primary with tenth character primary tie name
C X Secondary with tenth character secondary tie name

C XI Name with eleventh character name
C XI Primary with eleventh character primary tie name
C XI Secondary with eleventh character secondary tie name

RESTRICTIONS!:

DO NOT USE NUMBERS IN THE PRIMARY AND SECONDARY PORTAL NAMES! If you use a number (125 Eaters) then you MUST remove the numbers from the variable!

EXAMPLE: Find and Replace "C I Primary" with "125 Eaters", THEN Find and replace "setvar[request,125 Eaters]" with "setvar[request,Eaters]" without quotes! The command to summon this portal would be "125 Eaters".
~Trigger9008~

Bluestorm
Posts: 1

Post #6 »

The meta recognizes the command on the first account and logs off the char. The second char never logs in. Any ideas?

User avatar
HellsWrath
Site Admin
Posts: 389

Post #7 »

Bluestorm wrote:The meta recognizes the command on the first account and logs off the char. The second char never logs in. Any ideas?
Do you have Mag-Filter?

http://magtools.codeplex.com/releases/view/109010

User avatar
Trigger9008
Posts: 41

Post #8 »

Simply reading my edited post isn't enough. The actual help file has necessary information, that's why I left it in there. The revised post is simply there to make the find/replace more clear.

I'm sincerely sorry I posted that on such little sleep the first time.
~Trigger9008~

User avatar
Trigger9008
Posts: 41

Post #9 »

Here's a fun tip for those of you who know a bit more about editing a meta and regular expressions:

precede a command with (?i) to turn off case sensitivity.

Example:
  • ^(\<Tell:.{9}:[0-9]+:(.*)\>.+) (tells you|says), \"EO\"$
could look like this:
  • ^(\<Tell:.{9}:[0-9]+:(.*)\>.+) (tells you|says), \"(?i)EO\"$
and it would register any of the following tells:
EO, Eo, eO, eo

Have fun with it and make your commands more robust! :D

Example 2:
^(\<Tell:.{9}:[0-9]+:(.*)\>.+) (tells you|says), \"125( (?i)Eaters)?\"$

P.S.
There is a typo in the meta where I accidentally left the "?" in the line for ^(\<Tell:.{9}:[0-9]+:(.*)\>.+) (tells you|says), \"C I Primary?\"$
This was originally the '125 eaters' statement that I posted as example 2
~Trigger9008~

User avatar
Trigger9008
Posts: 41

Post #10 »

Here is a very small program I wrote to edit the portal bot meta in a more friendly way. You can run the program from anywhere, no install, just a simple exe file. You may have to extract it first.
In theory, you can use this to edit your already existing TrigPortal.met, as long as the section containing the characters hasn't been changed at all. I was pressed for time and was a bit lazy on the line references for the code.

EDIT: Start by hitting file - new OR file - open. 8-)

So, you can add states, conditions, etc., just do NOT edit this part and you should be good:

Image

It's my very first program written in c# so.... yeah.... LOL!

Anyways, let me know if you have problems with it.
PortalBotMetaEditor.zip
Update 1.0.2.2 11/30/2016
(12.89 KiB) Downloaded 322 times
Updated!

Update summary:
2) The exe will now also update the "/vt meta load" line as soon as you save the file with a new name ^_^

1) If you clicked on File - New before, it would write the meta to disk prematurely on save, leaving you with a file called 'embedded' with no extension. This has been fixed. Thank you Burn for finding this error.
Last edited by Trigger9008 on November 30th, 2016, 3:30 pm, edited 4 times in total.
~Trigger9008~