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.


Topics - retep998

Pages: [1]
1
Issues Help Desk / Stuff referencing each other.
« on: July 10, 2010, 03:34:59 PM »
Suppose I have this c++ code.
How should I mess with definitions to get this working?
Code: [Select]
class foo { bar opposite(); };
class bar { foo opposite(); };

2
Issues Help Desk / Error
« on: May 24, 2010, 03:01:21 PM »
http://pastebin.com/xj7rH56R
Code: [Select]
C:\Users\Owner\Documents\Coding\Enigma\trunk>java -jar lgm16b4.jar
Java Version: 10600 (1.6.0_20)
Loading lib files in C:\Users\Owner\Documents\Coding\Enigma\trunk\lgm16b4.jar
01_move.lgl 02_main1.lgl 03_main2.lgl 04_control.lgl
 05_score.lgl 06_extra.lgl 07_draw.lgl
SvnKit missing, corrupted, or unusable. Please download and place next to the en
igma plugin in order to enable auto-update.
Initializing Enigma: Exception in thread "main" java.lang.UnsatisfiedLinkError:
Unable to load library 'compileEGMf': The specified module could not be found.

        at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:164)
        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:237)
        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:200)
        at com.sun.jna.Native.register(Native.java:1013)
        at org.enigma.backend.EnigmaDriver.<clinit>(EnigmaDriver.java:14)
        at org.enigma.EnigmaRunner.initEnigmaLib(EnigmaRunner.java:119)
        at org.enigma.EnigmaRunner.<init>(EnigmaRunner.java:96)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at org.lateralgm.main.LGM.loadPlugins(LGM.java:297)
        at org.lateralgm.main.LGM.main(LGM.java:512)
I updated to the latest revision and compiled the dll.
And I got this error.
Fix please.

3
General ENIGMA / Tradeoff
« on: May 17, 2010, 11:48:46 AM »
Has anyone noticed that as we've been having less and less members (Less registrations. Less people online at the same time), we've also been having more and more posts.
So the less people there are posting, the more posts they create  :raise:

4
Proposals / Benchmark mode
« on: May 14, 2010, 02:46:50 PM »
Since processors have lots of fancy extensions like SSE and 3DNow! which can really speed code when optimized to use them, I have the following suggestion:
Add a benchmark mode to enigma where gcc will compile the game to make as much use of the extensions on your processor as it can.
This will allow the developer to see just how fast their code can go, and if they have a shitty dev machine, compensate for the lack of power so they can at least experience their own game closer to how the hardcore gamers would.
Just a suggestion.

5
Off-Topic / FREE PORTAL
« on: May 12, 2010, 03:42:58 PM »
http://store.steampowered.com/freeportal/
For both mac and pc.
Get it while it's free!
"If at first you don't succeed, you fail"

6
Issues Help Desk / Physics bugs
« on: May 01, 2010, 06:40:12 PM »
Here is teh gmk with teh problems:
http://www.upurload.com/file.php?name=1e145e3d0c573fe335e636cdd8f09983.gmk

Here are teh bugs that have been found
  • If you walk towards the wall and jump so you hit it in midair, you get a speedboost (FIXED)
  • If you walk into the corner and jump while pressing right, you sometimes jump through the wall and fall down into nothingness
  • If you move around and jump a few times in a row you fall through the floor. If you're standing perfectly still this does not occur.
  • There may be more...
If anyone can fix these bugs, please do so.
If anyone has any tips on how I can fix these bugs, I'd appreciate them (except for fede-lasse's topic of tips)
Thanks

7
Off-Topic / Mcafee and game maker
« on: April 29, 2010, 10:46:28 PM »
My college has mcafee on all their computers, and due to a recent update, the compiling stage of game maker is detected as a trojan. I can edit my gmks and i can run my exes but i cannot create an exe from a gmk.
As well, the college computers lack modern java so enigma fails.
Hence, the majority of my time when I'm stuck at college goes to waste since i cannot develop my maplestory clone D:
http://glog.yoyogames.com/?p=823
Quote from: Sandy
Seems McAfee weren’t happy disabling thousands of Windows XP machines with their latest update, but they’ve taken umbrage with Game Maker too.  May also be that some other AV programs such as AVG are reading Game Maker games as Trojans.

8
Issues Help Desk / STUPID IRC
« on: April 26, 2010, 10:22:46 PM »
JUST WTF!!!
WHAT THE HELL IS GOING ON???
WHY ARE YOU BANNING ME???
ALL I DID WAS AGREE THAT THE FORUMS WERE DIEING AND YOU BANNED AND KICKED ME!!!
LET ME BACK ON!!!
THE FORUMS ARE DEAD!!!
WITHOUT THE IRC THERE IS NOTHING!!!
NOOOOOOOOOOOO!!!

9
Off-Topic / Challenge
« on: April 14, 2010, 01:44:45 PM »
I have a program which extracts images into weird encoded data.
The challenge is to identify what type of picture data it is, and then convert it into a picture.

