Thread: Quick question
View Single Post
  #5  
Old 12-22-2006, 08:43 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Got it Sesmar, thanks - ran perfect.
here's what I fixed;


Well, I have to Link it because the post won't take such a large pl;
http://www.nahunta.org/~angelox/files/Vahlara.pl

Vahlara now will only give you one charm, you don't get the dupe message and the "here's the charm" text goes away. Also, when you zone out, since you can't come back anymore, the exit tutorial guy deletes the global.
If you decide to try it out, the "emoter npc's" in the script are not in the current posted database. This should fix them up;
Code:
INSERT INTO npc_types VALUES (189119,"_","",60,127,1,11,23400,0,10,0,1,1,1,0,0,0,0,100,480,"",0,61,0,0,0,0,0,1,0,0,0,0,0,1.25,245,245,245,245,245,0,1,1,1,1052,0,0,-25,0,299,299,299,299,299,299,299);
INSERT INTO npc_types VALUES (189120,"_","",60,127,1,11,23400,0,10,0,1,1,1,0,0,0,0,100,480,"",0,61,0,0,0,0,0,1,0,0,0,0,0,1.25,245,245,245,245,245,0,1,1,1,1052,0,0,-25,0,299,299,299,299,299,299,299);
also the globals for amote and bmote have to be initialized else you get swamped in emoter npcs;;
Code:
INSERT INTO quest_globals VALUES (153,0,0,189,"amote","2",0) ON DUPLICATE KEY UPDATE value=2;
INSERT INTO quest_globals VALUES (154,0,0,189,"bmote","2",0) ON DUPLICATE KEY UPDATE value=2;

Anyways I'm almost ready to put out another DB update - I got a lot more work done on Gunthak too.
Reply With Quote