Forum

ASSIST, AMERICA'S ARMY COMMUNITY - RELIVE THE GLORY DAYS OF AMERICA'S ARMY 2.5

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.


Messages - pit-23

Pages: 1 ... 23 24 [25] 26 27
361
Games & Programming / Re: Java?
« on: Saturday, February 18, 2012, 21:29:28 PM »
Sorry i'm rude, but... "most powerfull language today": wtf are you talking about?

362
General Chat / Re: server not visible in browser
« on: Saturday, February 18, 2012, 20:43:37 PM »
Here are the changes. As I said, for the moment I just will try to make a manual diff below, in order to make your merging job easier. As for collors, yellow means context and comment information, red means removed lines, green means added lines. There may be some typos in there, but that's because I had to craft it manually.

[In aaudp.rbp :: App :: Event Handlers :: Run
We bind UDP socket to the IP given in third command line arg (if any)]

  UDPs.RouterHops = 255
  UDPs.Port = val(args(1))
  if UBound(args) >= 3 then
    Dim multihomeIp As String
    multihomeIp = args(3)
    Dim i as Integer
    For i = 0 to System.NetworkInterfaceCount - 1
      Dim n As NetworkInterface
      n = System.GetNetworkInterface(i)
      if n.IPAddress = multihomeIp then
        UDPs.NetworkInterface = n
      end if
    Next
  end if

  UDPs.Connect

[In dedisrv.rbp :: App :: Methods :: setno
We assign number to additional aa25.ini param "multihomeip"]

  CASE "colour"
    RETURN 28
  CASE "multihomeip"
    RETURN 29

  CASE "processid"
    RETURN 98

[In dedisrv.rbp :: App :: Methods :: RunSrv
We propagate multihome IP (if present) to serverx.exe and aaudp.exe]

    Dim srvOptions As String
    srvOptions = "LAN "+ Filename(map) + " ini=aa25srv.ini log=aa25srv.log"
    if settings(29) <> "" then srvOptions = srvOptions + " multihome=" + settings(29)
   
    Dim udpOptions As String
    udpOptions = str(srvport+1) + " " + str(srvport+2)
    if settings(29) <> "" then udpOptions = udpOptions + " " + settings(29)
   

    if success = true then
      Mshell.Execute "aasrv"+settings(98)+".exe LAN "+Filename(map)+" ini=aa25srv.ini log=aa25srv.log"
      Mshell.Execute "aasrv"+settings(98)+".exe " + srvOptions
      udpx.Execute "aaudp"+settings(98)+".exe " + str(srvport+1) + " " + str(srvport+2)
      udpx.Execute "aaudp"+settings(98)+".exe "+ udpOptions
    else
      Mshell.Execute chr(34)+aahome.child("System").ShellPath+"\aasrv"+settings(98)+".exe"+chr(34)+" LAN "+Filename(map)+" ini=aa25srv.ini log=aa25srv.log"
      Mshell.Execute chr(34)+aahome.child("System").ShellPath+"\aasrv"+settings(98)+".exe"+chr(34)+" " + srvOptions
      udpx.Execute chr(34)+aahome.child("System").ShellPath+"\aaudp"+settings(98)+".exe"+chr(34)+" " + str(srvport+1) + " " + str(srvport+2)
      udpx.Execute chr(34)+aahome.child("System").ShellPath+"\aaudp"+settings(98)+".exe"+chr(34)+" " + udpOptions
    end if
    SrvRun = true

[In dedisrv.rbp :: aqrtime :: action
We propagate multihome IP (if present) to udp test code]

      Dim udpTestIp As String
      if app.settings(29) = "" Then udpTestIp = "127.0.0.1" else udpTestIp = app.settings(29)

...
        if app.prcnt > 3 then
          if not app.UDPtest.IsConnected  then app.UDPtest.Connect
          app.udptest.Write ("127.0.0.1:"+str(app.SrvPort+1),"aa25ping")
          app.udptest.Write (udpTestIp + ":"+str(app.SrvPort+1),"aa25ping")
          app.out "Ongoing port test trying"
        end if
...
     if app.prcnt > 20 then
