Git Product home page Git Product logo

tera-guide's Introduction

Tera-Guide

Is a module for creating dungeon guides extremely easily by simple "scripting".

Dependencies

https://github.com/Kaseaa/library (it also has a readme)

The say node library used for text-to-speech(works without it, so not needed). Install it by running "npm install say" in your proxy folder.

Commands

Note: All commands starts with "guide"

Command Usage Arguments
- Toggles the guide module -
debug Toggles debug mode debug(enables everything), hp, abnormal, skill, boss, chat(prints to in chat rather than console), dm, qb
event triggeres an event, where you are the entity. Used for testing First argument is a type from "Options". The second argument contains the values(or the keyword trigger). Example: /8 guide event spawn '{"id": 500, "sub_delay": 5000}', /8 guide event trigger "h-444-2000-97"
stream Toggles streamer mode -

Supported

Feel free to create your own guide/add-on and send a pull-request :=)

Dungeon How much is it scripted
AANM All bosses
AAHM All bosses
HH P4 Firewalls
RMHM Debuff mechanic on first boss

How to create a guide

First enable debug setting in config.json, then go into the dungeon you wish to create a guide for. Once you've entered look in console for the id. Once you have the id create a file under the guides folder. The file should start with the number followed by ".js".

It's important to note you will need to include the very basic information for the file to get loaded and for the module to print out information. It won't print out anything if it can't find number.js file. (module.exports = {};)

When the module get's loaded, you're allowed to hook hooks using a "load" key. This key will get called with a dispatch argument passed upon getting loaded. The hooks will be automatically unloaded once the module finishes it's runtime.

So, now to create actions have debug option on and log the attacks/abnormalities then script what you want to happen during those attacks. Please refer below to options(things you can trigger upon the abnormality or attack).

Naming keys

Prefix a means handle a abnormality. However in addition to this there are subtypes to abnormalities.

Sub type Effect
m The abnormality was applied by a mob to you. (m = mob)
e The abnormality was applied by "nothing"/server to you. (e = empty)
b The abnormality was applied to the bam. (b = bam)

Prefix s means handle a skill.

Prefix h means health. For instance "h-huntingZoneId-templateId-60", means it'll trigger on 60%

Prefix dm means dungeon message.

Prefix qb means quest balloon.

When creating an entry use a prefix, followed by "-huntingZoneId-templateId-" after the last "-" put the abnormality id, skill id or hp %.

Options

