libai 2 Posted June 21, 2023 Share Posted June 21, 2023 I want to define some useful utility classes in plugins, which can be directly called in quester when loaded. However, when I tested it, I found that restarting WR would result in the issue of duplicate classes. Is there any way to solve this problem? thx. ps: I don't want define classes in custome scripts. Link to comment https://wrobot.eu/forums/topic/15225-quester-call-function-defined-plugins/ Share on other sites More sharing options...
Droidz 2738 Posted June 21, 2023 Share Posted June 21, 2023 Hello, What you want to do will add complexity, use this method instead:: https://github.com/droidzfr/WRobot_Packages/blob/0c22326fb1d97440beab1d8bff2e44b1569c0c23/Old paid files/camelot10/002204_[110] Mac'Aree.xml#L102 Link to comment https://wrobot.eu/forums/topic/15225-quester-call-function-defined-plugins/#findComment-68427 Share on other sites More sharing options...
TechMecca 7 Posted June 22, 2023 Share Posted June 22, 2023 10 hours ago, Droidz said: Hello, What you want to do will add complexity, use this method instead:: https://github.com/droidzfr/WRobot_Packages/blob/0c22326fb1d97440beab1d8bff2e44b1569c0c23/Old paid files/camelot10/002204_[110] Mac'Aree.xml#L102 How do we use multi classes with different files using this method? Link to comment https://wrobot.eu/forums/topic/15225-quester-call-function-defined-plugins/#findComment-68429 Share on other sites More sharing options...
Droidz 2738 Posted June 23, 2023 Share Posted June 23, 2023 In "custom script" instead to put code put the path to files to includes. After call you code from your profile, like https://github.com/droidzfr/WRobot_Packages/blob/0c22326fb1d97440beab1d8bff2e44b1569c0c23/Old paid files/camelot10/002384_[110] Broken Shore.xml#L2299 he calls https://github.com/droidzfr/WRobot_Packages/blob/0c22326fb1d97440beab1d8bff2e44b1569c0c23/Old paid files/camelot10/002400_Questing.cs#L2069 Link to comment https://wrobot.eu/forums/topic/15225-quester-call-function-defined-plugins/#findComment-68431 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