Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Hello everyone. Does anyone know a LUA script that boosts a player to a certain level and possibly a

[DiscordArchive] Hello everyone. Does anyone know a LUA script that boosts a player to a certain level and possibly a

[DiscordArchive] Hello everyone. Does anyone know a LUA script that boosts a player to a certain level and possibly a

rektbyfaith
Administrator
0
10-12-2024, 09:23 AM
#1
Archived author: Der Wanderer • Posted: 2024-10-12T09:23:06.439000+00:00
Original source

Hello everyone. Does anyone know a LUA script that boosts a player to a certain level and possibly adds a starting gear?
rektbyfaith
10-12-2024, 09:23 AM #1

Archived author: Der Wanderer • Posted: 2024-10-12T09:23:06.439000+00:00
Original source

Hello everyone. Does anyone know a LUA script that boosts a player to a certain level and possibly adds a starting gear?

rektbyfaith
Administrator
0
10-12-2024, 09:32 AM
#2
Archived author: OUTRAKE • Posted: 2024-10-12T09:32:28.669000+00:00
Original source

also for auction house, horde / ally? similar to bank? i think it needs `UNIT_NPC_FLAG_AUCTIONEER`
```
creature->ReplaceAllNpcFlags(UNIT_NPC_FLAG_GOSSIP | UNIT_NPC_FLAG_BANKER);
player->GetSession()->SendShowBank(creature->GetGUID());
```
rektbyfaith
10-12-2024, 09:32 AM #2

Archived author: OUTRAKE • Posted: 2024-10-12T09:32:28.669000+00:00
Original source

also for auction house, horde / ally? similar to bank? i think it needs `UNIT_NPC_FLAG_AUCTIONEER`
```
creature->ReplaceAllNpcFlags(UNIT_NPC_FLAG_GOSSIP | UNIT_NPC_FLAG_BANKER);
player->GetSession()->SendShowBank(creature->GetGUID());
```

rektbyfaith
Administrator
0
10-12-2024, 10:07 AM
#3
Archived author: Revision • Posted: 2024-10-12T10:07:40.125000+00:00
Original source

Yeah, or
```cpp
player->GetSession()->SendShowBank(player->GetGUID());
```
rektbyfaith
10-12-2024, 10:07 AM #3

Archived author: Revision • Posted: 2024-10-12T10:07:40.125000+00:00
Original source

Yeah, or
```cpp
player->GetSession()->SendShowBank(player->GetGUID());
```

rektbyfaith
Administrator
0
10-12-2024, 10:08 AM
#4
Archived author: OUTRAKE • Posted: 2024-10-12T10:08:10.241000+00:00
Original source

yea but i need for auction house
rektbyfaith
10-12-2024, 10:08 AM #4

Archived author: OUTRAKE • Posted: 2024-10-12T10:08:10.241000+00:00
Original source

yea but i need for auction house

rektbyfaith
Administrator
0
10-12-2024, 10:08 AM
#5
Archived author: OUTRAKE • Posted: 2024-10-12T10:08:13.649000+00:00
Original source

something similar to bank
rektbyfaith
10-12-2024, 10:08 AM #5

Archived author: OUTRAKE • Posted: 2024-10-12T10:08:13.649000+00:00
Original source

something similar to bank

rektbyfaith
Administrator
0
10-12-2024, 10:09 AM
#6
Archived author: OUTRAKE • Posted: 2024-10-12T10:09:50.259000+00:00
Original source

right now we have only for bank and mail, AH is not implemented
rektbyfaith
10-12-2024, 10:09 AM #6

Archived author: OUTRAKE • Posted: 2024-10-12T10:09:50.259000+00:00
Original source

right now we have only for bank and mail, AH is not implemented

rektbyfaith
Administrator
0
10-12-2024, 10:12 AM
#7
Archived author: Revision • Posted: 2024-10-12T10:12:07.565000+00:00
Original source

There are 3 different auction houses so it's not like opening the bank.
rektbyfaith
10-12-2024, 10:12 AM #7

Archived author: Revision • Posted: 2024-10-12T10:12:07.565000+00:00
Original source

There are 3 different auction houses so it's not like opening the bank.

rektbyfaith
Administrator
0
10-12-2024, 10:13 AM
#8
Archived author: OUTRAKE • Posted: 2024-10-12T10:13:44.943000+00:00
Original source

we need something like this

`player->GetSession()->SendShowAH(player->GetGUID(), player->GetFaction());`
rektbyfaith
10-12-2024, 10:13 AM #8

Archived author: OUTRAKE • Posted: 2024-10-12T10:13:44.943000+00:00
Original source

we need something like this

`player->GetSession()->SendShowAH(player->GetGUID(), player->GetFaction());`

rektbyfaith
Administrator
0
10-12-2024, 10:14 AM
#9
Archived author: Revision • Posted: 2024-10-12T10:14:44.552000+00:00
Original source

No, passing an argument to a function is all you need. You also couldn't use faction id since you have horde, alliance and neutral. 0, 1, 2 would be sufficient, possibly with checks to see if the player can actually view it.
rektbyfaith
10-12-2024, 10:14 AM #9

Archived author: Revision • Posted: 2024-10-12T10:14:44.552000+00:00
Original source

No, passing an argument to a function is all you need. You also couldn't use faction id since you have horde, alliance and neutral. 0, 1, 2 would be sufficient, possibly with checks to see if the player can actually view it.

rektbyfaith
Administrator
0
10-12-2024, 10:43 AM
#10
Archived author: JacatinRawr • Posted: 2024-10-12T10:43:30.972000+00:00
Original source

hello, i wonder if its actualy possible to change the max range for a spell like chain lightning hit? not by the cast, but by the hit effect between the chain on creature 1 to creature 2 for example.
which way is the easiest to modify this? i tried wandering on the Spell.dbc but was lot confused by looking at it <:catwhat:1101498477327941784> thank you.
rektbyfaith
10-12-2024, 10:43 AM #10

Archived author: JacatinRawr • Posted: 2024-10-12T10:43:30.972000+00:00
Original source

hello, i wonder if its actualy possible to change the max range for a spell like chain lightning hit? not by the cast, but by the hit effect between the chain on creature 1 to creature 2 for example.
which way is the easiest to modify this? i tried wandering on the Spell.dbc but was lot confused by looking at it <:catwhat:1101498477327941784> thank you.

Recently Browsing
 
Recently Browsing