Search found 67 matches
- Wed Apr 13, 2016 4:26 am
- Forum: Scripting
- Topic: Trying to modify for trade on a NPC
- Replies: 8
- Views: 4493
Re: Trying to modify for trade on a NPC
Thanks again Avatarati, Ok so I was able to get this working with multiple weapons. I plan to add much more too it but wanted to get this up if anyone else was wondering how this works or to see a finished functional working copy of the file. ----------------------------------- -- Area: Ru'Lud Garde...
- Wed Apr 13, 2016 3:56 am
- Forum: Scripting
- Topic: Trying to modify for trade on a NPC
- Replies: 8
- Views: 4493
Re: Trying to modify for trade on a NPC
You have three Boolean conditions in your if statement: 1) Does the player have 99 Heavy Metals? 2) Does the player have one Redemption? 3) Has the player given me 2 items total? The third Boolean is false because you are actually trading 100 items; therefore, the player has not met the conditions ...
- Tue Apr 12, 2016 9:00 pm
- Forum: Scripting
- Topic: Trying to modify for trade on a NPC
- Replies: 8
- Views: 4493
Re: Trying to modify for trade on a NPC
OK so I can get this to work just fine for one item. local tradeCount = trade:getItemCount(); if (trade:hasItemQty(3509,99) and trade:hasItemQty(19540,1) and tradeCount == 2) then end if (player:getFreeSlotsCount() >= 1) then player:tradeComplete(); player:addItem(19638); player:messageSpecial(ITEM_...
- Mon Apr 11, 2016 9:09 pm
- Forum: Scripting
- Topic: How to make new mobid?
- Replies: 6
- Views: 3725
Re: How to make new mobid?
Never mind dug around a bit realizing I can only modify other mobs already in a zone.
- Mon Apr 11, 2016 7:41 pm
- Forum: Scripting
- Topic: How to make new mobid?
- Replies: 6
- Views: 3725
How to make new mobid?
Ok so here is what I am trying to do. I am trying to make an Epona(Rani) BC! But when I try to make a spawn point for it, it will not let me due to fact I already have an entry for that mobid. I added it to mob_groups.sql though I can not seem to find how to create a new mob id. Is this something no...
- Mon Apr 11, 2016 5:18 pm
- Forum: Custom Applications and Tools
- Topic: Character Import/Export tool
- Replies: 15
- Views: 20927
Re: Character Import/Export tool
I have backup and import scripts for linux. Need to be using bash or change it to whatever you are using for shell.zillory wrote:anyone have a script for this in linux by chance?
viewtopic.php?f=19&t=2967
- Mon Apr 11, 2016 1:32 am
- Forum: Scripting
- Topic: Question - Adding items to a NM drop pool
- Replies: 17
- Views: 11998
Re: Question - Adding items to a NM drop pool
I have been looking over my old stuff, and am wondering. Is it possible to add these rare/ex replacements to the server as a configurable? So something in the map.conf or something, so we can set a flag to drops, then just enable/disable to allow rare where they were replaced by rare/ex? I have bee...
- Mon Apr 11, 2016 1:29 am
- Forum: Scripting
- Topic: Question - Adding items to a NM drop pool
- Replies: 17
- Views: 11998
Re: Question - Adding items to a NM drop pool
Ok this was pretty simple with that information thank you Delaide. I ended up going with Ukonvasara on Hydra but this is what I did. To add a new drop pool edit mob_droplist.sql INSERT INTO `mob_droplist` VALUES (4569,0,19539,10); Then edit the new drop id you just created mob_groups.sql INSERT INTO...
- Mon Apr 11, 2016 12:39 am
- Forum: Scripting
- Topic: Question - Adding items to a NM drop pool
- Replies: 17
- Views: 11998
Re: Question - Adding items to a NM drop pool
Sorry, there is a problem. DropID = 0, so there has been no dropid assigned to Hydra. If I knew how to assign a dropID, I could create it, but I don't want to throw arbitrary numbers in there because I am not completely sure how drop ID works. You can see here: https://github.com/DarkstarProject/da...
- Sun Apr 10, 2016 11:03 pm
- Forum: Scripting
- Topic: Heavy Metal Pouch
- Replies: 2
- Views: 2097
Heavy Metal Pouch
This one took so modification of a few files. One in the sql I know it is not technically scripting but it was needed to make it all work so including it. heavy_metal_pouch.lua ------------------------------------ -- ID: 5910 -- Heavy Metal Pouch -- Breaks up a Heavy Metal Pouch --------------------...