Jump to content

Recommended Posts

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

 

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

  • 2 months later...
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...