Guif0DA's Recent Forum Activity

  • > build and dist, at dist have library and dll.. i can now just make a folder named 'mysqldb' unzip them at python folder in construct?

    >

    Yes, that sounds about right...you could just unzip all of the .pyc files in the dist directory in your Python folder. If you follow the quickguide step for that everything should work.

    You could also put them all in a separate directory like you mentioned.

    but do i need to substitute the filesi n the python directory in construct or i can just make a new folder and add all of em?

    cause i want to use podsixnet too but i don't know if by substituing the existing files ill cause any problem to other modules..

  • take a look at this topic, have a lot of examples, look for the blood one too

  • I'm not sure but i think u can only add physics to the particle object itself..

  • I downloaded the executable build and already installed, now im trying to follow your tutorial

    python_library_quickguide.pdf but can't get to work.. i made the script to import mysqldb and saved it, made then a setup p2exe script:

    from distutils.core import setup
    from pyexpat import *
    import py2exe
    
    setup( console=["mysqldb.py"])[/code:3th9b3gq]
    
    but i got some errors.. if it's possible can u send me the library already done to put at construct or at last help me get this to work? i really apreciate.. thanks
    
    edit: I was running from the pythonw.exe so now i used cmd and i think it worked... made 2 folders...build and dist, at dist have library and dll..  i can now just make a folder named 'mysqldb' unzip them at python folder in construct?
  • Normally you can just do a "python setup.py install".

    If you type python at the command line and it is not recognized then you don't have Python installed correctly. Install this version of Python:

    http://www.python.org/download/releases/2.6.6/

    After you install Python and test with a "python" at the command line then try the "python setup.py install"

    If that doesn't work you could try setuptools:

    http://pypi.python.org/pypi/setuptools

    Let me know how it goes.

    p.s. Even if we get a networking plugin, it wont interface with SQL databases; so you would still need a Python solution for this or somebody would have to write an SQL access plugin.

    Edit... also try "setup.py install". ... you might not need the python in front...but you do need Python installed.

    Edit2: You may also want to try an executable build.

    http://www.codegood.com/archives/4

    but as I said i tryed to just 'setup.py build' and 'setup.py install' but none worked too..

    the command python to work, do I need to be in the in the python directory or the command works at any folder in CMD?

    like i'm im C:\Program Files\ and type python, it should recognize the command?

    edit: Downloaded setuptools and tryed to build and install, now i'm getting a different problem, something about my windows registration key

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • How do I install this module plz some1 help me..

    http://sourceforge.net/projects/mysql-python

    I downloaded already and i think i need to run this setup.py but i can't.. i extracted the folder mysql-python-1.2.3 into c:\python26\ ..this is what i tryed:

    1-open cmd

    2-cd MySQL-python-1.2.3

    3-python setup.py build

    but i get an error..''python is not recognized a command...etc"

    and if i just type setup.py build

    i get:

    importerror: no module named setuptools

    can any1 help plz?

  • I wasn't ready to announce that I was working on it, but I guess now is as good of a time as any...seeing as davo's code is plastered all over my wall in various notebook pages randomly tacked and covered in sticky notes.

    davo was pretty far along with his Online plugin. I ran through the source and it already has basic functionality. Honestly I think the community would like it as is, but davo obviously didn't feel that it was ready yet, so out of respect for him and his work I'm going to patch up a few features he was working on before I release it. Right now it works great over a LAN but I plan on including lag compensation features as well.

    It is based on Raknet - and I have spoken to Rakkar about what licensing issues that might entail. Basically, you can use the plugin as much as you want, but if you plan on releasing a major project to the public, you have to go to Raknet's site and accept the independent developer's license - which you do by downloading Raknet. You don't need Raknet to use the plugin, so after that you can delete it. You just have to make sure to accept their license. Raknet was davo's choice, not mine - but it was a good choice. Raknet is very feature rich.

    Their license is free, up until you make $50,000, after which you pay royalties. If you're making $50,000 on a Construct game, I don't think you'll mind. The license also stipulates that you mention Raknet in any readme files, splash screens, or credit screens.

    I have no idea how long it will take to reach a releasable state with this - I'm pretty sure I understand what needs to be added and how to add it, but it will take time. I have about four other plugins I'm working on as well as a day job. Luckily I don't have a life though, so development in my off time will be intense. I wouldn't expect it to take more than a month or two.

    hat's a very good news.. can't wait

  • voted in the last option.. i'm currencly working on a online project but because i'm very noob at python it taking slow steps... i'm learning python day by day.. but some things i really can't get to work..

  • Yes, I looked through the example the module real quick and I don't see why it shouldn't work. The module supports Python 2.6 so that is good.

    can u help me use it in construct?

    I'm trying to follow your tutorial but i got some questions..

    do i need to first install the module then use py2exe and then add the libraries into the construct folder?

    if so, how do i install the module? tryed but can't..

  • What about this MySQLdb module from http://www.tutorialspoint.com/python/py ... ccess.htm??

    Should work?

  • there is a method for this type of inventory pixelrebirth made.. take a look:

    Oh since we're in a sharing mood:

    http://dl.getdropbox.com/u/2306601/inventory_007x3.cap

    It's not NPC but still RPG-related. So this might interest some reading this. TheJanMan might already have it though.

  • Hi

    I'm very noob with python language yet so still learning..

    I'm planning to access a sql database with python so i found this:

    http://sourceforge.net/projects/mysql-python

    downloaded it and have many small files in it.. my question is.. what i do with them now? haha

    do i need to install it with cmd (windows user) or just drop some files in the construct folder?

    if I need to install them with cmd can't get it to work.. cause of moduletools isn't there..

    did cmd:

    cd [folder]

    setup.py build

    setup.py install

Guif0DA's avatar

Guif0DA

Member since 5 Dec, 2010

None one is following Guif0DA yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies