Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - edsquare

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 »
136
Off-Topic / Would someone please?
« on: August 04, 2014, 04:19:56 AM »
Just chop off my right leg a little below the knee?

137
It's not really intrusive, since I was planing to do a reinstall anyway because of the problems with Lazarus, but if you want an answer more quickly...
I'll do it, give me an hour or so, to finish up a couple of things and then I'll give it a go.

Take your time, and do what you prefer. ENIGMA is working fine on my machine, so my only concern is for your setup.

I meant to know if it's my setup or enigma-lgm the culprit here (more likely than not my set up), okey since I can't do a thing about it any way I think I'll wait to do the clean install. I am almost 100% sure the problem will be solved by it.

138
Actually, if you want a less intrusive test, just do this:

  • Make a new user account on your system
  • Log in, download the latest master
  • Make a new, empty game in ENIGMA, add 1 object in 1 room, and compile.

If that works, then, yes, this is a caching problem.

It's not really intrusive, since I was planing to do a reinstall anyway because of the problems with Lazarus, but if you want an answer more quickly...
I'll do it, give me an hour or so, to finish up a couple of things and then I'll give it a go.

139
Just to put things in perspective, I have only rarely run into issues with ENIGMA caching things improperly. In all cases, I deleted ~/.enigma and then re-ran the program and everything was fine. If you have properly backed up your system (and you are not worried about the consequences) you can try this.

Right after I finish backing up everything I wil do so.

140
Interesting. Does anyone know what this "timelines extension" is? I implemented my timelines improvements in the main source tree (Universal_System), and it seems like the one in "Extensions" doesn't do anything anyway.

So, just to reiterate, Universal_System/timelines_object* must exist for timelines to work. This is in mainline, and has nothing to do with the timelines extension. Also, the current master works, so try recompiling ENIGMA from that and re-building your code.

Recompiling does nothing about the issue, already tried that, it must be some configuration file that is preventing stuff to work properly. I'll delete the Windows7 and install there LinuxMint 17 32B, then I'll have 2 installs of the exact same OS (Well one a clean install and the other an upgrade), then I will reinstall enigma and see if that solves this stuff. If it does we know not to upgrade  :D If it doesn't we'll know it is a bug on enigma; what do you think? After that I can wait some time before erasing this install and installing LinuxMint 17 64b on its place.

141
Okey, I'm going to start the backup of my stuff so that I can sometime this year do a clean install of my linuxmint.  :D

