Menu

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.

Show posts Menu

Topics - UBERmonkeybot

#1
match the colours in as few goes as possible.


#2
It was something to do with search indexing in windows 7 so i removed all referenced to my code folder.
:enc:


******************************************************************************


This is a very strange problem,I think it is with my system but i am stumped,Skip to the last entry.I will leave the trail up.



I am getting this error after upgrading to 14.497.


linking:
Access is denied.

*** ERROR - Can't overwrite program. Is it still running?
_______________________________________
*** Finished ***
Elapsed: 2.8 sec. Time: 15:11
Build: 0 succeeded.
*** 1 FAILED ***


I cannot see the file in taskmanager and i cannot delete the .exe from the  .app folder if i clean the project it works sometimes but generally i have to kill explorer.
#3
This doesn't work on my windows 7 system,It used to.

PRINT "Hit me", 100, 100
SHOWSCREEN
KEYWAIT
PRINT "OK", 100, 100
SHOWSCREEN
KEYWAIT

It's from the manual.
#4
3D / Great 3d Resource
2016-Nov-18
I just stumbled across this... https://nasa3d.arc.nasa.gov/

3d space things.It even included 3d captures from mars!!!


Bloody great! :booze:
#5
Announcements / Game of Life
2016-Jun-27
This is my implementation of Conway's game of life.

Any live cell with fewer than two live neighbours dies, as if caused by under-population.
Any live cell with two or three live neighbours lives on to the next generation.
Any live cell with more than three live neighbours dies, as if by over-population.
Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

so you can try to create  patterns that will live for as long as possible.




https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
I am also testing my fledgling UI.

Thanks for looking.
#6
It's destructible 2d land,in the style of lemmings.It's all very rudimentary but i get joy from blowing loads of little men up and watching them splat!

You can draw or rub out land(LMB/RMB)

Press "B" to blow land up.

+/- Change brush

#7
I have messed up my install of GLB

here's what i did.

I couldn't get the SDK manager to launch so started fiddling with paths etc and broke android compilation.

I have deinstalled everything cleaned reg ,ran cc cleaner.

reinstalled  JAVA and GLB and re associated paths(i am sure they are right)

when i  attempt to compile for android

i get a log


*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.037 SN:f6c7483b - 3D, NET
Wordcount:3 commands
compile+link:
*** FATAL ERROR - Please post this output in the forum
_______________________________________
*** Finished ***
Elapsed: 5.6 sec. Time: 14:56
Build: 0 succeeded.
*** 1 FAILED ***


and that's it,no hints at all.
what do you reckon SF?

#8
This is getting really boring now!!!


I have updated to V3.01.2 of android extras as well

Android_swt is pointing to x86 swt.jar
Java_home is pointing to JDK folder(32 bit)
I have no spaces in any file paths

Compile fails at line 649 & 694  in ant/build.xml

Can someone point me in the right direction? I need to know why this is happening so i can actually deduce WTF is going on when it inevitably happens again.





Logfile:
_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.037 SN:f6c7483b - 3D, NET
Wordcount:473 commands
compile+link:

running glb_build.bat
Using ANDROID_TARGET="android-22"
You can use "C:\Users\pc\Desktop\coding\glbasic\GLBasic\breakout\distribute\Android\glb_android_build.bat" to change the API level and SDK path.
ECHO is off.
androidmanifest.xml:
Make sure to check do a manual check for those.
android:minSdkVersion="10" android:targetSdkVersion="22"
ECHO is off.

AndroidIcons.exe [v21-3-2015] running...
copy C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/icon_36_AndroidExtras.png to C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/distribute/Android/res/drawable-ldpi/icon.png
copy C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/icon_48_AndroidExtras.png to C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/distribute/Android/res/drawable-mdpi/icon.png
copy C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/icon_72_AndroidExtras.png to C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/distribute/Android/res/drawable/icon.png
copy C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/icon_72_AndroidExtras.png to C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/distribute/Android/res/drawable-hdpi/icon.png
copy C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/icon_96_AndroidExtras.png to C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/distribute/Android/res/drawable-xhdpi/icon.png
copy C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/icon_180_AndroidExtras.png to C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/distribute/Android/res/drawable-xxhdpi/icon.png
copy C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/icon_192_AndroidExtras.png to C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/distribute/Android/res/drawable-xxxhdpi/icon.png
C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/icon_ouya_AndroidExtras.png is missing (732x412 size)
the Ouya icon is not important, if you dont want to support the console
copy C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/icon_ouya_AndroidExtras.png to C:/Users/pc/Desktop/coding/glbasic/GLBasic/breakout/distribute/Android/res/drawable-xhdpi/ouya_icon.png

