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

Messages - StoneCold

#31
Quote from: Buckler on April 30, 2013, 07:42:36 PM
I would like to try to compile this server software.  So, if you don't mind, let's test the openspy for direct connection servers and macs and by then maybe I can see if I can get our own operational.

If it works out well, I bet we could run our own stats server.

I would also like to try to get the SWBF2 master server working for us as well, as they are probably only a short while from being shut down too.

How about testing until about the end of May?  and then move the community to one place or another depending on the results?

Sounds good. For the direction connection option, does it allow you to directly connect to a dedicated server or to an internet game that somebody is hosting (almost like a listen server) ?
#32
I've done a lot of digging today and found the core Openspy files on github. It appears to be all coded in C / C++, I have no idea how to execute any of it, but it's very interesting that's for sure.

Here is an extract of the openspy.cfg file

mysql_user = "openspy";
mysql_password = "P7LjdYy8HKY7CLtu";
mysql_server = "localhost";
mysql_database = "GameTracker";
modules {
peerchat {
database = "Matrix";
bindip = I"205.185.122.188";
queueip = I"127.0.0.1";
}
gskeyserv {
bindip = I"205.185.122.188";
}
playersearch {
bindip = I"205.185.122.188";
}
playerspy {
bindip = I"205.185.122.188";
}
serverbrowsing {
bindip = I"205.185.122.188";
}
qr {
bindip = I"205.185.122.188";
}
natneg {
numinstances = 3;
bindip1 = I"205.185.122.188";
bindip2 = I"209.141.49.170";
bindip3 = I"209.141.49.161";
probeip = I"209.141.49.161";
}
legacyms {
bindip = I"205.185.122.188";
}
legacystats {
bindip = I"209.141.49.170";
}
legacystatsprocessor {
webdir = "/home/openspy/gamestats";
}
}


Here is a link to the Openspy core files: https://github.com/sfcspanky/Openspy-Core


Like I said, I have no idea how it works, but I guess this might be a way to host your own Openspy type like server. Just a pity there isn't any documentation to go along with it  :(
#33
Ok, I attached the old version of the login emulator  8)

EDIT: Here is another site similar to that of Openspy.net:

http://bobzent.info/index.php

Seems to be a Brazilian or Argentinian site of sorts. Note, their DNS server IP's are also located at the top left.

They even have a list of all the Gamespy games, with relevant rooms etc, check BF1942 for example:

http://bobzent.info/gsstatusget.php?game=bfield1942d

And they even have an Openspy status page as well:

http://bobzent.info/osstatus.php  :ohmy:
#34
Quote from: Phobos on April 29, 2013, 05:30:51 PM
1st link doesn't work, second one did.

@Buckler u could try contacting openspy dev team and see if they could help you with setting up  our own master server.

The first link does work, you just need to register on the site to download it  ::)

BTW, I got it to redirect to emulator on my dedicated box, but it doesn't allow me to create a new account, but I guess the fields in the database just need to correspond with the data you're entering, then it might work, but alas lets see what we can find out about this.
#35
Here you is an old version: http://www.unknowncheats.me/forum/downloads.php?do=file&id=5696

And here is a newer version, although, very little documentation exists for it:

https://code.google.com/p/gsloginserver/

I'll play around again with it tomorrow, see you guys later !

#36
I was playing around with the BF2 Gamespy Login Emulator and found that it picks up any login attempts that I tried to make in SWBF. The reason why it didn't want to work, is because I don't have MySQL setup on my main PC, as it wants you to create a database into which it can store usernames and passwords. So, I'm almost convinced that OpenSpy.org works with something similar to this.

End of last year I was also playing around with the BF2142 server emulator and got that working. I don't have a lot of time on my hands now, but I'll see what I can get working in the next day or so.If anyone else wants to have  a crack at it, please feel free to drop me a pm  :D
#37
Or get yourself a Mega account. They have 50GB free space for uploads. I use it currently for all my files without any problems: https://mega.co.nz/
#38
One question that I have, how will we be able to make our own Openspy/Gamespy master server ? I'll be able to host it as I have access to a dedicated box, so just say the word. But I assume we'll first need to create it, anyone here have the knowledge to code something like Openspy?

I want to bet that they just used the normal bf2 login gamespy emulator to redirect any login requests to gamespy that they host on a machine. I do have that emulator, will test it a bit later tonight and see if my theory is correct.
#39
I had a deja vu moment just now, seeing as I can't recall that I started this thread, but I assume a mod just took my reply and made a new thread about  :D

BTW, being a new guy around here, I wasn't aware that the link I posted was the older version of this site, but will remember it for future reference  8)
#40
Quote from: Phobos on April 28, 2013, 11:14:30 PM
Yeah it doesn't go there, the values I posted aren't for servers they are for clients. It goes in the SWBF1 launcher.ini which is battlebelk posted. I use those width and height settings because it's my native monitor resolution which swbf doesn't support by default.   http://www.swbfgamers.com/index.php?action=downloads;sa=view;down=303

For servers u would want /tps 30, anything higher makes chat wierd and mines can't be thrown so I recommend only using 30 if you're the host.

Thanks for the link, I got it working now in 1080p  :tu:
#41
Quote from: Phobos on April 28, 2013, 10:58:29 PM
A few more I use

[CMD]
COMMAND_LINE=/nointro /nowait /nostartupmusic /nomovies /noframelock /showallsessions /showallservers /fixedfunction

[IN_GAME_RESOLUTION]
WIDTH=1920
HEIGHT=1080   

Also noframelock gives you more than 30 frames (smoother) but you might get black spike bugs in which case I don't recommend using it.

Thanks for the heads up about the noframelock. I've added that width and height switch in my server.ini but it doesn't appear to apply it in game, or am I adding it to the wrong place ?
#42
I don't know if some of you are aware of the following setting, but if you edit your server .ini's APP_COMMAND_LINE_BASIC line to :

APP_COMMAND_LINE_BASIC=/win /norender /autonet dedicated /resolution 320 240 /nosound /noaim /tps 30

then you turn off gamepad aim assist and to set a better framerate for players. I've tried it just now and my framerate was much more smoother when I played on my own server. The tps refers to the frame limit, although I haven't tried 60, but I don't think it will interpret anything higher than 30.

I read about it over here: http://forums.creativematrix.net/topic/1310-hosting-swbf-with-pc-dedicated-server-software-and-invincibility/
#43
Quote from: Phobos on April 28, 2013, 09:52:45 PM
Ok apparently I have to use the hex edited battlefront.exe or else it stays at 0% busy. If I hex gamespy.com to openspy.net then it goes up to 100% and shows the servers. IDK why this isn't  the case for other players though.

I thought maybe it was custom resolution launcher, but it's not. I am not sure what the cause is, but Wolf is working on a battlefront.exe patcher for clients who have the stuck on 0% busy problem.

Mine goes to 100% using either the hosts file or hex edited exe method. Anyhow, it's really playable for me even though Starkiller and myself ping 250+ the hit registration still is good. Would still be awesome if we can get that 9999 ping to reflect an actual ping value. But I'm guessing it has to do with that fact that the servers can't ping the Openspy backend quick enough to show a ping value of sorts.
#44
Quote from: Phobos on April 28, 2013, 04:34:50 PM
I think we will figure it out soon. I PF the 3 ports u mentioned on the NFO firewall for inbound and outbound but the server still doesn't show up. I might have to completely disable the firewall as you say. I can see wolfs servers now but cant join yet. However it is showing KDR in the  server lobby again  :cheers:

Yeah, I can see Wolf's server as well, when I try to join it, my game freezes and I must close it via task manager. However, I believe were on the right track with this. Will do some more testing tomorrow, need to get some sleep now  :D
#45
Quote from: Phobos on April 28, 2013, 04:11:29 PM
I got my client exe hex edited and I can now see your StoneCold dedi server on Internet MP (it just counts busy though, can't join), also the FC server isn't showing up yet even though I replaced hosts file. If Led is ok with this site hosting a patched 1.2 exe for internet support, I'll upload a modified battlefront.exe for people who can't hex edit. If not then, PM me and I'll send.

I think I have to port forward the NFO server somehow I'll let u know once I figure it out.

Well it's amazing that you could see my server via the Internet. The thing is, I'm using a router, thus behind a firewall. I did port forward a lot of ports, however, I read elsewhere on these forums that Gamespy didn't take too kindly to servers being hosted behind firewalls, therefore I have the 9999 ping bug and can't join my own server either.

So anyone not behing a firewall should be able to host a server and others then can hopefully join it. :)

PS: Hosting a server via Internet in game does work, so anyone should also be able to join via that as I'm currently playing.