Jump to content

cipicips

WRobot user
  • Posts

    5
  • Joined

  • Last visited

Reputation Activity

  1. Thanks
    cipicips got a reaction from Skemez in Would like to learn.   
    Hello there,
    After you instal Visual studio C# and downloaded (extracted) Metania files and lets say you wanna compile FrostmageVanila fight class you do the following:
    - Open Metania folder and find folder FrostMageVanila
    - inside you will see FrostMageVanilla.sln (double click and open this with visual studio)
    - When the file is oppened in Visual Studio on the right side you will see Solution Explorer Where C# FrostMageVanilla is represented (if it is collapsed click the small arrow next to it so it expands and show more files)
    - In expanded tree you will see a REFERENCES which you must also expand to show you which references you are missing (it will have small yellow triangle next to it)
    - ALl the missing references you have to add manualy for example if you missing reference wManager first you right click on that reference and click REMOVE (remove all the references with yell triangle, also remember which one you remove so you can add them)
    - Next right click on REFERENCES (which you expanded) and you will have option to Add References, click on that and on the new window bottom right corner you have BROWSE, click on browse and now you have to find the missing references
    - All the missing references you will find in the BIN folder of the WROBOT folder, so browse to the BIN folder and with click on references you wanna add i.e. wManager .dll
    - After you added all the references, you have to set output path for compailing. To do that, also on the right side where is the Solution and first FrostMageVanilla (which you expanded) you right click on that FrostMageVanilla and select properties
    - New window will appear and on the left side you have option BUILD, click on build and at the bottom you have OUTPUT path. You select place where you wanna yours compiled files to be.
    - Next you have to remove Authenitcation, to do that on right side in the solution explorer you find FrostMageVanilla.cs (this is the main file), you open in and find this line:

    Authentication authentication = new Authentication(FrostMageSetting.CurrentSetting.TransactionId, "b3f4712933be");
    you can delete that line or just comment it using double sign / for example.
    //Authentication authentication = new Authentication(FrostMageSetting.CurrentSetting.TransactionId, "b3f4712933be");
    - Next, you are ready to build the file, on top of the VIsual Studio you have BUILD, click on it and select BUILD solution.
    - AFter that at the bottom you should see no ERRORS and few warrnings. ALso message about compailing time will appear at the bottom.
    - If everything went wll in your OUTPUT path folder where you selected the build you will now see FrostMageVanilla.dll which you use as fightclass.
     
    Hope it helps
     
     
×
×
  • Create New...