Search found 53 matches

by Avatarati
Sun Mar 12, 2017 3:38 pm
Forum: Scripting
Topic: Warp To NM Script - With Search Suggestions
Replies: 3
Views: 3583

Warp To NM Script - With Search Suggestions

I wrote this script today; figured I'd share it in case anyone else is looking for the same thing. Place in darkstar/scripts/commands. A few things of note: 1. Use the command in the following syntax: @tomob 'mobnamehere' (ex. @tomob kirin) 2. It uses nicknames (ex. @tomob JoL == @tomob Jailer of Lo...
by Avatarati
Fri Feb 24, 2017 6:12 am
Forum: Scripting
Topic: trade:getItem()
Replies: 9
Views: 5212

Re: trade:getItem()

Thanks.

I can't help but wonder what happens when you have a code conflict though.
by Avatarati
Thu Feb 23, 2017 11:41 pm
Forum: Scripting
Topic: trade:getItem()
Replies: 9
Views: 5212

Re: trade:getItem()

or.. you could just open notepad++ and directory replace getItem( with getItemID( (case sensitive) though you'll probably wanna search for getItem( first and keep open any stock dsp scripts so you can change them back after directory replace My original number was a little exaggerated. It's already...
by Avatarati
Thu Feb 23, 2017 11:40 pm
Forum: Scripting
Topic: trade:getItem()
Replies: 9
Views: 5212

Re: trade:getItem()

Do you really have that many custom trades or are you just not pulling changes form DSP master? Please tell me I haven't run into yet another user that thinks they have to manually edit their fork to get updates in doing drag n drop updates. The horrors I have seen where somebody updates source wit...
by Avatarati
Thu Feb 23, 2017 6:20 am
Forum: Scripting
Topic: trade:getItem()
Replies: 9
Views: 5212

Re: trade:getItem()

I see what happened now...

A commit on August 11, 2016 "changed getItem to return item object"

Guess I have to change every instance of getItem to getItemID...

My weekend schedule just filled up...
by Avatarati
Thu Feb 23, 2017 5:45 am
Forum: Scripting
Topic: trade:getItem()
Replies: 9
Views: 5212

trade:getItem()

I started working on my server again, and noticed that trade:getItem() is not returning a simple ID integer anymore, but rather some type of user data. What changed? I was using trade:getItem() to find out what item ID the user was trading to an NPC. This was highly useful in several files of mine :...
by Avatarati
Mon Feb 13, 2017 2:33 am
Forum: Contacting The Team
Topic: Any Upcoming Stable Merges Planned?
Replies: 0
Views: 5899

Any Upcoming Stable Merges Planned?

Noticed it's been quite a while since the stable branch was updated. Any plans for merging what works from master into it?
by Avatarati
Fri Dec 09, 2016 4:26 pm
Forum: Scripting
Topic: Make effects persist through death?
Replies: 5
Views: 3648

Re: Make effects persist through death?

Found an example: Keep in mind, this is specific to my quest. I add Confrontation to the player and use that as a control check for my reapplication of poison. In your case, you'd use a different method. File Location: scripts/globals/effects ----------------------------------- -- -- EFFECT_POISON -...
by Avatarati
Fri Dec 09, 2016 4:19 pm
Forum: Scripting
Topic: Make effects persist through death?
Replies: 5
Views: 3648

Re: Make effects persist through death?

I made a custom quest that had players retrieve something in a time limit with all sorts of status effects applied. Just added various conditions to each individual status effect lua file. This way, it persisted through death, zone, you name it, as long as variable for quest was true and timer remai...
by Avatarati
Fri Nov 04, 2016 1:42 am
Forum: Custom Applications and Tools
Topic: darkstar-afterhours: The FFXIAH Clone
Replies: 28
Views: 129811

Re: darkstar-afterhours: The FFXIAH Clone

Very nice work!