PureBasic 4.00 - Beta 3

Developed or developing a new product in PureBasic? Tell the world about it.
Straker
Enthusiast
Enthusiast
Posts: 701
Joined: Wed Apr 13, 2005 10:45 pm
Location: Idaho, USA

Post 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.
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post 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:
User avatar
oakvalley
User
User
Posts: 77
Joined: Sun Aug 08, 2004 6:34 pm
Location: Norway
Contact:

Ogre update v1.07

Post 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:))
Regards Stone Oakvalley
Currently @ PB 5.70
KarLKoX
Enthusiast
Enthusiast
Posts: 681
Joined: Mon Oct 06, 2003 7:13 pm
Location: France
Contact:

Post 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 !
"Qui baise trop bouffe un poil." P. Desproges

http://karlkox.blogspot.com/
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Post 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?
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Re: Ogre update v1.07

Post 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!
--Kale

Image
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post 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") 
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

I don't get error here!
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post 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.
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Just curious, when will the documentation be ready?
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
Thalius
Enthusiast
Enthusiast
Posts: 711
Joined: Thu Jul 17, 2003 4:15 pm
Contact:

Post 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
"In 3D there is never enough Time to do Things right,
but there's always enough Time to make them *look* right."
"psssst! i steal signatures... don't tell anyone! ;)"
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Great idea Thalius!!! That would be extremely handy and the games (not only) would look awesome !!!
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
Post Reply