PDA

View Full Version : Noplace else helps, maybe here?


Korisha
10-17-2002, 08:49 AM
I have two questions, and noone seems to be able to help me anywhere else, I'm useing EQAdmin and I want to do two things that dont seem to work, first I want to use wildcards to make sure specific words are NOT used in names, and second I want to flag items so ONLY My GMs are able to use them, so far I havent figure out how to do either, any help????

PLEASE!!!

devn00b
10-17-2002, 09:07 AM
Wild cards? nope...

GM only? nope not atm...for some reason the gm flag doesnt change the right data in the item struct.

Lurker_005
10-17-2002, 10:22 AM
Items have a GM flag, but last I checked only 1 item had it set. The way the Eqmu is set though, is by item number ranges. you have to edit the code and change the ranges to include other items if that is what oyu want to do.

Korisha
10-17-2002, 11:03 AM
does anyone know what that range is? I'll just move my item DB around a bit :)

Lyenu X`Arie
10-17-2002, 06:31 PM
if (admin < 100 && ((itemid >= 32768) ||
(itemid >= 19900 && itemid <= 19943) ||
(itemid >= 27181 && itemid <= 27194) ||
(itemid >= 31910 && itemid <= 31957) ||
(itemid >= 31814 && itemid <= 31815) ||
(itemid >= 19917 && itemid <= 19928) ||
(itemid >= 11500 && itemid <= 11535) ||
(itemid == 32759 && admin < 200) ||
(itemid >= 32740 && itemid <= 32760))) {

Thats what the if statement looks like in the code, so that would be: 19900-19943, 27181-27194, 31910-31957, 31814-31815, 19917-19928, 11500-11535, 32740-32760, 32768+.

All of those items require a admin status of 100 to be summoned, except for 32759 which requires a admin status of 200.

Korisha
10-18-2002, 05:48 AM
Thank you thank you thank you all :) Thats a big help for me :)