|
Post by tharindu on Feb 14, 2019 4:48:37 GMT
I have only set up one vendor, and that vendor works fine if I go it in the start of the game, but only untill I do a quest or interact with a quest provider. I will set up a second vendor to see if that helps any. Using Invector Shooter 1.3, and RPG Pack 1.2.3 what happens afterwards ? I've tried setting up with two or more vendors and it worked fine. There was a bug a long time back where the second vendor/quest provider's window showed items/quests of the first provider/vendor the player interacted with. This was fixed ages before the last update though.
|
|
|
Post by uberwiggett on Feb 14, 2019 6:23:29 GMT
When doing the vendor on my video series I noticed that it was working but the highlight on the UI was set to the same colour as non-activated, so you couldn't tell that it was highlighted. I wonder if that is the issue? Like what is actually not working, are items not displaying? or is it not selectable at all?
|
|
|
Post by Yort_Draeb on Feb 17, 2019 20:05:46 GMT
does anyone else get errors in this section in vQuest: var type = Activator.CreateInstance(typeof(vQuest).Assembly.FullName, "EviLA.AddOns.RPGPack." + targetType.ToString()).Unwrap().GetType(); var targets = FindObjectsOfType(type); foreach (var target in targets) { IQuestTarget _t = (IQuestTarget)target; if (_t.getTargetName().Equals(_targetName)) { _target = _t; break; } } Pretty sure it's on one of the editor scripts. Can I see what exactly you're getting? May I also know the editor version and the scripting runtime you're on? i just did a fresh install with unity 2018.3.6f1 and im still getting this issue. its line 67 in vQuest
|
|
|
Post by tharindu on Feb 18, 2019 2:55:28 GMT
Pretty sure it's on one of the editor scripts. Can I see what exactly you're getting? May I also know the editor version and the scripting runtime you're on? i just did a fresh install with unity 2018.3.6f1 and im still getting this issue. its line 67 in vQuest invector version ? and is it melee or shooter ?
|
|
|
Post by bskram on Feb 18, 2019 22:09:44 GMT
When doing the vendor on my video series I noticed that it was working but the highlight on the UI was set to the same colour as non-activated, so you couldn't tell that it was highlighted. I wonder if that is the issue? Like what is actually not working, are items not displaying? or is it not selectable at all? It's not the highlight tricking me. I can't buy or sell to the vendor after I have used the quest npc. It might be some error on my part, so I will set up a completely new project, and log all I'm doing to see if I get the same result. If so, my logging might be better to troubleshoot for you guys
|
|
|
Post by bskram on Feb 18, 2019 22:11:45 GMT
I have only set up one vendor, and that vendor works fine if I go it in the start of the game, but only untill I do a quest or interact with a quest provider. I will set up a second vendor to see if that helps any. Using Invector Shooter 1.3, and RPG Pack 1.2.3 what happens afterwards ? I've tried setting up with two or more vendors and it worked fine. There was a bug a long time back where the second vendor/quest provider's window showed items/quests of the first provider/vendor the player interacted with. This was fixed ages before the last update though. Got the same bug, but I will try to set up a completely new project and start from scratch in case I did something wrong somewhere. Did you use the 1.3 version of shooter, or the 1.2.x ?
|
|
|
Post by Yort_Draeb on Feb 19, 2019 6:53:35 GMT
i just did a fresh install with unity 2018.3.6f1 and im still getting this issue. its line 67 in vQuest invector version ? and is it melee or shooter ? latest shooter version. i believe thats 1.3
|
|
|
Post by tharindu on Feb 19, 2019 20:05:53 GMT
1.2.3 was the last version for which I released an update before i got sick. I'll take a look around and see what needs tinkering for 1.3
|
|
|
Post by Yort_Draeb on Feb 22, 2019 6:30:25 GMT
1.2.3 was the last version for which I released an update before i got sick. I'll take a look around and see what needs tinkering for 1.3 well last time i reported it was with the last version because i believe 1.3 wasnt out yet
|
|
|
Post by missbig on Feb 22, 2019 23:51:45 GMT
I noticed this doesn't work with the new version of invector so does anyone know if there is another asset that does quest for a rpg that will work with invector.
|
|
|
Post by missbig on Feb 23, 2019 0:52:12 GMT
#Resolved 8^) If anyone else comes across this same issue simply follow the bread crumbs.. Assets/EviLA-RPGPack/Scripts/Core/Components/vQuestManager.cs(86,48): error CS0123: A method or delegate `EviLA.AddOns.RPGPack.vQuestManager.UpdateInput(Invector.vCharacterController.vMeleeCombatInput)' parameters do not match delegate `UnityEngine.Events.UnityAction<Invector.vCharacterController.vThirdPersonInput>(Invector.vCharacterController.vThirdPersonInput)' parameters Find vThirdPersonInput script.. change this line: Invector.vCharacterController.vThirdPersonInput to this line: Invector.vCharacterController.vMeleeCombatInput I got the same error but I can't find them lines at all.
|
|
|
Post by darknubis365 on Feb 23, 2019 8:16:19 GMT
I noticed this doesn't work with the new version of invector so does anyone know if there is another asset that does quest for a rpg that will work with invector. Quest Machine Dialogue System I've only tried these two but dialogue systems has integration and quest machine has a bit of a learning curve but messing around with it i was able to get it working then i had a issue how would i be able to buy and purchase things which is why RPG pack is good,But i never found a good vendor solution that being said good luck
|
|
|
Post by bskram on Feb 25, 2019 9:19:57 GMT
I started logging what I have done, to see if that could help fixing the Evila RPG pack. I am sorry for the lenghty
post, but I tried not to miss anything.
For now I have not added the vendor part, since it might be a bug already in the quest setup.
I will continue the logging, but this is what I have so far:
Unity: 2018.2.3f
1. Import TPS V1.3.0
2. Import FSM AI Template V0.3
3. Import EvilA's RPG pack V1.2.3
4. Refreshed Itemenums.
5. In vQuestManager.cs, changed UpdateInput:
from:
public void UpdateInput(vMeleeCombatInput tpInput)
{
inventory.lockInput = tpInput.lockInventory;
//tpInput.lockInputByItemManager = inventory.isOpen;
}
to:
public void UpdateInput(vThirdPersonInput tpInput)
{
inventory.lockInput = inventory.isOpen;
//tpInput.lockInputByItemManager = inventory.isOpen;
}
reason: fix this error:
Assets/EviLA-RPGPack/Scripts/Core/Components/vQuestManager.cs(85,48): error CS0123: A method or delegate `EviLA.AddOns.RPGPack.vQuestManager.UpdateInput(Invector.vCharacterController.vMeleeCombatInput)' parameters do not match delegate `UnityEngine.Events.UnityAction<Invector.vCharacterController.vThirdPersonInput>(Invector.vCharacterController.vThirdPersonInput)' parameters
6. Created Shooter Controller
7. Added Ragdoll component from Invector menu.
8. Added footstep component
9. Added the HitDamageParticle component.
10. Added Generic Action component.
11. Added Generic Animation component.
12. Added Ladder Action.
13. Added Melee manager
14. Added Weapon Holder Manager
15. Added Lock On component (shooter).
16. Added Inventory Manager - used Inventory_ShooterMelee and vShooterMelee_ItemLisData from Invector, not RPG Pack.
17. Set items filter to 6 and selected one of each in the list.
18. Used the QuestInventory_Shooter prefab as Inventory Prefab in Item Manager.
19. Added vQuest Manager
20. Used QuestInventory_Shooter as Inventory prefab in Quest Manager.
21. Created new QuestListData. Used it in Quest Manager.
22. Dragged Item Manager from player tp Item manager in quest manager.
23. created a discovery quest in the editor. Quest set to active at startup.
24. created an asassinate quest.
25. created Quest NPC. Used vActionText and QuestListData.
26. Added a sphere collider as Quest Trigger for the discovery quest.
27. Added discover quest target script to the sphere.
28. used the discovery quest as quest.
29. Copied ItemCollectionDisplay and QuestHUD from UI refab to vUI.
When I run the game now, the discovery quest works. When I accept the assassinate quest, and talk to him again,
I can see the assassinate quest two times in the dialog box.
30. Added the Assasinate target with Invector AI, added quest target and selected the event for 'on death'.
Running the game and complete the discovery quest. Looking into the quest list through the menu, the quest is still
listed there.
Same bug with seeing two quests at the quest provider (not selectable), and killing the target
completes the quest. Now the quest provider shows no quests (as intended), but both quests are in the 'inventory' quest list
for the player.
Errors / Notifications in the console:
(1)
You are trying to create a MonoBehaviour using the 'new' keyword. This is not allowed. MonoBehaviours can only be added using AddComponent(). Alternatively, your script can inherit from ScriptableObject or no base class at all
UnityEngine.MonoBehaviour:.ctor()
Invector.vMonoBehaviour:.ctor()
EviLA.AddOns.RPGPack.vQuestTarget:.ctor()
System.Activator:CreateInstance(String, String)
EviLA.AddOns.RPGPack.vQuest:get_QuestTarget() (at Assets/EviLA-RPGPack/Scripts/Core/Data/vQuest.cs:67)
EviLA.AddOns.RPGPack.vQuestSystemManager:CreateProxy(vQuest) (at Assets/EviLA-RPGPack/Scripts/Core/Components/vQuestSystemManager.cs:1160)
EviLA.AddOns.RPGPack.vQuestSystemManager:<UpdateProxies>m__C(vQuest) (at Assets/EviLA-RPGPack/Scripts/Core/Components/vQuestSystemManager.cs:1115)
System.Collections.Generic.List`1:ForEach(Action`1)
EviLA.AddOns.RPGPack.vQuestSystemManager:UpdateProxies() (at Assets/EviLA-RPGPack/Scripts/Core/Components/vQuestSystemManager.cs:1113)
EviLA.AddOns.RPGPack.vQuestSystemManager:.ctor() (at Assets/EviLA-RPGPack/Scripts/Core/Components/vQuestSystemManager.cs:60)
EviLA.AddOns.RPGPack.vQuestSystemManager:get_Instance() (at Assets/EviLA-RPGPack/Scripts/Core/Components/vQuestSystemManager.cs:50)
EviLA.AddOns.RPGPack.vDiscoverQuestTarget:OnTriggerEnter(Collider) (at Assets/EviLA-RPGPack/Scripts/Core/Targets/vDiscoverQuestTarget.cs:20)
(2)
You are trying to create a MonoBehaviour using the 'new' keyword. This is not allowed. MonoBehaviours can only be added using AddComponent(). Alternatively, your script can inherit from ScriptableObject or no base class at all
UnityEngine.MonoBehaviour:.ctor()
Invector.vMonoBehaviour:.ctor()
EviLA.AddOns.RPGPack.vQuestTarget:.ctor()
System.Activator:CreateInstance(String, String)
EviLA.AddOns.RPGPack.vQuest:get_QuestTarget() (at Assets/EviLA-RPGPack/Scripts/Core/Data/vQuest.cs:67)
EviLA.AddOns.RPGPack.vQuestManager:AcceptQuest(vQuest, Boolean, Boolean) (at Assets/EviLA-RPGPack/Scripts/Core/Components/vQuestManager.cs:221)
EviLA.AddOns.RPGPack.vQuestManager:AcceptQuest(vQuest) (at Assets/EviLA-RPGPack/Scripts/Core/Components/vQuestManager.cs:182)
EviLA.AddOns.RPGPack.vQuestSystemManager:SetInitiallyActiveQuest() (at Assets/EviLA-RPGPack/Scripts/Core/Components/vQuestSystemManager.cs:399)
EviLA.AddOns.RPGPack.<WaitAndActivate>c__Iterator0:MoveNext() (at Assets/EviLA-RPGPack/Scripts/Core/Triggers/vTriggerInitialQuest.cs:35)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
(3)
You are trying to create a MonoBehaviour using the 'new' keyword. This is not allowed. MonoBehaviours can only be added using AddComponent(). Alternatively, your script can inherit from ScriptableObject or no base class at all
UnityEngine.MonoBehaviour:.ctor()
Invector.vMonoBehaviour:.ctor()
EviLA.AddOns.RPGPack.vQuestTarget:.ctor()
System.Activator:CreateInstance(String, String)
EviLA.AddOns.RPGPack.vQuest:get_QuestTarget() (at Assets/EviLA-RPGPack/Scripts/Core/Data/vQuest.cs:67)
EviLA.AddOns.RPGPack.vQuestManager:AcceptQuest(vQuest, Boolean, Boolean) (at Assets/EviLA-RPGPack/Scripts/Core/Components/vQuestManager.cs:221)
UnityEngine.Events.UnityEvent`3:Invoke(vQuest, Boolean, Boolean)
EviLA.AddOns.RPGPack.vQuestWindowDisplay:AcceptQuest() (at Assets/EviLA-RPGPack/Scripts/Core/UI/vQuestWindowDisplay.cs:59)
UnityEngine.EventSystems.EventSystem:Update()
|
|
|
Post by cheesee09 on Mar 16, 2019 17:14:04 GMT
Hi can anyone help me? Before the shop system works, I can buy and sell but bow it doesn't work. I can access the vendor menu but when I buy items it doesn't work. I followed the tutorial by wiglord and in the documentation but it won't work anymore
|
|
|
Post by dreamwalker on Mar 19, 2019 18:06:57 GMT
Hi can anyone help me? Before the shop system works, I can buy and sell but bow it doesn't work. I can access the vendor menu but when I buy items it doesn't work. I followed the tutorial by wiglord and in the documentation but it won't work anymore These issues have been around for months and since the last update it hasn't worked. Occasionally Tharindu pops up and asks what the problem is , you tell him and then nothing is done about it. This add on is pretty much abandoned as he will not let any take it over. Try the Ork framework it should have everything you need and there is an Invector integration.
|
|