After Iḿ done with that, and if we (As if I did anything but complain that it doesn't work   ::) ) haven't found a solution I'll start the formatting and installing.

I'm gona be moving about 100 Gb from one disk to another, because I don't want to check what is what right now, so I'll just back up everything.   :raise:

Should I wait a bit longer?

(I have a problem with Lazarus too: when clicking on a lpi it doesn't open that project but a new one; this makes me think that all this problem could be related to the fact that I upgraded without reinstall)

142
Ok, I've tracked this down a bit more. Basically, "object_locals" inherits from several items in series:
  • event_parent
  • object_collision
  • object_transform
  • object_graphics
  • object_timeline
  • ..etc.

At one point, I moved "timeline_running", etc., from object_graphics into a new class, object_timeline. So, for some reason, the executable you're using doesn't realize that.

Can you run this command for me? (I'm assuming you're on Linux, based on the output from a previous post)
Code: [Select]
ls -al ~/.enigma/.eobjs/Linux/Linux/Debug/Universal_System/ | grep time
The result should be "timelines_object.d" and "timelines_object.o".

If that doesn't register, you might want to clean the ~/.enigma/.eobjs directory. Can one of the other developers please recommend how to do this? (I always just delete ~/.enigma, but I've been told that's unsafe).

Ran the command and nothing happened, searched for the libraries myself and didn't find them, so I searched more thoroughly and found them but in another place. Maybe the command should have been like this? :

Code: [Select]
ls -al ~/.enigma/.eobjs/Linux/Linux/Debug/Universal_System/Extensions/Timelines | grep time
If I do it like that I get :

Code: [Select]
-rw-r--r-- 1 eduardo eduardo  153 jul 29 21:23 timelines.d
-rw-r--r-- 1 eduardo eduardo  783 jul 29 21:23 timelines.o

What do you think?

EDIT : Deleting the directory is unsafe? Why? I've done that for some linux directories when needed and linux recreates them automagically, I suppose enigma won't do that but I can always compile it again; or when does that directory get created?

143
Off-Topic / Re: No rush
« on: August 03, 2014, 12:53:07 AM »
I think you guys should all take a vacation, to Jamaica.

Can I take my wife and kid? Are you paying?  :D

144
How bizarre; it looks like it's taking some code from the "old" timelines implementation, where I put these variables in a different place.

I'll have a look at my end and see if there's a messed up merge somewhere. Do you know what commit you're running?

The one that was ready for download two days ago. I downloaded manually and replaced in my enigma folder.

I think this may be caused by something I did, let me check if the fix for my other problem fixes this too.

(Warning! the owner of /home/(user)/.config/ibus/bus is not root!)

This because now I have to use gksudo everytime I want to run a graphical application as administrator, and the devs say it's not a bug so they won't fix it, but it prevents some applications to write on my home folder so there you have it. the solution is to erase the folder and restart your system at which time the folder is recreated automagically and whenever launching any graphical app as administrator not to do it as sudo but with gksudo. (Not a bug.... Fuck the guy who said that!)

EDIT : Okey fixed the warning but no luck, my other problems persist, I may have to make a clean install (fuck!) and first I need to copy to my other disck around 100Gb of various files! this may take a while, but on the bright side I can take advantage and install a 64B linux too, then 2 VM with a windows each... Anybody has ever used ReactOS? with enigma I mean.

145
Programming Help / Re: Where do I find ENIGMA's API?
« on: August 02, 2014, 07:39:08 PM »
Yes it would be easier to utilize the CLI, because you literally just pass the file path to it and it will build it. However there does need to be a way to shut it down, a stop button for instance, and do other things.

I meant it would be easier for an IDE to connect to the CLI and let it manage ENIGMA. You launch the CLI and don't have a way to stop it? The IDE needs to be connected to it as long as it's running but it would be easie to send it a close signal when you close the ide.

The state of RadialGM is just the GUI, there is no functionality, that is what needs done, it needs resources added, file handling and hooking up the editors to the resources. Now the reason this has been so slow is we've constantly been debating how to make it extremely modular and abstract. I may disregard all of this and begin programming it to be at least functional and then we can focus on improving small aspects of it as we go, like we've done with the rest of our projects.

You could fork the project before that, then you have the base for a RadialGM Mk II in the future and this one could be more modular. Only please, remember not all your users know how to create a makefile, you could use codeblocks, it allows to compile C++/QT projects and it creates a project; when you want to compile just open the project in codeblocks and click compile; it even has the option to compile as a DLL

146
Programming Help / Re: Where do I find ENIGMA's API?
« on: August 02, 2014, 05:47:09 PM »
Don't forget the CLI can build a ton of games now as well. It just needs polished up, and it still don't support fonts.


It would be easier to conect to the CLI right?

Also you didn't answer my quiestion about RadialGM. Is it ready to use? if not, what is the todo list?

147
Hm. It's possible there's some default code in events.res that is creating problems. I might ask Sorlok; he's the one who implemented timelines for us, so he'll recognize that code.

Could you tell me what happens if you disable the Timelines extension? If it's disabled, enable it, and the problem should go away.

Thanks man!

Timelines enabled or disbled is the same error every time (sorry way ahead of you, tried that but forgot to edit my post.  :( ), at least with the already made games, will try to make one from scratch latter today.

148
Programming Help / Re: Where do I find ENIGMA's API?
« on: August 02, 2014, 09:48:04 AM »
If you already know some C++ you can pick up pascal really quick,

Don't forget I learned PASCAL in school, :D  For some reason I enjoyed more learning C++.  I wish I had learned C++ back then instead of PASCAL. :P

That's one of the reasons there are so many programming languages, the choice sometimes is also which feels easier, more enjoyable to you.

Quote
Quote
it's a lot easier, only problem you have to declare your variables ahead and on the right place  :)

I always do that / always did that.  I NEVER write any code with undeclared variable.

I know enough C++ to know that you have to declare and initialise your variables, I was talking about the fact that in pascal you have a special section for it depending if they are local, global or what not.

Quote
And you can use the delphi one to teach yourself Lazarus with only minimal modifications.

First build me a time machine so I can go back in time. :D

Isn't G**Maker's IDE done in Delphi ?  Many people have been critical about the IDE for being in Delphi.

You know what for now I will stick to C++, and if I have some time I might learn other stuff.  Thanks for the info :)
[/quote]

The problem with Delphi is that it almost became another .NET language for a while, even now they haven't got rid of all the stuff their users can do using activex controls, this speeds up the development but it's not portable code, it will only run on windows. YYGM is made in Delphi-Object Pascal... Tools so obsolete that they managed to make the software that has been the standard for many years in easy game making.

That said you should us whatever you feel more comfortable using, some one once told me a really good programmer should know 3 or 4 languages at least, and that the should include an interpreted one, a web one, a math one and a general one. Also C++ has a shitload of libraries to use, the only other language that comes close to C++ in that regard is Python... but it's an interpreted language, so the right tool for the right job according to your expertise.  :D

Peace out bro!

149
Programming Help / Re: Where do I find ENIGMA's API?
« on: August 02, 2014, 09:34:12 AM »
I don't understand : it seems to me that there is a big elephant in the room, and nobody is talking about it !  :D Robert made a 'Command Line Interface' : http://enigma-dev.org/forums/index.php?topic=2047.0, so ENIGMA can be easily used from any IDE. Or perhaps i misunderstood something ?

Fuck me! you're right! I'm talking low level when I can do it a little more high level! There's no question about it... I'm an idiot.

150
Programming Help / Re: Where do I find ENIGMA's API?
« on: August 02, 2014, 01:15:54 AM »
Yes I was aware that procedures can us variables :P

BTW, you will have to re-teach me PASCAL :D

Yes I remember using the word procedure, I've done work in PASCAL back then :D
But did not pursue. I do remember READLN and WRITELN lol.  I could make a text version and console version of LGM lol!

If you already know some C++ you can pick up pascal really quick, it's a lot easier, only problem you have to declare your variables ahead and on the right place  :)

Here is a free basic course online:    http://www.pp4s.co.uk/
Here an online free pascal compiler: http://www.compileonline.com/compile_pascal_online.php

Two great books: http://www.marcocantu.com/epascal/  and  http://www.marcocantu.com/EDelphi/  both can be downloaded for free in the website of the author (the links I just gave you)

And you can use the delphi one to teach yourself Lazarus with only minimal modifications.

So anytime you want feel free to give me a yell and we can get to work on Chimera  :raise:


Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 »