camelot10 155 Posted March 2, 2017 Share Posted March 2, 2017 1. how i can put filename instead of code? 2. its possible to put multiple .cs in that node? to attach multiple .cs 3. path relative to "Quester" folder or script ? Link to comment https://wrobot.eu/forums/topic/5272-new-script-node-in-quester-profiles/ Share on other sites More sharing options...
camelot10 155 Posted March 3, 2017 Author Share Posted March 3, 2017 ok. here some discovered information you can attach only one external .cs file (see below) path relative to WRobot\Profiles\Quester\ you cannot use code/classes/methods from Script in profile Steps (see test.xml). Only in Quests Editor: inside pulse, or full C# or conditions static constructor started before product start, this mean you can adjust currentSettings to avoid some strange behaviours. example: http://wrobot.eu/bugtracker/no-gather-skill-or-skinning-in-mass-battle-areas-r634/ WRONG camelot10\Libs\Tester.cs camelot10\Libs\Camper.cs WRONG camelot10\Libs\Tester.cs, camelot10\Libs\Camper.cs CORRECT camelot10\Libs\Tester.cs Constructor starts before product 17:18:22 - [TESTER] contstructor 17:18:23 - [Quester] Started Link to comment https://wrobot.eu/forums/topic/5272-new-script-node-in-quester-profiles/#findComment-24301 Share on other sites More sharing options...
Droidz 2738 Posted March 3, 2017 Share Posted March 3, 2017 Hello, Path is relative to "\WRobot\Profiles\Quester\" If you want to use external file(s) (because you can put c# code directly in the profile), you can load multiple c# files (since today update), put one file by line. I have added this feature for mainly for two reason: 1: You can use classes, methods, variables of your codes in the "quests order" (steps), and in your quests (also from your quests settings like "Is Complete Condition"). 2: You can run code before than WRobot start (before default WRobot states like Farming, IsAttacked, Looting, Resurrect,...) (useful to change wrobot settings). Sample of use: test.zip reapler and Findeh 2 Link to comment https://wrobot.eu/forums/topic/5272-new-script-node-in-quester-profiles/#findComment-24318 Share on other sites More sharing options...
reapler 154 Posted June 1, 2017 Share Posted June 1, 2017 @Droidz Very good implantation. But is it also possible to using other c# related stuff like using namespaces? Link to comment https://wrobot.eu/forums/topic/5272-new-script-node-in-quester-profiles/#findComment-27290 Share on other sites More sharing options...
camelot10 155 Posted June 2, 2017 Author Share Posted June 2, 2017 17 hours ago, reapler said: @Droidz Very good implantation. But is it also possible to using other c# related stuff like using namespaces? you can use namespaces in scripts reapler 1 Link to comment https://wrobot.eu/forums/topic/5272-new-script-node-in-quester-profiles/#findComment-27321 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now