Giter VIP home page Giter VIP logo

Comments (4)

britzl avatar britzl commented on May 30, 2024

But do you really need to be able to control the order in this case? Other scripts with commands should be able to register even if the server hasn't started?

from defcon.

subsoap avatar subsoap commented on May 30, 2024

console.server is not available until console.start() is called so anything which uses console.server will not work until console.go gets a chance to init. I solved it for me by putting the same functions that console.go has into the script I can using console.server with on its init.

from defcon.

rocamocha avatar rocamocha commented on May 30, 2024

console.server is not available until console.start() is called so anything which uses console.server will not work until console.go gets a chance to init. I solved it for me by putting the same functions that console.go has into the script I can using console.server with on its init.

This seems like it's a super sensible solution to that problem if you were to do this maybe via a module and using a flag that only pops once to toggle execution. Are there other use cases for a guaranteed run-first script that can't be solved by a similar solution?

from defcon.

britzl avatar britzl commented on May 30, 2024

It should be possible to solve this in defcon.lua too. Let me take a look.

from defcon.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.