Search found 129 matches

by bluesolarflare
Sat Aug 15, 2015 9:58 pm
Forum: Scripting
Topic: Custom Shop using different currency (Cruor, Bayld, etc)
Replies: 8
Views: 5238

Re: Custom Shop using different currency (Cruor, Bayld, etc)

If anyone is curious here is the code I used as an example. It uses Mweya Plasm as the currency and when the player trades an Exuine Coat, if they have 17,500 plasm, the NPC upgrades it to a Manibozo Jerkin. function onTrade(player,npc,trade) balance = 0; jerkin = 17500; // This is how much the upgr...
by bluesolarflare
Fri Jun 26, 2015 4:54 pm
Forum: Scripting
Topic: Trying to add new mID items (problem with inject packet)
Replies: 1
Views: 1807

Trying to add new mID items (problem with inject packet)

Hello, I am trying to add model id's for a lot of missing items but I have ran into an issue. I looked on the wiki and followed the guide to make an appearance packet. I created a .dat file with a hex editor with the contents: 51 0c 57 00 08 07 28 11 28 21 28 31 28 41 28 51 A1 61 00 70 00 80 00 as a...
by bluesolarflare
Fri Jun 19, 2015 10:42 pm
Forum: PUP
Topic: Puppetmaster - Repairing It
Replies: 32
Views: 123415

Re: Puppetmaster - Repairing It

I've actually taken an interest in scripting some things for PUP. I've found that attachments should be fairly easy to do once the core has the proper entities to count how many effects of a certain type are up. One of the forks I saw that had RUN had this implemented into the core, so calling that ...
by bluesolarflare
Mon Jun 15, 2015 6:17 pm
Forum: Scripting
Topic: Adding a custom spell?
Replies: 2
Views: 2062

Re: Adding a custom spell?

For some reason the spell won't show up. I modified the .DAT file with the spell listing that has the IDs. Made deluge spikes id 750 (was jet stream attack in the .DAT file) then modified the .DAT that has descriptions. I then added the spell to the SQL spell list pointing to spell id 750 but still ...
by bluesolarflare
Mon Jun 15, 2015 5:25 pm
Forum: Scripting
Topic: Adding a custom spell?
Replies: 2
Views: 2062

Adding a custom spell?

Hello, Is there a way to add a custom spell to a server? I read the how-to on creating custom spikes, but I would love to make it a spell given to certain jobs. I was thinking I could simply modify the .DAT file for an unused ID (to display the spell in the list along with the spell description) and...
by bluesolarflare
Fri Jun 05, 2015 2:09 pm
Forum: Scripting
Topic: Custom Shop using different currency (Cruor, Bayld, etc)
Replies: 8
Views: 5238

Re: Custom Shop using different currency (Cruor, Bayld, etc)

Thanks for the reply. I was able to setup a different system that gave me somewhat what I wanted: Talking to the NPC opens up the store to "sell" endgame gear. The price is set fairly high in gil, but there is a system message that states that if you do not have the gil, you can exchange certain van...
by bluesolarflare
Thu Jun 04, 2015 9:02 pm
Forum: Scripting
Topic: Custom Shop using different currency (Cruor, Bayld, etc)
Replies: 8
Views: 5238

Re: Custom Shop using different currency (Cruor, Bayld, etc)

Actually ran into a problem. Is there a way to track a purchase so that a rule can be used to delCurrency? I was thinking through the system message "you buy a ___ from the shop" but I don't know how to script that portion.
by bluesolarflare
Thu Jun 04, 2015 5:55 pm
Forum: Scripting
Topic: Custom Shop using different currency (Cruor, Bayld, etc)
Replies: 8
Views: 5238

Re: Custom Shop using different currency (Cruor, Bayld, etc)

Yeah that was pretty much my fallback. I set up a normal shop with the price in gil, but I have a condition to check for bayld. If the player doesn't have enough to purchase the lowest item, a system message pops up saying they need X amount purchase anything. Once they have enough, the shop opens a...
by bluesolarflare
Thu Jun 04, 2015 12:25 pm
Forum: Scripting
Topic: Custom Shop using different currency (Cruor, Bayld, etc)
Replies: 8
Views: 5238

Custom Shop using different currency (Cruor, Bayld, etc)

Hello,

I am looking to create a shop that instead of using gil to purchase items, uses Cruor or Bayld. Is it possible that this can be coded into a shop script?