Resolved SQL help needed

murdocmurat

Banned
banned
murdocmurat Rep
0
0
0
Rep
0
murdocmurat Vouches
0
0
0
Vouches
0
Posts
50
Likes
21
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 4 215 XP
any can write me query for

i want to change level 80 to 255 on all npc

also in item template
 

laurczt

Emulation/Cracking & Hacking enthusiast
laurczt Rep
0
0
0
Rep
0
laurczt Vouches
0
0
0
Vouches
0
Posts
20
Likes
12
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 5 220 XP
I suppose you want to do this to a TrinityCore 3.3.5a (or any other 3.3.5a), if so.. the query should be like this.
SQL:
UPDATE `creature_template` SET `minlevel` = '255', `maxlevel` = '255' WHERE `minlevel` = '80' AND `maxlevel`  = '80';
This will update all levels of all creatures that are level 80 (all factions and all type of npcs, bosses, vendors, trainers and so on..)
This query will apply for creatures that are already spawned.

Cheers!
 
Liked By 2 members :

murdocmurat

Banned
banned
murdocmurat Rep
0
0
0
Rep
0
murdocmurat Vouches
0
0
0
Vouches
0
Posts
50
Likes
21
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 4 215 XP
I suppose you want to do this to a TrinityCore 3.3.5a (or any other 3.3.5a), if so.. the query should be like this.
SQL:
UPDATE `creature_template` SET `minlevel` = '255', `maxlevel` = '255' WHERE `minlevel` = '80' AND `maxlevel`  = '80';
This will update all levels of all creatures that are level 80 (all factions and all type of npcs, bosses, vendors, trainers and so on..)
This query will apply for creatures that are already spawned.

Cheers!
Thanks buddy
 

laurczt

Emulation/Cracking & Hacking enthusiast
laurczt Rep
0
0
0
Rep
0
laurczt Vouches
0
0
0
Vouches
0
Posts
20
Likes
12
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 5 220 XP

Instadev

MySQL & C++ Developer
banned
Instadev Rep
4
0
0
Rep
4
Instadev Vouches
0
0
0
Vouches
0
Posts
338
Likes
152
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 2 90 XP

Kearu

Divine
Divine
Rep
1
0
0
Rep
1
Vouches
0
0
0
Vouches
0
Posts
139
Likes
81
2 YEARS
2 YEARS OF SERVICE
LEVEL 3 120 XP
any can write me query for

i want to change level 80 to 255 on all npc

also in item template
If you haven’t gotten the item_template changed

SQL:
UPDATE `item_template` SET `RequiredLevel` = '255' WHERE `RequiredLevel` = '80'
 

murdocmurat

Banned
banned
murdocmurat Rep
0
0
0
Rep
0
murdocmurat Vouches
0
0
0
Vouches
0
Posts
50
Likes
21
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 4 215 XP
If you haven’t gotten the item_template changed

SQL:
UPDATE `item_template` SET `RequiredLevel` = '255' WHERE `RequiredLevel` = '80'
ok mate :D
 

3,386

1,270

9,554

428

Top