Checked AdActivity (intersititals):
Does not uses a AdActivity

Android Extras version (SDLActivity.java):
* 2.11.2

Checking Icons Finished...

BUILD STAGE 2: Start compiler (android.bat)
SDK=C:\GLBasic_v14\Compiler\platform\android\bin\..\android-sdk-windows
Updated project.properties
Updated local.properties
Updated file C:\Users\pc\Desktop\coding\glbasic\GLBasic\breakout\distribute\Android\build.xml
Updated file C:\Users\pc\Desktop\coding\glbasic\GLBasic\breakout\distribute\Android\proguard-project.txt
Updated project.properties
Updated local.properties
Updated file C:\Users\pc\Desktop\coding\glbasic\GLBasic\breakout\distribute\Android\bin\build.xml
Updated file C:\Users\pc\Desktop\coding\glbasic\GLBasic\breakout\distribute\Android\bin\proguard-project.txt
.
BUILD STAGE 3: Build a debug build
Buildfile: C:\Users\pc\Desktop\coding\glbasic\GLBasic\breakout\distribute\Android\build.xml

-set-mode-check:

-set-debug-files:

-check-env:
[checkenv] Android SDK Tools Revision 24.4.1
[checkenv] Installed at C:\GLBasic_v14\Compiler\platform\android\android-sdk-windows

-setup:
     [echo] Project Name: glbasic
  [gettype] Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 21.1.2
     [echo] Resolving Build Target for glbasic...
[gettarget] Project Target:   Android 5.1.1
[gettarget] API level:        22
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\pc\Desktop\coding\glbasic\GLBasic\breakout\distribute\Android\bin\rsObj
    [mkdir] Created dir: C:\Users\pc\Desktop\coding\glbasic\GLBasic\breakout\distribute\Android\bin\rsLibs
     [echo] ----------
     [echo] Resolving Dependencies for glbasic...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
     [echo] ----------
     [echo] Building Libraries with 'debug'...
   [subant] No sub-builds to iterate on

-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Generating resource IDs...
     [aapt] C:\Users\pc\Desktop\coding\glbasic\GLBasic\breakout\distribute\Android\res\values\sepia.frag.txt:1: error: Error parsing XML: syntax error
     [aapt]

BUILD FAILED
C:\GLBasic_v14\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:649: The following error occurred while executing this line:
C:\GLBasic_v14\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:694: null returned: 1


Total time: 0 seconds
.
BUILD STAGE 4: Build a release build
   [subant] No sub-builds to iterate on

BUILD FAILED
C:\GLBasic_v14\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:649: The following error occurred while executing this line:
C:\GLBasic_v14\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:694: null returned: 1

Total time: 0 seconds
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
.
HOW TO INSTALL? Install by invoke this command:
"C:\GLBasic_v14\Compiler\platform\android\bin\..\android-sdk-windows\platform-tools\adb.exe" install -r "C:\Users\pc\Desktop\coding\glbasic\GLBasic\breakout\distribute\Android/bin/glbasic-debug.apk"
.
HOW TO SIGN? Sign it by invoke this command:
"C:\GLBasic_v14\Compiler\platform\android\bin\glb_code_sign.bat" "C:\Users\pc\Desktop\coding\glbasic\GLBasic\breakout\distribute\Android"
.
..
sending to device
   pkg: /data/local/tmp/glbasic-debug.apk
Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]
2896 KB/s (2094367 bytes in 0.706s)
Android=C:\Users\pc\Desktop\coding\glbasic\GLBasic\breakout\distribute\Android
success
_______________________________________
*** Finished ***
Elapsed: 14.5 sec. Time: 09:53
Build: 1 succeeded.
#9
GLBasic - en / Virtual Mac
2016-Feb-04
Has anyone tried compiling to a virtual mac?
I don't have a Mac and want to develop for it.

#10
Bookmarks saved with the code would be nice.
#11
I am messing around with the 3d side of things and am trying to get X_COLLISIONRAY to work,it seems i can only detect a hit when i am hitting the exact center of the object with the ray,Is this correct or am i doing something dumb?
If this is the case i will have to come up with another method.

I also am not getting any debug lines as stated in the manual.



Thanks.....
#12
I am using format$ to format some debug strings and am getting the above error.

I don't get it if i don't use Format$

            c$=c$+FORMAT$(3,0,cnt)
            x$=x$+FORMAT$(3,0,locs[cnt][1])
            y$=y$+FORMAT$(3,0,locs[cnt][2])
            h$=h$+FORMAT$(3,0,locs[cnt][3])

if i just add to the string  e.g.      c$=c$+cnt+" "     its fine it just seems to freak when using Format$

