Announcement

Collapse
No announcement yet.

[Plugin] Http/s REST, blueprintable JSON and Parse REST API manager at once (VaRest)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    With 4.25.2 I'm having issues getting my project to package. So I did a fresh pull on the repo and tried to load the the project and can't. I have make sure that the plugin is installed in the engine, but am getting this error when I try to load or build the project:

    ERROR: Expecting to find a type to be declared in a module rules named 'VaRest' in UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the 'ModuleRules' type defined by Unreal Build Tool.
    Any Ideas?

    Leave a comment:


  • replied
    ok so I Downloaded 4.25plus from github and compiled source. How do i re compile your plugin for source build engines? your wiki is gone. your site links to dead links etc.
    I need to recompile the plugin so i can use it with a project requiring chaos but it says this error when trying to compile it:

    editor modules can't be compiled while the engine is running.

    Leave a comment:


  • replied
    Hi, ufna I am facing some problem about top-level arrays reading.

    I have tried to do this: https://www.notion.so/HowTo-Read-top...de0c9e65d512f5 but it still does not work.

    Error Log is: LogVaRest: Error: UVaRestJsonObject::SetRootObject(43): Trying to set invalid json object as root one. Reset now.

    Thanks you in advance for your attention.

    P.S. UE4.21

    Edited (1): I've just found actually it did not callback after run Call URL node. Maybe it cause my issue ?
    Last edited by タナポン.TEC; 06-11-2020, 02:31 AM.

    Leave a comment:


  • replied
    Hi ufna, I have what's hopefully a quick question.

    How do I loop through a Object Array that came in as a response?

    {"ship_values":[{"total_water":"0"},{"total_material":"0"},{"total_score":"0"}]}

    Basically i'm trying to have the key and value come into UE4.

    Example:

    Click image for larger version

Name:	ObjArray.PNG
Views:	238
Size:	113.5 KB
ID:	1774287

    Thanks!

    -T

    Leave a comment:


  • replied
    Just tested, all works as it should. Please provide example that fails.

    Leave a comment:


  • replied
    Originally posted by martoof View Post
    Hi,
    Thank for 4.25 update !!! you're the best !

    "Get Response Object" seem to not work on 4.24 & 4.25?
    Can you confirm ufna ?

    I have same problem "By HevoYTB-FR on April 20, 2020 9:08 PM on marketplace"


    For the moment my only solution is to "get response content as string + construct my json object and decode json.
    I think I have the same problem. Using 4.25 from store.

    Leave a comment:


  • replied
    Hi,
    Thank for 4.25 update !!! you're the best !

    "Get Response Object" seem to not work on 4.24 & 4.25?
    Can you confirm ufna ?

    I have same problem "By HevoYTB-FR on April 20, 2020 9:08 PM on marketplace"
    I don't know how to recover the True because there is no longer the Get Response Object
    https://zupimages.net/viewer.php?id=20/17/xh6m.png
    For the moment my only solution is to "get response content as string + construct my json object and decode json.
    Last edited by martoof; 05-10-2020, 01:43 PM.

    Leave a comment:


  • replied
    Hey, this plugin is amazing,

    when I use the GitHub repository for 24.25 it tries to rebuild the modules (VaRest and VaRestEditor), however, it crashes and displays a message saying that my project can not be compiled. have someone have any luck using varest for UE4.25?


    PD: do you know if it's going to be soon at the market place for 4.25?

    Leave a comment:


  • replied
    ufna VaRest is a life saviour! Thank you. Please update to 4.25.0 and let me know where can I donate

    Leave a comment:


  • replied
    The links provided in the OP does not go to usage examples, nor does it have any documentation on how to use it. Does anyone have any links to how to use this with example blueprints? The few youtube examples are from old versions which isn't the same

    Edit: It turns out you can set the target to the node as VA Rest Subsystem. So it kind of works now but no documentation yet >.<
    Last edited by hedgie17; 04-16-2020, 01:25 PM.

    Leave a comment:


  • replied
    *edited, old post got irrelevant*

    Thanks for your pointer in the right direction, helped a lot in finding the Problem

    in the end i was editing the Target.cs files, but had to edit the Build.cs file
    Last edited by nobody0; 04-16-2020, 08:14 AM.

    Leave a comment:


  • replied
    Originally posted by nobody0 View Post
    I have been trying for a few Hours now to use this Plugin from within cpp. But this is often changed and badly documented by Epic so i had no luck yet.

    i edited my *.Target.cs to include " ExtraModuleNames.AddRange(new string[] { "VaRest" }); "
    when trying to access the subsystem with " UVaRestSubsystem vaRest; " VS recognized the missing include and suggests to add "#include <VaRest/Public/VaRestSubsystem.h>"
    this works in the editor but at compile throws error that the file can't be found, i tried many variations of the include (<>or "", direclty incldue the .h, add Runtime/ to the start ...) to no avail

    at this point i am stuck and to keep my quesiton short: how to include this Plugin to be used from cpp in UE4.24 ?
    It's not an Extra module, you should do it like this:
    Code:
    PrivateDependencyModuleNames.AddRange(new string[] {"VaRest" });
    Then you can include plugin headers:

    Code:
    #include "VaRestJsonObject.h"
    #include "VaRestRequestJSON.h"
    #include "VaRestSubsystem.h"
    etc.

    Leave a comment:


  • replied
    I have been trying for a few Hours now to use this Plugin from within cpp. But this is often changed and badly documented by Epic so i had no luck yet.

    i edited my *.Target.cs to include " ExtraModuleNames.AddRange(new string[] { "VaRest" }); "
    when trying to access the subsystem with " UVaRestSubsystem vaRest; " VS recognized the missing include and suggests to add "#include <VaRest/Public/VaRestSubsystem.h>"
    this works in the editor but at compile throws error that the file can't be found, i tried many variations of the include (<>or "", direclty incldue the .h, add Runtime/ to the start ...) to no avail

    at this point i am stuck and to keep my quesiton short: how to include this Plugin to be used from cpp in UE4.24 ?

    Leave a comment:


  • replied
    Originally posted by elmauro81 View Post

    Hi, i was doing more tests and originally i was using x-www-form-urlencoded (url) and was working but doing more tests with the latest update i changed to Json format and is workinng now!!

    and yeah, i replaced the Get VaRest Subsystem node and that fixed the compiling issue.

    Thanks for your quick answer! and thanks for this amazing plugin!

    Mauricio
    You're welcome!

    Leave a comment:


  • replied
    Originally posted by ufna View Post

    Yes, subsystem was changed, unfortunately the engine can't recomplite it itself, so "Get VaRest Subsystem" node just have to be re-created.




    405 means wrong request verb. Check you're using right (POST/GET/etc) one.
    Hi, i was doing more tests and originally i was using x-www-form-urlencoded (url) and was working but doing more tests with the latest update i changed to Json format and is workinng now!!

    and yeah, i replaced the Get VaRest Subsystem node and that fixed the compiling issue.

    Thanks for your quick answer! and thanks for this amazing plugin!

    Mauricio

    Leave a comment:

Working...
X