...
      else
        app.prcnt = app.prcnt + 1
        if not app.UDPtest.IsConnected  then app.UDPtest.Connect
        app.udptest.Write ("127.0.0.1:"+str(app.SrvPort+1),"aa25ping")
        app.udptest.Write (udpTestIp + ":"+str(app.SrvPort+1),"aa25ping")
      end if
             

363
General Chat / Re: server not visible in browser
« on: Saturday, February 18, 2012, 19:52:48 PM »
OK, I finally found some time to go through the server-side code, and add the multihome option. I just made the aaudp.exe to bind at given IP, and passed the "multihome" option to AA server, so that it binds there too. That way all ports 1716-1718 are bound at given address, not "0.0.0.0". And as I suspected, this seems to solve the problem (so I don't understand why you said that it will require "extensive modifications" to your system).

Now, I'd like you to merge my changes into your source. I can't live with my own compiled version, since I use trial version of real studio IDE, and my binaries die after 5 minutes :-D.

How do you want me to give you those changes? Previously I talked about diff-s, but it seems impossible in this shitty binary blob world of realbasic. Oh, there is some option to export to xml, so i could diff this, but it doesn't seem to be easy to merge either. For the moment, I will just describe the needed changes in this thread below.

I would appreciate if you merge this and release new binary quickly - I can't run server until then. Or maybe you could tell me IDE which will build those .rpb without any time limits - then I don't need your new release.

364
General Chat / Re: Server Offline problem
« on: Saturday, February 18, 2012, 19:40:42 PM »
I just had similiar problem which was causes by multiple network interfaces in the server machine. Do you have them also?

365
General Chat / Re: server not visible in browser
« on: Saturday, February 18, 2012, 12:47:52 PM »
And regarding the parts that are removed: which parts of the projects are complete (can be rebuild from sources) and which not? I assume that dedisrv.rbp and aaudp.rbp (the two which comprise dedicated server part) are complete, right?

366
General Chat / Re: server not visible in browser
« on: Saturday, February 18, 2012, 12:22:21 PM »
Thanks.

367
General Chat / Re: server not visible in browser
« on: Saturday, February 18, 2012, 08:52:49 AM »
Johnny, can you upload latest sources to sourceforge? The currently present ones seem to not match the latest binaries.

368
General Chat / Re: server not visible in browser
« on: Thursday, February 16, 2012, 21:08:19 PM »
I don't know what 'D&M' is, but hey, come to my place, and I buy you all you can drink.

369
General Chat / Re: server not visible in browser
« on: Thursday, February 16, 2012, 20:46:40 PM »
http://g.images.memegenerator.net/instances/400x/14712310.jpg

Your input to the topic is very valuable. Same as in the 'honor server + why AA2.5' thread.

370
General Chat / Re: honor server + why AA2.5?
« on: Tuesday, February 14, 2012, 18:00:22 PM »
Yup, that's the big problem.

Pit-23 since u want to really help, why don't you join their team then and help improve the code? I bet you would get the source without having to reverse-engineer it :P

Well, if you would read my posts, you would know that i'm just trying to do this. I encountered a problem with running 2.5 assist dedicated server on a host with multiple network interfaces. I was ready to solve that myself. I discovered that there is some source, and I was happy. Then I discovered that the source is not complete, and then I was unhappy :-DDD.

You sound just like someone I used to know pretty well from smirl who entered people's pc's to steal their code, and then release them unchanged...
Keep Cool

I won't even comment on that.

371
General Chat / Re: honor server + why AA2.5?
« on: Tuesday, February 14, 2012, 17:53:36 PM »
Cos for the last 6/7 years people have been making hacks for 2.8.
for the last 6/7 years punkbuster has caught up with the hacks available for 2.5.
No one here has the access to the 2.8 coded needed to do the things we do here.

So if I understand correctly, the only reason is that bad guys just lost interest and didn't do new hacks for 2.5, while they were working on new versions? And in fact there is nothing technical which prevents from making hacks as easy on 2.5 as they are on 2.8?

I'm just asking from technical curiosity, cause in fact I don't care much about cheaters, I was one of admins on 2.8 server for a long time, and it was never a problem to catch them (of course it was not me who did this, i'm noob, my much more experienced colleagues did this :-D). Just fuck them, why care so much...


372
General Chat / Re: honor server + why AA2.5?
« on: Tuesday, February 14, 2012, 17:42:20 PM »
Pit, I'll just comment on a bit of your post. Those experienced in UScript can easily decompile Jonny's work. If I can do it, anybody can. So, if someone experienced in either RealBasic or UScript wants to help by improving the work that's been done or making things easier, that's fantastic and we'll allow it and encourage it.

I totally agree. I'm completely new to this, but I already found that people offer tons of decompilers for this :-D. So you should get my point: by obscuring this source code, you won't prevent those really bad guys from doing their work, but you just make it harder to understand for the good people.

373
General Chat / Re: honor server + why AA2.5?
« on: Tuesday, February 14, 2012, 17:39:22 PM »
I used realbasic cos i don't have any coding skills. i have no idea how to use python.

There are elements of the realbasic source that are removed from the public source code. you notice you cannot log-in to the system using that code, there are some vital and sensitive areas not included. and the U script is also in that category.
Look 2.8 was a hack fest, at the moment 2.5 is not, we need to be careful to keep it this way. Would you go to the AA devs and demand they release source code?
BTW ban removed (you may not have seen it, but he did say he was going to make hacks, maybe cos of bad English)

I see you don't buy my "open the damn source" manifest. Well, I just hope you remember the days when you had to reverse-engineer those all AA/gamespy/etc. protocols, and thought to yourself "fuck them, this should all be documented")... :-D

And wait, there is something I still don't get. On one hand you guys say 2.5 is better, since it's easier to code for it. On the other, you say 2.8 is hackfest as opposed to 2.5. Those two statements seem in contradiction for me. Why is 2.8 easier to hack, when at the same time it's harder to code for?

374
General Chat / Re: honor server + why AA2.5?
« on: Tuesday, February 14, 2012, 17:20:54 PM »
This has changed from when I read in your post earlier, you have edited it.
What you said earlier went something also the lines of I know how to make some hacks undetectable and i probably will. Or I probably will make some undetectable hacks.
I banned your account and your hardware when I read that. I cannot allow someone to destroy all the work this team has put into this project, and over the years i'm talking maybe 1000's of hours on my part, thats a huge investment of my time, I cannot have people coming here and hacking it up, I have to protect my project and the security of the people who use it. I will consider removing the bans now you have revised your post but i'm going to take some time to think about it.

Wow, this is really absurd. Are you gonna ban e.g. me also, cause I asked for .u script sources, and my intentions are unknown?

First of all, if you're so much concerned about security, you'd better use some other means than obscuring the source code. You know, there are many projects much more more important from security point of view than an FPS game, and still the _whole_ source code is available. Take ssh/sshd for example. I was really impressed and positively sursprised, that you made those .rbp files available. But then you declined to give the .u files, so we were back on the same track again.

Second, it should be obvious to you that by opening the whole thing, you can attract more people to hack (in the true, positive sense) on it, and improve/extend the system. One one hand you say I request feature needed only by me, and you don't have time for it, no one donates, etc. etc. On the other hand you give the source, but not all.

And third, why are you so afraid of cheaters, that you are ready to shut the whole system in case some of them become problematic? In practice they can be spotted just by other experienced gamers, and eliminated, even that technically their hacks are undetected. Of course, sometimes really talented players may be misjudged that way, but that's another story.

The whole discussion is even more absurd, when we take into account the fact, that the game is basically dying. Yeah, the effort of assist project has resurrected it for some time, but it's still an "intensive care patient". Fucking zombie game so to speak, but we all love this zombie, and that's why such arguments in this community are ridiculous.

And finally, although I spoke in somewhat aggressive way, I'm really not your enemy. You really did a great job, and i'm really impressed by your AA knowledge. Ok, I don't like this realbasic code, but that's a detail ;-D (btw. why didn't you do this in e.g. python?).

Cheers.

375
General Chat / Re: honor server + why AA2.5?
« on: Monday, February 13, 2012, 16:00:43 PM »
Hack the whole thing until it collapses and burns...

Seriously, nothing more than when I'm reading any other code - I'd just like to be able to understand the whole thing.

Pages: 1 ... 23 24 [25] 26 27

Download Assist

×

Download Game Client

Important: Battletracker no longer exists. However, old Battletracker accounts may still work. You can create a new 25Assist account here

Download Server Manager