#13
I have always fancied doing a verion of the Jeff Crammond classic,It's prob about 70% complete,It's ,my first foray into 3d and seems to be going ok.

Demo coming soon(Hopefully)  ;/
#14
I am finding that debug is only working 50% of the time in win32
I am not getting the debug arrow but i do think that step is working but you just can't see the arrow so i have to cancel and recompile which doesn't seem that much of a hardship but is getting really boring,anyone else got this problem or should i re-install?
#15
Since the last update  14.106 it appears prescaler x 2 is broken again it was working fine in the prevous update but now just shows a blank screen. unless i use any other multiplier then it's fine(apart from its not the  size i want)
#16
Hi Guys,I am getting Errors whilst compiling for android

At stage 4 i get .

BUILD STAGE 4: Build a release build
   [subant] No sub-builds to iterate on

BUILD FAILED
C:\NEW_GLBasic_v14\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:649: The following error occurred while executing this line:
C:\NEW_GLBasic_v14\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:694: null returned: 1



I have investigated the XML file but can't work out why it is failing

compiling for  win is fine so i know the code works.
#17
I have installed AE 3.01.1 and now my Tablet is returning a desktop of 1728x1080 its usually 2560 x 1600.

When i swap back to AE 2.11.2  all is fine.

:S
#18
Hi Guys,
How do i get the returned data from Android.getVKText$()

    I have tried various things but cant trap the output.The program just seems to run onto the next commands and doesn't wait for the done button.

Code (glbasic) Select

Android.startVKText("Title","mess","done","cancel")
REPEAT
        h$=Android.getVKText$()
STDOUT "doing"
// STDOUT Android.getVKText$()
UNTIL h$=CHR$(13)
STDOUT "gone past"
STDOUT h$
#19
eh?

Code (glbasic) Select



LOCAL alpha#=1
FOR rim=0 TO 5
DEBUG "\n"+alpha
alpha#=alpha#-0.3


NEXT




I am getting 1.e-001 when it should be returning 0.1,This is no good as i am feeding the numbers into alpha,What am i doing wrong?

i have added the line          IF alpha# >0 AND alpha#< 0.1 THEN alpha=0.1
so the code works,just seems strange.
#20
GLBasic - en / 3d question
2015-Oct-10
I have copied the example from the docs and i cant get it to work.
I do not see a pyramid.
I have changed a few bits from the original, they are :-
added GENX_OBJ()
X_MAKE2D just so i could put the print statement in
and i added 1,1000,45 to the X_MAKED bit as the compiler was complaining.

I have checked to make sure the pyramid saves and viewed it in Hemlos' AGOSA(very nice =D)

Code (glbasic) Select
LOCAL mx,my,b1,b2,phi
LOCAL ob=GENX_OBJ()

X_OBJSTART ob
  X_OBJADDVERTEX -5, -10, -5, 0,0,RGB(0,0,255)
  X_OBJADDVERTEX  5, -10, -5, 0,0,RGB(0,0,255)
  X_OBJADDVERTEX  0,   0,  0, 0,0,RGB(255,255,255) // Peak
  X_OBJADDVERTEX  5, -10,  5, 0,0,RGB(0,0,255)
  X_OBJADDVERTEX -5, -10,  5, 0,0,RGB(0,0,255)
// ..new Group
  X_OBJNEWGROUP
// ...or Bottom
//  X_OBJADDVERTEX  5, -10, -5, 0,0,RGB(0,0,255)
//  X_OBJADDVERTEX -5, -10, -5, 0,0,RGB(0,0,255)

  X_OBJADDVERTEX -5, -10, -5, 0,0,RGB(0,0,255)
  X_OBJADDVERTEX  0,  0,   0, 0,0,RGB(255,255,255)
  X_OBJADDVERTEX -5, -10,  5, 0,0,RGB(0,0,255)
X_OBJEND

//  X_SAVEOBJ "Pyramid.ddd", 5

// X_LOADOBJ "Pyramid.ddd", ob

WHILE TRUE
  MOUSESTATE mx, my, b1 ,b2
 
  phi=mx*360 / 640

  X_MAKE3D 1,1000,45
  X_CAMERA 0, 1500, -3000,   0 ,0 ,0
  X_DRAWAXES 0, 0, 0

  X_AMBIENT_LT 0, RGB(255,255,0)

  X_MOVEMENT mx-230, 0, 0
  X_SCALING 3, 3, 3
  X_ROTATION phi, 0, 1, 0
  X_DRAWOBJ ob, 0
X_MAKE2D
PRINT "RUNNING",100,100
  SHOWSCREEN
WEND
END