|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself. |
 |
|
 |

08-03-2008, 12:26 AM
|
Developer
|
|
Join Date: Mar 2007
Location: Ohio
Posts: 648
|
|
Quote:
Originally Posted by So_1337
Code:
### This creates an item with Nexus Gate ###
UPDATE items SET casttime = 10000 WHERE id = 59943;
UPDATE items SET casttime_ = 10000 WHERE id = 59943;
UPDATE items SET clicktype = 4 WHERE id = 59943;
UPDATE items SET clicklevel = 1 WHERE id = 59943;
UPDATE items SET clickeffect = 2734 WHERE id = 59943;
UPDATE items SET recastdelay = 60 WHERE id = 59943;
UPDATE items SET maxcharges = -1 WHERE id = 59943;
INSERT INTO starting_items VALUES (179,0,0,0,0,59943,1,0,0);
|
I know it's a little off topic, but I just wanted to point out a much simpler (read faster) query:
Code:
### This creates an item with Nexus Gate ###
UPDATE items SET
casttime = 10000,
casttime_ = 10000,
clicktype = 4,
clicklevel = 1,
clickeffect = 2734,
recastdelay = 60,
maxcharges = -1
WHERE id = 59943;
INSERT INTO starting_items VALUES (179,0,0,0,0,59943,1,0,0);
On topic, I wonder if it's the clicktype? What we know from the Wiki:
Quote:
clicktype
* Enter the number for the clicktype
o 1 = Item can be casted from anyslot (Main Inventory).
o 2 = Isn't used (As far as I can tell)
o 3 = Item can be casted from anyslot (Main Inventory).
o 4 = Item must be equipted to cast effect. (In my experience, type 4 means the effect works on self only)
o 5 = Seems to involve poisening a weapon. (In my experience, type 5 means the effect works on target)
|
Just a thought...
|
 |
|
 |

08-03-2008, 01:19 AM
|
Dragon
|
|
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
|
|
Thanks for the tip =) Still learning all of this, and pointers like that help a ton!
|

08-03-2008, 04:11 AM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
Click type 4 just makes it required to be equiped in order to click it. I have some items set that way and I don't think they get the cool greyed out timer effect. I almost think that the greyed out effect only works under certain circumstances. And I don't mean certain settings. If anything, I think it could possibly be Recast Type. I know that it is used for setting global cooldowns for items with the same recast type, so you can't cast 2 items with the same recast type until the last cooldown you used is reset.
|

08-03-2008, 05:21 AM
|
Discordant
|
|
Join Date: Oct 2005
Location: michigain
Posts: 260
|
|
to you think if you have more then 1 item with the same recast type then it may give the grayed out effect and not when you only have 1?
|

08-03-2008, 12:51 PM
|
Demi-God
|
|
Join Date: May 2007
Posts: 1,032
|
|
they greying out effect simply dissapeared from EMulator over last year.
when i was making my first clicky items back in 07 - I saw it - now its simply GONE.
as far as numbers for clicky types go, the primary diffirence is:
1 - anyone from inventory
3 - SPECIFIED CLASS ONLY from inventory
4 - specified class only equped into specified slot
all of them can be self only or targetable
note that items marked as potions ALWAYS self only
|
 |
|
 |

08-03-2008, 04:13 PM
|
 |
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
I don't think they disappeared from the emu. I know mine were working when I first made my server in January this year. That is why I said I think it only works under certain circumstances. I know for sure that I was able to click them multiple times and they all got the cooldown effect after I first created them. But then after that point, the next time I started the server, they haven't ever done it again. So, I am wondering if maybe it only works right after you create an item, and then never again. My best guess is that there needs to be a table created to track cooldowns of items and probably some code to handle it. I bet they work right after they are created for the first time, because they assume there is a table, but when no table to track them is found, they just stop working from that point on.
That makes sense to me anyway, and is the only way I can explain why it seems to act the way that it does. Everyone seems to see the effect when they first use clicky items with cooldowns on their server for the first time after making the server and then never again.
This would be a cool feature to get fixed in the emu.
|
 |
|
 |

08-03-2008, 08:33 PM
|
Discordant
|
|
Join Date: Oct 2005
Location: michigain
Posts: 260
|
|
i would be happy with making a table to track the cooldowns and then just telling the player its usable again.. where is item click tracking done in the server code.. maybe we can just work out a message.
|
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 05:10 AM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |