BlitzPlay lib

Blitz3D Forums/Blitz3D Programming/BlitzPlay lib

Naughty Alien(Posted 2007) [#1]
...I would like to hear from folks whos using this library already, what is the current status (supported, not supported, etc), becouse i was interested to purchase full version but so far i never receive any reply from author (I emailed him few times)...so, I would like to know if you guys know whats going on here...if this library not supported or whatever anymore..I would like to hear from you, what is the best available alternative with same or even better features...thanks guys..


b32(Posted 2007) [#2]
I thought I read about this a while back. The same thing: it seems that the author of BlitzPlay cannot be contacted anymore, so only the free version is available.


stayne(Posted 2007) [#3]
I have the Pro version and it's mighty snazzy. Comes with examples to help you along and some good docs. Sadly, it's not supported anymore.

A possible alternative:

http://www.rottbott-studios.com/rottnet.html


caff_(Posted 2007) [#4]
or http://www.krylarskreations.com/knl.shtml


LineOf7s(Posted 2007) [#5]
Or Kurix's well-regarded RakNet wrapper.


A shame about BlitzPlay, and more specifically The Vanishing Of John "Surreal" Arnold.


Naughty Alien(Posted 2007) [#6]
..hmm..I tried BlitzPlay demos...within LAN environment its working just fine, but over internet with my friend its not working...anyone tried this over internet?? Am I missing something, since I didnt change nothing in original demo source..


stayne(Posted 2007) [#7]
Yes it works over the internet, I've had 8 people connected simultaneously in a large 3D world. If you have a firewall ensure the correct port is open. Both the client and the server need to be accessing the same port. Check out the code for port info. When I was messing with it I had the port as a manual entry on launch so the server could choose.


killertomato(Posted 2007) [#8]
I have the free version as well. Can you really expect to get 255 players online at the same time? Specifically if you don't do any fancy coding yourself and you're doing it over the internet?


Naughty Alien(Posted 2007) [#9]
markd, when I use to try demos, I firewalls on both sides was disabled, as i said, I didnt try anything but original code..do you mind to email me example code you use to play with successfully over internet, suitable for lite version??


stayne(Posted 2007) [#10]
I'll have a look tonight. It's on another hard drive so it'll take some digging. Hopefully it's still there :).


Naughty Alien(Posted 2007) [#11]
..do so please, becouse I would like to examine your working files in to details in order to understand library properly, and so, if you willing to sell your copy i will pay full price you pay for it, if you are not going to use it anymore..but let me see those internet working files please..


b32(Posted 2007) [#12]
I had some trouble getting the example to work too. For me, the solution was to enter my complete ip adres when hosting, instead of using localhost. (127.0.0.1)


OJay(Posted 2007) [#13]
i wonder if it would be legal, if we (the lucky owners of the pro version) would make the pro version opensource? its nearly two years now since the last appearance of surreal and i for myself did quite a lot of improvements and additions (e.g. distance based lod [near players get more updates than ones that are far away etc]) i would like to share with the community!

but really...there is no blitzplay-community left...if you look here: http://blitzplay.proboards29.com/index.cgi

i think it would revive the bp-com if there were more users who actually could get their hands on the pro version...

what do you guys think?


b32(Posted 2007) [#14]
I don't know .. might be best to try and contact him about this. 'surreal' was there a few months ago:
http://www.blitzbasic.co.nz/Community/posts.php?topic=64233
However, his last login was in 2005:
http://blitzplay.proboards29.com/index.cgi?action=viewprofile&user=admin


LineOf7s(Posted 2007) [#15]
i wonder if it would be legal

No, but it's up to you whether that stops you or not.


Naughty Alien(Posted 2007) [#16]
@ B32
I replaced default ip 127.0.0.1 with my own, but I still cant connect with other machines on internet..firewall is turned off on both sides I tried...what can couse this malfunction?? Its really annoying..


b32(Posted 2007) [#17]
I can imagine this is frustrating. I have no idea .. I was able to connect to somebody in the USA, with both BlitzPlay and the JoinNetGame command.
For getting my IP in Blitz, I used this code:
        ips 	= CountHostIPs("")
	If Not ips Then End
	hip 	= HostIP(1)
	Print DottedIP(hip)

One thing you could try is letting the other machine serve instead of your own? Anyway, here is the code I ran that worked, I rebuilt the BlitzPlay example:

If that doesn't work, :/ then I don't know.


Naughty Alien(Posted 2007) [#18]
..nope..its dead..as usual I got "No reply in specified timeout period.. exiting" .. thats my buddy...damn! Firewalls is down on both sides, and I dont have any clue why this happening..I tried same port for both sides (2222) then I tried hosting machine 2222 and other machine any between 3000-4000 as it is in demos...and nothing..


Naughty Alien(Posted 2007) [#19]
is there any chance that connection is interrupted by Avast?? Or maybe if I have some other programs running online (MSN, or FTP upload)?? Even i think its ridicilous if such a things cousing this problems..MSN was all time online due sync with my friend on other side regarding testing ...


LineOf7s(Posted 2007) [#20]
Perhaps a NAT problem with routers? Ports not being forwarded?

The code as-is worked fine for me too, so there's got to be *something* case-specific...


Naughty Alien(Posted 2007) [#21]
How to check is it NAT? I'm using wirelles internet connection if that means something 1mb/s..

I mean..if BlitzPlay is full suite for networking, how come such a things happening?? Rest of the games/aplications with similar use working just fine..


Naughty Alien(Posted 2007) [#22]
..okay, regarding http://www.portforward.com , I have some external IP adress, what is completely different than one i can see in preferences within network settings when I run demo programs in B3D..so, i assume this is external IP adress of router...so is that maybe possible reason why things not working here?? If so, how to bridge this stuff?? And B32, LineOf7s, what did you put as a NAME during program execution?? Host name seen if you run IpConfig /All within command prompt or any freefrom name during connection over internet??


OJay(Posted 2007) [#23]
to get your real global ip once: http://whatismyip.com

to automate this you would have to use a webserver on your own, put e.g. a php-script like "<?php echo $_SERVER['REMOTE_ADDR']; ?>" up, call that script within your code and use its output (your ip) for setting up your connection.


Naughty Alien(Posted 2007) [#24]
IP I got from site you recommend is same as one from portforward.com .. now..what you saying is that I have to use this global IP when client side asking for host IP? If so, how to do that when BlitzPlay demos, in Host mode detecting IP on my machine, not global one??


Naughty Alien(Posted 2007) [#25]
hey B32 and LineOf7s, can you guys check your external IP is it same as one you have listed in TCP/IP properities within system network properities?? I'm quite sure this double IP's is problem I have..


b32(Posted 2007) [#26]
I get the same IP with whatsmyip, ipconfig and the blitz code above.


LineOf7s(Posted 2007) [#27]
I have two IP addresses, as expected: I have my "internal" IP address, as do all other computers on my lan, and my "external" IP address attributed to my router and which is visible to the internet.

Now if something/someone wants to connect to my computer here, then they need to connect via my router first (using my external IP address). Whatever port that application is trying to connect on needs to be forwarded to my internal IP address by the NAT table set up on the router. Any attempts to connect to me via a port that's not set to come to my computer explicitly, won't connect.

If you're both behind routers, then you'll both need to make sure you have the appropriate ports forwarded properly in order to connect to each other.


b32(Posted 2007) [#28]
But then do programs as messenger use 'standard' ports that are forwared by default ? And is it possible to use these ports in blitz too ?


Naughty Alien(Posted 2007) [#29]
yup..as i expected..thats reason why things not working on my side...

@B32
How come you have same external 'internal' IP's??

A for me, since I am using shared wirelles connection it seems that i will not be able to set up router since its on my ISP side...huhh


b32(Posted 2007) [#30]
I have no idea .. I didn't know there was a difference


Loktar(Posted 2007) [#31]
Anyone have any info if the pro version can be released? Id really like to get my hands on this... and would of bought it if I would of known about it sooner.


LineOf7s(Posted 2007) [#32]
The pro version can be released when John "Surreal" Arnold releases it, and not before.

Of course, if he were around to release it (as freeware, I presume you mean), then we wouldn't have the need for him to do so, would we?

I hope he's just really really busy.


Naughty Alien(Posted 2007) [#33]
..well..Lite version can help..after some tweaking over library itself, its easy to increase number of possible players more than 255...but I'm looking forward to purchase Pro version, if man appear...so far, every try to contact him was not successful..


LineOf7s(Posted 2007) [#34]
If the Lite version won't do everything you want it to, and you don't feel capable of extending its capabilities yourself, then rather than waiting around you may well be better served assessing the suitability of some of the alternatives mentioned above.

Just a reminder.


Andy(Posted 2007) [#35]
I've emailed the shaw account with a question and a link to this thread.

Let's see if something happens.


Andy


Naughty Alien(Posted 2007) [#36]
..if Surreal dosent appear or whatever, is there any of the existing BlitzPlay Pro users willing to sell their copy?? I'm ready to pay full price as they did for it..


Chroma(Posted 2007) [#37]
Naughty, just get the BlitzPlay Lite demo and then add your own additional features. :)


Loktar(Posted 2007) [#38]
So is that the onyl difference really some added functionality? Theres no limitiations or anything like that in the lite version?


Naughty Alien(Posted 2007) [#39]
I have been already modify Lite version so its right now unlimited number of users available...right now I'm trying to figure out how to make file transfer functions...anyway, it will be still better to purchase proper version and award hardwork Surreal put in to this lib and at same time save myself of doing something whats already done..


Chroma(Posted 2007) [#40]
Well personally I wouldn't go chasing down someone and reward them with a sale for abandoning their product/customers. I'm sure there's peeps here who know how to transfer files and would be more than willing to help. My guess would be to get the file extension, transfer the file byte by byte, then save it with the file extension on the other side. Something like how the transporter works in Star Trek. :)