[DiscordArchive] how do you expose something to eluna?
[DiscordArchive] how do you expose something to eluna?
Archived author: Chaz • Posted: 2023-07-02T13:52:43.580000+00:00
Original source
how do you expose something to eluna?
Archived author: Chaz • Posted: 2023-07-02T13:52:55.877000+00:00
Original source
SetNotRefundable
Archived author: Honey • Posted: 2023-07-02T14:14:11.825000+00:00
Original source
Check one of the closed PRs in the repo. Make a setter and a getter probably.
I did one for the Halaa state a few months ack for example.
Archived author: Roboto • Posted: 2023-07-02T14:21:40.029000+00:00
Original source
Try `item:SetFlag(4096, 0)`
<https://www.azerothcore.org/pages/eluna/Object/SetFlag.html>
Archived author: Chaz • Posted: 2023-07-02T14:47:10.679000+00:00
Original source
tyvm
Archived author: Chaz • Posted: 2023-07-02T19:31:13.999000+00:00
Original source
doesnt seem to work
Archived author: Chaz • Posted: 2023-07-02T19:40:23.590000+00:00
Original source
i read your PR but it doesnt really explain how to add it
Archived author: Foe • Posted: 2023-07-02T19:42:06.193000+00:00
Original source
add a wrapper to ItemMethods.h and add the new wrapper to LuaFunctions.cpp
![[Image: image.png?ex=690c5413&is=690b0293&hm=b7b...943e017e2&]](https://cdn.discordapp.com/attachments/448835144564867094/1125152397040308357/image.png?ex=690c5413&is=690b0293&hm=b7b8fae8803a339f7f83f0953e71f2c81590bc920d1cda2549f4d9d943e017e2&)
Archived author: iThorgrim • Posted: 2023-07-02T19:53:55.817000+00:00
Original source
Hello, I'm coming to you because I need help with a Bot Discord project in Lua. There was a time (when passwords were in SHA_PASS) when I created a Discord bot to quickly register on the server from Discord.
But now AzerothCore has switched to SRP6 and I've tried in vain to generate the verifier but nothing works.
I think I've got an error here: `local verifier = math.pow(g, h2_num) % tonumber(N, 16)`
But I don't understand why, it always returns -nan and the rest is obviously wrong, given that this calculation is not good.
Now I'm stuck and I need your help to update this mini-project.
![[Image: image.png?ex=690c5413&is=690b0293&hm=b7b...943e017e2&]](https://cdn.discordapp.com/attachments/448835144564867094/1125152397040308357/image.png?ex=690c5413&is=690b0293&hm=b7b8fae8803a339f7f83f0953e71f2c81590bc920d1cda2549f4d9d943e017e2&)
![[Image: Shot_20230702_225731.png?ex=690c6304&is=...0207d2e17&]](https://cdn.discordapp.com/attachments/448835144564867094/1125168440760598559/Shot_20230702_225731.png?ex=690c6304&is=690b1184&hm=2829444ca2deb7308de18268e4162743d3785449e7aa1ed13c7b3330207d2e17&)
Archived author: iThorgrim • Posted: 2023-07-02T20:57:40.944000+00:00
Original source
Oooook, i have tried with resty.openssl.bn library and result sound good
![[Image: Shot_20230702_225731.png?ex=690c6304&is=...0207d2e17&]](https://cdn.discordapp.com/attachments/448835144564867094/1125168440760598559/Shot_20230702_225731.png?ex=690c6304&is=690b1184&hm=2829444ca2deb7308de18268e4162743d3785449e7aa1ed13c7b3330207d2e17&)