-
July 8th, 2015, 23:40 #71
I believe I've found another bug, this time it's some issue between the EotE example library and the character sheet.
I'm getting the following script error when my players attempt to drag an item from the library to their character sheet inventory:
Code:Script Error: [string "managers/charactermanager.lua"]:984: attempt to index a nil value
It appears to have something to do with this section...
Code:-- If either the personal weapon or vehicle weapon flag isn't 1 then set it to 0 - needed when not present for correct weapon processing if itemnode.createChild("isstarshipweapon", "number").getValue() ~= 1 then itemnode.createChild("isstarshipweapon", "number").setValue(0); end if itemnode.createChild("isweapon", "number").getValue() ~= 1 then itemnode.createChild("isweapon", "number").setValue(0); end
My YouTube: https://www.youtube.com/channel/UCzz...8HEYmAemPeaDsA
My Twitter: https://twitter.com/OTG_Wraith
Fantasy Grounds Reddit: https://www.reddit.com/r/FantasyGrounds
-
July 9th, 2015, 01:07 #72Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
July 9th, 2015, 01:16 #73
Only three things? Cool, I can take a break!
Can you expand on this please?
I'll look into this.
This won't come until the ruleset is migrated to CoreRPG. Don't expect that this year. You can still do the old way (before decals recently became a feature) and modify the desktop.png file via an extension - pretty quick once you get the hang of it.Last edited by Trenloe; July 9th, 2015 at 05:05.
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
July 9th, 2015, 01:28 #74
Thanks for reporting. It's the good old issue of players not being able to update base database nodes. I have a fix, and will release when I do the next release with Lobosolo's amazing graphics update.
In the meantime, the fix is as follows: move the problem code a few lines down and change the itemnode reference to newitemnode:
Code:function addItem(characternode, itemnode) if User.isHost() or User.isLocal() or User.isOwnedIdentity(getIdentityName(characternode)) then -- Handle trying to add a non vehicle weapon/item to a vehicle - reject the drop. -- Not currently available to players if characternode.getParent().getName() == "vehicle" and itemnode.createChild("isstarshipweapon").getValue() ~= 1 then -- print a message local msg = {}; msg.font = "msgfont"; msg.text = "Cannot add the non-vehicle weapon: " .. itemnode.getChild("name").getValue() .. " to the vehicle: " .. getNpcName(characternode); ChatManager.deliverMessage(msg); return true; end -- get the new item local newitemnode = characternode.createChild("inventory").createChild(); -- copy the item DatabaseManager.copyNode(itemnode, newitemnode); -- If either the personal weapon or vehicle weapon flag isn't 1 then set it to 0 - needed when not present for correct weapon processing if newitemnode.createChild("isstarshipweapon", "number").getValue() ~= 1 then newitemnode.createChild("isstarshipweapon", "number").setValue(0); end if newitemnode.createChild("isweapon", "number").getValue() ~= 1 then newitemnode.createChild("isweapon", "number").setValue(0); end -- print a message local msg = {}; msg.font = "msgfont"; msg.text = getCharacterName(characternode) .. " has gained the item: " .. itemnode.getChild("name").getValue(); ChatManager.deliverMessage(msg); -- and return return true; end end
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
July 9th, 2015, 02:42 #75
- Join Date
- Jul 2010
- Location
- Vendsyssel (Denmark)
- Posts
- 886
What I meant by locking text fields is that little "lock" you have in CoreRPG, so you can't edit text unless you unlock it. Dunno how else to explain it. Just makes it easier to move notes around, when you've locked them during play.
Vires Animi
-
July 9th, 2015, 03:45 #76Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
July 9th, 2015, 05:04 #77
Thanks Trenloe, fix works perfectly. Looking forward to the new version.
My YouTube: https://www.youtube.com/channel/UCzz...8HEYmAemPeaDsA
My Twitter: https://twitter.com/OTG_Wraith
Fantasy Grounds Reddit: https://www.reddit.com/r/FantasyGrounds
-
July 11th, 2015, 02:50 #78
- Join Date
- May 2015
- Posts
- 66
You're welcome, I have made some updates to it since I last posted, mainly updated all the weapon entries and added in dice symbols to the weapon quality descriptions. Currently I am working on vehicle attachments, one thing I noticed is there is no spot to place attachments on the standard vehicle entry sheet (the party vehicle sheet on the other hand has places for notes), so for time being I just use a generic item labeled "modified hardpoints" to give to the ship to keep track of. This helps when the players all have their own ships and are not sharing a single one. After F&D makes its release I hope to finalize it (until new books that is). Once I do, I will post it back up here. I am also working on an updated equipment library that is going hand to hand with an NPC library for GMs to put together quick/random encounters. These are a bit on the back burner until F&D is released and the game stats are finalized from that book. You are more then welcome to incorporate anything I complete into your main library build(s).
-
July 11th, 2015, 02:56 #79Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
July 12th, 2015, 01:22 #80
- Join Date
- May 2015
- Posts
- 66
OggDude's character program rocks I use that all the time. I don't mind making libraries, since I GM, I find myself making a lot of the entries setting up campaigns, so exporting them with a little copy/paste work doesn't take much effort. I also really like the narrative game play of the Star Wars RPG, when my players generate that triple threat on an astrogation roll, I find having a list of premade baddies/ships really gets the gears turning as to what I could do. And if my efforts also help build up this ruleset you put together then I call that a bonus.
Today I thought of putting together a library with tables on how to spend threat/advantage, not sure if that is something you are working on, but you would be more then welcome to it when I finish.
Thread Information
Users Browsing this Thread
There are currently 2 users browsing this thread. (0 members and 2 guests)
Bookmarks