fukki / auto-pot Goto Github PK
View Code? Open in Web Editor NEWauto use HP potion in normal or slaying and auto use Mana potion :x
auto use HP potion in normal or slaying and auto use Mana potion :x
[17:22:46.146] [update] ERROR: Unable to auto-update module AutoPOT:
[17:22:46.148] Failed to update the following module files:
`[18:55:04.292] [dispatch] [autopot] handle: error running hook for C_ADMIN<1>
hook: (anonymous) in autopot
data: { command: 'autopot reload hp' }
error: [dispatch] write: failed to generate C_SHOW_INVEN<1>:
Error: code not known for message "C_SHOW_INVEN"
[18:55:04.294] [dispatch] [badgui] handle: error running hook for C_ADMIN<1>
hook: (anonymous) in badgui
data: { command: 'autopot reload hp' }
error: [dispatch] write: failed to generate C_SHOW_INVEN<1>:
Error: code not known for message "C_SHOW_INVEN"
[18:55:04.295] [dispatch] [fps-utils] handle: error running hook for C_ADMIN<1>
hook: (anonymous) in fps-utils
data: { command: 'autopot reload hp' }
error: [dispatch] write: failed to generate C_SHOW_INVEN<1>:
Error: code not known for message "C_SHOW_INVEN"`
Hi Fukki,
This isn't an issue as your AutoPot is working great, and again big thanks for all your hard work in getting it working on NA server.
I hope you not mind me posting this here for you to look at, it's just my way of trying to give something back to help out.
Since I make a lot of new characters and I remember the days of doing the red quests instead of rushing through. (Veteran Player)
I thought the following maybe useful for new players or those who maybe take their time to level doing red quests, so they can keep costs down to a minimum on upgrading to new pots as they go along.
HP.JSON
{
"6550": {
"name": "Minor Recovery Potable",
"inBattleground": false,
"inCombat": false,
"use_at": 80,
"slay_at": 30,
"cd": 10
},
"6551": {
"name": "Major Recovery Potable",
"inBattleground": false,
"inCombat": false,
"use_at": 80,
"slay_at": 30,
"cd": 10
},
"6552": {
"name": "Prime Recovery Potable",
"inBattleground": false,
"inCombat": false,
"use_at": 80,
"slay_at": 30,
"cd": 10
},
"116": {
"name": "Health Potion",
"inBattleground": false,
"inCombat": false,
"use_at": 30,
"slay_at": 10,
"cd": 30
},
"111": {
"name": "Rejuvenation Potion",
"inBattleground": false,
"inCombat": false,
"use_at": 30,
"slay_at": 10,
"cd": 30
},
"114": {
"name": "Valkyon Health Potion",
"inBattleground": false,
"inCombat": false,
"use_at": 30,
"slay_at": 10,
"cd": 30
}
}
MP.JSON
{
"6560": {
"name": "Minor Replenishment Potable",
"inBattleground": false,
"inCombat": false,
"use_at": 80,
"cd": 10
},
"6561": {
"name": "Major Replenishment Potable",
"inBattleground": false,
"inCombat": false,
"use_at": 80,
"cd": 10
},
"6562": {
"name": "Prime Replenishment Potable",
"inBattleground": false,
"inCombat": false,
"use_at": 80,
"cd": 10
}
}
[13:07:11.722] [dispatch] handle: failed to parse S_PLAYER_STAT_UPDATE<12>
hook: (anonymous) in autopot
data: 030188c8bfef000000000000db0c000000000000000000008a70020000000000db0c00004800000050000000320000001e0000006e0032007800000070420000544200000040f57c0200f57c0200d76c010015870000b86200000000484200004842000048420f010000840000000000000000000000810014002d00000028430000524390c2b53f94eb030094eb030074720100000000000000000000000000000000000000000041000000000001000000000000000078000000780000002c0100002c0100000000000000000000c8010000c8010000000000000000c0ff00000000000000004100000000007a44000000000000803f000000000000000000000000
error: The value of "offset" is out of range. It must be >= 0 and <= 255. Received 259
at boundsError (internal/buffer.js:53:9)
at Buffer.readUInt32LE (internal/buffer.js:109:5)
at Readable.uint32 (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\stream.js:35:33)
at parseField (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:422:37)
at TeraProtocol.parse (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:431:7)
[13:07:11.727] [dispatch] handle: failed to parse S_PLAYER_STAT_UPDATE<12>
hook: (anonymous) in autopot
data: 030188c8bfef000000000000db0c000000000000000000008a70020000000000db0c00004800000050000000320000001e0000006e0032007800000070420000544200000040f57c0200f57c0200d76c010015870000b86200000000484200004842000048420f010000840000000000000000000000b90014002d00000028430000524390c2b53f94eb030094eb030074720100000000000000000000000000000000000000000041000000000001000000000000000078000000780000002c0100002c0100000000000000000000c8010000c8010000000000000000c0ff00000000000000004100000000007a44060000000000803f000000000000000000000000
error: The value of "offset" is out of range. It must be >= 0 and <= 255. Received 259
at boundsError (internal/buffer.js:53:9)
at Buffer.readUInt32LE (internal/buffer.js:109:5)
at Readable.uint32 (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\stream.js:35:33)
at parseField (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:422:37)
at TeraProtocol.parse (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:431:7)
[13:07:11.735] [dispatch] handle: failed to parse S_PLAYER_STAT_UPDATE<12>
hook: (anonymous) in autopot
data: 030188c8bfef000000000000db0c000000000000000000008a70020000000000db0c00004800000050000000320000001e0000006e0032007800000070420000544200000040f57c0200f57c0200d76c010015870000b86200000000484200004842000048420f010000840000000000000000000000b90014002d00000028430000524390c2b53f94eb030094eb030074720100000000000000000000000000000000000000000041000000000001000000000000000078000000780000002c0100002c0100000000000000000000c8010000c8010000000000000000c0ff00000000000000004100000000007a44060000000000803f000000000000000000000000
error: The value of "offset" is out of range. It must be >= 0 and <= 255. Received 259
at boundsError (internal/buffer.js:53:9)
at Buffer.readUInt32LE (internal/buffer.js:109:5)
at Readable.uint32 (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\stream.js:35:33)
at parseField (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:422:37)
at TeraProtocol.parse (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:431:7)
[13:07:11.747] [dispatch] handle: failed to parse S_PLAYER_STAT_UPDATE<12>
hook: (anonymous) in autopot
data: 030188c8bfef000000000000db0c000000000000000000008a70020000000000db0c00004800000050000000320000001e0000006e0032007800000070420000544200000040f57c0200f57c0200d76c010015870000b86200000000484200004842000048420f010000840000000000000000000000b90014002d00000028430000524390c2b53f94eb030094eb030074720100000000000000000000000000000000000000000041000000000001000000000000000078000000780000002c0100002c0100000000000000000000c8010000c8010000000000000000c0ff00000000000000004100000000007a44060000000000803f000000000000000000000000
error: The value of "offset" is out of range. It must be >= 0 and <= 255. Received 259
at boundsError (internal/buffer.js:53:9)
at Buffer.readUInt32LE (internal/buffer.js:109:5)
at Readable.uint32 (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\stream.js:35:33)
at parseField (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:422:37)
at TeraProtocol.parse (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:431:7)
[13:07:11.763] [dispatch] handle: failed to parse S_PLAYER_STAT_UPDATE<12>
hook: (anonymous) in autopot
data: 030188c8bfef000000000000db0c000000000000000000008a70020000000000db0c00004800000050000000320000001e0000006e0032007800000070420000544200000040f57c0200f57c0200d76c010015870000b86200000000484200004842000048420f010000840000000000000000000000c30014002d00000028430000524390c2b53f94eb030094eb030074720100000000000000000000000000000000000000000041000000000001000000000000000078000000780000002c0100002c0100000000000000000000c8010000c8010000000000000000c0ff00000000000000004100000000007a44060000000000803f000000000000000000000000
error: The value of "offset" is out of range. It must be >= 0 and <= 255. Received 259
at boundsError (internal/buffer.js:53:9)
at Buffer.readUInt32LE (internal/buffer.js:109:5)
at Readable.uint32 (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\stream.js:35:33)
at parseField (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:422:37)
at TeraProtocol.parse (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:431:7)
[13:07:12.675] [dispatch] handle: failed to parse S_INVEN<18>
hook: (anonymous) in autopot
data:
error: The value of "offset" is out of range. It must be >= 0 and <= 24331. Received 36061
at boundsError (internal/buffer.js:53:9)
at Buffer.readUInt16LE (internal/buffer.js:132:5)
at Readable.uint16 (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\stream.js:29:33)
at parseField (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:378:31)
at TeraProtocol.parse (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:431:7)
at parseField (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:384:33)
at TeraProtocol.parse (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:431:7)
[13:07:16.218] [dispatch] handle: failed to parse S_PLAYER_STAT_UPDATE<12>
hook: (anonymous) in autopot
data: 030188c86e34010000000000db0c000000000000000000008a70020000000000db0c00004800000050000000320000001e0000006e0032007800000070420000544200000040f57c0200f57c0200d76c010015870000b86200000000484200004842000048420f010000840000000000000000000000c30014002d00000028430000524390c2b53f94eb030094eb030074720100000000000000000000000000000000000000000041000000000001000000000000000078000000780000002c0100002c0100000000000000000000c8010000c8010000000000000000c0ff00000000000000004100000000006e44060000000000803f000000000000000000000000
error: The value of "offset" is out of range. It must be >= 0 and <= 255. Received 259
at boundsError (internal/buffer.js:53:9)
at Buffer.readUInt32LE (internal/buffer.js:109:5)
at Readable.uint32 (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\stream.js:35:33)
at parseField (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:422:37)
at TeraProtocol.parse (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:431:7)
[13:07:16.526] [dispatch] handle: failed to parse S_PLAYER_STAT_UPDATE<12>
hook: (anonymous) in autopot
data: 030188c86e34010000000000db0c000000000000000000008a70020000000000db0c00004800000050000000320000001e0000006e0032007800000070420000544200000040f57c0200f57c0200d76c010015870000b86200000000484200004842000048420f010000840000000000000000000000b90014002d00000028430000524390c2b53f94eb030094eb030074720100000000000000000000000000000000000000000041000000000001000000000000000078000000780000002c0100002c0100000000000000000000c8010000c8010000000000000000c0ff00000000000000004100000000006e44060000000000803f000000000000000000000000
error: The value of "offset" is out of range. It must be >= 0 and <= 255. Received 259
at boundsError (internal/buffer.js:53:9)
at Buffer.readUInt32LE (internal/buffer.js:109:5)
at Readable.uint32 (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\stream.js:35:33)
at parseField (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:422:37)
at TeraProtocol.parse (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:431:7)
[13:07:16.789] [dispatch] handle: failed to parse S_PLAYER_STAT_UPDATE<12>
hook: (anonymous) in autopot
data: 030188c86e34010000000000db0c000000000000000000008a70020000000000db0c00004800000050000000320000001e0000006e0032007800000070420000544200000040f57c0200f57c0200d76c010015870000b86200000000484200004842000048420f010000840000000000000000000000b90014002d00000028430000524390c2b53f94eb030094eb030074720100000000000000000000000000000000000000000041000000000001000000000000000078000000780000002c0100002c0100000000000000000000c8010000c8010000000000000000c0ff00000000000000004100000000006e44060000000000803f000000000000000000000000
error: The value of "offset" is out of range. It must be >= 0 and <= 255. Received 259
at boundsError (internal/buffer.js:53:9)
at Buffer.readUInt32LE (internal/buffer.js:109:5)
at Readable.uint32 (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\stream.js:35:33)
at parseField (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:422:37)
at TeraProtocol.parse (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:431:7)
[13:07:17.058] [dispatch] handle: failed to parse S_PLAYER_STAT_UPDATE<12>
hook: (anonymous) in autopot
data: 030188c86e34010000000000db0c000000000000000000008a70020000000000db0c00004800000050000000320000001e0000006e0032007800000070420000544200000040f57c0200f57c0200d76c010015870000b86200000000484200004842000048420f010000840000000000000000000000b90014002d00000028430000524390c2b53f94eb030094eb030074720100000000000000000000000000000000000000000041000000000001000000000000000078000000780000002c0100002c0100000000000000000000c8010000c8010000000000000000c0ff00000000000000004100000000006e44060000000000803f000000000000000000000000
error: The value of "offset" is out of range. It must be >= 0 and <= 255. Received 259
at boundsError (internal/buffer.js:53:9)
at Buffer.readUInt32LE (internal/buffer.js:109:5)
at Readable.uint32 (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\stream.js:35:33)
at parseField (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:422:37)
at TeraProtocol.parse (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:431:7)
[13:07:17.338] [dispatch] handle: failed to parse S_PLAYER_STAT_UPDATE<12>
hook: (anonymous) in autopot
data: 030188c86e34010000000000db0c000000000000000000008a70020000000000db0c00004800000050000000320000001e0000006e0032007800000070420000544200000040f57c0200f57c0200d76c010015870000b86200000000484200004842000048420f010000840000000000000000000000810014002d00000028430000524390c2b53f94eb030094eb030074720100000000000000000000000000000000000000000041000000000001000000000000000078000000780000002c0100002c0100000000000000000000c8010000c8010000000000000000c0ff00000000000000004100000000006e44000000000000803f000000000000000000000000
error: The value of "offset" is out of range. It must be >= 0 and <= 255. Received 259
at boundsError (internal/buffer.js:53:9)
at Buffer.readUInt32LE (internal/buffer.js:109:5)
at Readable.uint32 (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\stream.js:35:33)
at parseField (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:422:37)
at TeraProtocol.parse (C:\Users\Tetsu\AppData\Local\Programs\CaaliTeraProxy\node_modules\tera-data-parser\lib\protocol\index.js:431:7)
Sometimes stops working, for no reason.
autopot hook : deprecated definition (S_ITEMLIST.1) , mod might be broken.
the list of potions in the command (pot) appears empty after updating, even with json set up correctly.
Not even the standard potion (prime recovery portable) appears in the list.
proxy gives error cus can not find : "S_INVEN": "raw",
[mods] ERROR: Module "AutoPot" could not be loaded!
[mods] ERROR: Please contact the module's author: #help channel of https://discord.gg/dUNDDtw
{ Error: Cannot find module 'command'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
at Function.Module._load (internal/modules/cjs/loader.js:529:25)
at Module.require (internal/modules/cjs/loader.js:659:17)
at require (internal/modules/cjs/helpers.js:22:18)
at new AutoPot (M:\Tera_proxy\CaaliTeraProxy\mods\AutoPot\index.js:3:18)
at ModuleManager.load (M:\Tera_proxy\CaaliTeraProxy\node_modules\tera-proxy-game\lib\connection\dispatch\moduleManager.js:138:35)
at installedModules.forEach.mod (M:\Tera_proxy\CaaliTeraProxy\node_modules\tera-proxy-game\lib\connection\dispatch\moduleManager.js:57:22)
at Map.forEach (<anonymous>)
at ModuleManager._loadAll (M:\Tera_proxy\CaaliTeraProxy\node_modules\tera-proxy-game\lib\connection\dispatch\moduleManager.js:55:31)
at Dispatch.ModuleManager.dispatch.on (M:\Tera_proxy\CaaliTeraProxy\node_modules\tera-proxy-game\lib\connection\dispatch\moduleManager.js:18:45) code: 'MODULE_NOT_FOUND' }
https://cdn.discordapp.com/attachments/566351238053232652/577849177216778280/unknown.png
when you change character or relog on character select screen proxy gives that error
[14:09:46.074] [mods] ERROR: El modulo "AutoPOT" (AutoPOT) no pudo aplicar su componente de red al servidor!
[14:09:46.075] [mods] ERROR: Contactate con el autor del modulo:: https://github.com/Fukki/auto-pot/issues/
[14:09:46.075] Error: [dispatch] [autopot] hook: Error: obsolete definition (S_PLAYER_STAT_UPDATE.14)
at Dispatch.createHook (C:\Users\Gustavo\AppData\Local\Programs\TeraToolbox\node_modules\tera-network-proxy\lib\connection\dispatch.js:230:27)
at Dispatch.hook (C:\Users\Gustavo\AppData\Local\Programs\TeraToolbox\node_modules\tera-network-proxy\lib\connection\dispatch.js:265:27)
at Proxy.hook (C:\Users\Gustavo\AppData\Local\Programs\TeraToolbox\bin\mod.js:280:36)
at new AutoPOT (C:\Users\Gustavo\AppData\Local\Programs\TeraToolbox\mods\auto-pot-master\index.js:225:6)
at new <anonymous> (C:\Users\Gustavo\AppData\Local\Programs\TeraToolbox\bin\mod-legacy-wrapper.js:144:13)
at Mod.loadNetworkInstance (C:\Users\Gustavo\AppData\Local\Programs\TeraToolbox\bin\mod.js:595:31)
at ModManager.loadNetwork (C:\Users\Gustavo\AppData\Local\Programs\TeraToolbox\bin\mod-manager.js:252:20)
at C:\Users\Gustavo\AppData\Local\Programs\TeraToolbox\bin\mod-manager.js:233:22
at Map.forEach (<anonymous>)
at ModManager.loadAllNetwork (C:\Users\Gustavo\AppData\Local\Programs\TeraToolbox\bin\mod-manager.js:231:25)
Since i burn mp while doing dungeons wonder if there's a way to only autopot in dungeons instead of burning my potions while doing portals/casting skills for fun...
Or if will have to only enable the autopot while running dungeons _
Error: [dispatch] [autopot] hook: Error: obsolete definition (S_PLAYER_STAT_UPDATE.15)
[00:13:08.044] [dispatch] [autopot] handle: error running raw hook for S_ITEMLIST
hook: (anonymous) in autopot
data: 340cdb5d0f003100881626000080000200000000010000000200000010000000b56fd777000000000000000000000100013100fe00000000000200c60000000000c400655f0200b92a810300000000a803000000000000050000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff0000000000000000000000000000000000c600e200000000000000000000000000000000000000000000000000e2000000000000000100000000000000000000000000000000000000fe00cb010000000002009301000000009101bc0100007673c10500000000a8030000000000000c0000003700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000009301af01000000000000000000000000000000000000000000000000af010000000000000100000000000000000000000000000000000000cb0198020000000002006002000000005e02054c02003b74c10500000000a8030000000000000d0000001a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff000000000000000000000000000000000060027c020000000000000000000000000000000000000000000000007c020000000000000100000000000000000000000000000000000000980265030000000002002d03000000002b0347550200aa75c10500000000a8030000000000000b0000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000002d0349030000000000000000000000000000000000000000000000004903000000000000010000000000000000000000000000000000000065033204000000000200fa0300000000f803da100300b075c10500000000a803000000000000090000002f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff0000000000000000000000000000000000fa031604000000000000000000000000000000000000000000000000160400000000000001000000000000000000000000000000000000003204ff04000000000200c70400000000c5040f4c02002776c10500000000a803000000000000030000001200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff0000000000000000000000000000000000c704e304000000000000000000000000000000000000000000000000e3040000000000000100000000000000000000000000000000000000ff04cc050000000002009405000000009205074c02002876c10500000000a803000000000000040000004500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000009405b005000000000000000000000000000000000000000000000000b0050000000000000100000000000000000000000000000000000000cc0599060000000002006106000000005f061f150300a354f31000000000a8030000000000000f0000001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff000000000000000000000000000000000061067d060000000000000000000000000000000000000000000000007d060000000000000100000000000000000000000000000000000000990666070000000002002e07000000002c07140500009111171100000000a803000000000000070000000c06000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000002e074a070000000000000000000000000000000000000000000000004a07000000000000010000000000000000000000000000000000000066073308000000000200fb0700000000f9071505000019df171100000000a803000000000000060000006400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff0000000000000000000000000000000000fb0717080000000000000000000000000000000000000000000000001708000000000000010000000000000000000000000000000000000033080009000000000200c80800000000c6083c3d0100c640201100000000a8030000000000000a0000004001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff0000000000000000000000000000000000c808e408000000000000000000000000000000000000000000000000e40800000000000001000000000000000000000000000000000000000009cd0900000000020095090000000093090e4c0200af46271100000000a8030000000000000e0000000600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000009509b109000000000000000000000000000000000000000000000000b1090000000000000100000000000000000000000000000000000000cd099a0a000000000200620a00000000600a6c8101007125291100000000a803000000000000010000006e06000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff0000000000000000000000000000000000620a7e0a0000000000000000000000000000000000000000000000007e0a00000000000001000000000000000000000000000000000000009a0a670b0000000002002f0b000000002d0b6a8101007725291100000000a80300000000000002000000f504000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000002f0b4b0b0000000000000000000000000000000000000000000000004b0b0000000000000100000000000000000000000000000000000000670b0000000000000200fc0b00000000fa0bd2240300d69e5f1100000000a803000000000000080000001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff0000000000000000000000000000000000fc0b180c000000000000000000000000000000000000000000000000180c0000000000000100000000000000000000000000000000000000
error: e is not defined
at Object.callback (C:\Users\opopoAppData\Local\Programs\TeraToolbox\mods\auto-pot-master\index.js:236:22)
Hi there,
Started to get this error since proxy got updated yesterday.
ERROR tera-proxy-game: [dispatch] handle: failed to parse S_USER_STATUS<1> hook: (anonymous) in auto-pot-master data: 1100076125670910008000030000000000 error: version 1 of message (name: "S_USER_STATUS", code: 24839) is outdated and cannot be used anymore at TeraProtocol.resolveIdentifier (Y:\CaaliTeraProxy2\node_modules\tera-data-parser\lib\protocol\index.js:110:15) at TeraProtocol.parse (Y:\CaaliTeraProxy2\node_modules\tera-data-parser\lib\protocol\index.js:342:12)
Mana seems to activate ok, but HP doesn't.
Also, how do I mod it to make HP & MP pots activate outside of combat so both are always kept almost to max?
Many thanks in advance for any fixes / help you can give when able to.
Hi again,
Sorry to keep bothering you but thought I'd let you know about the error.
error message:
DeprecationWarning: Long.JS is deprecated. Use BigInt equivalents instead.
at Object.AutoPOT.mod.hook.e [as callback] (Y:\CaaliTeraProxy\bin\node_modules\auto-pot-master\index.js:80:50)
Also:
When I try to change the percentages at which the mp and hp kick in, they constantly reset back to the defaults,
Since tera lags badly I really need the hp at 90% and mp at 80% so it always up.
And is there anyway to set both hp and mp to work without being in combat? as on mystic most of her healing skills don't activate the hp node combat requirement so an option to make both non combat would be a huge help to keep her alive in bad parties.
Many thanks for all your hard work.
Thank you for fixing first error but sorry to say there is another error now.
I re-installed the proxy just to make sure, and downloaded new version of auto-pot from this repository, logged into tera, and got this error message before doing anything.
`ERROR tera-proxy-game: [dispatch] handle: error running hook for S_USER_STATUS<3>
hook: (anonymous) in auto-pot-master
data: { gameId: 360428707947027236n, status: 2, bySkill: false }
error: Cannot read property 'equals' of undefined
at Object.AutoPOT.mod.hook.e [as callback] (Y:\CaaliTeraProxy2\bin\node_modules\auto-pot-master\index.js:80:50)
error: Cannot read property 'active' of undefined
at Object.AutoPOT.mod.hook.e [as callback] (C:\tera-proxy\mods\autopot\index.js:81:174)
[dispatch] handle: error running hook for S_PLAYER_STAT_UPDATE<10>
hook: (anonymous) in autopot
data: { hp: 170725n,
mp: 2630n,
unk1: 0,
maxHp: 170725n,
maxMp: 3633,
power: 50,
endurance: 35,
impactFactor: 40,
balanceFactor: 70,
runSpeed: 105,
walkSpeed: 50,
attackSpeed: 100,
critRate: 50,
critResist: 75,
critPower: 2,
attack: 117648,
attack2: 117648,
defense: 70691,
impact: 29289,
balance: 58712,
resistWeakening: 45,
resistPeriodic: 45,
resistStun: 45,
powerBonus: 156,
enduranceBonus: 126,
impactFactorBonus: 0,
balanceFactorBonus: 20,
runSpeedBonus: 114,
walkSpeedBonus: 0,
attackSpeedBonus: 33,
critRateBonus: 296,
critResistBonus: 220,
critPowerBonus: 0.07999992370605469,
attackBonus: 122353,
attack2Bonus: 122353,
defenseBonus: 104789,
impactBonus: 0,
balanceBonus: 16775,
resistWeakeningBonus: 0,
resistPeriodicBonus: 0,
resistStunBonus: 0,
level1: 65,
inCombat: false,
unk5: 16777216,
hpBonus: 0,
mpBonus: 0,
condition: 120,
contitionMax: 120,
stamina: 2000,
staminaMax: 1500,
staminaBonus: 500,
infamy: 0,
itemLevelInventory: 458,
itemLevel: 458,
edge: 0,
unk7: 0,
unk8: 65472,
unk9: 0,
unk10: 0,
level2: 65,
flightEnergy: 1000,
unk13: 0,
unk14: 1,
fireEdge: 0,
iceEdge: 0,
lightningEdge: 0 }
[dispatch] [autopot] hook: deprecated definition (S_PLAYER_STAT_UPDATE.16), mod might be broken!
[17:51:48.217] [mods] ERROR: El modulo "AutoPOT" (AutoPOT) no pudo aplicar su componente de red al servidor!
[17:51:48.218] [mods] ERROR: Contactate con el autor del modulo:: https://github.com/Fukki/auto-pot/issues/
[17:51:48.218] Error: [dispatch] [autopot] hook: Error: obsolete definition (S_PLAYER_STAT_UPDATE.15)
at Dispatch.createHook (C:\Users\Usuario\AppData\Local\Programs\TeraToolbox\node_modules\tera-network-proxy\lib\connection\dispatch.js:230:27)
at Dispatch.hook (C:\Users\Usuario\AppData\Local\Programs\TeraToolbox\node_modules\tera-network-proxy\lib\connection\dispatch.js:265:27)
at Proxy.hook (C:\Users\Usuario\AppData\Local\Programs\TeraToolbox\bin\mod.js:280:36)
at new AutoPOT (C:\Users\Usuario\AppData\Local\Programs\TeraToolbox\mods\auto-pot-master\index.js:225:6)
at new <anonymous> (C:\Users\Usuario\AppData\Local\Programs\TeraToolbox\bin\mod-legacy-wrapper.js:144:13)
at Mod.loadNetworkInstance (C:\Users\Usuario\AppData\Local\Programs\TeraToolbox\bin\mod.js:595:31)
at ModManager.loadNetwork (C:\Users\Usuario\AppData\Local\Programs\TeraToolbox\bin\mod-manager.js:252:20)
at C:\Users\Usuario\AppData\Local\Programs\TeraToolbox\bin\mod-manager.js:233:22
at Map.forEach (<anonymous>)
at ModManager.loadAllNetwork (C:\Users\Usuario\AppData\Local\Programs\TeraToolbox\bin\mod-manager.js:231:25)
Error: [dispatch] [autopot] hook: Error: obsolete definition (S_PLAYER_STAT_UPDATE.14)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.