Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] intid?

[DiscordArchive] intid?

[DiscordArchive] intid?

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
01-05-2023, 09:45 PM
#11
Archived author: Foe • Posted: 2023-01-05T21:45:12.116000+00:00
Original source

Show me the OnHello function you have
rektbyfaith
01-05-2023, 09:45 PM #11

Archived author: Foe • Posted: 2023-01-05T21:45:12.116000+00:00
Original source

Show me the OnHello function you have

rektbyfaith
Administrator
0
01-05-2023, 09:45 PM
#12
Archived author: Honey • Posted: 2023-01-05T21:45:27.006000+00:00
Original source

The issue is with OnSelect, but i can still do that
rektbyfaith
01-05-2023, 09:45 PM #12

Archived author: Honey • Posted: 2023-01-05T21:45:27.006000+00:00
Original source

The issue is with OnSelect, but i can still do that

rektbyfaith
Administrator
0
01-05-2023, 09:46 PM
#13
Archived author: Honey • Posted: 2023-01-05T21:46:20.949000+00:00
Original source

```
2023-01-05 21:27:54 ERROR lua_scripts/Acore_ExchangeNpc/ExchangeNpc.lua:255: attempt to perform arithmetic on field '?' (a nil value)
Stack Traceback
===============
(1) metamethod C function '__mul'
(2) Lua upvalue 'eI_BuildExchangeString' at file 'lua_scripts/Acore_ExchangeNpc/ExchangeNpc.lua:255'
Local variables:
id = number: 1
amount = number: 1
(*temporary) = string: "Take "
(*temporary) = nil
(*temporary) = nil
(*temporary) = string: "on"
(*temporary) = string: "on"
(*temporary) = string: "attempt to perform arithmetic on field '?' (a nil value)"
(3) Lua function 'eI' at file 'lua_scripts/Acore_ExchangeNpc/ExchangeNpc.lua:283' (best guess)
Local variables:
event = number: 2
player = Player: 0x14bec10d4ec0
object = Creature: 0x14c38bc83000
sender = number: 0
intid = number: 0
code = nil
menu_id = nil
GiveAmount = nil
Amount = nil
ExchangeId = nil
ExchangeId = number: 1
(*temporary) = C function: 0x14c38bc88b50
(*temporary) = Player: 0x14bec10d4ec0
(*temporary) = number: 0
```
Full disclosure
rektbyfaith
01-05-2023, 09:46 PM #13

Archived author: Honey • Posted: 2023-01-05T21:46:20.949000+00:00
Original source

```
2023-01-05 21:27:54 ERROR lua_scripts/Acore_ExchangeNpc/ExchangeNpc.lua:255: attempt to perform arithmetic on field '?' (a nil value)
Stack Traceback
===============
(1) metamethod C function '__mul'
(2) Lua upvalue 'eI_BuildExchangeString' at file 'lua_scripts/Acore_ExchangeNpc/ExchangeNpc.lua:255'
Local variables:
id = number: 1
amount = number: 1
(*temporary) = string: "Take "
(*temporary) = nil
(*temporary) = nil
(*temporary) = string: "on"
(*temporary) = string: "on"
(*temporary) = string: "attempt to perform arithmetic on field '?' (a nil value)"
(3) Lua function 'eI' at file 'lua_scripts/Acore_ExchangeNpc/ExchangeNpc.lua:283' (best guess)
Local variables:
event = number: 2
player = Player: 0x14bec10d4ec0
object = Creature: 0x14c38bc83000
sender = number: 0
intid = number: 0
code = nil
menu_id = nil
GiveAmount = nil
Amount = nil
ExchangeId = nil
ExchangeId = number: 1
(*temporary) = C function: 0x14c38bc88b50
(*temporary) = Player: 0x14bec10d4ec0
(*temporary) = number: 0
```
Full disclosure

rektbyfaith
Administrator
0
01-05-2023, 09:46 PM
#14
Archived author: Honey • Posted: 2023-01-05T21:46:49.474000+00:00
Original source

<https://github.com/55Honey/Acore_ExchangeNpc/blob/3447e0dcb593ce6988dc91618486ad1529db4b15/ExchangeNpc.lua#L283>
rektbyfaith
01-05-2023, 09:46 PM #14

Archived author: Honey • Posted: 2023-01-05T21:46:49.474000+00:00
Original source

<https://github.com/55Honey/Acore_ExchangeNpc/blob/3447e0dcb593ce6988dc91618486ad1529db4b15/ExchangeNpc.lua#L283>

rektbyfaith
Administrator
0
01-05-2023, 09:47 PM
#15
Archived author: Foe • Posted: 2023-01-05T21:47:40.344000+00:00
Original source

player:GossipMenuAddItem(OPTION_ICON_CHAT, eI_BuildExchangeString( n, 1) , Config.ItemNpcEntry, n-1)
rektbyfaith
01-05-2023, 09:47 PM #15

Archived author: Foe • Posted: 2023-01-05T21:47:40.344000+00:00
Original source

player:GossipMenuAddItem(OPTION_ICON_CHAT, eI_BuildExchangeString( n, 1) , Config.ItemNpcEntry, n-1)

rektbyfaith
Administrator
0
01-05-2023, 09:47 PM
#16
Archived author: Foe • Posted: 2023-01-05T21:47:43.229000+00:00
Original source

n-1
rektbyfaith
01-05-2023, 09:47 PM #16

Archived author: Foe • Posted: 2023-01-05T21:47:43.229000+00:00
Original source

n-1

rektbyfaith
Administrator
0
01-05-2023, 09:47 PM
#17
Archived author: Honey • Posted: 2023-01-05T21:47:47.444000+00:00
Original source

<https://github.com/55Honey/Acore_ExchangeNpc/blob/3447e0dcb593ce6988dc91618486ad1529db4b15/ExchangeNpc.lua#L82> all items are commented, so the array is {}
rektbyfaith
01-05-2023, 09:47 PM #17

Archived author: Honey • Posted: 2023-01-05T21:47:47.444000+00:00
Original source

<https://github.com/55Honey/Acore_ExchangeNpc/blob/3447e0dcb593ce6988dc91618486ad1529db4b15/ExchangeNpc.lua#L82> all items are commented, so the array is {}

rektbyfaith
Administrator
0
01-05-2023, 09:47 PM
#18
Archived author: Foe • Posted: 2023-01-05T21:47:52.631000+00:00
Original source

first option would be 0
rektbyfaith
01-05-2023, 09:47 PM #18

Archived author: Foe • Posted: 2023-01-05T21:47:52.631000+00:00
Original source

first option would be 0

rektbyfaith
Administrator
0
01-05-2023, 09:48 PM
#19
Archived author: Kitzunu • Posted: 2023-01-05T21:48:20.144000+00:00
Original source

https://github.com/55Honey/Acore_Exchang...c.lua#L264
rektbyfaith
01-05-2023, 09:48 PM #19

Archived author: Kitzunu • Posted: 2023-01-05T21:48:20.144000+00:00
Original source

https://github.com/55Honey/Acore_Exchang...c.lua#L264

rektbyfaith
Administrator
0
01-05-2023, 09:48 PM
#20
Archived author: Kitzunu • Posted: 2023-01-05T21:48:28.067000+00:00
Original source

I guess that is what Foe found
rektbyfaith
01-05-2023, 09:48 PM #20

Archived author: Kitzunu • Posted: 2023-01-05T21:48:28.067000+00:00
Original source

I guess that is what Foe found

Pages (4): Previous 1 2 3 4 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)