|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Quests::Q&A This is the quest support section |

01-09-2013, 10:29 PM
|
 |
Sarnak
|
|
Join Date: Aug 2012
Location: work
Posts: 75
|
|
Before, I use "Fireworks Rack" is error
Behind me to "Firework: Dancing Lights"
Firework: Dancing Lights ID = 69231 spellID=5137
I want to click can summon -> Spawn NPC
But Pl error Can't succeed
__________________
To create the most beautiful server for "!!~[BP] PLARYBOT EQ~!" Welcome to our server
|

01-09-2013, 10:40 PM
|
 |
Dragon
|
|
Join Date: Dec 2009
Posts: 719
|
|
if you'd do it the way i've instructed, it will work.
|

01-09-2013, 10:59 PM
|
 |
Sarnak
|
|
Join Date: Aug 2012
Location: work
Posts: 75
|
|
Quote:
Originally Posted by c0ncrete
if you'd do it the way i've instructed, it will work.
|
Thank you I understand
I do try
--------------------------------------------
Update items set scriptfileid = "xxxxxx" where id=69231;
------------------------------------------
Now change to
Code:
mysql> select id, name, clickeffect, scriptfileid from items where name = "Firework: Dancing Lights";
+-------+--------------------------+-------------+--------------+
| id | name | clickeffect | scriptfileid |
+-------+--------------------------+-------------+--------------+
| 69231 | Firework: Dancing Lights | 5137 | 32767 |
+-------+--------------------------+-------------+--------------+
1 row in set
mysql>
save-> script_32767.pl
__________________
To create the most beautiful server for "!!~[BP] PLARYBOT EQ~!" Welcome to our server
|

01-09-2013, 11:03 PM
|
 |
Dragon
|
|
Join Date: Dec 2009
Posts: 719
|
|
yes, then name the quest file script_32767.pl and forget everything about %transmute and $spell_id. you're just looking for the item click.
|

01-09-2013, 11:08 PM
|
 |
Sarnak
|
|
Join Date: Aug 2012
Location: work
Posts: 75
|
|
Just testing a grammar
Still have problems
Code:
sub EVENT_ITEM_CLICK_CAST {
my %transmute = ();
$transmute[69231] = 5137;
if($itemid && $transmute[$itemid]) {
$client->NukeItem($itemid);
$client->CastSpell($transmute[$itemid], 0, 1, 0, 0);
$client->spawn2(469003,0,0,2.0,-2.0,4.47,100);
}
}
Can't spawn
Ask you to give a pl
__________________
To create the most beautiful server for "!!~[BP] PLARYBOT EQ~!" Welcome to our server
|

01-09-2013, 11:15 PM
|
 |
Dragon
|
|
Join Date: Dec 2009
Posts: 719
|
|
Quote:
Originally Posted by javewow
Just testing a grammar
Still have problems
Code:
sub EVENT_ITEM_CLICK_CAST {
my %transmute = ();
$transmute[69231] = 5137;
if($itemid && $transmute[$itemid]) {
$client->NukeItem($itemid);
$client->CastSpell($transmute[$itemid], 0, 1, 0, 0);
$client->spawn2(469003,0,0,2.0,-2.0,4.47,100);
}
}
Can't spawn
Ask you to give a pl
|
quest::spawn2(npc_type,grid,guildwarset,x,y,z,head ing)
|

01-09-2013, 11:21 PM
|
 |
Sarnak
|
|
Join Date: Aug 2012
Location: work
Posts: 75
|
|
Quote:
Originally Posted by c0ncrete
quest::spawn2(npc_type,grid,guildwarset,x,y,z,head ing)
|
The success
Code:
sub EVENT_ITEM_CLICK_CAST {
my %transmute = ();
$transmute[69231] = 5137;
if($itemid && $transmute[$itemid]) {
$client->NukeItem($itemid);
$client->CastSpell($transmute[$itemid], 0, 1, 0, 0);
quest::spawn2(469003,0,0,2.0,-2.0,4.47,100);
}
}
Thank you very much! Learn from you the
__________________
To create the most beautiful server for "!!~[BP] PLARYBOT EQ~!" Welcome to our server
|

01-09-2013, 11:24 PM
|
 |
Dragon
|
|
Join Date: Dec 2009
Posts: 719
|
|
YAY! GREEN FOR GO!
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 02:52 AM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |