Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after NextGen update #4

Closed
sunnydelete opened this issue Dec 11, 2018 · 11 comments
Closed

Error after NextGen update #4

sunnydelete opened this issue Dec 11, 2018 · 11 comments
Labels
Checking This problem need to check

Comments

@sunnydelete
Copy link

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 }

@Fukki
Copy link
Owner

Fukki commented Dec 11, 2018

  • check your proxy update
  • check your tera-game-state update

or step me how to get the error
because i not get the error from any contract after test

@LeandraTS
Copy link

LeandraTS commented Dec 11, 2018

I got similar error as sunnydelete:

To get the error message, you have to actually log into the game, and start to attack a mob, I tested it out on the T3 bams on Island of Dawn.

And actually get your hp and mp to a point where autopot supposed to kick in.

Neither MP or HP activates.

Once you tab out you will see the error above sunnydelete posted.

As for myself.
I downloaded a fresh copy from your updated scripts, and deleted the old folder completely and unzipped to new folder in Mods.

Don't know if this helps any but this the info at load up of Caali's Proxy on my computer.

[update] Proxy self-update started (Branch: master)
[update] Proxy is up to date (Update server 0)!
[update] Auto-update started!
[update] Auto-update complete!
[proxy] Tera-Proxy configured for region NA!
[proxy] hosts file patched
[proxy] listening on 127.0.0.20:9250
[proxy] listening on 127.0.0.20:9251

@Fukki Fukki added bug Something isn't working Checking This problem need to check and removed bug Something isn't working labels Dec 11, 2018
@Fukki
Copy link
Owner

Fukki commented Dec 11, 2018

i just remove contract check for this time and should be not have error
need to check something before add it back :/

@Fukki
Copy link
Owner

Fukki commented Dec 11, 2018

this problem should be fixed now
i will close this issue in 24 hr if not any problem

@sunnydelete
Copy link
Author

sunnydelete commented Dec 12, 2018

I still have the problem. I downloaded new tera-data, tera-game-state and tried auto-updating but it doesn't work still. I'm unsure if it has tot do with opcodes, C:\tera-proxy\node_modules\tera-data\protocol\S_PLAYER_STAT_UPDATE.10.def or something else.

I don't know how to replicate this error unless I send you my proxy. Also, I don't know if this matters but I'm in the NA region.

The error changed slightly:
[dispatch] handle: error running hook for S_PLAYER_STAT_UPDATE<10>
hook: (anonymous) in autopot
data:
<wall of stat/data text>
error: Cannot read property 'active' of undefined
at Object.AutoPOT.mod.hook.e [as callback] (C:\tera-proxy\mods\letmepot\index.js:70:101)

@Fukki
Copy link
Owner

Fukki commented Dec 12, 2018

fixed again should be not error :/

@LeandraTS
Copy link

LeandraTS commented Dec 12, 2018

Hi again Fukki,
Here is exact process I did plus error.

I deleted original auto-pot-master folder
I then downloaded a zip of your new update
I extracted zip to new auto-pot-master folder
I then loaded up caali proxy
then tera launcher
loaded into tera
I opened up inventory to make sure pots where there to be used
got hp and mp down to cover when they were supposed to kick in.
Nothing happened.
Here is full message log of error.