Here is the download link (to the weird encoded data, not the program):
http://upurload.com/dl/?n=1662

Don't forget to tell me what steps you took to convert the data since you gain credit for documenting the steps you took, not the final results (I have the original).

Have fun!

Hints:
Dimensions are 38x43
The original is a png in RGB color mode with an alpha channel
No, it is NOT a simple resave in notepad.

10
Off-Topic / ACTA
« on: March 25, 2010, 11:38:44 PM »
http://thepiratebay.org/torrent/5425059/ACTA_Agreement_leaked_
http://en.wikipedia.org/wiki/Anti-Counterfeiting_Trade_Agreement
This is the end of us all.

Here are some key points
*It's international
*Guilty until proven innocent
*Companies and governments can completely invade your privacy on the slightest suspicion without a warrant
*There's no legal due process. Once you are charged, you're screwed since you can't defend yourself.
*DRM protected media would not be legally playable with free software, so no longer can you play DRM-protected games on linux, nor Wine. So if you don't want to buy windows, then you can't play games you bought legitly.
*Every single little nub who makes a clone using gm and ripped graphics can be prosecuted, and that nub can't do jack shit about it. There goes our future coders...
*If you play one of those clones, you broke the law.
*If you copy a track off a cd onto your mp3 player, you broke the law.
*If you lend your friend a cd or a dvd, you broke the law
*If you do ANYTHING with your digital media, except listen to/watch/play it as it is, you are screwed.

It's not too late to stop them!
Petition your local representative!
Become an objectivist! (Go read some Ayn Rand)
Resist government regulations!
Support laissez-faire capitalism!

11
Function Peer Review / Collisions
« on: March 23, 2010, 10:27:56 AM »
Imma be working on collision code right here on the forum without compiling it!

collision_point:
Code: [Select]
//Depending upon how fast different variations of the following code will run, this code will be rearranged to optimize speed.
//Oh wow, I forgot that this returns the id of the colliding instance, so I fixed it
int/*Or whatever datatype an instance id is...*/ collision_point(x,y,obj,prec,notme){
    with(obj){//x,y refer to the arguments. this.x,this.y refer to the object we are checking
        if(obj==notme){continue;}//I could check earlier if the calling instance is not a member of obj, to avoid having to do this check every single iteration.
        if(this.x-bb_left<=x and this.x+bb_right>=x and this.y-bb_top<y and this.y+bb_bottom>y){//the four bb_ variables are assumed to be the bounding box of the mask of the object relative to the origin, and they are all assumed to be positive.
            if(!prec){//I might put precise and nonprecise checking into their own separate loops. With properly optimized mask handling, i could check the point collisions for precise checking without having to check the bounding box!
                return id;
            }
            //The following code may be altered depending upon the relativity of mask texture coordinates and the origin and the bounding box
            if(mask[x-this.x+bb_left,y-this.y+bb_top]){//Assuming mask is a bool rectangular array with coordinates starting at the top left of the bounding box
                return id;
            }
        }
    }
}

Code: [Select]
//This is the same as the above except optimized to run a bit faster by calling certain checks only if needed.
int collision_point(x,y,obj,prec,notme){
if(this_is_an_instance_of(obj)){//Checks if the notme check should be checked
if(prec){
with(obj){
if(obj==notme){continue;}
if(this.x-bb_left<=x and this.x+bb_right>=x and this.y-bb_top<y and this.y+bb_bottom>y){
if(mask[x-this.x+bb_left,y-this.y+bb_top]){
return id;
}
}
}
return noone;
}
with(obj){
if(obj==notme){continue;}
if(this.x-bb_left<=x and this.x+bb_right>=x and this.y-bb_top<y and this.y+bb_bottom>y){
return id;
}
return noone;
}
}
if(prec){
with(obj){
if(this.x-bb_left<=x and this.x+bb_right>=x and this.y-bb_top<y and this.y+bb_bottom>y){
if(mask[x-this.x+bb_left,y-this.y+bb_top]){
return id;
}
}
}
return noone;
}
with(obj){
if(this.x-bb_left<=x and this.x+bb_right>=x and this.y-bb_top<y and this.y+bb_bottom>y){
return id;
}
return noone;
}
}

Also here is how rotation and scaling will be handled:
There will be a macro called INSTANT_MASK_UPDATE
Each instance will have a mask sprite and copy of the mask with rotation and scaling applied.
If INSTANT_MASK_UPDATE is enabled, then every single time you modify image_angle, image_xscale, or image_yscale, the second mask will be immediately updated, even in the middle of a collision event. Also, if you modify mask_index, both masks will be updated right away.
If it is disabled, then they will only update at the end of each event. However you can still update your masks by using mask_flush();

Moar to come!

12
Website Bugs / Too much forum crashing
« on: March 12, 2010, 12:25:08 PM »
Quote
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@enigma-dev.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
THIS NEEDS FIXING

Pages: [1]