Page 3 of 3

Posted: Wed Feb 22, 2006 1:22 am
by Straker
dontmailme wrote:Mine is a fresh install too, just the PBOSL library added.
Um.... maybe in fairness to the developers, you should be testing this with NO third party libraries installed.

Posted: Wed Feb 22, 2006 1:38 am
by Joakim Christiansen
This gives me invalid memory access: (if i right click)
http://www.myhome.no/whatever/test.pb

Don't know why... :shock:

Ogre update v1.07

Posted: Wed Feb 22, 2006 11:07 pm
by oakvalley
AT LAST!

The latest 3DEngine.dll now works at my place. All my previous posts about
reloading of same filename into the same textureid did not turn gray anymore.
The texture freeing and memory leaks now all gone.
The freetexture did not crash anymore etc etc

Thanks, thanks! Looking forward to the v4.0 final of PureBasic also.

Here's what I used PureBasic and the 3DEngine.dll to create:
http://www.stone-oakvalley-studios.com/ ... mac_sw.htm
(scroll to the bottom to see a earlier movie snapshot of the 3D Matrix Core menu workings:))

Posted: Wed Feb 22, 2006 11:35 pm
by KarLKoX
As a power emu user since 17 years, your frontend seems to add a fresh air to those we usually use.
Good work !

Posted: Thu Feb 23, 2006 12:22 am
by mskuma
@oryaaaaa - I've found that using Japanese with PB4 seems ok - you do need to specify to use UTF8 in the editor options & set compiler option for compiling for unicode. HTH.
oryaaaaa wrote:Is there an example of using Unicode?
It crashes when specifying it with ProjectOptions. Is this normal?

Re: Ogre update v1.07

Posted: Thu Feb 23, 2006 12:34 am
by Kale
oakvalley wrote:Here's what I used PureBasic and the 3DEngine.dll to create:
http://www.stone-oakvalley-studios.com/ ... mac_sw.htm
(scroll to the bottom to see a earlier movie snapshot of the 3D Matrix Core menu workings:))
Impressive!

Posted: Thu Feb 23, 2006 3:20 pm
by Hroudtwolf
Hello Fred and PureBasic-Team,

Now, I've an example for the 'invalid memory access' problems.
I marked the relevant line in the code.

Code: Select all

Procedure.s PostRequest (TheHost.s,File.s,PostVars.s) 
  Protected header.s,HostID.l
  HostID.l=OpenNetworkConnection(TheHost.s, 81) ; <<< Invalid memory access !
  If HostID.l
    header.s="POST "+File.s+" HTTP/1.0"
    header.s+"From: hroudtwolf"
    header.s+"User-Agent: HTTPTool/1.0"
    header.s+"Content-Type: application/x-www-form-urlencoded"
    header.s+"Content-Length: 32"
    header.s+PostVars.s
    SendNetworkString (HostID.l,header.s)
    Repeat 
      If NetworkClientEvent(HostID.l) = 2
        *buffer=AllocateMemory (1024)
        ReceiveNetworkData (HostID.l,*buffer,1024)
        retstring.s=Trim(PeekS (*buffer))
        FreeMemory(*buffer)
        TimeLeft.l=100
      EndIf
      TimeLeft.l+1
      Delay (10)
    Until TimeLeft.l>100
    CloseNetworkConnection(HostID.l)
  EndIf 
  ProcedureReturn retstring.s
EndProcedure 

InitNetwork ()
Debug PostRequest ("http://forums.purebasic.com/english/","viewforum.php","f=13") 

Posted: Thu Feb 23, 2006 4:12 pm
by Psychophanta
I don't get error here!

Posted: Thu Feb 23, 2006 4:25 pm
by gnozal
I had a problem with OpenNetworkConnection on beta 2 : 'invalid memory access' if the host didn't exist. Works now with beta 3.

Posted: Thu Feb 23, 2006 10:57 pm
by Hroudtwolf
I have already BETA 3 and I get this error on most stringoperations or stringdeliveries. So it is impossible for me to work with PB 4.00 BETA 3.

But it is BETA. Therefore it is ok.

Posted: Fri Feb 24, 2006 12:29 am
by Inf0Byt3
Just curious, when will the documentation be ready?

Posted: Fri Feb 24, 2006 4:09 pm
by Thalius
hihi Fred,

is there any way to use CEGUI yet and / or is there a implementation of such a system planned ? =) Would come in *very* handy =)

Link:
http://www.cegui.org.uk

Thalius

Posted: Fri Feb 24, 2006 4:13 pm
by Inf0Byt3
Great idea Thalius!!! That would be extremely handy and the games (not only) would look awesome !!!