Key Required Values Usage
type Yes spawn, text, sound, stop_timer, func Determines what action(s) will be taken when the event is called
sub_type Yes(text), Maybe(spawn), No notification(text), message(text), speech(text), collection(spawn(default)), item(spawn), build_object(spawn) Used in conjunction with certain types.
id Yes(spawn, sound, stop_timer), No A unique identifier not used "anywhere" else in the file. It's used for spawning item(the item id), stopping a notification/text in progress and id of a sound. DO NOT USE 0 FOR THE ID IN ANY CASE!
delay No A delay in milliseconds Creates a timer that can be used to delay ANY event.
sub_delay Yes(spawn), No How long in milliseconds before it acts upon it. Used with spawning items
distance Maybe(spawn), No Distance in units(1meter = 25 units) Used when spawning something. (How far away it'll be spawned from the boss)
offset Maybe(spawn), No [-PI, PI] Used when spawning something. (How it will be spawned in relation to the boss) use this or pos
pos Maybe(spawn), No {x, y, z} Used when spawning something. (The location on the map) use this or offset
message Yes(text), No The text you wish to display when it gets triggered Use with type text
func Yes(func), No A function which should get called when an entry is called. The callback will get passed the function handlers(spawn, text, sound, stop_timer, func) in a object, the event it was called from, what entity information that triggered the event and the dispatch
class_position No tank, dps, heal if this is used, it will only do the event for that class position

Todo(in the extremely distance future of probably never)

Add interface for other modules to require/import the script and use it

Allow other modules to bind names to mob indexes. Such as 920-4000 -> Vergos_Phase4 Allowing config files to say "h-Vergos_Phase4-97" for 97% hp

tera-guide's People

Contributors

kasea avatar mkalo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tera-guide's Issues

Message Recived on random dungeons Eg. Akalath Quarantine.

[12:36:05.098] [65097][Guide] Text handler needs a message
[12:36:27.764] [87764][Guide] Text handler needs a message
[12:36:47.190] [7190][Guide] Text handler needs a message
[12:37:18.501] [38500][Guide] Text handler needs a message
[12:37:38.809] [58809][Guide] Text handler needs a message
[12:38:02.780] [82780][Guide] Text handler needs a message
[12:38:31.834] [11835][Guide] Text handler needs a message
[12:38:57.855] [37856][Guide] Text handler needs a message
[12:39:11.151] [51152][Guide] Text handler needs a message
[12:41:32.546] [92546][Guide] Text handler needs a message

Those message are also recived on Proxy Channel (Chat)

timing

spin->safe side -> aoe timing is right during mech,need to pop up earlier if possible

CSNM in/Out bugged mechanic

Hello.

Since Draakon Arena patch , CSNM In/Out mechanic got bugged.

After boss is around 60-50 % HP the In/Out mechanic just reverses.. In become out/ Out becomes in...and sometimes It's accurate.

My friends that use the tera guide master experience such issue since release of the patch.

In/Out its not accurate no more after some time in boss fight.

tera-guide

Bonjour,
Capture d’écran 2021-09-09 163933
Je ne peux pas installer le module "tera-guilde" dans My Mods de Toolbox.
Pouvez-vous me trouver une solution.
Je vous remercie d'avance

Maximum Call Stack Size Exceeded

[21:54:54.685] RangeError: Maximum call stack size exceeded<br> at Function.assign (<anonymous>) at MigrateSettings (C:\Users\Admin\Desktop\TeraToolbox\mods\tera-guide\settings_migrator.js:40:35) at MigrateSettings (C:\Users\Admin\Desktop\TeraToolbox\mods\tera-guide\settings_migrator.js:29:24) at MigrateSettings (C:\Users\Admin\Desktop\TeraToolbox\mods\tera-guide\settings_migrator.js:30:20)< at MigrateSettings (C:\Users\Admin\Desktop\TeraToolbox\mods\tera-guide\settings_migrator.js:30:20) at MigrateSettings (C:\Users\Admin\Desktop\TeraToolbox\mods\tera-guide\settings_migrator.js:30:20) at MigrateSettings (C:\Users\Admin\Desktop\TeraToolbox\mods\tera-guide\settings_migrator.js:30:20) at MigrateSettings (C:\Users\Admin\Desktop\TeraToolbox\mods\tera-guide\settings_migrator.js:30:20) at MigrateSettings (C:\Users\Admin\Desktop\TeraToolbox\mods\tera-guide\settings_migrator.js:30:20) at MigrateSettings (C:\Users\Admin\Desktop\TeraToolbox\mods\tera-guide\settings_migrator.js:30:20)

Question on how to add data

2 questions that i want to ask:

  1. How to make it announce/print text for a certain boss skill?
    I tried !guide event text message '{"s-455-200-2204"}' "text here"
    but its not working. Im confused on how to input the argument. (sorry no coding experience here)
    even the one in the example !guide event trigger "h-444-2000-97"
    isnt working for me (invalid values for sub command "event" trigger)

  2. How to specify which dg does these code refers too?
    or these command only works for the dg that we are in only?

Thanks

Keep same style on AA guides

Hi, AANM/HM guides have different styles on callouts even for same bosses. For some attacks it says where to go for safety, and for other attacks it says where the boss will hit. So it's rather confusing.
for example, Backstep+donuts, stay in, get out
Should just call out IN -> OUT.
and then enraged Massive In-Out Big AoE+Inner AoE+Outer AoE
should just call dodge -> OUT -> IN.
That way it keeps a standard and becomes less confusing. Always calling out the same thing (where to go) instead of alternating between calling where to go and where mechanic will hit.

Tera-guide

Capture
i got this problem and i dont know what to do about it can anyone help me out with it?

I wanna share this RMHM guide i made (copied/cut pasted)

https://github.com/AntiScrewdriver/Tera-RMHM-Guide/blob/master/Tera-RMHM-Guide

I don't know how else to share this, so im posting here.
Its a guide for the third boss, mostly from meelee's perspective.

"Left hand, Right hand" is there because its how you can tell a tail slam is coming.
If she starts with Left -> Right, then right after that is a tail Slam.

I dont know programming, if did i would probably do something like
( if "right hand" after "left hand"
then on "right hand" say : "Tail Slam!" )
Also i dont know how to combine the already existing RMHM first boss guide with this one.

In any case barely anyone does RMHM nowadays, and its hard to learn. This helped me, so i hope its gonna help someone else.

sound

since last update it will not allow for the speech to voice to be disabled "guide voice" "guide voice off" still speaks - any suggestions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.