Quote:
Originally Posted by javewow
I can't understand
|
clearly.
Quote:
new ->script_69231.pl
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 run not Spawn
|
because you are doing it wrong.
as i've said before...
1) you do not need %transmute. stop using it.
2) the script name should be script_<scriptfileid>.pl
EXAMPLE:
Code:
mysql> select id, name, clickeffect, scriptfileid from items where name = "Fireworks Rack";
+-------+----------------+-------------+--------------+
| id | name | clickeffect | scriptfileid |
+-------+----------------+-------------+--------------+
| 51778 | Fireworks Rack | 7652 | 0 |
+-------+----------------+-------------+--------------+
1 row in set (0.30 sec)
the item you are using doesn't have a script associated with it. assign one in the database and name your script accordingly.
i have no idea where you are getting the numbers 69231 or 5137. if you don't explain everything you are doing and where you are getting the information from, we can only guess at how to help you resolve your issue.