[update] Proxy self-update started (Branch: master)
[update] Proxy is up to date (Update server 0)!
[update] Auto-update started!
[update] Auto-update complete!
[proxy] Tera-Proxy configured for region NA!
[proxy] hosts file patched
[proxy] listening on 127.0.0.20:9250
[proxy] listening on 127.0.0.20:9251
[connection] routing 127.0.0.1:55111 to 208.67.49.50:10001
[dispatch] switching to protocol version 341698
[mods] Loaded module "tera-game-state"
[mods] Loaded module "Command" (command)
[mods] Loaded module "AutoPOT" (AutoPOT)
[mods] Loaded module "CaaliStateTracker"
[mods] Loaded module "CaaliLogger"
[dispatch] handle: error running hook for S_PLAYER_STAT_UPDATE<10>
hook: (anonymous) in autopot
data: { hp: 139399n,
mp: 3495n,
unk1: 0,
maxHp: 139399n,
maxMp: 3495,
power: 60,
endurance: 30,
impactFactor: 80,
balanceFactor: 85,
runSpeed: 110,
walkSpeed: 52,
attackSpeed: 90,
critRate: 50,
critResist: 70,
critPower: 2,
attack: 129902,
attack2: 129902,
defense: 53865,
impact: 50771,
balance: 68433,
resistWeakening: 45,
resistPeriodic: 45,
resistStun: 45,
powerBonus: 99,
enduranceBonus: 98,
impactFactorBonus: 0,
balanceFactorBonus: 0,
runSpeedBonus: 110,
walkSpeedBonus: 0,
attackSpeedBonus: 31,
critRateBonus: 282,
critResistBonus: 178,
critPowerBonus: 0,
attackBonus: 80377,
attack2Bonus: 80377,
defenseBonus: 65985,
impactBonus: 0,
balanceBonus: 0,
resistWeakeningBonus: 0,
resistPeriodicBonus: 0,
resistStunBonus: 0,
level1: 65,
inCombat: false,
unk5: 16777216,
hpBonus: 0,
mpBonus: 0,
condition: 120,
contitionMax: 120,
stamina: 0,
staminaMax: 3000,
staminaBonus: 0,
infamy: 0,
itemLevelInventory: 440,
itemLevel: 440,
edge: 0,
unk7: 0,
unk8: 65472,
unk9: 0,
unk10: 0,
level2: 65,
flightEnergy: 1000,
unk13: 0,
unk14: 1,
fireEdge: 0,
iceEdge: 0,
lightningEdge: 0 }
error: Cannot read property 'id' of undefined
at Object.AutoPOT.mod.hook.e [as callback] (Y:\CaaliTeraProxy\mods\auto-pot-master\index.js:80:101)
[dispatch] handle: error running hook for S_PLAYER_STAT_UPDATE<10>
hook: (anonymous) in autopot
data: { hp: 139399n,
mp: 3495n,
unk1: 0,
maxHp: 139399n,
maxMp: 3495,
power: 60,
endurance: 30,
impactFactor: 80,
balanceFactor: 85,
runSpeed: 110,
walkSpeed: 52,
attackSpeed: 90,
critRate: 50,
critResist: 70,
critPower: 2,
attack: 129902,
attack2: 129902,
defense: 53865,
impact: 50771,
balance: 68433,
resistWeakening: 45,
resistPeriodic: 45,
resistStun: 45,
powerBonus: 99,
enduranceBonus: 98,
impactFactorBonus: 0,
balanceFactorBonus: 0,
runSpeedBonus: 110,
walkSpeedBonus: 0,
attackSpeedBonus: 31,
critRateBonus: 282,
critResistBonus: 178,
critPowerBonus: 0,
attackBonus: 80377,
attack2Bonus: 80377,
defenseBonus: 65985,
impactBonus: 0,
balanceBonus: 0,
resistWeakeningBonus: 0,
resistPeriodicBonus: 0,
resistStunBonus: 0,
level1: 65,
inCombat: true,
unk5: 16777216,
hpBonus: 0,
mpBonus: 0,
condition: 120,
contitionMax: 120,
stamina: 0,
staminaMax: 3000,
staminaBonus: 0,
infamy: 0,
itemLevelInventory: 440,
itemLevel: 440,
edge: 0,
unk7: 0,
unk8: 65472,
unk9: 0,
unk10: 0,
level2: 65,
flightEnergy: 1000,
unk13: 0,
unk14: 1,
fireEdge: 0,
iceEdge: 0,
lightningEdge: 0 }
error: Cannot read property 'id' of undefined
at Object.AutoPOT.mod.hook.e [as callback] (Y:\CaaliTeraProxy\mods\auto-pot-master\index.js:80:101)

@Fukki
Copy link
Owner

Fukki commented Dec 12, 2018

i just confused why you still not error
what is nodejs version
because it should be not the error and
that property has ready in tera-game-state

@LeandraTS
Copy link

node -v
v10.11.0

Using the version that came as part of the setup.exe of caali's proxy installation.

All the other modules like autoheal and stuff seem to work fine with no errors.

@Fukki
Copy link
Owner

Fukki commented Dec 12, 2018

removed contract check
just dont know why error in NA only :/

@LeandraTS
Copy link

works perfectly now, no error messages

Don't know if it helps any, but before Caali did the last couple of updates, the setup.exe file said something about NA not having all the map codes anymore since it got brought back from the ban, so had to install as EU then manually change it to NA.

Didn't really understand what it was on about, but could be they not implemented everything that is there on the other servers like gameforge etc.

But I removed everything and re-installed with each new update to make sure everything was updated, so maybe Caali' could shine a light on the problem in their discord channel.

Thanks again for getting it working for us on NA, much appreciated :)

@Fukki Fukki closed this as completed Dec 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Checking This problem need to check
Projects
None yet
Development

No branches or pull requests

3 participants