cheater

Page: 1 2 3 4 

  • Koenigsegg

    yup.

    Players: 0 / 32
    Map: Mesa
    Game rule: Power Struggle
    Time left: 108:44
    Password: YES

    I'm actually in server but it shows 0 players.

    Guess this is where the player string comes in or am I missing stuff?

    0
  • Zi;

    Well, first of all numpl needs to be set to count of players, and then player string shall contain list of players and their info (build_player_string) function

    0
  • Forsaken

    I wonder how many times Tsunami will ask Zi to explain this :)

    The count is at least 3 at this point....

    0
  • Koenigsegg

    @ Zi,

    That script had many error and it took some time to fix ...but this is what I have now: no errors in script.
    Server is visible in console and on Crymp.net website but not on the GameSpy console browser. Yes, indeed you were absolutely right about connecting using http method. I tested 3 scripts or variations, 2 was mine from my unfinished Patriot ssm. and it's basically the same result. Btw; it's not a cut and paste cause of the differences in this ssm and sfw. I see how you did it in sfw main.lua but, your method has many attachments that I can't use. So I will sleep on it and pick up again later when I find time. Thanks

    0
  • Zi;

    GameSpy list is completely separate as for now, so for appearing on that one, just modify CryNetwork and replace GameSpy.com with m.crymp.net.

    About that player string, all you have to do is to concatenate name, rank, kills, deaths, profile ID with % symbol (because name cannot contain %, so it's safe to use as delimiter) and join these with @ symbol (because name again cannot contain @, so again it's safe)

    Example:
    @John%4%-1%4%1001234@Mark%3%1%2%54321

    In this example there are two players, first is John with profile ID 1001234, he is lieutenant, has K/D -1/4, second player is Mark with profile ID 54321, he is sergeant and has 1/2 K/D. in case of IA, just pass 0 as rank. When sending this over network, make sure that % symbols get escaped as %25

    @Forsaken
    Please, there is no need to create conflicts in here.

    0
  • Zi;

    I think I found the issue, and that is, quoting myself
    When sending this over network, make sure that % symbols get escaped as %25

    You forgot to urlencode plstring, so if you simply replace
    &players="..plstring.."

    with
    &players="..urlencode(plstring).."

    it should start working, also make sure you urlencode other parameters when they contain text, like desc

    0
  • Zi;

    Also, when testing and you still see "No statistics available", that doesn't mean it doesn't work, it just means statistics didn't update yet (they update twice a day)

    0
  • Koenigsegg

    @ Zi,

    I looked at that script over and over and no errors ...i totally did not see that. But I knew the coding was solid.

    Once again thanks for that insight. This was a journey worth taking.

    0
  • Koenigsegg

    @ zi,

    I just found this:
    When I change maps, the server continues to display the last map on website & console only. But is correctly displayed on Gamespy list.
    currently using: local mapPath = System.GetCVar("sv_map") or ""
    mapPath is urlencoded as well.
    So what am I missing?

    0
  • Zi;

    Well, the problem is, that sv_map reflects old map in Crysis for some reason, if you did System.LogAlways( System.GetCVar("sv_map") ), you would see it yourself

    0
Page: 1 2 3 4