Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
  • How do i upload script to SDN?


    GhostData
     Share

    Recommended Posts

    I have already requested a Repo and have pushed my code to the repo.

    I have tried 2 project structures.

    GhostData /
       ...LiveScripting /

       ...<project files>

     

    and

    GhostScripts /

       ...<project files>

     

    Whenever i try to submit the script to the SDN it gives me an error saying that i cannot have special characters or that the git repo does not exit. The attached pictures is the normal error i am getting now along with a list of my repositories on dreambot.

     

    What is the correct way to have my repo structured? or am i just being dump and cannot find the guide to walk me through this.

    sdn setup help.PNG

    repos created.PNG

    Link to comment
    Share on other sites

    So your repo (GhostData or GhostScripts, whichever you use) is the "repo", and the module is the top level folder inside of that repo so it should look like this:

    GhostData
    └── ScriptOne
        └── src
            └── Script.java

    Where "GhostData" is the repo, and "ScriptOne" is the module for the script inside of that src folder.

    Make sure you're adding, committing, and pushing your files to the repo before trying to add it, otherwise we won't know about those files :)

    Link to comment
    Share on other sites

    • 3 weeks later...
    On 7/30/2022 at 1:50 PM, Pandemic said:

    So your repo (GhostData or GhostScripts, whichever you use) is the "repo", and the module is the top level folder inside of that repo so it should look like this:

    GhostData
    └── ScriptOne
        └── src
            └── Script.java

    Where "GhostData" is the repo, and "ScriptOne" is the module for the script inside of that src folder.

    Make sure you're adding, committing, and pushing your files to the repo before trying to add it, otherwise we won't know about those files :)

    I still dont get what im doing wrong here. That is exactly how my project files look. Does the "Script.java" have to be top level?

    This is the exact code and folder structure i have uploaded to the SDN https://github.com/GhostDataIsDreaming/GhostIsDreamingScripts and im trying to have it post "LiveScripting" to the SDN

    Edited by GhostData
    Link to comment
    Share on other sites

    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
     Share

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.