-
Notifications
You must be signed in to change notification settings - Fork 0
/
ElunaLuaEngine_ElunaMangosWotlk.sql
2787 lines (2787 loc) · 353 KB
/
ElunaLuaEngine_ElunaMangosWotlk.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
SELECT playerguid FROM petition_sign WHERE player_account = '%u' AND petitionguid = '%u'
UPDATE creature_template SET ScriptName=npc_squad_leader WHERE entry IN (31737,31833)
UPDATE gossip_scripts SET temp=temp WHERE command=28
INSERT INTO spell_proc_event VALUES(74396, 0x00, 3, 0x28E212F7, 0x28E212F7, 0x28E212F7, 0x00119048, 0x00119048, 0x00119048, 0x00000000, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0.000000, 0.000000, 0)
INSERT INTO spell_target_position VALUES (18360, 249, 7.479571, -215.207809, -86.075531, 6.280)
INSERT INTO spell_affect VALUES (33167,0,0,0,0,0,0,0x0000008100000000,0)
UPDATE creature_template SET ScriptName=npc_mistress_nagmara WHERE entry=9500
UPDATE creature_template SET ScriptName=mob_shadow_demon WHERE entry=23375
UPDATE creature_template SET ScriptName=boss_champion_mage WHERE entry IN (34702,35569)
INSERT INTO script_waypoint VALUES(29434, 0, 6643.662, -1258.140, 396.812, 0, 'SAY_ESCORT_READY')
UPDATE creature_template SET ScriptName=npc_mist WHERE entry=3568
CREATE TABLE `characters`.`character_spell` ( `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier', `slot` int(11) unsigned NOT NULL default '0', `active` tinyint(3) unsigned NOT NULL default '1', PRIMARY KEY (`guid`,`spell`))
CREATE TABLE `spell_learn_skill` ( `entry` smallint(6) unsigned NOT NULL default '0', `SkillID` smallint(6) NOT NULL default '0', `Value` int(11) default '0', `MaxValue` int(11) default '0', PRIMARY KEY (`entry`), UNIQUE KEY spell_skill(`entry`,`SkillID`))
SELECT id,username FROM account WHERE username " _LIKE_ " " _CONCAT3_("'%%'", "'%s'", "'%%'
UPDATE gossip_scripts SET temp=temp WHERE command=0
UPDATE creature_template SET ScriptName=npc_berthold WHERE entry=16153
UPDATE creature_template SET ScriptName=boss_hungarfen WHERE entry=17770
UPDATE playercreateinfo SET orientation= 2 WHERE race=11
INSERT INTO mangos_string VALUES(592,'You have learned all spells in craft: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE gameobject SET zone_id=%u, area_id=%u WHERE guid=%u
INSERT INTO script_waypoint VALUES(11856, 0, 113.91, -350.13, 4.55, 0, '')
UPDATE gossip_scripts SET datalong2=0 WHERE command=15
UPDATE gossip_scripts SET datalong=4 WHERE command=0
UPDATE creature_template SET ScriptName=npc_water_elemental WHERE entry=21160
INSERT INTO mangos_string VALUES(720,'Your group is too large for this battleground. Please regroup to join.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE creature_template SET ScriptName=mob_blood_elf_council_voice_trigger WHERE entry=23499
UPDATE creature_template SET ScriptName=mob_omrogg_heads WHERE entry IN (19523,19524)
CREATE TABLE `characters`.`arena_team` ( `arenateamid` int(10) unsigned NOT NULL default '0', `name` char(255) NOT NULL, `captainguid` int(10) unsigned NOT NULL default '0', `type` tinyint(3) unsigned NOT NULL default '0', `EmblemStyle` int(10) unsigned NOT NULL default '0', `EmblemColor` int(10) unsigned NOT NULL default '0', `BorderStyle` int(10) unsigned NOT NULL default '0', `BorderColor` int(10) unsigned NOT NULL default '0', `BackgroundColor` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`arenateamid`))
INSERT INTO scripted_areatrigger VALUES(5578,'at_pit_of_saron')
UPDATE creature_template SET ScriptName=boss_gothik WHERE entry=16060
UPDATE character_pet SET name = %s, renamed = 1 WHERE owner = %u
UPDATE spell_proc_event SET SkillId = 0 WHERE entry = 17793
INSERT INTO scripted_areatrigger VALUES(3958,'at_zulgurub')
SELECT cleaning_flags FROM saved_variables
UPDATE creature_template SET ScriptName=npc_arei WHERE entry=9598
UPDATE creature_template SET ScriptName=npc_scarlet_ghoul WHERE entry=28845
INSERT INTO spell_target_position VALUES (18567, 249, -35.439922, -217.260284, -87.336311, 0.666)
UPDATE creature_template SET ScriptName=boss_ambassador_flamelash WHERE entry=9156
SELECT MAX(guid) FROM corpse
INSERT INTO spell_target_position VALUES (18581, 249, -36.611721, -202.684677, -85.653786, 1.416)
CREATE TABLE `pet_aura` ( `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `spell` int(11) unsigned NOT NULL default '0', `effect_index` int(11) unsigned NOT NULL default '0', `remaintime` int(11) NOT NULL default '0', PRIMARY KEY (`guid`,`spell`,`effect_index`))
UPDATE creature_template SET modelid_3=0 WHERE entry=1
CREATE TABLE `creature_respawn` ( `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', `respawntime` bigint(20) unsigned NOT NULL DEFAULT '0', `instance` mediumint(8) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`instance`), KEY `instance` (`instance`))
UPDATE creature_respawn SET instance = %u WHERE instance = %u
UPDATE creature_template SET ScriptName=boss_freya WHERE entry=32906
INSERT INTO script_waypoint VALUES(8284, 0, -7007.209, -1749.160, 234.182, 3000, 'stand up')
UPDATE creature_template SET ScriptName=boss_taldaram_icc WHERE entry=37973
INSERT INTO script_waypoint VALUES(20763, 0, 4084.092, 2297.254, 110.277, 0, '')
UPDATE playercreateinfo_action SET action = 21084 WHERE action = 20154
CREATE TABLE `creature_loot_template` ( `entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'entry 0 used for player insignia loot', `item` mediumint(8) unsigned NOT NULL DEFAULT '0', `ChanceOrQuestChance` float NOT NULL DEFAULT '100', `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', `mincountOrRef` mediumint(9) NOT NULL DEFAULT '1', `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1', `condition_id` mediumint(8) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`entry`,`item`))
UPDATE creature_template SET ScriptName=npc_yazzai WHERE entry=24561
UPDATE gossip_scripts SET temp=temp WHERE command IN (23, 24) AND (data_flags & 0x01 > 0)
UPDATE guild_member SET BankResetTimeMoney=%u, BankRemMoney=%u WHERE guildid=%u
SELECT id, delay, command, datalong, datalong2, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o FROM %s
INSERT INTO mangos_string VALUES(290,'Ticket of %s (Last updated: %s) (Category: %i):\n%s ',NULL,NULL,NULL,NULL,NULL,NULL,NULL)
CREATE TABLE `gameobject_scripts` (`id` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0',`delay` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0',`command` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0',`datalong` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0',`datalong2` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0',`datatext` TEXT NOT NULL ,`x` FLOAT NOT NULL DEFAULT '0',`y` FLOAT NOT NULL DEFAULT '0',`z` FLOAT NOT NULL DEFAULT '0',`o` FLOAT NOT NULL DEFAULT '0')
UPDATE spell_proc_event SET SkillId = 0 WHERE entry = 16850
CREATE TABLE `account_data` ( `account` int(11) unsigned NOT NULL DEFAULT '0', `type` int(11) unsigned NOT NULL DEFAULT '0', `time` bigint(11) unsigned NOT NULL DEFAULT '0', `data` longblob NOT NULL, PRIMARY KEY (`account`,`type`))
INSERT INTO spell_target_position VALUES (18358, 249, -11.189384, -215.165833, -87.817093, 6.280)
INSERT INTO scripted_event_id VALUES(4884,'event_spell_altar_emberseer')
INSERT INTO script_waypoint VALUES(26499, 0, 2366.184, 1197.285, 132.150, 0, '')
UPDATE instance_template SET ScriptName=instance_magtheridons_lair WHERE map=544
UPDATE creature_template SET ScriptName=boss_ambassador_hellmaw WHERE entry=18731
UPDATE creature_template SET ScriptName=npc_trial_grand_champion WHERE entry IN (35328,35331,35330,35332,35329,35314,35326,35325,35323,35327)
CREATE TABLE `character_aura` ( `guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `spell` int(11) unsigned NOT NULL default '0', `effect_index` int(11) unsigned NOT NULL default '0', `remaintime` int(11) NOT NULL default '0', KEY (`guid`,`spell`))
UPDATE creature_template SET ScriptName=npc_annhylde WHERE entry=24068
UPDATE mangos_string SET content_default=Scripting WHERE entry=1166
UPDATE event_scripts SET datalong=2 WHERE command=0
UPDATE creature_template SET ScriptName=npc_death_knight_initiate WHERE entry=28406
INSERT INTO mangos_string VALUES(1600,'|cffffff00Northpass Tower has been taken by the Horde!|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
CREATE TABLE `guild_bank_eventlog` ( `guildid` int(11) unsigned NOT NULL default '0' COMMENT 'Guild Identificator', `LogGuid` int(11) unsigned NOT NULL default '0' COMMENT 'Log record identificator - auxiliary column', `TabId` tinyint(3) unsigned NOT NULL default '0' COMMENT 'Guild bank TabId', `EventType` tinyint(3) unsigned NOT NULL default '0' COMMENT 'Event type', `PlayerGuid` int(11) unsigned NOT NULL default '0', `ItemOrMoney` int(11) unsigned NOT NULL default '0', `ItemStackCount` tinyint(3) unsigned NOT NULL default '0', `DestTabId` tinyint(1) unsigned NOT NULL default '0' COMMENT 'Destination Tab Id', `TimeStamp` bigint(20) unsigned NOT NULL default '0' COMMENT 'Event UNIX time', PRIMARY KEY (`guildid`,`LogGuid`,`TabId`), KEY `guildid_key` (`guildid`))
CREATE TABLE `uptime` ( `starttime` bigint(11) unsigned NOT NULL default '0', `startstring` varchar(64) NOT NULL default '', `uptime` bigint(11) unsigned NOT NULL default '0', PRIMARY KEY (`starttime`))
INSERT INTO script_waypoint VALUES(8516, 1,2603.18, 725.259, 54.6927, 0, '')
UPDATE creature_template SET ScriptName=npc_harpoon_fire_state WHERE entry=33282
SELECT entry, flags FROM character_gifts WHERE item_guid = '%u'
UPDATE characters set name = %s, at_login = at_login WHERE guid =%u
UPDATE creature_template SET ScriptName=boss_crusader_hunter WHERE entry IN (34467,34448)
SELECT guid, id, position_x, position_y, position_z, map FROM creature WHERE id=448;
UPDATE gameobject_scripts SET temp=temp WHERE command=15
UPDATE creature_template SET ScriptName=npc_nesingwary_trapper WHERE entry=25835
UPDATE creature_template SET ScriptName=boss_maiden_of_virtue WHERE entry=16457
SELECT * FROM `pet_spell`;
UPDATE gameobject_scripts SET temp=temp WHERE command=1
UPDATE creature_template SET ScriptName=npc_garments_of_quests WHERE entry IN (12429,12423,12427,12430,12428)
SELECT * FROM %s LIMIT 1
SELECT rank FROM guild_member WHERE guid='%u'
SELECT ownerguid,petitionguid FROM petition_sign WHERE playerguid = '%u'
UPDATE creature_template SET ScriptName=boss_laj WHERE entry=17980
INSERT INTO scripted_areatrigger VALUES (XYZ, at_some_place)
INSERT INTO script_waypoint VALUES(10300, 1, 5728.81, -4801.15, 778.18, 0, '')
INSERT INTO script_waypoint VALUES(3692, 1, 4608.43, -6.32, 69.74, 1000, 'stand up')
UPDATE account SET v=0,s=0,username=%s,sha_pass_hash=%s WHERE id=%u
INSERT INTO spell_chain VALUES/* Flurry triggered, Warrior */(12319,0,12319,1,0)
UPDATE spell_scripts SET temp=0x02 WHERE command=14
INSERT INTO spell_proc_event VALUES(67667, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45)
UPDATE creature_template SET ScriptName=npc_glob_of_viscidus WHERE entry=15667
UPDATE creature SET spawndist=%f, MovementType=%i WHERE guid=%u
CREATE TABLE `realmlist` ( `id` int(11) unsigned NOT NULL auto_increment, `name` varchar(32) NOT NULL default '', `address` varchar(32) NOT NULL default '127.0.0.1', `icon` tinyint(3) unsigned NOT NULL default '0', `color` tinyint(3) unsigned NOT NULL default '0', `timezone` tinyint(3) unsigned NOT NULL default '0', PRIMARY KEY (`id`), UNIQUE KEY `idx_name` (`name`))
INSERT INTO player_levelstats VALUES('2', '4', '19', '391', '0', '38', '44', '35', '20', '30')
UPDATE creature_template SET ScriptName=npc_dughal_stormwing WHERE entry=9022
UPDATE creature_template SET ScriptName=boss_akilzon WHERE entry=23574
INSERT INTO spell_target_position VALUES (18618, 249, -58.250900, -189.020004, -85.292267, 2.428)
UPDATE creature_template SET ScriptName=npc_creditmarker_visit_with_ancestors WHERE entry IN (18840,18841,18842,18843)
INSERT INTO spell_target_position VALUES (18625, 249, -30.907579, -211.058197, -88.592125, 2.428)
CREATE TABLE `quest_poi` ( `questid` int(11) unsigned NOT NULL DEFAULT '0', `objIndex` int(11) NOT NULL DEFAULT '0', `mapId` int(11) unsigned NOT NULL DEFAULT '0', `unk1` int(11) unsigned NOT NULL DEFAULT '0', `unk2` int(11) unsigned NOT NULL DEFAULT '0', `unk3` int(11) unsigned NOT NULL DEFAULT '0', `unk4` int(11) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`questid`,`objIndex`))
UPDATE creature_template SET ScriptName=npc_flame_tsunami WHERE entry=30616
UPDATE event_scripts SET datalong2=data_flags WHERE command=22
UPDATE mangos_string SET content_default=Character WHERE entry=1023
UPDATE instance_template SET ScriptName=instance_shattered_halls WHERE map=540
INSERT INTO spell_target_position VALUES (18355, 249, -35.899323, -215.110245, -87.196548, 6.280)
UPDATE quest_end_scripts SET datalong=2 WHERE command=0
INSERT INTO scripted_event_id VALUES(10591,'event_spell_summon_nightbane')
CREATE TABLE script_waypoint ( entry mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'creature_template entry', pointid mediumint(8) unsigned NOT NULL DEFAULT '0', location_x float NOT NULL DEFAULT '0', location_y float NOT NULL DEFAULT '0', location_z float NOT NULL DEFAULT '0', waittime int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'waittime in millisecs', point_comment text, PRIMARY KEY (entry, pointid))
CREATE TABLE `game_event_creature` ( `guid` int(10) unsigned NOT NULL, `event` mediumint(9) NOT NULL DEFAULT '0' COMMENT 'Put negatives values to remove during event', PRIMARY KEY (`guid`))
INSERT INTO spell_chain VALUES(53527, 0, 53527, 1, 0)
UPDATE gossip_scripts SET temp=temp WHERE command=15
UPDATE creature_template SET InhabitType=7 WHERE entry=1
SELECT spell,item,time FROM character_spell_cooldown WHERE guid = '%u'
CREATE TABLE `gameobject_addon` ( `guid` int(10) unsigned NOT NULL DEFAULT '0', `path_rotation0` float NOT NULL DEFAULT '0', `path_rotation1` float NOT NULL DEFAULT '0', `path_rotation2` float NOT NULL DEFAULT '0', `path_rotation3` float NOT NULL DEFAULT '1', PRIMARY KEY (`guid`))
UPDATE creature_template SET ScriptName=npc_ellris_duskhallow WHERE entry=24558
INSERT INTO spell_target_position VALUES (18352, 249, -61.834255, -215.051910, -84.673416, 6.280)
CREATE TABLE `item_required_target` ( `entry` mediumint(8) unsigned NOT NULL, `type` tinyint(3) unsigned NOT NULL default '0', `targetEntry` mediumint(8) unsigned NOT NULL default '0', UNIQUE KEY `entry_type_target` (`entry`,`type`,`targetEntry`))
CREATE TABLE `guild_bank_tab` ( `guildid` int(11) unsigned NOT NULL default '0', `TabId` tinyint(1) unsigned NOT NULL default '0', `TabName` varchar(100) NOT NULL default '', `TabIcon` varchar(100) NOT NULL default '', PRIMARY KEY (`guildid`,`TabId`))
SELECT * FROM `character_spell`;
UPDATE creature_template SET ScriptName=npc_gas_cloud_icc WHERE entry=37562
SELECT MAX(groupId) FROM groups
INSERT INTO mangos_string VALUES(1503,'Can not add spawn because no free guids for static spawn in reserved guids range. Server restart is required before command can be used. Also look GuidReserveSize.* config options.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
CREATE TABLE `locales_points_of_interest` ( `entry` mediumint(8) unsigned NOT NULL default '0', `icon_name_loc1` text, `icon_name_loc2` text, `icon_name_loc3` text, `icon_name_loc4` text, `icon_name_loc5` text, `icon_name_loc6` text, `icon_name_loc7` text, `icon_name_loc8` text, PRIMARY KEY (`entry`))
UPDATE creature_template SET ScriptName=npc_melizza_brimbuzzle WHERE entry=12277
INSERT INTO mangos_string VALUES(1010,'| ID | Account | Character | IP | GM | Expansion |',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
CREATE TABLE `account_banned` ( `id` int(11) NOT NULL DEFAULT '0' COMMENT 'Account id', `bandate` bigint(40) NOT NULL DEFAULT '0', `unbandate` bigint(40) NOT NULL DEFAULT '0', `bannedby` varchar(50) NOT NULL, `banreason` varchar(255) NOT NULL, `active` tinyint(4) NOT NULL DEFAULT '1', PRIMARY KEY (`id`,`bandate`))
CREATE TABLE `spell_affect` ( `entry` smallint(5) unsigned NOT NULL default '0', `effectId` tinyint(3) unsigned NOT NULL default '0', `SpellId` smallint(5) unsigned NOT NULL default '0', `SchoolMask` tinyint(3) unsigned NOT NULL default '0', `Category` smallint(5) unsigned NOT NULL default '0', `SkillID` smallint(5) unsigned NOT NULL default '0', `SpellFamily` tinyint(3) unsigned NOT NULL default '0', `SpellFamilyMask` int(10) unsigned NOT NULL default '0', `Charges` smallint(5) unsigned NOT NULL default '0', PRIMARY KEY (`entry`,`effectId`))
UPDATE gameobject_scripts SET temp=0x02 WHERE command=14
UPDATE creature_movement_scripts SET datalong2=0 WHERE command=15
INSERT INTO spell_target_position VALUES (18588, 249, -14.321238, -199.462219, -87.922478, 3.776)
INSERT INTO spell_target_position VALUES (18593, 249, -41.762104, -221.896545, -86.114113, 3.776)
UPDATE character_queststatus SET status = ?,rewarded = ?,explored = ?,timer = ?, mobcount1 = ?,mobcount2 = ?,mobcount3 = ?,mobcount4 = ?,itemcount1 = ?,itemcount2 = ?,itemcount3 = ?,itemcount4 = ?,itemcount5 = ?,itemcount6 = ? WHERE guid = ? AND quest = ?
SELECT id FROM instance)");
CREATE TABLE `bugreport` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identifier', `type` longtext NOT NULL, `content` longtext NOT NULL, PRIMARY KEY (`id`))
INSERT INTO mangos_string VALUES(57,'Using World DB: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
INSERT INTO scripted_areatrigger VALUES (4560,'at_legion_teleporter')
UPDATE creature_template SET ScriptName=npc_hurley_blackbreath WHERE entry=9537
CREATE TABLE `realmlist` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(32) NOT NULL DEFAULT '', `address` varchar(32) NOT NULL DEFAULT '127.0.0.1', `port` int(11) NOT NULL DEFAULT '8085', `icon` tinyint(3) unsigned NOT NULL DEFAULT '0', `realmflags` tinyint(3) unsigned NOT NULL DEFAULT '2' COMMENT 'Supported masks: 0x1 (invalid, not show in realm list), 0x2 (offline, set by mangosd), 0x4 (show version and build), 0x20 (new players), 0x40 (recommended)', `timezone` tinyint(3) unsigned NOT NULL DEFAULT '0', `allowedSecurityLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', `population` float unsigned NOT NULL DEFAULT '0', `realmbuilds` varchar(64) NOT NULL DEFAULT '', PRIMARY KEY (`id`), UNIQUE KEY `idx_name` (`name`))
UPDATE quest_start_scripts SET datalong2=0 WHERE command=3
UPDATE quest_start_scripts SET temp=temp WHERE command=26
SELECT id,sha_pass_hash FROM account WHERE username = '%s'
CREATE TABLE `calendar_invites` ( `inviteId` bigint(10) unsigned NOT NULL DEFAULT '0', `eventId` bigint(10) unsigned NOT NULL DEFAULT '0', `inviteeGuid` int(10) unsigned NOT NULL DEFAULT '0', `senderGuid` int(3) unsigned NOT NULL DEFAULT '0', `status` tinyint(10) unsigned NOT NULL DEFAULT '0', `lastUpdateTime` int(10) unsigned NOT NULL DEFAULT '0', `rank` tinyint(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`inviteId`))
INSERT INTO spell_learn_spell VALUES(58984,21009,1)
INSERT INTO spell_target_position VALUES (18627, 249, -46.135464, -198.548553, -85.901764, 2.428)
INSERT INTO scripted_areatrigger VALUES (4479,'at_haramad_teleport')
UPDATE characters set at_login = at_login WHERE guid =%u
UPDATE creature_template SET ScriptName=boss_crusader_warrior WHERE entry IN (34475,34453)
UPDATE creature_template SET ScriptName=npc_door_seal WHERE entry=30896
INSERT INTO spell_target_position VALUES (21132, 249, -90.424416, -214.601974, -82.482697, 3.142)
INSERT INTO mangos_string VALUES (753,'The battle for Warsong Gulch begins in 2 minutes.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
CREATE TABLE `areatrigger_involvedrelation` ( `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', `quest` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', PRIMARY KEY (`id`))
UPDATE creature_template SET ScriptName=boss_crusader_death_knight WHERE entry IN (34461,34458)
UPDATE item_template SET ScriptName=item_flying_machine WHERE entry IN (34060,34061)
UPDATE creature_template SET ScriptName=npc_threshwackonator WHERE entry=6669
SELECT totaltime, level, money, account FROM characters WHERE guid = '%u'
CREATE TABLE `character_achievement_progress` ( `guid` int(11) NOT NULL, `criteria` int(11) NOT NULL, `counter` int(11) NOT NULL, `date` int(11) NOT NULL, PRIMARY KEY (`guid`,`criteria`) )
UPDATE creature_movement SET position_x = %f, position_y = %f, position_z = %f WHERE id = %u
INSERT INTO mangos_string VALUES(580,'Player %s learned all default spells for race/class and completed quests rewarded spells.',NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE creature_template SET ScriptName=boss_mekgineer_steamrigger WHERE entry=17796
SELECT spellid,SpellFamilyName,SpellFamilyMaskA,SpellFamilyMaskB,SpellIcon,SpellVisual,SpellCategory,EffectType,EffectAura,EffectIdx,Name,Code FROM %s
CREATE TABLE `game_weather` ( `zone` int(11) unsigned NOT NULL default '0', `spring_rain_chance` tinyint(3) unsigned NOT NULL default '25', `spring_snow_chance` tinyint(3) unsigned NOT NULL default '25', `spring_storm_chance` tinyint(3) unsigned NOT NULL default '25', `summer_rain_chance` tinyint(3) unsigned NOT NULL default '25', `summer_snow_chance` tinyint(3) unsigned NOT NULL default '25', `summer_storm_chance` tinyint(3) unsigned NOT NULL default '25', `fall_rain_chance` tinyint(3) unsigned NOT NULL default '25', `fall_snow_chance` tinyint(3) unsigned NOT NULL default '25', `fall_storm_chance` tinyint(3) unsigned NOT NULL default '25', `winter_rain_chance` tinyint(3) unsigned NOT NULL default '25', `winter_snow_chance` tinyint(3) unsigned NOT NULL default '25', `winter_storm_chance` tinyint(3) unsigned NOT NULL default '25', PRIMARY KEY (`zone`))
UPDATE creature_template SET ScriptName=boss_thaladred_the_darkener WHERE entry=20064
UPDATE creature_template SET ScriptName=boss_loken WHERE entry=28923
UPDATE spell_scripts SET datalong=2 WHERE command=0
INSERT INTO script_waypoint VALUES(19589, 1, 3358.22, 3728.25, 141.204, 16000, '')
UPDATE gameobject_template SET ScriptName=go_father_flame WHERE entry=175245
UPDATE quest_start_scripts SET temp=temp WHERE command=15
CREATE TABLE `db_version` ( `version` varchar(120) DEFAULT NULL, `creature_ai_version` varchar(120) DEFAULT NULL, `cache_id` int(10) DEFAULT '0', `required_12948_04_mangos_npc_trainer_template` bit(1) DEFAULT NULL)
INSERT INTO spell_target_position VALUES (21136, 249, -107.385597, -213.917145, -77.447037, 3.142)
INSERT INTO spell_bonus_data VALUES(60089,0,0,0.15,'Druid - Faerie Fire (Feral) Triggered')
UPDATE account SET failed_logins = failed_logins + 1 WHERE username = %s
INSERT INTO spell_target_position VALUES (18623, 249, -12.223192, -224.666168, -87.856300, 2.428)
SELECT * FROM `guild_member`;
UPDATE spell_scripts SET data_flags=data_flags WHERE command=3
UPDATE creature_template SET ScriptName=npc_domesticated_felboar WHERE entry=21195
INSERT INTO spell_chain VALUES(47750, 0, 47750, 1, 0)
CREATE TABLE `creature_model_info` ( `modelid` int(11) unsigned NOT NULL default '0', `bounding_radius` float NOT NULL default '0', `combat_reach` float NOT NULL default '0', `gender` tinyint(2) unsigned NOT NULL default '2', `modelid_other_gender` int(11) unsigned NOT NULL default '0', PRIMARY KEY (`modelid`))
CREATE TABLE `character_ticket` ( `ticket_id` int(11) unsigned NOT NULL AUTO_INCREMENT, `guid` int(11) unsigned NOT NULL DEFAULT '0', `ticket_text` text, `response_text` text, `ticket_lastchange` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`ticket_id`))
SELECT numchars FROM realmcharacters WHERE realmid = '%d' AND acctid='%u'
INSERT INTO spell_proc_event VALUES(11129, 0x00, 4, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000003, 0.000000, 0.000000, 0)
UPDATE creature_template SET ScriptName=boss_grobbulus WHERE entry=15931
UPDATE event_scripts SET temp=temp WHERE command=0
SELECT lootcondition, condition_value1, condition_value2 FROM skinning_loot_template WHERE lootcondition>0;
SELECT * FROM npc_text
UPDATE creature_template SET ScriptName=mob_phoenix_tk WHERE entry=21362
UPDATE group_instance SET instance = %u WHERE instance = %u
INSERT INTO spell_proc_event VALUES(64908, 0x00, 6, 0x00002000, 0x00002000, 0x00002000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0)
UPDATE creature_template SET ScriptName=boss_master_engineer_telonicus WHERE entry=20063
SELECT creature_entry, level, hp, mana, str, agi, sta, inte, spi, armor FROM pet_levelstats
INSERT INTO spell_target_position VALUES (18621, 249, -2.010256, -232.541992, -86.995140, 2.428)
UPDATE creature_template SET ScriptName=npc_rimefang_icc WHERE entry=37533
UPDATE creature_template SET ScriptName=boss_pyroguard_emberseer WHERE entry=9816
UPDATE creature_template SET ScriptName=npc_rethhedron WHERE entry=22357
UPDATE creature_template SET ScriptName=boss_skadi WHERE entry=26693
CREATE TABLE `conditions` ( `condition_entry` mediumint(8) unsigned NOT NULL auto_increment COMMENT 'Identifier', `type` tinyint(3) signed NOT NULL DEFAULT '0' COMMENT 'Type of the condition', `value1` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'data field one for the condition', `value2` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'data field two for the condition', PRIMARY KEY (`condition_entry`), CONSTRAINT unique_conditions UNIQUE (type,value1,value2))
CREATE TABLE `player_levelupgains` ( `entry` smallint(5) unsigned NOT NULL auto_increment, `race` tinyint(3) unsigned NOT NULL, `class` tinyint(3) unsigned NOT NULL, `level` tinyint(3) unsigned NOT NULL, `hp` smallint(5) unsigned NOT NULL, `mana` smallint(5) unsigned NOT NULL, `str` smallint(5) unsigned NOT NULL, `agi` smallint(5) unsigned NOT NULL, `sta` smallint(5) unsigned NOT NULL, `int` smallint(5) unsigned NOT NULL, `spi` smallint(5) unsigned NOT NULL, PRIMARY KEY (`entry`))
INSERT INTO script_waypoint VALUES(5391, 0, -9901.12, -3727.29, 22.11, 3000, '')
CREATE TABLE `groups` ( `groupId` int(11) unsigned NOT NULL, `leaderGuid` int(11) unsigned NOT NULL, `mainTank` int(11) unsigned NOT NULL, `mainAssistant` int(11) unsigned NOT NULL, `lootMethod` tinyint(4) unsigned NOT NULL, `looterGuid` int(11) unsigned NOT NULL, `lootThreshold` tinyint(4) unsigned NOT NULL, `icon1` int(11) unsigned NOT NULL, `icon2` int(11) unsigned NOT NULL, `icon3` int(11) unsigned NOT NULL, `icon4` int(11) unsigned NOT NULL, `icon5` int(11) unsigned NOT NULL, `icon6` int(11) unsigned NOT NULL, `icon7` int(11) unsigned NOT NULL, `icon8` int(11) unsigned NOT NULL, `groupType` tinyint(1) unsigned NOT NULL, `difficulty` tinyint(3) unsigned NOT NULL DEFAULT '0', `raiddifficulty` int(11) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`groupId`), UNIQUE KEY `leaderGuid` (`leaderGuid`))
UPDATE creature_template SET ScriptName=mobs_spectral_ghostly_citizen WHERE entry IN (10384,10385)
UPDATE creature_template SET ScriptName=boss_aeonus WHERE entry=17881
SELECT item FROM prospecting_loot_template UNION
UPDATE creature_template SET ScriptName=npc_simon_game_bunny WHERE entry=22923
UPDATE quest_start_scripts SET datalong2=data_flags WHERE command=22
UPDATE creature_template SET ScriptName=boss_novos WHERE entry=26631
SELECT lootcondition, condition_value1, condition_value2 FROM spell_loot_template WHERE lootcondition>0;
INSERT INTO mangos_string VALUES(512,'%d - |cffffffff|Hitem:%d:0:0:0:0:0:0:0:0|h[%s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE arena_team_stats SET games_week = %u WHERE arenateamid = %u
CREATE TABLE `skill_discovery_template` ( `spellId` int(11) unsigned NOT NULL default '0' COMMENT 'SpellId of the discoverable spell', `reqSpell` int(11) unsigned NOT NULL default '0' COMMENT 'spell requirement', `chance` float NOT NULL default '0' COMMENT 'chance to discover', PRIMARY KEY (`spellId`))
UPDATE creature_template SET ScriptName=npc_disciple_of_naralex WHERE entry=3678
UPDATE creature_template SET ScriptName=boss_void_reaver WHERE entry=19516
CREATE TABLE `achievement_criteria_data` ( `criteria_id` mediumint(8) NOT NULL, `type` tinyint(3) unsigned NOT NULL DEFAULT '0', `value1` mediumint(8) unsigned NOT NULL DEFAULT '0', `value2` mediumint(8) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`criteria_id`))
SELECT * FROM `group`;
INSERT INTO spell_bonus_data VALUES(50536, 0, 0, 0, 0.013, 'Death Knight - Unholy Blight Triggered')
UPDATE creature_template SET ScriptName=npc_wizzlecranks_shredder WHERE entry=3439
INSERT INTO spell_target_position VALUES (17091, 249, -28.248341, -215.127457, -89.191750, 3.142)
UPDATE creature_template SET ScriptName=spell_anchor WHERE entry=16137
UPDATE quest_end_scripts SET temp=temp WHERE command=0
CREATE TABLE `spell_script_target` ( `entry` mediumint(8) unsigned NOT NULL, `type` tinyint(3) unsigned NOT NULL DEFAULT '0', `targetEntry` mediumint(8) unsigned NOT NULL DEFAULT '0', `inverseEffectMask` mediumint(8) unsigned NOT NULL DEFAULT '0', UNIQUE KEY `entry_type_target` (`entry`,`type`,`targetEntry`))
UPDATE guild_member SET pnote = %s WHERE guid = %u
INSERT INTO scripted_event_id VALUES(11111,'event_go_barrel_old_hillsbrad')
CREATE TABLE `characters`.`character_kill` ( `guid` int(11) unsigned NOT NULL default '0', `victim_guid` int(11) unsigned NOT NULL default '0', `count` tinyint(3) unsigned NOT NULL default '0', PRIMARY KEY (`guid`,`victim_guid`))
UPDATE creature_template SET ScriptName=npc_father_kamaros WHERE entry IN (31279,32800)
SELECT guildid,rid,rname,rights,BankMoneyPerDay FROM guild_rank ORDER BY guildid ASC, rid ASC
UPDATE instance_template SET ScriptName=instance_zulgurub WHERE map=309
INSERT INTO spell_proc_item_enchant VALUES(13897, 6.0)
INSERT INTO spell_template VALUES(23363, 0x00000000, 101, 21, 76, 18, 0, 0, 179804, 0, 'Summon Drakonid Corpse Trigger')
SELECT id, username, last_ip, gmlevel, expansion FROM account WHERE active_realm_id = %u
UPDATE creature_template SET ScriptName=boss_crusader_druid_resto WHERE entry IN (34469,34459)
INSERT INTO battleground_template VALUES(9,0,0,0,0,1367,0,1368,0)
UPDATE arena_team_stats SET rank = %u WHERE arenateamid = %u
UPDATE arena_team SET BackgroundColor=%u, EmblemStyle=%u, EmblemColor=%u, BorderStyle=%u, BorderColor=%u WHERE arenateamid=%u
SELECT 1 FROM account WHERE id='%u'
UPDATE character_action SET action = 21084 WHERE action = 20154
UPDATE creature_template SET ScriptName=npc_apprentice_mirveda WHERE entry=15402
UPDATE creature_template SET ScriptName=npc_sinclari WHERE entry=30658
UPDATE creature_template SET ScriptName=boss_entropius WHERE entry=25840
UPDATE creature_template SET ScriptName=boss_sladran WHERE entry=29304
UPDATE instance_template SET ScriptName=instance_onyxias_lair WHERE map=249
CREATE TABLE `character_stable` ( `owner` int(11) unsigned NOT NULL default '0', `slot` int(11) unsigned NOT NULL default '0', `petnumber` int(11) unsigned NOT NULL default '0', `entry` int(11) unsigned NOT NULL default '0', `level` int(11) unsigned NOT NULL default '0', `loyalty` int(11) unsigned NOT NULL default '1', `trainpoint` int(11) unsigned NOT NULL default '0', KEY `petnumber` (`petnumber`))
UPDATE characters SET money = ? WHERE guid = ?
SELECT id, ScriptName FROM scripted_event_id
UPDATE creature_template SET ScriptName=boss_dorothee WHERE entry=17535
UPDATE creature_template SET ScriptName=boss_fjola WHERE entry=34497
SELECT id, permanent, map, difficulty, resettime FROM character_instance LEFT JOIN instance ON instance = id WHERE guid = '%u'
INSERT INTO scripted_areatrigger VALUES (4591,'at_coilfang_waterfall')
INSERT INTO mangos_string VALUES(1503,'Can not add spawn because no free guids for static spawn in reserved guids range. Server restart are required before command can be used. Also look GuidReserveSize.* config options.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE creature_template SET ScriptName=boss_galdarah WHERE entry=29306
UPDATE creature_template SET ScriptName=npc_charged_sphere WHERE entry=33715
UPDATE creature_template SET ScriptName=npc_prof_blacksmith WHERE entry IN (5164,11145,11146,11176,11177,11178,11191,11192,11193)
UPDATE creature_template SET ScriptName=npc_mikhail WHERE entry=4963
UPDATE creature_template SET ScriptName=npc_kitten WHERE entry=9937
INSERT INTO playercreateinfo_action VALUES(7,6,11,41751,128)
UPDATE creature_template SET ScriptName=boss_azuregos WHERE entry=6109
INSERT INTO spell_target_position VALUES (17088, 249, -2.047405, -215.186386, -86.279655, 3.142)
UPDATE creature_template SET ScriptName=boss_roar WHERE entry=17546
UPDATE creature_template SET ScriptName=boss_venoxis WHERE entry=14507
UPDATE creature_template SET ScriptName=mob_molten_golem WHERE entry=28695
SELECT guid, name, race, class, level FROM characters WHERE account = %u
CREATE TABLE `character_instance` ( `guid` int(11) unsigned NOT NULL default '0', `map` int(11) unsigned NOT NULL default '0', `instance` bigint(40) NOT NULL default '0', `leader` int(11) unsigned NOT NULL default '0', PRIMARY KEY (`guid`,`map`), KEY `instance` (`instance`), KEY `leader` (`leader`))
UPDATE gameobject_template SET ScriptName=go_naga_brazier WHERE entry=178247
UPDATE creature_template SET ScriptName=npc_aurius WHERE entry=10917
update command set security=2 where name in (addgo, standstate, anim, morph)
UPDATE creature_template SET ScriptName=npc_tirion_fordring WHERE entry=12126
UPDATE creature_template SET ScriptName=boss_felblood_kaelthas WHERE entry=24664
UPDATE creature_template SET ScriptName=npc_iron_roots WHERE entry IN (33088,33168)
UPDATE creature_template SET ScriptName=npc_lakota_windsong WHERE entry=10646
INSERT INTO spell_target_position VALUES (18619, 249, 7.197779, -239.642868, -86.307297, 2.428)
INSERT INTO script_waypoint VALUES(3584, 0, 4520.4, 420.235, 33.5284, 2000, '')
INSERT INTO scripted_areatrigger VALUES(5284,'at_aldurthar_gate')
INSERT INTO script_waypoint VALUES(31737, 0, 7269.769, 1509.434, 320.903, 0, '')
CREATE TABLE `playercreateinfo_skill` ( `race` tinyint(3) unsigned NOT NULL default '0', `class` tinyint(3) unsigned NOT NULL default '0', `Skill` mediumint(8) unsigned NOT NULL default '0', `Note` varchar(255) default NULL, PRIMARY KEY (`race`,`class`,`Skill`))
UPDATE creature_template SET ScriptName=npc_zeppit WHERE entry=22484
UPDATE creature_template SET ScriptName=boss_baron_geddon WHERE entry=12056
SELECT * FROM `arena_team`;
CREATE TABLE `game_event_gameobject` ( `guid` int(10) unsigned NOT NULL, `event` mediumint(9) NOT NULL DEFAULT '0' COMMENT 'Put negatives values to remove during event', PRIMARY KEY (`guid`))
UPDATE gossip_scripts SET temp=temp WHERE command=10
SELECT account FROM characters WHERE name " _LIKE_ " " _CONCAT3_("'%%'", "'%s'", "'%%'
SELECT * FROM creature_movement_template WHERE textid1 !=0 OR textid2 !=0 OR textid3 !=0 OR textid4 !=0 OR textid5 !=0 OR emote !=0 OR spell !=0 OR model1 !=0 OR model2 !=0 LIMIT 10;
INSERT INTO script_waypoint VALUES(10427, 0, -5185.463, -1185.927, 45.951, 0, '')
INSERT INTO scripted_areatrigger VALUES (5030,'at_spearborn_encampment')
UPDATE gameobject_template SET ScriptName=go_crystal_prison WHERE entry=185126
UPDATE creature_template SET ScriptName=boss_garr WHERE entry=12057
INSERT INTO mangos_string VALUES(1027, 'Log filters state:',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE quest_end_scripts SET temp=temp WHERE command=15
CREATE TABLE `playercreateinfo_spell` ( `race` tinyint(3) unsigned NOT NULL default '0', `class` tinyint(3) unsigned NOT NULL default '0', `Spell` bigint(20) unsigned NOT NULL default '0', `Note` varchar(255) default NULL, `Active` tinyint(3) unsigned NOT NULL default '1', PRIMARY KEY (`race`,`class`,`Spell`))
CREATE TABLE `pool_creature_template` ( `id` int(10) unsigned NOT NULL DEFAULT '0', `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT '0', `chance` float unsigned NOT NULL DEFAULT '0', `description` varchar(255) NOT NULL, PRIMARY KEY (`id`), KEY `pool_idx` (`pool_entry`))
UPDATE creature_template SET ScriptName=npc_draenei_survivor WHERE entry=16483
UPDATE group_instance SET leaderGuid=%u WHERE leaderGuid = %u
UPDATE creature_template SET ScriptName=mob_anubisath_sentinel WHERE entry=15264
UPDATE creature_template SET ScriptName=npc_shenthul WHERE entry=3401
UPDATE creature_template SET ScriptName=boss_veklor WHERE entry=15276
INSERT INTO mangos_string VALUES(1016, '| GUID | Name | Account | Delete Date |',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
INSERT INTO spell_affect VALUES (5420,2,0,0,0,0,0,0x00000010000000F0,0)
UPDATE spell_proc_event SET SkillId = 0, SchoolMask = 0 WHERE entry = 28809
UPDATE creature_template SET ScriptName=boss_crusader_shaman_enha WHERE entry IN (34463,34455)
UPDATE creature_template SET ScriptName=npc_mosswalker_victim WHERE entry=28113
UPDATE creature_template SET ScriptName=boss_crusader_paladin_holy WHERE entry IN (34465,34445)
UPDATE creature_template SET ScriptName=boss_lucifron WHERE entry=12118
UPDATE creature_template SET ScriptName=boss_lady_deathwhisper WHERE entry=36855
CREATE TABLE `guild_bank_eventlog` ( `guildid` int(11) unsigned NOT NULL default '0', `LogGuid` int(11) unsigned NOT NULL default '0', `LogEntry` tinyint(1) unsigned NOT NULL default '0', `TabId` tinyint(1) unsigned NOT NULL default '0', `PlayerGuid` int(11) unsigned NOT NULL default '0', `ItemOrMoney` int(11) unsigned NOT NULL default '0', `ItemStackCount` tinyint(3) unsigned NOT NULL default '0', `DestTabId` tinyint(1) unsigned NOT NULL default '0', `TimeStamp` bigint(20) unsigned NOT NULL default '0', PRIMARY KEY (`guildid`,`LogGuid`))
INSERT INTO spell_proc_event VALUES(70830, 0x00, 11, 0x00000000, 0x00000000, 0x00000000, 0x00020000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0.000000, 0.000000, 0)
INSERT INTO script_waypoint VALUES(18887, 0, 2650.06, 665.473, 61.9305, 0, '')
CREATE TABLE `uptime` ( `starttime` bigint(20) unsigned NOT NULL default '0', `startstring` varchar(64) NOT NULL default '', `uptime` bigint(20) unsigned NOT NULL default '0', `maxplayers` smallint(5) unsigned NOT NULL default '0', PRIMARY KEY (`starttime`))
INSERT INTO spell_target_position VALUES (18605, 249, 2.736300, -236.202347, -86.790367, 5.587)
UPDATE creature_movement_scripts SET temp=0 WHERE command=0
CREATE TABLE `db_version` ( `version` varchar(120))
INSERT INTO script_waypoint VALUES(22916, 0, 7461.49, -3121.06, 438.210, 7000, 'SAY_START')
INSERT INTO scripted_areatrigger VALUES (4937,'at_sunwell_plateau')
UPDATE arena_team_member SET played_week = %u, wons_week = %u, played_season = %u, wons_season = %u, personal_rating = %u WHERE arenateamid = %u
UPDATE creature_template SET ScriptName=boss_maexxna WHERE entry=15952
UPDATE creature_template SET ScriptName=npc_fel_guard_hound WHERE entry=21847
INSERT INTO spell_target_position VALUES (18584, 249, 6.016711, -181.305771, -85.654648, 3.776)
INSERT INTO spell_affect VALUES (36563,1,0,0,0,0,0,0x0000000000000204,0)
SELECT item FROM fishing_loot_template UNION
CREATE TABLE `mail_items` ( `mail_id` int(11) NOT NULL DEFAULT '0', `item_guid` int(11) NOT NULL DEFAULT '0', `item_template` int(11) NOT NULL DEFAULT '0', `receiver` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier', PRIMARY KEY (`mail_id`,`item_guid`), KEY `idx_receiver` (`receiver`))
CREATE TABLE `skill_extra_item_template` ( `spellId` int(11) unsigned NOT NULL default '0' COMMENT 'SpellId of the item creation spell', `requiredSpecialization` int(11) unsigned NOT NULL default '0' COMMENT 'Specialization spell id', `additionalCreateChance` float NOT NULL default '0' COMMENT 'chance to create add', `additionalMaxNum` int(11) unsigned NOT NULL default '0' COMMENT 'max num of adds', PRIMARY KEY (`spellId`))
SELECT MAX(id) FROM mail
CREATE TABLE `locales_item` ( `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', `name_loc1` varchar(100) NOT NULL DEFAULT '', `name_loc2` varchar(100) NOT NULL DEFAULT '', `name_loc3` varchar(100) NOT NULL DEFAULT '', `name_loc4` varchar(100) NOT NULL DEFAULT '', `name_loc5` varchar(100) NOT NULL DEFAULT '', `name_loc6` varchar(100) NOT NULL DEFAULT '', `name_loc7` varchar(100) NOT NULL DEFAULT '', `name_loc8` varchar(100) NOT NULL DEFAULT '', `description_loc1` varchar(255) DEFAULT NULL, `description_loc2` varchar(255) DEFAULT NULL, `description_loc3` varchar(255) DEFAULT NULL, `description_loc4` varchar(255) DEFAULT NULL, `description_loc5` varchar(255) DEFAULT NULL, `description_loc6` varchar(255) DEFAULT NULL, `description_loc7` varchar(255) DEFAULT NULL, `description_loc8` varchar(255) DEFAULT NULL, PRIMARY KEY (`entry`))
INSERT INTO script_waypoint VALUES(25208,0,4013.51,6390.33,29.970,15000,'Lurgglbr - after escaped from cage')
CREATE TABLE `creature_linking_template` ( `entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'creature_template.entry of the slave mob that is linked', `map` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Id of map of the mobs', `master_entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'master to trigger events', `flag` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'flag - describing what should happen when', `search_range` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'search_range - describing in which range (spawn-coords) master and slave are linked together', PRIMARY KEY (`entry`,`map`))
INSERT INTO spell_target_position VALUES (17095, 249, -61.834255, -215.051910, -84.673416, 3.142)
UPDATE instance_template SET ScriptName=instance_molten_core WHERE map=409
CREATE TABLE `spell_template` ( `id` int(11) unsigned NOT NULL DEFAULT '0', `proc_flags` int(11) unsigned NOT NULL DEFAULT '0', `proc_chance` int(11) unsigned NOT NULL DEFAULT '0', `duration_index` int(11) unsigned NOT NULL DEFAULT '0', `effect0` int(11) unsigned NOT NULL DEFAULT '0', `effect0_implicit_target_a` int(11) unsigned NOT NULL DEFAULT '0', `effect0_radius_idx` int(11) unsigned NOT NULL DEFAULT '0', `effect0_apply_aura_name` int(11) unsigned NOT NULL DEFAULT '0', `effect0_misc_value` int(11) unsigned NOT NULL DEFAULT '0', `effect0_trigger_spell` int(11) unsigned NOT NULL DEFAULT '0', `comments` varchar(255) NOT NULL, PRIMARY KEY (`id`))
UPDATE spell_proc_event SET ppmRate = 20 WHERE entry IN (20165,20347,20348,20349,27160)
UPDATE spell_proc_event SET SchoolMask = 0 WHERE entry = 19407
UPDATE creature_template SET ScriptName=npc_immortal_guardian WHERE entry=33988
INSERT INTO mangos_string VALUES (355,'Title %u (%s) set as current selected title for player %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE quest_start_scripts SET temp=datalong4 WHERE command IN (0, 1, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
UPDATE creature_template SET ScriptName=npc_infernal_target WHERE entry=17644
CREATE TABLE `reserved_name` ( `name` varchar(12) NOT NULL DEFAULT '', PRIMARY KEY (`name`))
update command set security=1 where name in (gogrid, goxy)
UPDATE creature_template SET ScriptName=guard_contested WHERE entry IN (9460,4624,3502,11190,15184)
INSERT INTO spell_proc_event VALUES(53601, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x000A02A8, 0x00000000, 0.000000, 0.000000, 6)
INSERT INTO command VALUES('pinfo','2','Syntax: .pinfo [$player_name]\r\n\r\nOutput account information for selected player or player find by $player_name.')
CREATE TABLE `guild_eventlog` ( `guildid` int(11) unsigned NOT NULL COMMENT 'Guild Identificator', `LogGuid` int(11) unsigned NOT NULL COMMENT 'Log record identificator - auxiliary column', `EventType` tinyint(1) unsigned NOT NULL COMMENT 'Event type', `PlayerGuid1` int(11) unsigned NOT NULL COMMENT 'Player 1', `PlayerGuid2` int(11) unsigned NOT NULL COMMENT 'Player 2', `NewRank` tinyint(2) unsigned NOT NULL COMMENT 'New rank(in case promotion/demotion)', `TimeStamp` bigint(20) unsigned NOT NULL COMMENT 'Event UNIX time', PRIMARY KEY (`guildid`,`LogGuid`), KEY `Idx_PlayerGuid1` (`PlayerGuid1`), KEY `Idx_PlayerGuid2` (`PlayerGuid2`), KEY `Idx_LogGuid` (`LogGuid`))
UPDATE creature_template SET ScriptName=npc_captured_vanguard WHERE entry=20763
UPDATE creature_template SET ScriptName=npc_amanishi_hatcher WHERE entry IN (23818,24504)
INSERT INTO spell_target_position VALUES (18600, 249, -30.907579, -211.058197, -88.592125, 5.587)
UPDATE gossip_scripts SET temp=temp WHERE command=15
CREATE TABLE `creature_movement_template` ( `entry` mediumint(8) unsigned NOT NULL COMMENT 'Creature entry', `point` mediumint(8) unsigned NOT NULL DEFAULT '0', `position_x` float NOT NULL DEFAULT '0', `position_y` float NOT NULL DEFAULT '0', `position_z` float NOT NULL DEFAULT '0', `waittime` int(10) unsigned NOT NULL DEFAULT '0', `script_id` mediumint(8) unsigned NOT NULL DEFAULT '0', `textid1` int(11) NOT NULL DEFAULT '0', `textid2` int(11) NOT NULL DEFAULT '0', `textid3` int(11) NOT NULL DEFAULT '0', `textid4` int(11) NOT NULL DEFAULT '0', `textid5` int(11) NOT NULL DEFAULT '0', `emote` mediumint(8) unsigned NOT NULL DEFAULT '0', `spell` mediumint(8) unsigned NOT NULL DEFAULT '0', `orientation` float NOT NULL DEFAULT '0', `model1` mediumint(9) NOT NULL DEFAULT '0', `model2` mediumint(9) NOT NULL DEFAULT '0', PRIMARY KEY (`entry`,`point`))
UPDATE creature_template SET ScriptName=npc_mountaineer_pebblebitty WHERE entry=3836
INSERT INTO mangos_string VALUES(1149,' (Pool %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE gossip_scripts SET data_flags=data_flags WHERE command=3
UPDATE creature_template SET ScriptName=mob_fel_orc_convert WHERE entry=17083
INSERT INTO spell_proc_event VALUES(45355, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45)
CREATE TABLE `character_queststatus_monthly` ( `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', `quest` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', PRIMARY KEY (`guid`,`quest`))
UPDATE arena_team_member SET points_to_add = %u WHERE arenateamid = %u
UPDATE creature_template SET ScriptName=npc_spell_summon_reflections WHERE entry=36723
UPDATE gameobject_template SET ScriptName=go_mana_bomb WHERE entry=184725
INSERT INTO spell_proc_event VALUES (30301, 0x0000007E, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0)
UPDATE creature_template SET ScriptName=npc_arugal WHERE entry=10000
UPDATE creature_template SET ScriptName=npc_silvermoon_harry WHERE entry=24539
INSERT INTO mangos_string VALUES(12,'Online players: %u (max: %u) Queued players: %u (max: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE gameobject_template SET ScriptName=go_manaforge_control_console WHERE entry IN (183770,183956,184311,184312)
SELECT entry,bg_template FROM battlemaster_entry
UPDATE creature_template SET ScriptName=npc_millhouse_manastorm WHERE entry=20977
CREATE TABLE `characters`.`character_aura` ( `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier', `spell` int(11) unsigned NOT NULL default '0', `effect_index` int(11) unsigned NOT NULL default '0', `amount` int(11) NOT NULL default '0', `maxduration` int(11) NOT NULL default '0', `remaintime` int(11) NOT NULL default '0', `remaincharges` int(11) NOT NULL default '0', PRIMARY KEY (`guid`,`spell`,`effect_index`))
UPDATE creature_template SET ScriptName=boss_champion_hunter WHERE entry IN (34657,35570)
CREATE TABLE `guild_eventlog` ( `guildid` int(11) NOT NULL COMMENT 'Guild Identificator', `LogGuid` int(11) NOT NULL COMMENT 'Log entry identificator', `EventType` tinyint(1) NOT NULL COMMENT 'Event type', `PlayerGuid1` int(11) NOT NULL COMMENT 'Player 1', `PlayerGuid2` int(11) NOT NULL COMMENT 'Player 2', `NewRank` tinyint(2) NOT NULL COMMENT 'New rank(in case promotion/demotion)', `TimeStamp` bigint(20) NOT NULL COMMENT 'Event UNIX time')
UPDATE gameobject_scripts SET datalong=2 WHERE command=0
UPDATE creature_template SET ScriptName=boss_champion_warrior WHERE entry IN (34705,35572)
SELECT entry,item FROM item_convert
INSERT INTO spell_target_position VALUES (18614, 249, -34.045738, -224.714661, -85.529465, 4.526)
UPDATE creature_template SET ScriptName=boss_ymiron WHERE entry=26861
UPDATE gameobject_template SET ScriptName=go_tele_to_violet_stand WHERE entry=191229
UPDATE creature_template SET ScriptName=npc_kelerun_bloodmourn WHERE entry=17807
UPDATE creature_template SET ScriptName=npc_shay_leafrunner WHERE entry=7774
SELECT entry,skill FROM skill_fishing_base_level
UPDATE gameobject_template SET ScriptName=go_ethereum_stasis WHERE entry=184595
UPDATE creature_template SET ScriptName=npc_oox17tn WHERE entry=7784
UPDATE guild SET info=%s WHERE guildid=%u
UPDATE creature_template SET ScriptName=npc_hodir_fury_reticle WHERE entry=33108
SELECT guid, master_guid, flag FROM creature_linking
UPDATE gameobject_scripts SET temp=temp WHERE command=0
UPDATE instance_template SET ScriptName=instance_sunwell_plateau WHERE map=580
UPDATE spell_scripts SET temp=temp WHERE command=26
UPDATE creature_template SET ScriptName=npc_restless_apparition WHERE entry=23861
INSERT INTO spell_chain VALUES(53290, 0, 53290, 1, 0)
SELECT * FROM pool_gameobject AS p, gameobject AS g, gameobject_template AS t WHERE p.guid=g.guid AND g.id=t.entry AND NOT t.type IN (3 /*CHEST*/, 6 /*TRAP*/, 10 /*GOOBER*/, 25 /*FISHINGHOLE*/);
SELECT race, class, Spell FROM playercreateinfo_spell
UPDATE creature_template SET ScriptName=npc_voice_yogg_saron WHERE entry=33280
UPDATE creature_template SET ScriptName=npc_king_llane WHERE entry=21684
UPDATE guild_bank_eventlog SET TabId=%u WHERE guildid=%u
CREATE TABLE `creature_ai_summons` ( `id` int(11) unsigned NOT NULL COMMENT 'Location Identifier' AUTO_INCREMENT, `position_x` float NOT NULL default '0', `position_y` float NOT NULL default '0', `position_z` float NOT NULL default '0', `orientation` float NOT NULL default '0', `spawntimesecs` int(11) unsigned NOT NULL default '120', `comment` varchar(255) NOT NULL default '' COMMENT 'Summon Comment', PRIMARY KEY (`id`))
UPDATE creature_template SET ScriptName=boss_hodir WHERE entry=32845
UPDATE creature_template SET ScriptName=mob_underbog_mushroom WHERE entry=17990
SELECT * FROM `arena_team_stats`;
SELECT data, text, mail_id, item_guid, item_template FROM mail_items JOIN item_instance ON item_guid = guid WHERE receiver = '%u'
UPDATE creature_template SET ScriptName=boss_romulo WHERE entry=17533
UPDATE creature_template SET ScriptName=npc_light_orb_collector WHERE entry IN (21926,22333)
INSERT INTO command VALUES('waterwalk',3,'Syntax: .waterwalk on/off\r\n\r\nSet on/off waterwalk state for selected player.')
UPDATE quest_end_scripts SET datalong=4 WHERE command=0
UPDATE creature_template SET ScriptName=npc_eye_of_acherus WHERE entry=28511
CREATE TABLE `db_script_string` ( `entry` int(11) unsigned NOT NULL default '0', `content_default` text NOT NULL, `content_loc1` text, `content_loc2` text, `content_loc3` text, `content_loc4` text, `content_loc5` text, `content_loc6` text, `content_loc7` text, `content_loc8` text, PRIMARY KEY (`entry`))
CREATE TABLE `game_weather` ( `zone` mediumint(8) unsigned NOT NULL DEFAULT '0', `spring_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', `spring_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', `spring_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', `summer_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', `summer_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', `summer_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', `fall_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', `fall_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', `fall_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', `winter_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', `winter_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', `winter_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', PRIMARY KEY (`zone`))
CREATE TABLE `game_event_status` ( `event` smallint(6) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`event`))
CREATE TABLE `spell_proc_item_enchant` ( `entry` mediumint(8) unsigned NOT NULL, `ppmRate` float NOT NULL DEFAULT '0', PRIMARY KEY (`entry`))
UPDATE creature_template SET ScriptName=boss_fankriss WHERE entry=15510
UPDATE creature_template SET ScriptName=npc_depth_charge WHERE entry=23025
UPDATE creature_template SET ScriptName=boss_eye_of_cthun WHERE entry=15589
INSERT INTO spell_affect VALUES (28746,1,0,0,0,0,0,0x0000000100000406,0)
UPDATE creature_template SET ScriptName=boss_terestian_illhoof WHERE entry=15688
UPDATE creature_template SET ScriptName=boss_lord_sanguinar WHERE entry=20060
UPDATE creature_template SET ScriptName=boss_strawman WHERE entry=17543
UPDATE creature_template SET ScriptName=boss_chromaggus WHERE entry=14020
UPDATE creature_template SET ScriptName=npc_mimiron_flames WHERE entry IN (34363,34121)
CREATE TABLE `pool_creature` ( `guid` int(10) unsigned NOT NULL default '0', `pool_entry` mediumint(8) unsigned NOT NULL default '0', `chance` float unsigned NOT NULL default '0', PRIMARY KEY (`pool_entry`,`guid`))
INSERT INTO mangos_string VALUES(666,'After your recent battle in %s our best attempts to award you a Mark of Honor failed. Enclosed you will find the Mark of Honor we were not able to deliver to you at the time. Thanks for fighting in %s!',NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE gameobject_template SET ScriptName=go_strange_gong WHERE entry=187359
UPDATE creature_template SET ScriptName=boss_grand_astromancer_capernian WHERE entry=20062
UPDATE creature_template SET ScriptName=npc_bonker_togglevolt WHERE entry=25589
UPDATE creature_template SET ScriptName=npc_spell_aura_dummy_frostmourne_equip WHERE entry=37226
UPDATE creature_template SET ScriptName=mob_webbed_creature WHERE entry=17680
UPDATE characters SET gender = %u, playerBytes = %u, playerBytes2 = %u WHERE guid = %u
SELECT id, map, difficulty, resettime FROM instance WHERE resettime > 0
INSERT INTO spell_chain VALUES(61846, 0, 61846, 1, 0)
UPDATE creature_template SET ScriptName=boss_ayamiss WHERE entry=15369
CREATE TABLE `disenchant_loot_template` ( `entry` int(11) unsigned NOT NULL default '0', `item` int(11) unsigned NOT NULL default '0', `ChanceOrRef` float NOT NULL default '100', `QuestChanceOrGroup` tinyint(3) NOT NULL default '0', `mincount` tinyint(3) unsigned NOT NULL default '1', `maxcount` tinyint(3) unsigned NOT NULL default '1', `quest_freeforall` tinyint(3) unsigned NOT NULL default '1', PRIMARY KEY (`entry`,`item`))
UPDATE event_scripts SET datalong2=0 WHERE command=15
UPDATE instance_template SET ScriptName=instance_halls_of_stone WHERE map=599
INSERT INTO spell_chain VALUES(65661,0,65661,1,0)
UPDATE creature_movement_scripts SET temp=temp WHERE command IN (23, 24) AND (data_flags & 0x01 > 0)
INSERT INTO scripted_event_id VALUES(20711,'event_go_focusing_iris')
UPDATE creature_template SET ScriptName=npc_daranelle WHERE entry=21469
UPDATE creature_template SET ScriptName=boss_forgemaster_garfrost WHERE entry=36494
UPDATE quest_end_scripts SET temp=temp WHERE command=26
UPDATE creature_template SET ScriptName=npc_grauf WHERE entry=26893
UPDATE spell_proc_event SET SkillId = 0 WHERE entry = 23695
CREATE TABLE `prospecting_loot_template` ( `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', `item` mediumint(8) unsigned NOT NULL DEFAULT '0', `ChanceOrQuestChance` float NOT NULL DEFAULT '100', `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', `mincountOrRef` mediumint(9) NOT NULL DEFAULT '1', `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1', `condition_id` mediumint(8) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`entry`,`item`))
UPDATE gameobject_template SET ScriptName=go_big_red_button WHERE entry=194739
UPDATE gameobject_scripts SET temp=temp WHERE command=26
UPDATE creature_template SET ScriptName=guard_silvermoon WHERE entry=16222
INSERT INTO playercreateinfo_action VALUES (4,11,9,58984,0)
UPDATE creature_template SET ScriptName=boss_spirit_lynx WHERE entry=24143
UPDATE creature_template SET ScriptName=boss_high_inquisitor_whitemane WHERE entry=3977
INSERT INTO scripted_areatrigger VALUES (3587,'at_ancient_leaf')
UPDATE creature_template SET ScriptName=boss_razorscale WHERE entry=33186
UPDATE gameobject_template SET ScriptName=go_sapphiron_birth WHERE entry=181356
UPDATE instance_template SET ScriptName=instance_blackwing_lair WHERE map=469
UPDATE creature_template SET ScriptName=npc_defias_traitor WHERE entry=467
UPDATE creature_template SET ScriptName=mob_abyssal WHERE entry=17454
CREATE TABLE `locales_gossip_menu_option` ( `menu_id` smallint(6) unsigned NOT NULL DEFAULT '0', `id` smallint(6) unsigned NOT NULL DEFAULT '0', `option_text_loc1` text, `option_text_loc2` text, `option_text_loc3` text, `option_text_loc4` text, `option_text_loc5` text, `option_text_loc6` text, `option_text_loc7` text, `option_text_loc8` text, `box_text_loc1` text, `box_text_loc2` text, `box_text_loc3` text, `box_text_loc4` text, `box_text_loc5` text, `box_text_loc6` text, `box_text_loc7` text, `box_text_loc8` text, PRIMARY KEY (`menu_id`,`id`))
INSERT INTO scripted_areatrigger VALUES(2026,'at_blackrock_spire')
CREATE TABLE `characters`.`auctionhouse` ( `id` int(11) unsigned NOT NULL default '0', `auctioneerguid` int(11) unsigned NOT NULL default '0', `itemguid` int(11) unsigned NOT NULL default '0', `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier', `itemowner` int(11) unsigned NOT NULL default '0', `buyoutprice` int(11) NOT NULL default '0', `time` bigint(40) NOT NULL default '0', `buyguid` int(11) unsigned NOT NULL default '0', `lastbid` int(11) NOT NULL default '0', `startbid` int(11) NOT NULL default '0', `deposit` int(11) NOT NULL default '0', `location` tinyint(3) unsigned NOT NULL default '3', PRIMARY KEY (`id`))
UPDATE creature_template SET ScriptName=boss_sartura WHERE entry=15516
UPDATE creature_template SET ScriptName=npc_dark_matter WHERE entry=28235
UPDATE quest_start_scripts SET datalong=1 WHERE command=0
INSERT INTO mangos_string VALUES (754,'The battle for Arathi Basin begins in 2 minutes.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE creature_template SET ScriptName=boss_maiev_shadowsong WHERE entry=23197
INSERT INTO mangos_string VALUES(343,'Creature (Entry: %u) cannot be tamed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
SELECT entry,item FROM item_expire_convert
INSERT INTO spell_bonus_data VALUES (63106, 0, 0, 0, 'Warlock - Siphon Life Triggered')
INSERT INTO mangos_string VALUES (753,'Only the Horde can use that portal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
SELECT position_x,position_y,position_z,orientation,map,taxi_path FROM characters WHERE guid = '%u'
INSERT INTO scripted_areatrigger VALUES (5108,'at_stormwright_shelf')
INSERT INTO spell_affect VALUES (29888,0,0,0,0,0,0,0x0000000040000000,0)
SELECT * FROM `petition_sign`;
UPDATE creature_template SET ScriptName=npc_kernobee WHERE entry=7850
SELECT * FROM `character_gifts`;
CREATE TABLE `characters`.`character_ticket` ( `ticket_id` int(11) unsigned NOT NULL auto_increment, `guid` int(11) unsigned NOT NULL default '0', `ticket_text` text, `ticket_category` int(1) NOT NULL default '0', PRIMARY KEY (`ticket_id`))
SELECT id FROM areatrigger_tavern
UPDATE creature_template SET ScriptName=npc_tobias_seecher WHERE entry=9679
UPDATE creature_template SET ScriptName=boss_anzu WHERE entry=23035
UPDATE creature_template SET ScriptName=boss_teron_gorefiend WHERE entry=22871
UPDATE character_social SET note = %s WHERE guid = %u
select *,0 from mangos.account;
UPDATE instance_template SET ScriptName=instance_trial_of_the_champion WHERE map=650
CREATE TABLE `game_event_gameobject` ( `guid` int(10) unsigned NOT NULL, `event` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Negatives value to remove during event and ignore pool grouping, positive value for spawn during event and if guid is part of pool then al pool memebers must be listed as part of event spawn.', PRIMARY KEY (`guid`))
SELECT id,quest FROM areatrigger_involvedrelation
INSERT INTO spell_proc_event VALUES (34074, 0, 9, 522819, 8917121, 513, 0, 0, 0, 0, 0)
INSERT INTO scripted_areatrigger VALUES(4752,'at_nats_landing')
UPDATE instance_template SET ScriptName=instance_dark_portal WHERE map=269
SELECT entry, mask FROM spell_elixir
UPDATE spell_scripts SET temp=temp WHERE command=28
INSERT INTO spell_target_position VALUES (18564, 249, -56.559654, -241.223923, -85.423607, 0.666)
SELECT spell_id, prev_spell, first_spell, rank, req_spell FROM spell_chain
CREATE TABLE `creature_movement_scripts` ( `id` mediumint(8) unsigned NOT NULL default '0', `delay` int(10) unsigned NOT NULL default '0', `command` mediumint(8) unsigned NOT NULL default '0', `datalong` mediumint(8) unsigned NOT NULL default '0', `datalong2` int(10) unsigned NOT NULL default '0', `datalong3` int(10) unsigned NOT NULL default '0', `datalong4` int(10) unsigned NOT NULL default '0', `data_flags` tinyint(3) unsigned NOT NULL default '0', `dataint` int(11) NOT NULL default '0', `x` float NOT NULL default '0', `y` float NOT NULL default '0', `z` float NOT NULL default '0', `o` float NOT NULL default '0')
UPDATE creature_movement_scripts SET temp=0x02 WHERE command=14
INSERT INTO mangos_string VALUES(65,'Using script library: <Unknown Script Library>',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
CREATE TABLE `auctionhouse` ( `id` bigint(20) unsigned NOT NULL default '0', `auctioneerguid` int(32) NOT NULL default '0', `itemguid` int(32) NOT NULL default '0', `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier', `itemowner` int(32) NOT NULL default '0', `buyoutprice` int(32) NOT NULL default '0', `time` bigint(40) NOT NULL default '0', `buyguid` int(32) NOT NULL default '0', `lastbid` int(32) NOT NULL default '0', `startbid` int(32) NOT NULL default '0', `deposit` int(11) NOT NULL default '0', `location` tinyint(3) unsigned NOT NULL default '3', PRIMARY KEY (`id`))
UPDATE creature_template SET ScriptName=npc_skyguard_prisoner WHERE entry=23383
UPDATE creature_template SET ScriptName=boss_nalorakk WHERE entry=23576
UPDATE creature_template SET ScriptName=boss_eydis WHERE entry=34496
UPDATE realmlist SET realmflags = realmflags WHERE id = %u
INSERT INTO command VALUES('gm ingame',0,'Syntax: .gm ingame\r\n\r\nDisplay a list of available in game Game Masters.')
CREATE TABLE `playercreateinfo` ( `race` tinyint(3) unsigned NOT NULL DEFAULT '0', `class` tinyint(3) unsigned NOT NULL DEFAULT '0', `map` smallint(5) unsigned NOT NULL DEFAULT '0', `zone` mediumint(8) unsigned NOT NULL DEFAULT '0', `position_x` float NOT NULL DEFAULT '0', `position_y` float NOT NULL DEFAULT '0', `position_z` float NOT NULL DEFAULT '0', `orientation` float NOT NULL DEFAULT '0', PRIMARY KEY (`race`,`class`))
INSERT INTO script_waypoint VALUES(15420, 0, 9294.78, -6682.51, 22.42, 0, '')
SELECT id,ghost_zone,faction FROM game_graveyard_zone
SELECT id, position_x, position_y, position_z, orientation, map, name FROM game_tele
INSERT INTO spell_proc_event VALUES (47245, 0x20, 5, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0)
INSERT INTO spell_target_position VALUES (17087, 249, 7.479571, -215.207809, -86.075531, 3.142)
UPDATE playercreateinfo_action SET button = 4 WHERE race = 10
UPDATE creature_movement_scripts SET datalong2=0 WHERE command=14
INSERT INTO spell_proc_event VALUES(60487, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 15)
UPDATE instance_template SET ScriptName=instance_ruby_sanctum WHERE map=724
SELECT * FROM character_db_version LIMIT 1
UPDATE event_scripts SET temp=temp WHERE command=26
UPDATE creature_template SET ScriptName=boss_hydross_the_unstable WHERE entry=21216
UPDATE event_scripts SET temp=temp WHERE command=26
CREATE TABLE `fishing_loot_template` ( `entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'entry 0 used for junk loot at fishing fail (if allowed by config option)', `item` mediumint(8) unsigned NOT NULL DEFAULT '0', `ChanceOrQuestChance` float NOT NULL DEFAULT '100', `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', `mincountOrRef` mediumint(9) NOT NULL DEFAULT '1', `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1', `condition_id` mediumint(8) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`entry`,`item`))
UPDATE instance_template SET ScriptName=instance_blackrock_depths WHERE map =230
INSERT INTO spell_target_position VALUES (18585, 249, 3.860220, -183.227249, -86.375381, 3.776)
UPDATE creature_template SET ScriptName=boss_doomrel WHERE entry=9039
CREATE TABLE `pet_spell` ( `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', `spell` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier', `active` int(11) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`spell`))
INSERT INTO script_waypoint VALUES(17969, 0, -930.048950, 5288.080078, 23.848402, 0, '')
INSERT INTO mangos_string VALUES (1193,'Gear Score of Player %s is %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
INSERT INTO spell_template VALUES(34810, 0x00000000, 101, 21, 28, 42, 8, 0, 20083, 64, 0, 'Summon Summoned Bloodwarder Mender behind of the caster')
SELECT entry, ScriptName FROM scripted_areatrigger
UPDATE guild_member SET offnote = %s WHERE guid = %u
UPDATE gameobject_template SET ScriptName=go_containment_sphere WHERE entry IN (188526, 188527, 188528)
INSERT INTO spell_template VALUES(44920, 0x00000000, 101, 21, 6, 1, 0, 56, 24941, 0, 'Model - Shattered Sun Marksman - BE Male Tier 4')
UPDATE creature_template SET ScriptName=boss_sartharion WHERE entry=28860
SELECT LogGuid, EventType, PlayerGuid1, PlayerGuid2, NewRank, TimeStamp FROM guild_eventlog WHERE guildid=%u ORDER BY TimeStamp DESC,LogGuid DESC LIMIT %u
UPDATE character_spell SET active=1 WHERE spell=16857
UPDATE event_scripts SET temp=temp WHERE command=28
CREATE TABLE `instance` ( `id` int(11) unsigned NOT NULL default '0', `map` int(11) unsigned NOT NULL default '0', `resettime` bigint(40) NOT NULL default '0', PRIMARY KEY (`id`), KEY `map` (`map`), KEY `resettime` (`resettime`))
INSERT INTO mangos_string VALUES (752,'Only the Alliance can use that portal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE event_scripts SET temp=datalong4 WHERE command IN (0, 1, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
UPDATE creature_template SET ScriptName=boss_doomwalker WHERE entry=17711
UPDATE spell_scripts SET datalong=1 WHERE command=0
UPDATE creature_template SET ScriptName=mob_archaeras_add WHERE entry IN (7309,7076,7077,10120)
CREATE TABLE `locales_achievement_reward` ( `entry` mediumint(8) unsigned NOT NULL default '0', `subject_loc1` varchar(100) NOT NULL default '', `subject_loc2` varchar(100) NOT NULL default '', `subject_loc3` varchar(100) NOT NULL default '', `subject_loc4` varchar(100) NOT NULL default '', `subject_loc5` varchar(100) NOT NULL default '', `subject_loc6` varchar(100) NOT NULL default '', `subject_loc7` varchar(100) NOT NULL default '', `subject_loc8` varchar(100) NOT NULL default '', `text_loc1` text default NULL, `text_loc2` text default NULL, `text_loc3` text default NULL, `text_loc4` text default NULL, `text_loc5` text default NULL, `text_loc6` text default NULL, `text_loc7` text default NULL, `text_loc8` text default NULL, PRIMARY KEY (`entry`))
SELECT * FROM `auctionhouse`;
CREATE TABLE `creature_questrelation` ( `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', `quest` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', PRIMARY KEY (`id`,`quest`))
INSERT INTO spell_bonus_data VALUES(1776, 0, 0, 0.21, 0, 'Rogue - Gouge')
UPDATE gossip_scripts SET temp=temp WHERE command=15
SELECT entry,name_loc1,subname_loc1,name_loc2,subname_loc2,name_loc3,subname_loc3,name_loc4,subname_loc4,name_loc5,subname_loc5,name_loc6,subname_loc6,name_loc7,subname_loc7,name_loc8,subname_loc8 FROM locales_creature
UPDATE world SET data = %s WHERE map = %u
CREATE TABLE `character_queststatus_daily` ( `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', `quest` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', PRIMARY KEY (`guid`,`quest`))
CREATE TABLE `temp_auras` ( `spell` mediumint(8) unsigned NOT NULL)
INSERT INTO spell_proc_event VALUES(34138,0,0,0,11,0x0000000000000080,0x08000000,0)
CREATE TABLE `quest_poi_points` ( `questId` int(11) unsigned NOT NULL DEFAULT '0', `objIndex` int(11) NOT NULL DEFAULT '0', `x` int(11) NOT NULL DEFAULT '0', `y` int(11) NOT NULL DEFAULT '0', KEY `idx` (`questId`,`objIndex`))
UPDATE creature_template SET ScriptName=npc_keeper_mimiron WHERE entry=33412
INSERT INTO spell_target_position VALUES (18589, 249, -15.602085, -216.893936, -88.403183, 3.776)
INSERT INTO character_battleground_data VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
UPDATE creature_template SET ScriptName=boss_auriaya WHERE entry=33515
UPDATE creature_template SET flags_extra = flags_extra WHERE rank = 3
UPDATE creature_template SET ScriptName=boss_vexallus WHERE entry=24744
UPDATE creature_template SET ScriptName=boss_illidan_stormrage WHERE entry=22917
SELECT MAX(setguid) FROM character_equipmentsets
INSERT INTO mangos_string VALUES(468,'id: %d eff: %d type: %d duration: %d maxduration: %d name: %s%s%s caster: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
SELECT NextArenaPointDistributionTime FROM saved_variables
UPDATE creature_template SET ScriptName=npc_theldren_trigger WHERE entry=16079
UPDATE creature_template SET ScriptName=npc_laughing_skull WHERE entry=33990
INSERT INTO spell_chain VALUES/*--------------------(613)Discipline------------------*//*Rapture*/(47535,0,47535,1,0)
CREATE TABLE `creature_ai_summons` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Location Identifier', `position_x` float NOT NULL DEFAULT '0', `position_y` float NOT NULL DEFAULT '0', `position_z` float NOT NULL DEFAULT '0', `orientation` float NOT NULL DEFAULT '0', `spawntimesecs` int(11) unsigned NOT NULL DEFAULT '120', `comment` varchar(255) NOT NULL DEFAULT '' COMMENT 'Summon Comment', PRIMARY KEY (`id`))
INSERT INTO mangos_string VALUES(372,'No achievement!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE creature_template SET ScriptName=boss_vaelastrasz WHERE entry=13020
CREATE TABLE `spell_teleport` ( `id` int(11) unsigned NOT NULL default '0' COMMENT 'Identifier', `target_map` int(11) unsigned NOT NULL default '0', `target_position_x` float NOT NULL default '0', `target_position_y` float NOT NULL default '0', `target_position_z` float NOT NULL default '0', `target_orientation` float NOT NULL default '0', PRIMARY KEY (`id`))
UPDATE creature_template SET ScriptName=npc_living_constellation WHERE entry=33052
SELECT DISTINCT(ScriptName) FROM gameobject_template WHERE ScriptName <> ''
SELECT item FROM disenchant_loot_template UNION
UPDATE group_member SET assistant=%u WHERE memberGuid=%u
INSERT INTO spell_target_position VALUES (21137, 249, -114.281258, -213.866486, -73.851128, 3.142)
INSERT INTO spell_template VALUES(23770, 0x24800100, 0x10000088, 0x00000001, 0x00100000, 0x00000000, 101, 367, 6, 25, 0, 0, 4, 0, 0, 0, 'Sayge''s timer - Darkmoon Faire')
UPDATE creature_template SET ScriptName=boss_faerlina WHERE entry=15953
UPDATE creature_template SET ScriptName=mob_enslaved_netherwing_drake WHERE entry=21722
UPDATE instance_template SET ScriptName=instance_pinnacle WHERE map=575
INSERT INTO script_waypoint VALUES(4983, 0, -3322.649414, -3124.631836, 33.842, 0, '')
INSERT INTO script_waypoint VALUES(12429, 0, 9654.19, 909.58, 1272.11, 0, '')
CREATE TABLE `characters`.`character_queststatus_daily` ( `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier', `time` bigint(20) unsigned NOT NULL default '0', PRIMARY KEY (`guid`,`quest`), KEY `idx_guid` (`guid`))
UPDATE guild_member SET BankResetTimeMoney=0 WHERE guildid=%u
SELECT name FROM reserved_name
UPDATE creature_template SET ScriptName=mob_ashtongue_channeler WHERE entry=23421
INSERT INTO script_waypoint VALUES(30658, 0, 1830.504517, 799.356506, 44.341801, 5000, 'use activation')
UPDATE creature_template SET ScriptName=boss_cthun WHERE entry=15727
INSERT INTO spell_target_position VALUES (18602, 249, -12.223192, -224.666168, -87.856300, 5.587)
UPDATE playercreateinfo SET orientation= 2 WHERE race=5
SELECT * FROM `item_text`;
INSERT INTO spell_bonus_data VALUES (34913, 0, 0, 0, 'Mage - Molten Armor Triggered Rank 1')
UPDATE creature_template SET ScriptName=boss_loatheb WHERE entry=16011
INSERT INTO spell_target_position VALUES (18592, 249, -35.439922, -217.260284, -87.336311, 3.776)
INSERT INTO spell_proc_event VALUES(69755, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45)
INSERT INTO script_waypoint VALUES(17225, 0, -11033.51, -1784.65, 182.284, 3000, '')
UPDATE creature_template SET ScriptName=npc_ironhand_guardian WHERE entry=8982
CREATE TABLE `pool_creature` ( `guid` int(10) unsigned NOT NULL DEFAULT '0', `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT '0', `chance` float unsigned NOT NULL DEFAULT '0', `description` varchar(255) NOT NULL, PRIMARY KEY (`guid`), KEY `pool_idx` (`pool_entry`))
UPDATE creature_template SET ScriptName=npc_hungry_nether_ray WHERE entry=23439
UPDATE creature_template SET ScriptName=boss_flame_leviathan WHERE entry=33113
INSERT INTO script_waypoint VALUES(3678, 0, -134.925, 125.468, -78.16, 0, '')
CREATE TABLE `spell_learn_spell` ( `entry` smallint(5) unsigned NOT NULL DEFAULT '0', `SpellID` smallint(5) unsigned NOT NULL DEFAULT '0', `Active` tinyint(3) unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`entry`,`SpellID`))
UPDATE quest_start_scripts SET temp=temp WHERE command=15
CREATE TABLE `game_event_quest` ( `quest` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'entry from quest_template', `event` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'entry from game_event', PRIMARY KEY (`quest`,`event`))
INSERT INTO spell_chain VALUES(50245, 0, 50245, 1, 0)
UPDATE gameobject_scripts SET datalong2=0 WHERE command=3
UPDATE creature_template SET ScriptName=boss_tharonja WHERE entry=26632
UPDATE creature_template SET ScriptName=boss_warp_splinter WHERE entry=17977
UPDATE creature_template SET ScriptName=boss_dathrohan_balnazzar WHERE entry=10812
UPDATE creature_template SET ScriptName=boss_general_vezax WHERE entry=33271
SELECT entry, gender, title_A, title_H, item, sender, subject, text FROM achievement_reward
UPDATE instance_template SET ScriptName=instance_the_eye WHERE map=550
INSERT INTO spell_target_position VALUES (18565, 249, -51.067528, -228.909988, -85.765556, 0.666)
INSERT INTO mangos_string VALUES(1166,'Scripting library not found or not accessable.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE creature_template SET ScriptName=npc_scourged_flamespitter WHERE entry=25582
CREATE TABLE `character_aura` ( `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', `caster_guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier', `item_guid` int(11) unsigned NOT NULL DEFAULT '0', `spell` int(11) unsigned NOT NULL DEFAULT '0', `stackcount` int(11) unsigned NOT NULL DEFAULT '1', `remaincharges` int(11) unsigned NOT NULL DEFAULT '0', `basepoints0` int(11) NOT NULL DEFAULT '0', `basepoints1` int(11) NOT NULL DEFAULT '0', `basepoints2` int(11) NOT NULL DEFAULT '0', `periodictime0` int(11) unsigned NOT NULL DEFAULT '0', `periodictime1` int(11) unsigned NOT NULL DEFAULT '0', `periodictime2` int(11) unsigned NOT NULL DEFAULT '0', `maxduration` int(11) NOT NULL DEFAULT '0', `remaintime` int(11) NOT NULL DEFAULT '0', `effIndexMask` int(11) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`caster_guid`,`item_guid`,`spell`))
UPDATE creature_template SET ScriptName=boss_moorabi WHERE entry=29305
CREATE TABLE `pvpstats_battlegrounds` ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, `winner_team` TINYINT NOT NULL, `bracket_id` TINYINT UNSIGNED NOT NULL, `type` TINYINT UNSIGNED NOT NULL, `date` DATETIME NOT NULL, PRIMARY KEY (`id`))
INSERT INTO mangos_string VALUES(338,'You set waterwalk mode %s for %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE creature_template SET ScriptName=npc_kinetic_bomb WHERE entry=38454
UPDATE spell_proc_event SET ppmRate = 20 WHERE entry IN (20166,20356,20357,27166)
INSERT INTO command VALUES('targetobject','2','Usage: .targetobject [#go_id|#go_name_part]\r\nLocate and show position nearest gameobject. If #go_id or #go_name_part provide then locate and show position of nearest gameobject with gameobject template id #go_id or name included #go_name_part as part.')
SELECT * FROM `character_kill`;
UPDATE creature_template SET ScriptName=guard_exodar WHERE entry=16733
UPDATE creature_template SET ScriptName=boss_warbringer_omrogg WHERE entry=16809
UPDATE gossip_scripts SET temp=datalong4 WHERE command IN (0, 1, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
SELECT username FROM account WHERE id = '%u'
UPDATE quest_start_scripts SET data_flags=data_flags WHERE command=3
UPDATE creature_template SET ScriptName=boss_essence_of_suffering WHERE entry=23418
CREATE TABLE `pet_levelstats` ( `creature_entry` mediumint(8) unsigned NOT NULL, `level` tinyint(3) unsigned NOT NULL, `hp` smallint(5) unsigned NOT NULL, `mana` smallint(5) unsigned NOT NULL, `armor` int(10) unsigned NOT NULL DEFAULT '0', `str` smallint(5) unsigned NOT NULL, `agi` smallint(5) unsigned NOT NULL, `sta` smallint(5) unsigned NOT NULL, `inte` smallint(5) unsigned NOT NULL, `spi` smallint(5) unsigned NOT NULL, PRIMARY KEY (`creature_entry`,`level`))
CREATE TABLE `game_event_mail` ( `event` smallint(6) NOT NULL default '0' COMMENT 'Negatives value to send at event stop, positive value for send at event start.', `raceMask` mediumint(8) unsigned NOT NULL default '0', `quest` mediumint(8) unsigned NOT NULL default '0', `mailTemplateId` mediumint(8) unsigned NOT NULL default '0', `senderEntry` mediumint(8) unsigned NOT NULL default '0', PRIMARY KEY (`event`,`raceMask`,`quest`))
UPDATE creature_template SET ScriptName=boss_archaedas WHERE entry=2748
SELECT flags FROM character_social WHERE guid = %u AND friend = %u
UPDATE creature_template SET ScriptName=mobs_nether_drake WHERE entry IN (20021,21817,21820,21821,21823)
UPDATE gameobject_template SET ScriptName=go_shield_generator WHERE entry IN (185051,185052,185053,185054)
UPDATE creature_template SET ScriptName=npc_forest_frog WHERE entry=24396
UPDATE creature_template SET ScriptName=npc_keeper_norgannon WHERE entry=33686
UPDATE gameobject_template SET ScriptName=go_ulduar_teleporter WHERE entry=194569
UPDATE creature_template SET ScriptName=boss_head_of_horseman WHERE entry=23775
INSERT INTO spell_chain VALUES(55666,0,55666,1,0)
UPDATE creature_template SET ScriptName=npc_power_spark WHERE entry=30084
CREATE TABLE `instance_template` ( `map` int(11) unsigned NOT NULL, `levelMin` int(11) unsigned NOT NULL default '0', `levelMax` int(11) unsigned NOT NULL default '0', `maxPlayers` int(11) unsigned NOT NULL default '0', `reset_delay` int(20) unsigned NOT NULL default '0', `startLocX` float default NULL, `startLocY` float default NULL, `startLocZ` float default NULL, `startLocO` float default NULL, PRIMARY KEY (`map`))
INSERT INTO mangos_string VALUES (1192,'Effect movement',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
INSERT INTO script_waypoint VALUES(12126, 0, 2631.229, -1917.927, 72.59, 0, '')
CREATE TABLE `petition` ( `ownerguid` int(10) unsigned NOT NULL, `petitionguid` int(10) unsigned DEFAULT '0', `name` varchar(255) NOT NULL DEFAULT '', `type` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`ownerguid`,`type`), UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`))
CREATE TABLE `pickpocketing_loot_template` ( `entry` int(11) unsigned NOT NULL default '0', `item` int(11) unsigned NOT NULL default '0', `chance` float NOT NULL default '100', `questchance` float NOT NULL default '0', PRIMARY KEY (`entry`,`item`))
CREATE TABLE `saved_variables` ( `NextArenaPointDistributionTime` bigint(40) unsigned NOT NULL DEFAULT '0', `NextDailyQuestResetTime` bigint(40) unsigned NOT NULL DEFAULT '0', `NextWeeklyQuestResetTime` bigint(40) unsigned NOT NULL DEFAULT '0', `NextMonthlyQuestResetTime` bigint(40) unsigned NOT NULL DEFAULT '0', `cleaning_flags` int(11) unsigned NOT NULL DEFAULT '0')
INSERT INTO playercreateinfo_action VALUES (4,1,82,58984,0)
CREATE TABLE `group_instance` ( `leaderGuid` int(11) unsigned NOT NULL default '0', `instance` int(11) unsigned NOT NULL default '0', `permanent` tinyint(1) unsigned NOT NULL default '0', PRIMARY KEY (`leaderGuid`,`instance`), KEY `instance` (`instance`))
INSERT INTO ip_banned VALUES ('%s',UNIX_TIMESTAMP(),UNIX_TIMESTAMP()+%u,'%s','%s')
UPDATE creature_template SET ScriptName=boss_drakkari_elemental WHERE entry=29573
INSERT INTO mangos_string VALUES(328,'Characters at account %s (Id: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE creature_template SET ScriptName=boss_noxxion WHERE entry=13282
UPDATE playercreateinfo SET orientation= 5 WHERE race=10
SELECT * FROM `character_queststatus_daily`;
UPDATE creature_template SET ScriptName=boss_kelthuzad WHERE entry=15990
CREATE TABLE `custom_texts` ( `entry` mediumint(8) NOT NULL, `content_default` text NOT NULL, `content_loc1` text, `content_loc2` text, `content_loc3` text, `content_loc4` text, `content_loc5` text, `content_loc6` text, `content_loc7` text, `content_loc8` text, `sound` mediumint(8) unsigned NOT NULL DEFAULT '0', `type` tinyint(3) unsigned NOT NULL DEFAULT '0', `language` tinyint(3) unsigned NOT NULL DEFAULT '0', `emote` smallint(5) unsigned NOT NULL DEFAULT '0', `comment` text, PRIMARY KEY (`entry`))
UPDATE creature_template SET ScriptName=boss_vem WHERE entry=15544
CREATE TABLE `raidgroup_member` ( `leaderGuid` bigint(20) NOT NULL, `memberGuid` bigint(20) NOT NULL, `assistant` tinyint(1) NOT NULL, `subgroup` smallint(6) NOT NULL, PRIMARY KEY (`leaderGuid`,`memberGuid`))
UPDATE creature_template SET ScriptName=boss_veknilash WHERE entry=15275
CREATE TABLE `characters`.`corpse` ( `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `player` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier', `position_x` float NOT NULL default '0', `position_y` float NOT NULL default '0', `position_z` float NOT NULL default '0', `orientation` float NOT NULL default '0', `zone` int(11) unsigned NOT NULL default '38' COMMENT 'Zone Identifier', `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier', `data` longtext, `time` timestamp NOT NULL default '0000-00-00 00:00:00', `bones_flag` tinyint(3) NOT NULL default '0', `instance` int(11) unsigned NOT NULL default '0', PRIMARY KEY (`guid`), KEY `idx_bones_flag` (`bones_flag`), KEY `instance` (`instance`))
UPDATE creature_template SET ScriptName=boss_moam WHERE entry=15340
INSERT INTO spell_target_position VALUES (18606, 249, 7.197779, -239.642868, -86.307297, 5.587)
UPDATE creature_template SET ScriptName=npc_ominous_cloud WHERE entry=33292
UPDATE account SET v=0, s=0, sha_pass_hash=%s WHERE id=%u
UPDATE quest_start_scripts SET temp=temp WHERE command=0
CREATE TABLE `guild_bank_eventlog` ( `guildid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Guild Identificator', `LogGuid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Log record identificator - auxiliary column', `TabId` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Guild bank TabId', `EventType` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Event type', `PlayerGuid` int(11) unsigned NOT NULL DEFAULT '0', `ItemOrMoney` int(11) unsigned NOT NULL DEFAULT '0', `ItemStackCount` tinyint(3) unsigned NOT NULL DEFAULT '0', `DestTabId` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT 'Destination Tab Id', `TimeStamp` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Event UNIX time', PRIMARY KEY (`guildid`,`LogGuid`,`TabId`), KEY `Idx_PlayerGuid` (`PlayerGuid`), KEY `Idx_LogGuid` (`LogGuid`))
UPDATE spell_scripts SET temp=0 WHERE command=0
UPDATE creature_template SET ScriptName=npc_ymirjar_deathbringer WHERE entry=36892
UPDATE creature_template SET ScriptName=npc_infused_crystal WHERE entry=16364
UPDATE creature_template SET ScriptName=npc_shield_orb WHERE entry=25502
UPDATE creature_template SET ScriptName=boss_brutallus WHERE entry=24882
CREATE TABLE `character_inventory` ( `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', `bag` int(11) unsigned NOT NULL DEFAULT '0', `slot` tinyint(3) unsigned NOT NULL DEFAULT '0', `item` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Item Global Unique Identifier', `item_template` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Item Identifier', PRIMARY KEY (`item`), KEY `idx_guid` (`guid`))
UPDATE creature_movement_scripts SET datalong2=0 WHERE command=3
SELECT groupId FROM groups
UPDATE groups SET mainAssistant=%u WHERE groupId=%u
INSERT INTO spell_affect VALUES(43743,1,0x0000000008000400)
UPDATE spell_proc_event SET Category = 0 WHERE entry = 40458
UPDATE creature_template SET ScriptName=mob_core_rager WHERE entry=11672
INSERT INTO mangos_string VALUES(1138, '=================================================================================',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE creature_template SET ScriptName=npc_rizzle_sprysprocket WHERE entry=23002
CREATE TABLE `account` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier', `username` varchar(32) NOT NULL DEFAULT '', `sha_pass_hash` varchar(40) NOT NULL DEFAULT '', `gmlevel` tinyint(3) unsigned NOT NULL DEFAULT '0', `sessionkey` longtext, `v` longtext, `s` longtext, `email` text, `joindate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `last_ip` varchar(30) NOT NULL DEFAULT '0.0.0.0', `failed_logins` int(11) unsigned NOT NULL DEFAULT '0', `locked` tinyint(3) unsigned NOT NULL DEFAULT '0', `last_login` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `active_realm_id` int(11) unsigned NOT NULL DEFAULT '0', `expansion` tinyint(3) unsigned NOT NULL DEFAULT '0', `mutetime` bigint(40) unsigned NOT NULL DEFAULT '0', `locale` tinyint(3) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `idx_username` (`username`), KEY `idx_gmlevel` (`gmlevel`))
UPDATE spell_scripts SET temp=temp WHERE command=15
UPDATE account SET gmlevel = %i WHERE id = %u
UPDATE creature_template SET ScriptName=mob_ashtongue_sorcerer WHERE entry=23215
CREATE TABLE `skill_discovery_template` ( `spellId` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'SpellId of the discoverable spell', `reqSpell` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'spell requirement', `reqSkillValue` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'skill points requirement', `chance` float NOT NULL DEFAULT '0' COMMENT 'chance to discover', PRIMARY KEY (`spellId`,`reqSpell`))
SELECT username,gmlevel FROM account WHERE gmlevel > 0
CREATE TABLE `spell_check` ( spellid mediumint(7) unsigned NOT NULL default '0', SpellFamilyName smallint(5) NOT NULL default '-1', SpellFamilyMaskA bigint(30) NOT NULL default '-1', /* 0xFFFFFFFFFFFFFFFF */ SpellFamilyMaskB int(10) NOT NULL default '-1', /* 0xFFFFFFFF */ SpellIcon int(10) NOT NULL default '-1', SpellVisual int(10) NOT NULL default '-1', SpellCategory int(10) NOT NULL default '-1', EffectType int(10) NOT NULL default '-1', EffectAura int(10) NOT NULL default '-1', EffectIdx tinyint(3) NOT NULL default '-1', Name varchar(40) NOT NULL default '', Code varchar(40) NOT NULL default '', PRIMARY KEY (spellid,SpellFamilyName,SpellFamilyMaskA,SpellFamilyMaskB,SpellIcon,SpellVisual,SpellCategory,EffectType,EffectAura,EffectIdx,Code))
UPDATE creature_template SET ScriptName=npc_spirit_guide WHERE entry IN (13116, 13117)
UPDATE creature_template SET ScriptName=npc_teleportation_portal WHERE entry IN (31011,30679,32174)
SELECT groupId FROM group_member WHERE memberGuid='%u'
UPDATE creature_template SET ScriptName=npc_highlord_darion_mograine WHERE entry=29173
SELECT entry, item, ChanceOrQuestChance, groupid, mincountOrRef, maxcount, condition_id FROM %s
UPDATE item_template SET ScriptName=item_petrov_cluster_bombs WHERE entry=33098
UPDATE creature_template SET ScriptName=boss_amanitar WHERE entry=30258
UPDATE creature_template SET ScriptName=npc_thrall_old_hillsbrad WHERE entry=17876
CREATE TABLE `creature_model_race` ( `modelid` mediumint(8) unsigned NOT NULL DEFAULT '0', `racemask` mediumint(8) unsigned NOT NULL DEFAULT '0', `creature_entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'option 1, modelid_N from creature_template', `modelid_racial` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'option 2, explicit modelid', PRIMARY KEY (`modelid`,`racemask`))
CREATE TABLE `game_tele` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `position_x` float NOT NULL DEFAULT '0', `position_y` float NOT NULL DEFAULT '0', `position_z` float NOT NULL DEFAULT '0', `orientation` float NOT NULL DEFAULT '0', `map` smallint(5) unsigned NOT NULL DEFAULT '0', `name` varchar(100) NOT NULL DEFAULT '', PRIMARY KEY (`id`))
INSERT INTO spell_bonus_data VALUES(63544, 0, 0, 0, 'Priest - Empowered Renew Triggered')
INSERT INTO spell_chain VALUES(46913, 0, 46913, 1, 0)
CREATE TABLE `instance` ( `id` int(11) unsigned NOT NULL DEFAULT '0', `map` int(11) unsigned NOT NULL DEFAULT '0', `resettime` bigint(40) unsigned NOT NULL DEFAULT '0', `difficulty` tinyint(1) unsigned NOT NULL DEFAULT '0', `encountersMask` int(10) unsigned NOT NULL DEFAULT '0', `data` longtext, PRIMARY KEY (`id`), KEY `map` (`map`), KEY `resettime` (`resettime`))
INSERT INTO mangos_string VALUES(336,'You repair all %s''s items.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE creature_template SET ScriptName=boss_majordomo WHERE entry=12018
INSERT INTO spell_learn_spell VALUES(53428,53341)
SELECT COUNT(*) FROM auction
UPDATE instance_template SET ScriptName=instance_ahnkahet WHERE map=619
UPDATE creature_template SET ScriptName=boss_jeklik WHERE entry=14517
INSERT INTO spell_bonus_data VALUES('8026', '3.85', '0', '0', '0', 'Shaman - Flametongue Weapon Proc')
UPDATE creature_movement_scripts SET temp=datalong4 WHERE command IN (0, 1, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
SELECT * FROM `pet_spell_cooldown`;
UPDATE creature_template SET ScriptName=npc_chicken_cluck WHERE entry=620
UPDATE creature_template SET ScriptName=boss_pathaleon_the_calculator WHERE entry=19220
INSERT INTO script_waypoint VALUES(2768, 0, -2077.73, -2091.17, 9.49, 0, '')
UPDATE instance_template SET ScriptName=instance_ramparts WHERE map=543
INSERT INTO scripted_areatrigger VALUES (1786,'at_shadowforge_bridge')
INSERT INTO spell_target_position VALUES (17097, 249, -68.834236, -215.036163, -84.018875, 3.142)
UPDATE creature_template SET ScriptName=npc_puddle_stalker WHERE entry=37013
UPDATE quest_end_scripts SET temp=temp WHERE command=10
SELECT arenateamid, played_week, played_season, wons_season, personal_rating FROM arena_team_member WHERE guid='%u'
UPDATE instance_template SET ScriptName=instance_forge_of_souls WHERE map=632
CREATE TABLE `gossip_menu_option` ( `menu_id` smallint(6) unsigned NOT NULL DEFAULT '0', `id` smallint(6) unsigned NOT NULL DEFAULT '0', `option_icon` mediumint(8) unsigned NOT NULL DEFAULT '0', `option_text` text, `option_id` tinyint(3) unsigned NOT NULL DEFAULT '0', `npc_option_npcflag` int(10) unsigned NOT NULL DEFAULT '0', `action_menu_id` mediumint(8) NOT NULL DEFAULT '0', `action_poi_id` mediumint(8) unsigned NOT NULL DEFAULT '0', `action_script_id` mediumint(8) unsigned NOT NULL DEFAULT '0', `box_coded` tinyint(3) unsigned NOT NULL DEFAULT '0', `box_money` int(11) unsigned NOT NULL DEFAULT '0', `box_text` text, `condition_id` mediumint(8) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`menu_id`,`id`))
UPDATE creature_template SET ScriptName=mob_steamrigger_mechanic WHERE entry=17951
INSERT INTO spell_target_position VALUES (18573, 249, -2.529650, -188.690491, -87.172859, 0.666)
UPDATE creature_template SET ScriptName=boss_anubarak WHERE entry=29120
CREATE TABLE `battleground_events` ( `map` smallint(5) NOT NULL, `event1` tinyint(3) unsigned NOT NULL, `event2` tinyint(3) unsigned NOT NULL, `description` varchar(255) NOT NULL, PRIMARY KEY (`map`,`event1`,`event2`))
UPDATE creature_template SET ScriptName=npc_medivh_black_morass WHERE entry=15608
UPDATE quest_end_scripts SET datalong2=0 WHERE command=14
CREATE TABLE `character_account_data` ( `guid` int(11) unsigned NOT NULL default '0', `type` int(11) unsigned NOT NULL default '0', `time` bigint(11) unsigned NOT NULL default '0', `data` longtext NOT NULL, PRIMARY KEY (`guid`,`type`))
SELECT groupId FROM group_member WHERE memberGuid ='%u'
UPDATE gameobject_scripts SET datalong4=datalong3, datalong3=datalong2, datalong2=temp WHERE command IN (0, 1, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
UPDATE creature_template SET ScriptName=mobs_spitelashes WHERE entry IN (6190,6193,6194,6195,6196)
UPDATE creature_template SET ScriptName=boss_leviathan_mk2 WHERE entry=33432
UPDATE creature SET spawntimesecs=%i WHERE guid=%u
INSERT INTO mangos_string VALUES (175,'Liquid level: %f, ground: %f, type: %d, status: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE character_pet SET slot = ? WHERE owner = ? AND slot = ?
UPDATE creature_template SET ScriptName=npc_dorius_stonetender WHERE entry=8284
UPDATE character_reputation SET standing = 0 WHERE faction IN (729, 730)
CREATE TABLE `character_gifts` ( `guid` int(20) unsigned NOT NULL DEFAULT '0', `item_guid` int(11) unsigned NOT NULL DEFAULT '0', `entry` int(20) unsigned NOT NULL DEFAULT '0', `flags` int(20) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`item_guid`), KEY `idx_guid` (`guid`))
INSERT INTO scripted_event_id VALUES (11225,'event_taxi_stormcrow')
UPDATE characters SET at_login = at_login WHERE guid = %u
UPDATE creature_template SET ScriptName=mob_vesperon WHERE entry=30449
UPDATE creature_template SET ScriptName=npc_prospector_remtravel WHERE entry=2917
CREATE TABLE `playercreateinfo_action` ( `race` tinyint(3) unsigned NOT NULL DEFAULT '0', `class` tinyint(3) unsigned NOT NULL DEFAULT '0', `button` smallint(5) unsigned NOT NULL DEFAULT '0', `action` int(11) unsigned NOT NULL DEFAULT '0', `type` smallint(5) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`race`,`class`,`button`))
CREATE TABLE `spell_affect` ( `entry` smallint(5) unsigned NOT NULL default '0', `effectId` tinyint(3) unsigned NOT NULL default '0', `SpellClassMask0` int(5) unsigned NOT NULL default '0', `SpellClassMask1` int(5) unsigned NOT NULL default '0', `SpellClassMask2` int(5) unsigned NOT NULL default '0', PRIMARY KEY (`entry`,`effectId`))
UPDATE creature_template SET ScriptName=npc_aged_dying_ancient_kodo WHERE entry IN (4700, 4701, 4702, 11627)
INSERT INTO script_waypoint VALUES(7998, 01, -510.1305, -132.6899, -152.5, 0, '')
UPDATE creature_template SET ScriptName=boss_blackheart_the_inciter WHERE entry=18667
UPDATE creature_template SET ScriptName=boss_sapphiron WHERE entry=15989
INSERT INTO scripted_event_id VALUES(2488,'event_go_zulfarrak_gong')
CREATE TABLE `gameobject_battleground` ( `guid` int(10) unsigned NOT NULL COMMENT 'GameObject''s GUID', `event1` tinyint(3) unsigned NOT NULL COMMENT 'main event', `event2` tinyint(3) unsigned NOT NULL COMMENT 'sub event', PRIMARY KEY (`guid`))
UPDATE character_pet SET slot = ? WHERE owner = ? AND slot = ?
CREATE TABLE `spell_elixir` ( `entry` int(11) unsigned NOT NULL default '0' COMMENT 'SpellId of potion', `mask` tinyint(1) unsigned NOT NULL default '0' COMMENT 'Mask 0x1 battle 0x2 guardian 0x3 flask 0x7 unstable flasks 0xB shattrath flasks', PRIMARY KEY (`entry`))
UPDATE quest_end_scripts SET datalong2=0 WHERE command=3
SELECT version, creature_ai_version, cache_id FROM db_version LIMIT 1
UPDATE creature_template SET ScriptName=mob_blade_of_azzinoth WHERE entry=22996
UPDATE groups SET difficulty = %u WHERE groupId=%u
SELECT id,houseid,itemguid,item_template,item_count,item_randompropertyid,itemowner,buyoutprice,time,moneyTime,buyguid,lastbid,startbid,deposit FROM auction
CREATE TABLE `data_backup` ( `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `data` longtext, PRIMARY KEY (`guid`))
UPDATE creature_template SET ScriptName=boss_supremus WHERE entry=22898
INSERT INTO mangos_string VALUES(438,'Found items %u: %u ( inventory %u mail %u auction %u guild %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE gameobject_template SET ScriptName=go_southfury_moonstone WHERE entry=185566
INSERT INTO spell_proc_event VALUES (30302, 0x0000007E, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0)
UPDATE creature_template SET ScriptName=npc_floating_spirit WHERE entry IN (30141,30143,30145)
UPDATE creature_template SET ScriptName=npc_manaforge_control_console WHERE entry IN (20209,20417,20418,20440)
UPDATE creature_template SET ScriptName=boss_harbinger_skyriss WHERE entry=20912
CREATE TABLE `characters`.`bugreport` ( `id` int(11) NOT NULL auto_increment COMMENT 'Identifier', `type` varchar(255) NOT NULL default '', `content` varchar(255) NOT NULL default '', PRIMARY KEY (`id`))
INSERT INTO spell_bonus_data VALUES(64569, 0, 0, 0, 0, 'Item - Blood Reserve')
UPDATE creature_template SET ScriptName=npc_akuno WHERE entry=22377
INSERT INTO spell_chain VALUES(18220,0, 18220,1,0)
INSERT INTO spell_proc_event VALUES(64824, 0x00, 7, 0x00200000, 0x00200000, 0x00200000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0)
UPDATE creature_template SET ScriptName=mob_nether_wraith WHERE entry=21062
UPDATE creature_template SET ScriptName=npc_kagani_nightstrike WHERE entry=24557
UPDATE creature_template SET ScriptName=npc_lady_katrana_prestor WHERE entry=1749
CREATE TABLE `reserved_name` ( `name` VARCHAR(12) NOT NULL DEFAULT '', PRIMARY KEY (`name`))
UPDATE creature_template SET ScriptName=boss_ionar WHERE entry=28546
UPDATE creature_template SET ScriptName=boss_varos WHERE entry=27447
SELECT * FROM `item_instance`;
UPDATE creature_template SET ScriptName=boss_flamegor WHERE entry=11981
INSERT INTO spell_proc_event VALUES(71880, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 1.000000, 0.000000, 0)
UPDATE creature_template SET ScriptName=npc_air_force_bots WHERE entry IN (2614, 2615, 21974, 21993, 21996, 21997, 21999, 22001, 22002, 22003, 22063, 22065, 22066, 22068, 22069, 22070, 22071, 22078, 22079, 22080, 22086, 22087, 22088, 22090, 22124, 22125, 22126)
SELECT caster_guid,item_guid,spell,stackcount,remaincharges,basepoints0,basepoints1,basepoints2,periodictime0,periodictime1,periodictime2,maxduration,remaintime,effIndexMask FROM character_aura WHERE guid = '%u'
UPDATE creature_template SET ScriptName=spell_dummy_npc_brutallus_cloud WHERE entry=25703
UPDATE quest_start_scripts SET temp=temp WHERE command=1
CREATE TABLE `playercreateinfo_action` ( `race` tinyint(3) unsigned NOT NULL default '0', `class` tinyint(3) unsigned NOT NULL default '0', `button` smallint(5) unsigned NOT NULL default '0', `action` int(11) unsigned NOT NULL default '0', `type` smallint(5) unsigned NOT NULL default '0', KEY `playercreateinfo_race_class_index` (`race`,`class`), PRIMARY KEY (`race`,`class`,`button`))
INSERT INTO script_waypoint VALUES(9502, 0,847.848, -230.067, -43.614, 0, '')
INSERT INTO scripted_areatrigger VALUES(4778,'at_ancient_male_vrykul')
SELECT item FROM spell_loot_template
INSERT INTO account_banned VALUES ('%u', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()+%u, '%s', '%s', '1')
INSERT INTO script_waypoint VALUES(12427, 0, -5689.20, -456.44, 391.08, 0, '')
CREATE TABLE `mail_level_reward` ( `level` mediumint(8) unsigned NOT NULL DEFAULT '0', `raceMask` mediumint(8) unsigned NOT NULL DEFAULT '0', `mailTemplateId` mediumint(8) unsigned NOT NULL DEFAULT '0', `senderEntry` mediumint(8) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`level`,`raceMask`))
SELECT id,username FROM account WHERE last_ip " _LIKE_ " " _CONCAT3_("'%%'", "'%s'", "'%%'
UPDATE creature_template SET ScriptName=boss_thermaplugg WHERE entry=7800
UPDATE creature_template SET ScriptName=boss_baroness_anastari WHERE entry=10436
UPDATE creature_template SET ScriptName=npc_taelan_fordring WHERE entry=1842
INSERT INTO spell_bonus_data VALUES(49184, 0, 0, 0.2, 0, 'Death Knight - Howling Blast')
INSERT INTO command VALUES('reload all_achievement',3,'Syntax: .reload all_achievement\r\n\r\nReload all `achievement_*` tables if reload support added for this table and this table can be _safe_ reloaded.')
CREATE TABLE `character_achievement` ( `guid` int(11) NOT NULL, `achievement` int(11) NOT NULL, `date` int(11) NOT NULL, PRIMARY KEY (`guid`,`achievement`) )
SELECT talent_id, current_rank, spec FROM character_talent WHERE guid = '%u'
INSERT INTO scripted_areatrigger VALUES(4871,'at_warsong_farms')
UPDATE creature_template SET ScriptName=boss_fathomguard_tidalvess WHERE entry=21965
CREATE TABLE `item_expire_convert` ( `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', `item` mediumint(8) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`entry`))
INSERT INTO mangos_string VALUES(1169,'Scripting library build for different mangosd revision.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE creature_template SET ScriptName=npc_demolitionist_legoso WHERE entry=17982
UPDATE creature_template SET ScriptName=boss_dalliah WHERE entry=20885
INSERT INTO spell_proc_event VALUES(64912, 0x00, 6, 0x00000001, 0x00000001, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0)
INSERT INTO mangos_string VALUES(1171,'All config are reloaded from ahbot configuration file.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
CREATE TABLE `game_graveyard_zone` ( `id` mediumint(8) unsigned NOT NULL DEFAULT '0', `ghost_zone` mediumint(8) unsigned NOT NULL DEFAULT '0', `faction` smallint(5) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`,`ghost_zone`))
CREATE TABLE `playercreateinfo_item` ( `race` tinyint(3) unsigned NOT NULL DEFAULT '0', `class` tinyint(3) unsigned NOT NULL DEFAULT '0', `itemid` mediumint(8) unsigned NOT NULL DEFAULT '0', `amount` tinyint(3) unsigned NOT NULL DEFAULT '1', KEY `playercreateinfo_race_class_index` (`race`,`class`))
SELECT MAX(id) FROM instance
CREATE TABLE `realmd`.`localization` ( `locale` tinyint(3) unsigned NOT NULL default '0', `string` char(2) NOT NULL DEFAULT '', PRIMARY KEY (`locale`))
SELECT petitionguid FROM petition WHERE ownerguid = '%u' AND type = '%u'
CREATE TABLE `gameobject_respawn` ( `guid` int(10) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `respawntime` bigint(20) NOT NULL default '0', `instance` mediumint(8) unsigned NOT NULL default '0', PRIMARY KEY (`guid`,`instance`), KEY `instance` (`instance`))
CREATE TABLE `creature_battleground` ( `guid` int(10) unsigned NOT NULL COMMENT 'Creature\'s GUID', `event1` tinyint(3) unsigned NOT NULL COMMENT 'main event', `event2` tinyint(3) unsigned NOT NULL COMMENT 'sub event', PRIMARY KEY (`guid`))
UPDATE creature_template SET ScriptName=mob_ohgan WHERE entry=14988
UPDATE creature_template SET ScriptName=boss_blindeye_the_seer WHERE entry=18836
SELECT quest, status, rewarded, explored, timer, mobcount1, mobcount2, mobcount3, mobcount4, itemcount1, itemcount2, itemcount3, itemcount4, itemcount5, itemcount6 FROM character_queststatus WHERE guid = '%u'
UPDATE creature_template SET ScriptName=boss_alar WHERE entry=19514
UPDATE instance_template SET ScriptName=instance_gruuls_lair WHERE map =565
SELECT guid FROM characters WHERE account='%u'
SELECT name, class FROM characters WHERE guid='%u'
SELECT achievement FROM character_achievement GROUP BY achievement
INSERT INTO mangos_string VALUES (290, 'Ticket of %s (Last updated: %s):\n%s', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
UPDATE quest_start_scripts SET temp=temp WHERE command=15
INSERT INTO script_waypoint VALUES(7806, 0, 495.404358, -3478.350830, 114.837, 0, '')
UPDATE creature_template SET ScriptName=npc_daegarn WHERE entry=24151
UPDATE instance_template SET ScriptName=instance_oculus WHERE map=578
UPDATE creature_template SET ScriptName=boss_bronjahm WHERE entry=36497
UPDATE instance_template SET ScriptName=instance_trial_of_the_crusader WHERE map=649
UPDATE spell_scripts SET temp=temp WHERE command=10
INSERT INTO scripted_areatrigger VALUES(5604,'at_icecrown_citadel')
CREATE TABLE `mangos_string` ( `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', `content_default` text NOT NULL, `content_loc1` text, `content_loc2` text, `content_loc3` text, `content_loc4` text, `content_loc5` text, `content_loc6` text, `content_loc7` text, `content_loc8` text, PRIMARY KEY (`entry`))
SELECT 1 FROM account WHERE id='%u' AND sha_pass_hash='%s'
UPDATE gameobject SET spawnMask = 0x1 WHERE map IN (489, 529, 566)
SELECT id FROM character_pet WHERE owner = '%u' AND id <> '%u'
INSERT INTO spell_proc_event VALUES(39958,0,0,0,0,0x0000000000000000,0x00000001,0.7)
UPDATE creature_template SET ScriptName=npc_akama_illidan WHERE entry=23089
INSERT INTO command VALUES('list item',3,'Syntax: .list item #item_id [#max_count]\r\n\r\nOutput items with item id #item_id found in all character inventories, mails, auctions, and guild banks. Output item guids, item owner guid, owner account and owner name (guild name and guid in case guild bank). Will be output maximum #max_count items. If #max_count not provided use 10 as default value.')
CREATE TABLE `characters`.`pet_aura` ( `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier', `spell` int(11) unsigned NOT NULL default '0', `effect_index` int(11) unsigned NOT NULL default '0', `amount` int(11) NOT NULL default '0', `maxduration` int(11) NOT NULL default '0', `remaintime` int(11) NOT NULL default '0', `remaincharges` int(11) NOT NULL default '0', PRIMARY KEY (`guid`,`spell`,`effect_index`))
INSERT INTO scripted_event_id VALUES (3130, 'event_go_tutenkash_gong')
INSERT INTO script_waypoint VALUES(12428, 0, 2454.09, 361.26, 31.51, 0, '')
CREATE TABLE `quest_end_scripts` ( `id` int(11) unsigned NOT NULL default '0', `delay` int(11) unsigned NOT NULL default '0', `command` int(11) unsigned NOT NULL default '0', `datalong` int(11) unsigned NOT NULL default '0', `datalong2` int(11) unsigned NOT NULL default '0', `datatext` text NOT NULL, `x` float NOT NULL default '0', `y` float NOT NULL default '0', `z` float NOT NULL default '0', `o` float NOT NULL default '0')
INSERT INTO mangos_string VALUES(524,'Selected object:\n|cffffffff|Hitemset:%d|h[%s]|h|r\nGUID: %u ID: %u\nX: %f Y: %f Z: %f MapId: %u\nOrientation: %f',NULL,NULL,NULL,NULL,NULL,NULL,NULL)
INSERT INTO character_equipmentsets VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
INSERT INTO script_waypoint VALUES(23002, 0, 3687.11, -3960.69, 31.8726, 0, '')
SELECT NextWeeklyQuestResetTime FROM saved_variables
UPDATE creature_template SET ScriptName=npc_ouro_spawner WHERE entry=15957
UPDATE gameobject_template SET ScriptName=go_fire_of_akumai WHERE entry IN (21118,21119,21120,21121)
UPDATE creature_template SET ScriptName=boss_dreadscale WHERE entry=34799
SELECT entry, map, master_entry, flag, search_range FROM creature_linking_template
UPDATE gossip_scripts SET datalong2=0 WHERE command=3
INSERT INTO spell_affect VALUES (16858,0,0,0,0,0,0,0x0000000000000008,0)
SELECT zone, spring_rain_chance, spring_snow_chance, spring_storm_chance, summer_rain_chance, summer_snow_chance, summer_storm_chance, fall_rain_chance, fall_snow_chance, fall_storm_chance, winter_rain_chance, winter_snow_chance, winter_storm_chance FROM game_weather
CREATE TABLE `characters`.`character_queststatus` ( `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier', `status` int(11) unsigned NOT NULL default '0', `rewarded` tinyint(1) unsigned NOT NULL default '0', `explored` tinyint(1) unsigned NOT NULL default '0', `timer` bigint(20) unsigned NOT NULL default '0', `mobcount1` int(11) unsigned NOT NULL default '0', `mobcount2` int(11) unsigned NOT NULL default '0', `mobcount3` int(11) unsigned NOT NULL default '0', `mobcount4` int(11) unsigned NOT NULL default '0', `itemcount1` int(11) unsigned NOT NULL default '0', `itemcount2` int(11) unsigned NOT NULL default '0', `itemcount3` int(11) unsigned NOT NULL default '0', `itemcount4` int(11) unsigned NOT NULL default '0', PRIMARY KEY (`guid`,`quest`))
UPDATE arena_team_stats SET wins_season = %u WHERE arenateamid = %u
UPDATE character_ticket SET ticket_text = %s WHERE guid = %u
INSERT INTO spell_proc_event VALUES(58677, 0x00000000, 15, 0x00002000, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0.000000, 0.000000, 0)
UPDATE creature_template SET ScriptName=mob_illidari_council WHERE entry=23426
UPDATE gameobject_template SET ScriptName=go_mausoleum_trigger WHERE entry=104593
UPDATE instance_template SET ScriptName=instance_gnomeregan WHERE map=90
INSERT INTO spell_target_position VALUES (18626, 249, -40.500187, -203.001053, -85.555107, 2.428)
INSERT INTO mangos_string VALUES(171,'You can\'t teleport self to self!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
SELECT ip,bandate,unbandate,bannedby,banreason FROM ip_banned
INSERT INTO scripted_areatrigger VALUES(4033,'at_stomach_cthun')
SELECT * FROM `character`;
INSERT INTO spell_template VALUES(21387, 0x00000140, 0x10000000, 0x00000000, 0x00000028, 15, 21, 6, 1, 0, 0, 42, 0, 0, 21388, 'Melt-Weapon trigger aura related used by Ragnaros')
INSERT INTO spell_target_position VALUES (18576, 249, -37.743851, -243.667923, -88.217651, 1.416)
UPDATE creature_template SET ScriptName=boss_mr_smite WHERE entry=646
UPDATE creature_template SET ScriptName=npc_skywing WHERE entry=22424
SELECT 1 FROM ip_banned WHERE (unbandate = bandate OR unbandate > UNIX_TIMESTAMP()) AND ip = '%s'
UPDATE instance SET data = %s WHERE id = %u
UPDATE instance_template SET ScriptName=instance_deadmines WHERE map=36
UPDATE creature_template SET ScriptName=npc_felhound_tracker WHERE entry=8668
INSERT INTO spell_chain VALUES(51521, 0, 51521, 1, 0)
UPDATE mangos_string SET content_default=Can WHERE entry=1015
INSERT INTO mangos_string VALUES(1200,'You try to view cinemitic %u but it doesn\'t exist.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
CREATE TABLE `reputation_spillover_template` ( `faction` smallint(6) unsigned NOT NULL DEFAULT '0' COMMENT 'faction entry', `faction1` smallint(6) unsigned NOT NULL DEFAULT '0' COMMENT 'faction to give spillover for', `rate_1` float NOT NULL DEFAULT '0' COMMENT 'the given rep points * rate', `rank_1` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'max rank, above this will not give any spillover', `faction2` smallint(6) unsigned NOT NULL DEFAULT '0', `rate_2` float NOT NULL DEFAULT '0', `rank_2` tinyint(3) unsigned NOT NULL DEFAULT '0', `faction3` smallint(6) unsigned NOT NULL DEFAULT '0', `rate_3` float NOT NULL DEFAULT '0', `rank_3` tinyint(3) unsigned NOT NULL DEFAULT '0', `faction4` smallint(6) unsigned NOT NULL DEFAULT '0', `rate_4` float NOT NULL DEFAULT '0', `rank_4` tinyint(3) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`faction`))
INSERT INTO command VALUES('repairitems',2,'Syntax: .repairitems\r\n\r\nRepair all selected player''s items.')
UPDATE creature_template SET ScriptName=npc_snaplasher WHERE entry=32916
UPDATE spell_proc_event SET Category = 0, SkillId = 0 WHERE entry = 12797
INSERT INTO spell_target_position VALUES (18615, 249, -35.805332, -232.028900, -87.749153, 4.526)
SELECT race, class, level, str, agi, sta, inte, spi FROM player_levelstats
SELECT data,text,item_guid,item_template FROM mail_items JOIN item_instance ON item_guid = guid WHERE mail_id='%u'
CREATE TABLE `game_event` ( `entry` mediumint(8) unsigned NOT NULL COMMENT 'Entry of the game event', `start` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Absolute start date, the event will never start before', `end` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Absolute end date, the event will never start afler', `occurence` bigint(20) unsigned NOT NULL DEFAULT '86400' COMMENT 'Delay in hours between occurences of the event', `length` bigint(20) unsigned NOT NULL DEFAULT '43200' COMMENT 'Length in hours of the event', `description` varchar(255) DEFAULT NULL COMMENT 'Description of the event displayed in console', PRIMARY KEY (`entry`))
UPDATE creature_template SET ScriptName=boss_svala WHERE entry=29281
UPDATE creature_template SET ScriptName=boss_crusader_druid_balance WHERE entry IN (34460,34451)
INSERT INTO mangos_string VALUES(131,'You changed the %s spellmod %u to value %i for spell with family bit %u for %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
INSERT INTO mangos_string VALUES(712,'|cffff0000[BG Queue Announcer]:|r %s -- [%u-%u] A: %u/%u, H: %u/%u|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE creature_template SET ScriptName=npc_frost_bomb WHERE entry=34149
SELECT ownerguid,petitionguid FROM petition_sign WHERE playerguid = '%u' AND type = '%u'
CREATE TABLE `npc_gossip` ( `npc_guid` int(10) unsigned NOT NULL DEFAULT '0', `textid` mediumint(8) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`npc_guid`))
UPDATE creature_template SET ScriptName=npc_tipsy_mcmanus WHERE entry=28566
INSERT INTO script_waypoint VALUES(4962, 0, -3804.438965, -828.048035, 10.093068, 0, '')
UPDATE spell_proc_event SET SchoolMask = 0 WHERE entry = 38394
UPDATE gameobject_template SET ScriptName=go_black_dragon_egg WHERE entry=177807
CREATE TABLE `spell_affect` ( `entry` smallint(5) unsigned NOT NULL default '0', `effectId` tinyint(3) unsigned NOT NULL default '0', `SpellId` smallint(5) unsigned NOT NULL default '0', `SchoolMask` tinyint(3) unsigned NOT NULL default '0', `Category` smallint(5) unsigned NOT NULL default '0', `SkillID` smallint(5) unsigned NOT NULL default '0', `SpellFamily` tinyint(3) unsigned NOT NULL default '0', `SpellFamilyMask` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`entry`,`effectId`))
UPDATE creature_template SET ScriptName=mob_demon_chain WHERE entry=17248
UPDATE creature_template SET ScriptName=boss_saviana WHERE entry=39747
UPDATE creature_template SET ScriptName=npc_storm_tempered_keeper WHERE entry IN (33699,33722)
CREATE TABLE `mangos_string` ( `entry` int(11) unsigned NOT NULL default '0', `content_default` text, `content_loc1` text, `content_loc2` text, `content_loc3` text, `content_loc4` text, `content_loc5` text, `content_loc6` text, `content_loc7` text, PRIMARY KEY (`entry`))
INSERT INTO script_waypoint VALUES(18210, 0, -1581.410034, 8557.933594, 2.726, 0, '')
CREATE TABLE `battleground_events` ( `map` smallint(5) NOT NULL, `event1` tinyint(3) unsigned NOT NULL, `event2` tinyint(3) unsigned NOT NULL, `description` varchar(255) NOT NULL, PRIMARY KEY (`map`,`event1`,`event2`))
UPDATE creature_template SET ScriptName=npc_hodir_fury WHERE entry=33212
UPDATE creature SET position_x = %f, position_y = %f, position_z = %f, orientation = %f WHERE guid = %u
INSERT INTO script_waypoint VALUES(2713, 0, -1416.91, -3044.12, 36.21, 0, '')
UPDATE event_scripts SET datalong4=datalong3, datalong3=datalong2, datalong2=temp WHERE command IN (0, 1, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
UPDATE creature_template SET ScriptName=npc_cenarion_sparrowhawk WHERE entry=22972
SELECT MAX(guid) FROM characters
UPDATE creature_template SET ScriptName=npc_corrupt_saber WHERE entry=10042
UPDATE creature_template SET ScriptName=boss_sif WHERE entry=33196
INSERT INTO scripted_event_id VALUES(16547,'event_go_scrying_orb')
INSERT INTO mangos_string VALUES(1161,'Criteria:',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE creature_template SET ScriptName=boss_crusader_priest_shadow WHERE entry IN (34473,34441)
UPDATE event_scripts SET temp=temp WHERE command=0
UPDATE creature_template SET ScriptName=npc_flash_freeze WHERE entry IN (32926,32938)
CREATE TABLE `reference_loot_template` ( `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', `item` mediumint(8) unsigned NOT NULL DEFAULT '0', `ChanceOrQuestChance` float NOT NULL DEFAULT '100', `groupid` tinyint(3) unsigned NOT NULL DEFAULT '0', `mincountOrRef` mediumint(9) NOT NULL DEFAULT '1', `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1', `condition_id` mediumint(8) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`entry`,`item`))
CREATE TABLE `arena_team` ( `guid` int(10) unsigned NOT NULL default '0', `slot` tinyint(3) unsigned NOT NULL default '0', `name` char(255) NOT NULL, `type` tinyint(3) unsigned NOT NULL default '0', `rank` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`guid`))
INSERT INTO script_waypoint VALUES(10646, 0, -4792.401855, -2137.775146, 82.423, 0, '')
UPDATE creature_template SET ScriptName=boss_priestess_delrissa WHERE entry=24560
INSERT INTO scripted_areatrigger VALUES(1726,'at_scent_larkorwi')
UPDATE creature_template SET ScriptName=npc_injured_rainspeaker WHERE entry=28217
CREATE TABLE `vehicle_accessory` ( `vehicle_entry` int(10) unsigned NOT NULL COMMENT 'entry of the npc who has some accessory as vehicle', `seat` mediumint(8) unsigned NOT NULL COMMENT 'onto which seat shall the passenger be boarded', `accessory_entry` int(10) unsigned NOT NULL COMMENT 'entry of the passenger that is to be boarded', `comment` varchar(255) NOT NULL, PRIMARY KEY (`vehicle_entry`,`seat`))
UPDATE creature_template SET ScriptName=boss_viscidus WHERE entry=15299
UPDATE creature_template SET ScriptName=boss_krikthir WHERE entry=28684
UPDATE creature_template SET ScriptName=npc_saronite_vapor WHERE entry=33488
CREATE TABLE `character_battleground_data` ( `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', `instance_id` int(11) unsigned NOT NULL DEFAULT '0', `team` int(11) unsigned NOT NULL DEFAULT '0', `join_x` float NOT NULL DEFAULT '0', `join_y` float NOT NULL DEFAULT '0', `join_z` float NOT NULL DEFAULT '0', `join_o` float NOT NULL DEFAULT '0', `join_map` int(11) NOT NULL DEFAULT '0', `taxi_start` int(11) NOT NULL DEFAULT '0', `taxi_end` int(11) NOT NULL DEFAULT '0', `mount_spell` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`guid`))
INSERT INTO spell_proc_event VALUES(17794,0,0,0,0,0x0000000000000000,0x00008000,0)
UPDATE spell_scripts SET datalong2=data_flags WHERE command=22
INSERT INTO spell_proc_event VALUES(53380, 0x00000000, 10, 0x00800000, 0x00028000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0)
UPDATE creature_movement_scripts SET temp=temp WHERE command=26
SELECT * FROM `bugreport`;
UPDATE creature_template SET ScriptName=npc_maxx_a_million WHERE entry=19589
INSERT INTO mangos_string VALUES(614,'The Alliance flag is now placed at its base.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
CREATE TABLE `realmd`.`account_banned` ( `id` int(11) NOT NULL COMMENT 'Account id' default '0', `bandate` bigint(40) NOT NULL default '0', `unbandate` bigint(40) NOT NULL default '0', `bannedby` VARCHAR(50) NOT NULL, `banreason` VARCHAR(255) NOT NULL, `active` TINYINT NOT NULL DEFAULT 1, PRIMARY KEY (`id`,`bandate`))
UPDATE creature_movement_scripts SET temp=temp WHERE command=15
CREATE TABLE `characters`.`pet_spell` ( `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier', `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier', `slot` int(11) unsigned NOT NULL default '0', `active` int(11) unsigned NOT NULL default '0', PRIMARY KEY (`guid`,`spell`))
INSERT INTO spell_proc_event VALUES(43823,0,0,0,0,0x0000000000000000,0x00008000,0)
UPDATE creature_template SET ScriptName=npc_magister_aledis WHERE entry=20159
UPDATE creature_movement_scripts SET temp=temp WHERE command=10
UPDATE gossip_scripts SET temp=temp WHERE command=26
SELECT guid, instance, permanent FROM character_instance WHERE guid = '%u'", player_lowguid);
INSERT INTO spell_learn_spell VALUES(71,7376,0)
CREATE TABLE `pool_pool` ( `pool_id` mediumint(8) unsigned NOT NULL DEFAULT '0', `mother_pool` mediumint(8) unsigned NOT NULL DEFAULT '0', `chance` float NOT NULL DEFAULT '0', `description` varchar(255) NOT NULL, PRIMARY KEY (`pool_id`), KEY `pool_idx` (`mother_pool`))
INSERT INTO spell_proc_event VALUES(53397, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0)
UPDATE creature_template SET ScriptName=boss_volkhan WHERE entry=28587
UPDATE creature_template SET ScriptName=boss_aerial_unit WHERE entry=33670
INSERT INTO script_waypoint VALUES(<MyNpcEntry>, 1, 4013.51,6390.33, 29.970, 0, '<MyNPCName> - start escort')
UPDATE guild_member SET rank=%u WHERE guid=%u
INSERT INTO account_banned VALUES ('%u',UNIX_TIMESTAMP(),UNIX_TIMESTAMP()+'%u','MaNGOS realmd','Failed login autoban',1)
UPDATE creature_template SET ScriptName=boss_maiden_of_grief WHERE entry=27975
UPDATE creature_template SET ScriptName=mob_mature_netherwing_drake WHERE entry=21648
INSERT INTO spell_target_position VALUES (22268, 249, -84.087578, -214.857834, -82.640053, 3.142)
UPDATE creature_template SET ScriptName=boss_algalon WHERE entry=32871
SELECT questId, poiId, objIndex, mapId, mapAreaId, floorId, unk3, unk4 FROM quest_poi
UPDATE group_member SET subgroup=%u WHERE memberGuid=%u
INSERT INTO spell_proc_event VALUES(75455, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45)
UPDATE item_template SET ScriptName=item_gor_dreks_ointment WHERE entry=30175
INSERT INTO mangos_string VALUES(518,'%d - |cffffffff|Hitemset:%d|h[%s %s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
UPDATE groups SET mainTank=%u WHERE groupId=%u
CREATE TABLE `points_of_interest` ( `entry` mediumint(8) unsigned NOT NULL default '0', `x` float NOT NULL default '0', `y` float NOT NULL default '0', `icon` mediumint(8) unsigned NOT NULL default '0', `flags` mediumint(8) unsigned NOT NULL default '0', `data` mediumint(8) unsigned NOT NULL default '0', `icon_name` text NOT NULL, PRIMARY KEY (`entry`))
SELECT lootcondition, condition_value1, condition_value2 FROM pickpocketing_loot_template WHERE lootcondition>0;
UPDATE creature_template SET ScriptName=boss_deathbringer_saurfang WHERE entry=37813
SELECT data,text,itemguid,item_template FROM auction JOIN item_instance ON itemguid = guid
UPDATE creature_template SET ScriptName=npc_brain_yogg_saron WHERE entry=33890
INSERT INTO mangos_string VALUES(1010,'| Account | Character | IP | GM | Expansion |',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
INSERT INTO spell_bonus_data VALUES(46567, 0, 0, 0, 'Item - Goblin Rocket Launcher')
UPDATE creature_template SET ScriptName=boss_doomlord_kazzak WHERE entry=18728
INSERT INTO script_waypoint VALUES(28070, 0, 1053.789795, 476.639343, 207.744, 0, '')
SELECT MAX(guildid) FROM guild
UPDATE creature_template SET ScriptName=npc_scarlet_courier WHERE entry=29076
INSERT INTO spell_affect VALUES (5420,2,0,0,0,0,0,0x00001012100000D0,0)
UPDATE character_homebind SET map = %u, zone = %u, position_x = %f, position_y = %f, position_z = %f WHERE guid = %u
UPDATE creature_template SET ScriptName=boss_mother_shahraz WHERE entry=22947
UPDATE characters SET level = %u, xp = 0 WHERE guid = %u
UPDATE creature_template SET ScriptName=boss_jandice_barov WHERE entry=10503
SELECT unbandate FROM ip_banned WHERE
INSERT INTO scripted_event_id VALUES(8502,'event_avatar_of_hakkar')
INSERT INTO script_waypoint VALUES(4508, 0, 2194.38, 1791.65, 65.48, 5000, '')
CREATE TABLE `item_required_target` ( `entry` mediumint(8) unsigned NOT NULL, `type` tinyint(3) unsigned NOT NULL DEFAULT '0', `targetEntry` mediumint(8) unsigned NOT NULL DEFAULT '0', UNIQUE KEY `entry_type_target` (`entry`,`type`,`targetEntry`))
UPDATE gameobject_template SET ScriptName=go_nerubian_device WHERE entry IN (193093,193094)
UPDATE creature_template SET ScriptName=npc_00x09hl WHERE entry=7806
CREATE TABLE `creature_addon` ( `entry` int(11) NOT NULL default '0', `RefId` int(11) NOT NULL default '0', `mount` int(11) unsigned NOT NULL default '0', `bytes0` int(11) unsigned NOT NULL default '0', `bytes1` int(11) unsigned NOT NULL default '0', `bytes2` int(11) unsigned NOT NULL default '0', `emote` int(11) unsigned NOT NULL default '0', `aura` int(11) unsigned NOT NULL default '0', `auraflags` int(11) unsigned NOT NULL default '0', `auralevels` int(11) unsigned NOT NULL default '0', `auraapplications` int(11) unsigned NOT NULL default '0', `aurastate` int(11) unsigned NOT NULL default '0', UNIQUE KEY `guid` (`Entry`), KEY `emote` (`emote`,`RefId`,`mount`,`aura`))
INSERT INTO scripted_areatrigger VALUES(4112,'at_naxxramas')
UPDATE creature_template SET ScriptName=boss_rimefang_pos WHERE entry=36661
SELECT item FROM creature_loot_template UNION
UPDATE gameobject_scripts SET temp=temp WHERE command=15
INSERT INTO script_waypoint VALUES(12717, 0, 3346.247070, 1007.879028, 3.590, 0, 'SAY_MUG_START2')
UPDATE creature_template SET ScriptName=boss_fathomguard_sharkkis WHERE entry=21966
UPDATE creature_template SET ScriptName=boss_curator WHERE entry=15691
UPDATE event_scripts SET temp=temp WHERE command=15
UPDATE instance_template SET ScriptName=instance_halls_of_lightning WHERE map=602
INSERT INTO script_waypoint VALUES(9537, 0, 854.9774, -150.3077, -49.671, 0, '')
UPDATE instance_template SET ScriptName=instance_karazhan WHERE map=532
UPDATE quest_end_scripts SET datalong2=0 WHERE command=15
SELECT guid, deleteInfos_Name, deleteInfos_Account, deleteDate FROM characters WHERE deleteDate IS NOT NULL
INSERT INTO spell_target_position VALUES (18609, 249, -37.728523, -188.616806, -88.074898, 4.526)
UPDATE creature_template SET ScriptName=npc_akama_shade WHERE entry=22990
CREATE TABLE `instance_reset` ( `mapid` int(11) unsigned NOT NULL default '0', `resettime` bigint(40) NOT NULL default '0', PRIMARY KEY (`mapid`))
INSERT INTO character_account_data VALUES (?,?,?,?)
UPDATE creature_template SET ScriptName=npc_nagrand_captive WHERE entry IN (18209,18210)
INSERT INTO scripted_areatrigger VALUES (522,'at_twiggy_flathead')
INSERT INTO spell_chain VALUES(35100, 0, 35100, 1, 0)
INSERT INTO command VALUES('goobject','1','Usage: .goobject #object_guid\r\nTeleport your character to gameobject with guid #object_guid')
CREATE TABLE `dbscripts_on_creature_movement` ( `id` mediumint(8) unsigned NOT NULL DEFAULT '0', `delay` int(10) unsigned NOT NULL DEFAULT '0', `command` mediumint(8) unsigned NOT NULL DEFAULT '0', `datalong` mediumint(8) unsigned NOT NULL DEFAULT '0', `datalong2` int(10) unsigned NOT NULL DEFAULT '0', `buddy_entry` int(10) unsigned NOT NULL DEFAULT '0', `search_radius` int(10) unsigned NOT NULL DEFAULT '0', `data_flags` tinyint(3) unsigned NOT NULL DEFAULT '0', `dataint` int(11) NOT NULL DEFAULT '0', `dataint2` int(11) NOT NULL DEFAULT '0', `dataint3` int(11) NOT NULL DEFAULT '0', `dataint4` int(11) NOT NULL DEFAULT '0', `x` float NOT NULL DEFAULT '0', `y` float NOT NULL DEFAULT '0', `z` float NOT NULL DEFAULT '0', `o` float NOT NULL DEFAULT '0', `comments` varchar(255) NOT NULL)
UPDATE creature_template SET ScriptName=npc_spawned_oronok_tornheart WHERE entry=21685
SELECT lootcondition, condition_value1, condition_value2 FROM gameobject_loot_template WHERE lootcondition>0;
UPDATE creature_template SET ScriptName=npc_paoka_swiftmountain WHERE entry=10427
UPDATE creature_template SET ScriptName=npc_dimensius WHERE entry=19554
UPDATE gameobject_scripts SET datalong2=0 WHERE command=15
CREATE TABLE `characters`.`guild` ( `guildid` int(6) unsigned NOT NULL default '0', `name` varchar(255) NOT NULL default '', `leaderguid` int(6) unsigned NOT NULL default '0', `EmblemStyle` int(5) NOT NULL default '0', `EmblemColor` int(5) NOT NULL default '0', `BorderStyle` int(5) NOT NULL default '0', `BorderColor` int(5) NOT NULL default '0', `BackgroundColor` int(5) NOT NULL default '0', `info` text NOT NULL, `MOTD` varchar(255) NOT NULL default '', `createdate` datetime default NULL, PRIMARY KEY (`guildid`))
CREATE TABLE `character_spell_cooldown` ( `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part', `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier', `time` int(11) unsigned NOT NULL default '0', PRIMARY KEY (`guid`,`spell`))
UPDATE creature_template SET ScriptName=npc_portal_target WHERE entry=25770
UPDATE creature_template SET ScriptName=npc_living_mojo WHERE entry=29830
INSERT INTO scripted_event_id VALUES(23426,'event_gameobject_citadel_valve')
UPDATE creature_template SET ScriptName=npc_water_spirit WHERE entry=33202
INSERT INTO spell_proc_event VALUES(71564, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0)
SELECT * FROM quest_template WHERE RewMailTemplateId != 0 LIMIT 20;
INSERT INTO spell_affect VALUES (14177,0,0,0,0,0,0,0x000000086012031E,0)